Class ReductionDataReader<A>
- java.lang.Object
-
- org.apache.solr.analytics.stream.reservation.read.ReductionDataReader<A>
-
- Direct Known Subclasses:
BooleanDataReader,DoubleDataReader,FloatDataReader,IntDataReader,LongDataReader,ReductionCheckedDataReader,ReductionDataArrayReader,StringDataReader
public abstract class ReductionDataReader<A> extends Object
Abstract class to manage the reading and application of data from aDataInputstream.
-
-
Field Summary
Fields Modifier and Type Field Description protected Aapplierprotected DataInputinputStream
-
Constructor Summary
Constructors Constructor Description ReductionDataReader(DataInput inputStream, A applier)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidread()Read a piece of data from the input stream and feed it to the applier.
-
-
-
Method Detail
-
read
public abstract void read() throws IOExceptionRead a piece of data from the input stream and feed it to the applier.- Throws:
IOException- if an exception occurs while reading from the input stream
-
-