public class IntCheckedReservation extends ReductionCheckedDataReservation<IntConsumer,IntSupplier>
exists
applier, extractor
Constructor and Description |
---|
IntCheckedReservation(IntConsumer applier,
IntSupplier extractor,
BooleanSupplier exists) |
Modifier and Type | Method and Description |
---|---|
IntCheckedDataReader |
createReadStream(DataInput input)
Generate a
ReductionDataReader that merges the set of data this reservation represents. |
IntCheckedDataWriter |
createWriteStream(DataOutput output)
Generate a
ReductionDataWriter that exports the set of data this reservation represents. |
public IntCheckedReservation(IntConsumer applier, IntSupplier extractor, BooleanSupplier exists)
public IntCheckedDataReader 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 IntCheckedDataWriter 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.