Package org.apache.druid.data.input.impl
Class TimedShutoffInputSourceReader
- java.lang.Object
-
- org.apache.druid.data.input.impl.TimedShutoffInputSourceReader
-
- All Implemented Interfaces:
InputSourceReader
public class TimedShutoffInputSourceReader extends Object implements InputSourceReader
-
-
Constructor Summary
Constructors Constructor Description TimedShutoffInputSourceReader(InputSourceReader delegate, org.joda.time.DateTime shutoffTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloseableIterator<InputRow>read(InputStats inputStats)RowAdapter<InputRow>rowAdapter()Returns an adapter that can be used to read the rows fromInputSourceReader.read().CloseableIterator<InputRowListPlusRawValues>sample()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.druid.data.input.InputSourceReader
read
-
-
-
-
Constructor Detail
-
TimedShutoffInputSourceReader
public TimedShutoffInputSourceReader(InputSourceReader delegate, org.joda.time.DateTime shutoffTime)
-
-
Method Detail
-
read
public CloseableIterator<InputRow> read(InputStats inputStats) throws IOException
- Specified by:
readin interfaceInputSourceReader- Throws:
IOException
-
sample
public CloseableIterator<InputRowListPlusRawValues> sample() throws IOException
- Specified by:
samplein interfaceInputSourceReader- Throws:
IOException
-
rowAdapter
public RowAdapter<InputRow> rowAdapter()
Description copied from interface:InputSourceReaderReturns an adapter that can be used to read the rows fromInputSourceReader.read().- Specified by:
rowAdapterin interfaceInputSourceReader
-
-