Class BooleanReservation
- java.lang.Object
-
- org.apache.solr.analytics.stream.reservation.ReductionDataReservation<BooleanConsumer,BooleanSupplier>
-
- org.apache.solr.analytics.stream.reservation.BooleanReservation
-
public class BooleanReservation extends ReductionDataReservation<BooleanConsumer,BooleanSupplier>
-
-
Field Summary
-
Fields inherited from class org.apache.solr.analytics.stream.reservation.ReductionDataReservation
applier, extractor
-
-
Constructor Summary
Constructors Constructor Description BooleanReservation(BooleanConsumer applier, BooleanSupplier extractor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanDataReader
createReadStream(DataInput input)
Generate aReductionDataReader
that merges the set of data this reservation represents.BooleanDataWriter
createWriteStream(DataOutput output)
Generate aReductionDataWriter
that exports the set of data this reservation represents.
-
-
-
Constructor Detail
-
BooleanReservation
public BooleanReservation(BooleanConsumer applier, BooleanSupplier extractor)
-
-
Method Detail
-
createReadStream
public BooleanDataReader 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 BooleanDataWriter 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
-
-