public class BooleanReservation extends ReductionDataReservation<BooleanConsumer,BooleanSupplier>
applier, extractor
Constructor and Description |
---|
BooleanReservation(BooleanConsumer applier,
BooleanSupplier extractor) |
Modifier and Type | Method and Description |
---|---|
BooleanDataReader |
createReadStream(DataInput input)
Generate a
ReductionDataReader that merges the set of data this reservation represents. |
BooleanDataWriter |
createWriteStream(DataOutput output)
Generate a
ReductionDataWriter that exports the set of data this reservation represents. |
public BooleanReservation(BooleanConsumer applier, BooleanSupplier extractor)
public BooleanDataReader 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 BooleanDataWriter 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-2018 Apache Software Foundation. All Rights Reserved.