public class StringDataArrayReader extends ReductionDataArrayReader<Consumer<String>>
signal
applier, inputStream
Constructor and Description |
---|
StringDataArrayReader(DataInput inputStream,
Consumer<String> applier,
IntConsumer signal) |
Modifier and Type | Method and Description |
---|---|
void |
read(int size)
Read an array from the input stream, feeding each member to the applier.
|
read
public StringDataArrayReader(DataInput inputStream, Consumer<String> applier, IntConsumer signal)
public void read(int size) throws IOException
ReductionDataArrayReader
read
in class ReductionDataArrayReader<Consumer<String>>
size
- length of the array to readIOException
- if an exception occurs while reading from the input streamCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.