Class LongCheckedReservation
- java.lang.Object
-
- org.apache.solr.analytics.stream.reservation.ReductionDataReservation<A,E>
-
- org.apache.solr.analytics.stream.reservation.ReductionCheckedDataReservation<LongConsumer,LongSupplier>
-
- org.apache.solr.analytics.stream.reservation.LongCheckedReservation
-
public class LongCheckedReservation extends ReductionCheckedDataReservation<LongConsumer,LongSupplier>
-
-
Field Summary
-
Fields inherited from class org.apache.solr.analytics.stream.reservation.ReductionCheckedDataReservation
exists
-
Fields inherited from class org.apache.solr.analytics.stream.reservation.ReductionDataReservation
applier, extractor
-
-
Constructor Summary
Constructors Constructor Description LongCheckedReservation(LongConsumer applier, LongSupplier extractor, BooleanSupplier exists)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LongCheckedDataReadercreateReadStream(DataInput input)Generate aReductionDataReaderthat merges the set of data this reservation represents.LongCheckedDataWritercreateWriteStream(DataOutput output)Generate aReductionDataWriterthat exports the set of data this reservation represents.
-
-
-
Constructor Detail
-
LongCheckedReservation
public LongCheckedReservation(LongConsumer applier, LongSupplier extractor, BooleanSupplier exists)
-
-
Method Detail
-
createReadStream
public LongCheckedDataReader createReadStream(DataInput input)
Description copied from class:ReductionDataReservationGenerate aReductionDataReaderthat merges the set of data this reservation represents.- Specified by:
createReadStreamin classReductionDataReservation<LongConsumer,LongSupplier>- Parameters:
input- the shard input stream- Returns:
- a reader from the given input
-
createWriteStream
public LongCheckedDataWriter createWriteStream(DataOutput output)
Description copied from class:ReductionDataReservationGenerate aReductionDataWriterthat exports the set of data this reservation represents.- Specified by:
createWriteStreamin classReductionDataReservation<LongConsumer,LongSupplier>- Parameters:
output- the shard output stream- Returns:
- a writer to the given output
-
-