Package org.apache.druid.data.input
Interface InputSourceReader
- All Known Implementing Classes:
InputEntityIteratingReader,TimedShutoffInputSourceReader,TransformingInputSourceReader
public interface InputSourceReader
InputSourceReader reads data from
InputSource and returns a CloseableIterator of
InputRows. See InputSource for an example usage.
Implementations of this class can use InputEntity and InputEntityReader. InputFormat
can be useful to understand how to create an InputEntityReader.
See InputEntityIteratingReader as an example.-
Method Summary
Modifier and TypeMethodDescriptiondefault CloseableIterator<InputRow>read()read(InputStats inputStats) default RowAdapter<InputRow>Returns an adapter that can be used to read the rows fromread().sample()
-
Method Details
-
read
- Throws:
IOException
-
read
- Throws:
IOException
-
sample
- Throws:
IOException
-
rowAdapter
Returns an adapter that can be used to read the rows fromread().
-