Class BooleanCheckedDataWriter
- java.lang.Object
-
- org.apache.solr.analytics.stream.reservation.write.ReductionDataWriter<C>
-
- org.apache.solr.analytics.stream.reservation.write.ReductionCheckedDataWriter<BooleanSupplier>
-
- org.apache.solr.analytics.stream.reservation.write.BooleanCheckedDataWriter
-
public class BooleanCheckedDataWriter extends ReductionCheckedDataWriter<BooleanSupplier>
-
-
Field Summary
-
Fields inherited from class org.apache.solr.analytics.stream.reservation.write.ReductionDataWriter
extractor, output
-
-
Constructor Summary
Constructors Constructor Description BooleanCheckedDataWriter(DataOutput output, BooleanSupplier extractor, BooleanSupplier existsSupplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkedWrite()
Write a piece of data, retrieved from the extractor, to the output stream.-
Methods inherited from class org.apache.solr.analytics.stream.reservation.write.ReductionCheckedDataWriter
write
-
-
-
-
Constructor Detail
-
BooleanCheckedDataWriter
public BooleanCheckedDataWriter(DataOutput output, BooleanSupplier extractor, BooleanSupplier existsSupplier)
-
-
Method Detail
-
checkedWrite
public void checkedWrite() throws IOException
Description copied from class:ReductionCheckedDataWriter
Write a piece of data, retrieved from the extractor, to the output stream.
The data being written is guaranteed to exist.- Specified by:
checkedWrite
in classReductionCheckedDataWriter<BooleanSupplier>
- Throws:
IOException
- if an exception occurs while writing to the output stream
-
-