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