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