Package org.apache.druid.data.input.impl
Class InputEntityIteratingReader
java.lang.Object
org.apache.druid.data.input.impl.InputEntityIteratingReader
- All Implemented Interfaces:
InputSourceReader
InputSourceReader iterating multiple
InputEntitys. This class could be used for
most of InputSources.-
Constructor Summary
ConstructorsConstructorDescriptionInputEntityIteratingReader(InputRowSchema inputRowSchema, InputFormat inputFormat, CloseableIterator<? extends InputEntity> sourceIterator, SystemFieldDecoratorFactory systemFieldDecoratorFactory, File temporaryDirectory) -
Method Summary
Modifier and TypeMethodDescriptionread(InputStats inputStats) Returns an adapter that can be used to read the rows fromInputSourceReader.read().sample()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.druid.data.input.InputSourceReader
read
-
Constructor Details
-
InputEntityIteratingReader
public InputEntityIteratingReader(InputRowSchema inputRowSchema, InputFormat inputFormat, CloseableIterator<? extends InputEntity> sourceIterator, SystemFieldDecoratorFactory systemFieldDecoratorFactory, File temporaryDirectory)
-
-
Method Details
-
read
- Specified by:
readin interfaceInputSourceReader
-
sample
- Specified by:
samplein interfaceInputSourceReader
-
rowAdapter
Description copied from interface:InputSourceReaderReturns an adapter that can be used to read the rows fromInputSourceReader.read().- Specified by:
rowAdapterin interfaceInputSourceReader
-