public class StringDataReader extends ReductionDataReader<Consumer<String>>
applier, inputStream
Constructor and Description |
---|
StringDataReader(DataInput inputStream,
Consumer<String> applier) |
Modifier and Type | Method and Description |
---|---|
void |
read()
Read a piece of data from the input stream and feed it to the applier.
|
public void read() throws IOException
ReductionDataReader
read
in class ReductionDataReader<Consumer<String>>
IOException
- if an exception occurs while reading from the input streamCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.