public class StringDataWriter extends ReductionDataWriter<Supplier<String>>
extractor, output
Constructor and Description |
---|
StringDataWriter(DataOutput output,
Supplier<String> extractor) |
Modifier and Type | Method and Description |
---|---|
void |
write()
Write a piece of data, retrieved from the extractor, to the output stream.
|
public StringDataWriter(DataOutput output, Supplier<String> extractor)
public void write() throws IOException
ReductionDataWriter
write
in class ReductionDataWriter<Supplier<String>>
IOException
- if an exception occurs while writing to the output streamCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.