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