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