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