Class BooleanCheckedReservation
- java.lang.Object
-
- org.apache.solr.analytics.stream.reservation.ReductionDataReservation<A,E>
-
- org.apache.solr.analytics.stream.reservation.ReductionCheckedDataReservation<BooleanConsumer,BooleanSupplier>
-
- org.apache.solr.analytics.stream.reservation.BooleanCheckedReservation
-
public class BooleanCheckedReservation extends ReductionCheckedDataReservation<BooleanConsumer,BooleanSupplier>
-
-
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 BooleanCheckedReservation(BooleanConsumer applier, BooleanSupplier extractor, BooleanSupplier exists)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanCheckedDataReader
createReadStream(DataInput input)
Generate aReductionDataReader
that merges the set of data this reservation represents.BooleanCheckedDataWriter
createWriteStream(DataOutput output)
Generate aReductionDataWriter
that exports the set of data this reservation represents.
-
-
-
Constructor Detail
-
BooleanCheckedReservation
public BooleanCheckedReservation(BooleanConsumer applier, BooleanSupplier extractor, BooleanSupplier exists)
-
-
Method Detail
-
createReadStream
public BooleanCheckedDataReader createReadStream(DataInput input)
Description copied from class:ReductionDataReservation
Generate aReductionDataReader
that merges the set of data this reservation represents.- Specified by:
createReadStream
in classReductionDataReservation<BooleanConsumer,BooleanSupplier>
- Parameters:
input
- the shard input stream- Returns:
- a reader from the given input
-
createWriteStream
public BooleanCheckedDataWriter createWriteStream(DataOutput output)
Description copied from class:ReductionDataReservation
Generate aReductionDataWriter
that exports the set of data this reservation represents.- Specified by:
createWriteStream
in classReductionDataReservation<BooleanConsumer,BooleanSupplier>
- Parameters:
output
- the shard output stream- Returns:
- a writer to the given output
-
-