Package org.apache.druid.data.input.impl
Class InlineInputSource
java.lang.Object
org.apache.druid.data.input.AbstractInputSource
org.apache.druid.data.input.impl.InlineInputSource
- All Implemented Interfaces:
InputSource
-
Field Summary
FieldsFields inherited from interface org.apache.druid.data.input.InputSource
TYPE_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected InputSourceReaderformattableReader(InputRowSchema inputRowSchema, InputFormat inputFormat, File temporaryDirectory) getData()getTypes()The types of input sources uses.inthashCode()booleanReturns true if this inputSource can be processed in parallel using ParallelIndexSupervisorTask.booleanReturns true if this inputSource supports differentInputFormats.toString()Methods inherited from class org.apache.druid.data.input.AbstractInputSource
fixedFormatReader, reader
-
Field Details
-
TYPE_KEY
- See Also:
-
-
Constructor Details
-
InlineInputSource
-
-
Method Details
-
getTypes
Description copied from interface:InputSourceThe types of input sources uses. A set is returned here, as some InputSource implementation allow for combining of multiple input sources.- Returns:
- The types of input sources uses
-
getData
-
isSplittable
public boolean isSplittable()Description copied from interface:InputSourceReturns true if this inputSource can be processed in parallel using ParallelIndexSupervisorTask. It must be castable to SplittableInputSource and the various SplittableInputSource methods must work as documented. -
needsFormat
public boolean needsFormat()Description copied from interface:InputSourceReturns true if this inputSource supports differentInputFormats. Some inputSources such asLocalInputSourcecan store files of any format. These storage types require anInputFormatto be passed so thatInputSourceReadercan parse data properly. However, some storage types have a fixed format. For example, druid inputSource always reads segments. These inputSources should return false for this method. -
formattableReader
protected InputSourceReader formattableReader(InputRowSchema inputRowSchema, InputFormat inputFormat, @Nullable File temporaryDirectory) - Overrides:
formattableReaderin classAbstractInputSource
-
equals
-
hashCode
public int hashCode() -
toString
-