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