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