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