Class CsvInputFormat<OUT>
java.lang.Object
org.apache.flink.api.common.io.RichInputFormat<OT,org.apache.flink.core.fs.FileInputSplit>
org.apache.flink.api.common.io.FileInputFormat<OT>
org.apache.flink.api.common.io.DelimitedInputFormat<OT>
org.apache.flink.api.common.io.GenericCsvInputFormat<OUT>
org.apache.flink.table.sources.format.CsvInputFormat<OUT>
- Type Parameters:
OUT-
- All Implemented Interfaces:
Serializable,org.apache.flink.api.common.io.CheckpointableInputFormat<org.apache.flink.core.fs.FileInputSplit,,Long> org.apache.flink.api.common.io.InputFormat<OUT,,org.apache.flink.core.fs.FileInputSplit> org.apache.flink.core.io.InputSplitSource<org.apache.flink.core.fs.FileInputSplit>
- Direct Known Subclasses:
RowCsvInputFormat
@Deprecated
@Internal
public abstract class CsvInputFormat<OUT>
extends org.apache.flink.api.common.io.GenericCsvInputFormat<OUT>
Deprecated.
InputFormat that reads csv files.
This class is copied from flink-java module and should be removed later.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.flink.api.common.io.FileInputFormat
org.apache.flink.api.common.io.FileInputFormat.FileBaseStatistics, org.apache.flink.api.common.io.FileInputFormat.InputSplitOpenThread -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.static final StringDeprecated.protected Object[]Deprecated.Fields inherited from class org.apache.flink.api.common.io.GenericCsvInputFormat
commentCount, commentPrefix, fieldIncluded, invalidLineCount, lineDelimiterIsLinebreakFields inherited from class org.apache.flink.api.common.io.DelimitedInputFormat
currBuffer, currLen, currOffset, RECORD_DELIMITERFields inherited from class org.apache.flink.api.common.io.FileInputFormat
currentSplit, enumerateNestedFiles, INFLATER_INPUT_STREAM_FACTORIES, minSplitSize, numSplits, openTimeout, READ_WHOLE_SPLIT_FLAG, splitLength, splitStart, stream, unsplittable -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCsvInputFormat(org.apache.flink.core.fs.Path filePath) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected static boolean[]createDefaultMask(int size) Deprecated.protected abstract OUTfillRecord(OUT reuse, Object[] parsedValues) Deprecated.Class<?>[]Deprecated.protected voidinitializeSplit(org.apache.flink.core.fs.FileInputSplit split, Long offset) Deprecated.nextRecord(OUT record) Deprecated.readRecord(OUT reuse, byte[] bytes, int offset, int numBytes) Deprecated.protected static boolean[]toBooleanMask(int[] sourceFieldIndices) Deprecated.toString()Deprecated.Methods inherited from class org.apache.flink.api.common.io.GenericCsvInputFormat
checkAndCoSort, checkForMonotonousOrder, close, enableQuotedStringParsing, getCommentPrefix, getFieldDelimiter, getFieldParsers, getGenericFieldTypes, getNumberOfFieldsTotal, getNumberOfNonNullFields, isLenient, isSkippingFirstLineAsHeader, parseRecord, setCharset, setCommentPrefix, setFieldDelimiter, setFieldsGeneric, setFieldsGeneric, setFieldTypesGeneric, setLenient, setSkipFirstLineAsHeader, skipFieldsMethods inherited from class org.apache.flink.api.common.io.DelimitedInputFormat
configure, getBufferSize, getCharset, getCurrentState, getDelimiter, getLineLengthLimit, getNumLineSamples, getStatistics, loadConfigParameters, open, reachedEnd, readLine, reopen, setBufferSize, setDelimiter, setDelimiter, setDelimiter, setLineLengthLimit, setNumLineSamplesMethods inherited from class org.apache.flink.api.common.io.FileInputFormat
acceptFile, createInputSplits, decorateInputStream, extractFileExtension, getFilePaths, getFileStats, getFileStats, getInflaterInputStreamFactory, getInputSplitAssigner, getMinSplitSize, getNestedFileEnumeration, getNumSplits, getOpenTimeout, getSplitLength, getSplitStart, getSupportedCompressionFormats, registerInflaterInputStreamFactory, setFilePath, setFilePath, setFilePaths, setFilePaths, setFilesFilter, setMinSplitSize, setNestedFileEnumeration, setNumSplits, setOpenTimeout, testForUnsplittableMethods inherited from class org.apache.flink.api.common.io.RichInputFormat
closeInputFormat, getRuntimeContext, openInputFormat, setRuntimeContext
-
Field Details
-
DEFAULT_LINE_DELIMITER
Deprecated.- See Also:
-
DEFAULT_FIELD_DELIMITER
Deprecated.- See Also:
-
parsedValues
Deprecated.
-
-
Constructor Details
-
CsvInputFormat
protected CsvInputFormat(org.apache.flink.core.fs.Path filePath) Deprecated.
-
-
Method Details
-
initializeSplit
protected void initializeSplit(org.apache.flink.core.fs.FileInputSplit split, Long offset) throws IOException Deprecated.- Overrides:
initializeSplitin classorg.apache.flink.api.common.io.GenericCsvInputFormat<OUT>- Throws:
IOException
-
nextRecord
Deprecated.- Specified by:
nextRecordin interfaceorg.apache.flink.api.common.io.InputFormat<OUT,org.apache.flink.core.fs.FileInputSplit> - Overrides:
nextRecordin classorg.apache.flink.api.common.io.DelimitedInputFormat<OUT>- Throws:
IOException
-
readRecord
Deprecated.- Specified by:
readRecordin classorg.apache.flink.api.common.io.DelimitedInputFormat<OUT>- Throws:
IOException
-
fillRecord
Deprecated. -
getFieldTypes
Deprecated. -
createDefaultMask
protected static boolean[] createDefaultMask(int size) Deprecated. -
toBooleanMask
protected static boolean[] toBooleanMask(int[] sourceFieldIndices) Deprecated. -
toString
Deprecated.- Overrides:
toStringin classorg.apache.flink.api.common.io.FileInputFormat<OUT>
-