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