Class FloatDataArrayWriter
- java.lang.Object
-
- org.apache.solr.analytics.stream.reservation.write.ReductionDataWriter<C>
-
- org.apache.solr.analytics.stream.reservation.write.ReductionDataArrayWriter<FloatSupplier>
-
- org.apache.solr.analytics.stream.reservation.write.FloatDataArrayWriter
-
public class FloatDataArrayWriter extends ReductionDataArrayWriter<FloatSupplier>
-
-
Field Summary
-
Fields inherited from class org.apache.solr.analytics.stream.reservation.write.ReductionDataWriter
extractor, output
-
-
Constructor Summary
Constructors Constructor Description FloatDataArrayWriter(DataOutput output, FloatSupplier extractor, IntSupplier sizeSupplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
write(int size)
Write an array of data, retrieved from the extractor, with the given size to the output stream.-
Methods inherited from class org.apache.solr.analytics.stream.reservation.write.ReductionDataArrayWriter
write
-
-
-
-
Constructor Detail
-
FloatDataArrayWriter
public FloatDataArrayWriter(DataOutput output, FloatSupplier extractor, IntSupplier sizeSupplier)
-
-
Method Detail
-
write
public void write(int size) throws IOException
Description copied from class:ReductionDataArrayWriter
Write an array of data, retrieved from the extractor, with the given size to the output stream.- Specified by:
write
in classReductionDataArrayWriter<FloatSupplier>
- Throws:
IOException
- if an exception occurs while writing to the output stream
-
-