public abstract class ReductionDataArrayReader<A> extends ReductionDataReader<A>
DataInput stream.| Modifier and Type | Field and Description | 
|---|---|
| protected IntConsumer | signal | 
applier, inputStream| Constructor and Description | 
|---|
| ReductionDataArrayReader(DataInput inputStream,
                        A applier,
                        IntConsumer signal) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | read()Read a piece of data from the input stream and feed it to the applier. | 
| protected abstract void | read(int size)Read an array from the input stream, feeding each member to the applier. | 
protected final IntConsumer signal
public ReductionDataArrayReader(DataInput inputStream, A applier, IntConsumer signal)
public void read()
          throws IOException
ReductionDataReaderread in class ReductionDataReader<A>IOException - if an exception occurs while reading from the input streamprotected abstract void read(int size)
                      throws IOException
size - length of the array to readIOException - if an exception occurs while reading from the input streamCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.