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