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