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