public class StringDataArrayWriter extends ReductionDataArrayWriter<Supplier<String>>
extractor, output
Constructor and Description |
---|
StringDataArrayWriter(DataOutput output,
Supplier<String> extractor,
IntSupplier sizeSupplier) |
Modifier and Type | Method and Description |
---|---|
void |
write(int size)
Write an array of data, retrieved from the extractor, with the given size to the output stream.
|
write
public StringDataArrayWriter(DataOutput output, Supplier<String> extractor, IntSupplier sizeSupplier)
public void write(int size) throws IOException
ReductionDataArrayWriter
write
in class ReductionDataArrayWriter<Supplier<String>>
IOException
- if an exception occurs while writing to the output streamCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.