public class LongDataReader extends ReductionDataReader<LongConsumer>
applier, inputStream
Constructor and Description |
---|
LongDataReader(DataInput inputStream,
LongConsumer 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 LongDataReader(DataInput inputStream, LongConsumer applier)
public void read() throws IOException
ReductionDataReader
read
in class ReductionDataReader<LongConsumer>
IOException
- if an exception occurs while reading from the input streamCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.