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