Package org.apache.druid.data.input.impl
Class CsvInputFormat
java.lang.Object
org.apache.druid.data.input.impl.FlatTextInputFormat
org.apache.druid.data.input.impl.CsvInputFormat
- All Implemented Interfaces:
InputFormat
-
Field Summary
FieldsFields inherited from interface org.apache.druid.data.input.InputFormat
TYPE_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.opencsv.RFC4180ParsercreateReader(InputRowSchema inputRowSchema, InputEntity source, File temporaryDirectory) booleanTrait to indicate that a file can be split into multipleInputSplits.toString()Methods inherited from class org.apache.druid.data.input.impl.FlatTextInputFormat
createRowAdapter, equals, fieldsToString, getColumns, getListDelimiter, getSkipHeaderRows, getWeightedSize, hashCode, isFindColumnsFromHeader, shouldTryParseNumbers, useListBasedInputRows
-
Field Details
-
TYPE_KEY
- See Also:
-
-
Constructor Details
-
CsvInputFormat
-
-
Method Details
-
getDelimiter
- Overrides:
getDelimiterin classFlatTextInputFormat
-
isSplittable
public boolean isSplittable()Description copied from interface:InputFormatTrait to indicate that a file can be split into multipleInputSplits.This method is not being used anywhere for now, but should be considered in
SplittableInputSource.createSplits(org.apache.druid.data.input.InputFormat, org.apache.druid.data.input.SplitHintSpec)in the future. -
createReader
public InputEntityReader createReader(InputRowSchema inputRowSchema, InputEntity source, File temporaryDirectory) -
createOpenCsvParser
public static com.opencsv.RFC4180Parser createOpenCsvParser() -
toString
-