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