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 aDataInput
stream.
-
-
Field Summary
Fields Modifier and Type Field Description protected A
applier
protected DataInput
inputStream
-
Constructor Summary
Constructors Constructor Description ReductionDataReader(DataInput inputStream, A applier)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract void
read()
Read a piece of data from the input stream and feed it to the applier.
-
-
-
Method Detail
-
read
public abstract void read() throws IOException
Read 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
-
-