public class DoubleReservation extends ReductionDataReservation<DoubleConsumer,DoubleSupplier>
applier, extractor
Constructor and Description |
---|
DoubleReservation(DoubleConsumer applier,
DoubleSupplier extractor) |
Modifier and Type | Method and Description |
---|---|
DoubleDataReader |
createReadStream(DataInput input)
Generate a
ReductionDataReader that merges the set of data this reservation represents. |
DoubleDataWriter |
createWriteStream(DataOutput output)
Generate a
ReductionDataWriter that exports the set of data this reservation represents. |
public DoubleReservation(DoubleConsumer applier, DoubleSupplier extractor)
public DoubleDataReader createReadStream(DataInput input)
ReductionDataReservation
ReductionDataReader
that merges the set of data this reservation represents.createReadStream
in class ReductionDataReservation<DoubleConsumer,DoubleSupplier>
input
- the shard input streampublic DoubleDataWriter createWriteStream(DataOutput output)
ReductionDataReservation
ReductionDataWriter
that exports the set of data this reservation represents.createWriteStream
in class ReductionDataReservation<DoubleConsumer,DoubleSupplier>
output
- the shard output streamCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.