public class FloatArrayReservation extends ReductionDataArrayReservation<FloatConsumer,FloatSupplier>
sizeApplier, sizeExtractor
applier, extractor
Constructor and Description |
---|
FloatArrayReservation(FloatConsumer applier,
IntConsumer sizeApplier,
FloatSupplier extractor,
IntSupplier sizeExtractor) |
Modifier and Type | Method and Description |
---|---|
FloatDataArrayReader |
createReadStream(DataInput input)
Generate a
ReductionDataReader that merges the set of data this reservation represents. |
FloatDataArrayWriter |
createWriteStream(DataOutput output)
Generate a
ReductionDataWriter that exports the set of data this reservation represents. |
public FloatArrayReservation(FloatConsumer applier, IntConsumer sizeApplier, FloatSupplier extractor, IntSupplier sizeExtractor)
public FloatDataArrayReader createReadStream(DataInput input)
ReductionDataReservation
ReductionDataReader
that merges the set of data this reservation represents.createReadStream
in class ReductionDataReservation<FloatConsumer,FloatSupplier>
input
- the shard input streampublic FloatDataArrayWriter createWriteStream(DataOutput output)
ReductionDataReservation
ReductionDataWriter
that exports the set of data this reservation represents.createWriteStream
in class ReductionDataReservation<FloatConsumer,FloatSupplier>
output
- the shard output streamCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.