public class LongReservation extends ReductionDataReservation<LongConsumer,LongSupplier>
applier, extractor| Constructor and Description |
|---|
LongReservation(LongConsumer applier,
LongSupplier extractor) |
| Modifier and Type | Method and Description |
|---|---|
LongDataReader |
createReadStream(DataInput input)
Generate a
ReductionDataReader that merges the set of data this reservation represents. |
LongDataWriter |
createWriteStream(DataOutput output)
Generate a
ReductionDataWriter that exports the set of data this reservation represents. |
public LongReservation(LongConsumer applier, LongSupplier extractor)
public LongDataReader createReadStream(DataInput input)
ReductionDataReservationReductionDataReader that merges the set of data this reservation represents.createReadStream in class ReductionDataReservation<LongConsumer,LongSupplier>input - the shard input streampublic LongDataWriter createWriteStream(DataOutput output)
ReductionDataReservationReductionDataWriter that exports the set of data this reservation represents.createWriteStream in class ReductionDataReservation<LongConsumer,LongSupplier>output - the shard output streamCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.