Class LongCheckedDataWriter
- java.lang.Object
-
- org.apache.solr.analytics.stream.reservation.write.ReductionDataWriter<C>
-
- org.apache.solr.analytics.stream.reservation.write.ReductionCheckedDataWriter<LongSupplier>
-
- org.apache.solr.analytics.stream.reservation.write.LongCheckedDataWriter
-
public class LongCheckedDataWriter extends ReductionCheckedDataWriter<LongSupplier>
-
-
Field Summary
-
Fields inherited from class org.apache.solr.analytics.stream.reservation.write.ReductionDataWriter
extractor, output
-
-
Constructor Summary
Constructors Constructor Description LongCheckedDataWriter(DataOutput output, LongSupplier 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
-
LongCheckedDataWriter
public LongCheckedDataWriter(DataOutput output, LongSupplier 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<LongSupplier>
- Throws:
IOException
- if an exception occurs while writing to the output stream
-
-