Class DoubleReservation
- java.lang.Object
-
- org.apache.solr.analytics.stream.reservation.ReductionDataReservation<DoubleConsumer,DoubleSupplier>
-
- org.apache.solr.analytics.stream.reservation.DoubleReservation
-
public class DoubleReservation extends ReductionDataReservation<DoubleConsumer,DoubleSupplier>
-
-
Field Summary
-
Fields inherited from class org.apache.solr.analytics.stream.reservation.ReductionDataReservation
applier, extractor
-
-
Constructor Summary
Constructors Constructor Description DoubleReservation(DoubleConsumer applier, DoubleSupplier extractor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DoubleDataReader
createReadStream(DataInput input)
Generate aReductionDataReader
that merges the set of data this reservation represents.DoubleDataWriter
createWriteStream(DataOutput output)
Generate aReductionDataWriter
that exports the set of data this reservation represents.
-
-
-
Constructor Detail
-
DoubleReservation
public DoubleReservation(DoubleConsumer applier, DoubleSupplier extractor)
-
-
Method Detail
-
createReadStream
public DoubleDataReader createReadStream(DataInput input)
Description copied from class:ReductionDataReservation
Generate aReductionDataReader
that merges the set of data this reservation represents.- Specified by:
createReadStream
in classReductionDataReservation<DoubleConsumer,DoubleSupplier>
- Parameters:
input
- the shard input stream- Returns:
- a reader from the given input
-
createWriteStream
public DoubleDataWriter createWriteStream(DataOutput output)
Description copied from class:ReductionDataReservation
Generate aReductionDataWriter
that exports the set of data this reservation represents.- Specified by:
createWriteStream
in classReductionDataReservation<DoubleConsumer,DoubleSupplier>
- Parameters:
output
- the shard output stream- Returns:
- a writer to the given output
-
-