Package org.apache.flink.api.java.io
Class RowCsvInputFormat
- 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.api.java.io.CsvInputFormat<org.apache.flink.types.Row>
-
- org.apache.flink.api.java.io.RowCsvInputFormat
-
- 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<org.apache.flink.types.Row,org.apache.flink.core.fs.FileInputSplit>,org.apache.flink.api.java.typeutils.ResultTypeQueryable<org.apache.flink.types.Row>,org.apache.flink.core.io.InputSplitSource<org.apache.flink.core.fs.FileInputSplit>
@Deprecated @PublicEvolving public class RowCsvInputFormat extends CsvInputFormat<org.apache.flink.types.Row> implements org.apache.flink.api.java.typeutils.ResultTypeQueryable<org.apache.flink.types.Row>
Deprecated.All Flink DataSet APIs are deprecated since Flink 1.18 and will be removed in a future Flink major version. You can still build your application in DataSet, but you should move to either the DataStream and/or Table API.Input format that reads csv intoRow.
-
-
Field Summary
-
Fields inherited from class org.apache.flink.api.java.io.CsvInputFormat
DEFAULT_FIELD_DELIMITER, DEFAULT_LINE_DELIMITER, parsedValues
-
Fields inherited from class org.apache.flink.api.common.io.GenericCsvInputFormat
commentCount, commentPrefix, fieldIncluded, invalidLineCount, lineDelimiterIsLinebreak
-
-
Constructor Summary
Constructors Constructor Description RowCsvInputFormat(org.apache.flink.core.fs.Path filePath, org.apache.flink.api.common.typeinfo.TypeInformation[] fieldTypes)Deprecated.RowCsvInputFormat(org.apache.flink.core.fs.Path filePath, org.apache.flink.api.common.typeinfo.TypeInformation[] fieldTypes, boolean emptyColumnAsNull)Deprecated.RowCsvInputFormat(org.apache.flink.core.fs.Path filePath, org.apache.flink.api.common.typeinfo.TypeInformation[] fieldTypes, int[] selectedFields)Deprecated.RowCsvInputFormat(org.apache.flink.core.fs.Path filePath, org.apache.flink.api.common.typeinfo.TypeInformation[] fieldTypes, String lineDelimiter, String fieldDelimiter)Deprecated.RowCsvInputFormat(org.apache.flink.core.fs.Path filePath, org.apache.flink.api.common.typeinfo.TypeInformation[] fieldTypes, String lineDelimiter, String fieldDelimiter, int[] selectedFields)Deprecated.RowCsvInputFormat(org.apache.flink.core.fs.Path filePath, org.apache.flink.api.common.typeinfo.TypeInformation[] fieldTypeInfos, String lineDelimiter, String fieldDelimiter, int[] selectedFields, boolean emptyColumnAsNull)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected org.apache.flink.types.RowfillRecord(org.apache.flink.types.Row reuse, Object[] parsedValues)Deprecated.org.apache.flink.api.common.typeinfo.TypeInformation<org.apache.flink.types.Row>getProducedType()Deprecated.protected booleanparseRecord(Object[] holders, byte[] bytes, int offset, int numBytes)Deprecated.-
Methods inherited from class org.apache.flink.api.java.io.CsvInputFormat
createDefaultMask, getFieldTypes, initializeSplit, nextRecord, readRecord, toBooleanMask, toString
-
Methods inherited from class org.apache.flink.api.common.io.GenericCsvInputFormat
checkAndCoSort, checkForMonotonousOrder, close, enableQuotedStringParsing, getCommentPrefix, getFieldDelimiter, getFieldParsers, getGenericFieldTypes, getNumberOfFieldsTotal, getNumberOfNonNullFields, isLenient, isSkippingFirstLineAsHeader, setCharset, setCommentPrefix, setFieldDelimiter, setFieldsGeneric, setFieldsGeneric, setFieldTypesGeneric, setLenient, setSkipFirstLineAsHeader, skipFields, supportsMultiPaths
-
Methods inherited from class org.apache.flink.api.common.io.DelimitedInputFormat
configure, getBufferSize, getCharset, getCurrentState, getDelimiter, getLineLengthLimit, getNumLineSamples, getStatistics, loadConfigParameters, loadGlobalConfigParams, open, reachedEnd, readLine, reopen, setBufferSize, setDelimiter, setDelimiter, setDelimiter, setLineLengthLimit, setNumLineSamples
-
Methods inherited from class org.apache.flink.api.common.io.FileInputFormat
acceptFile, createInputSplits, decorateInputStream, extractFileExtension, getFilePath, getFilePaths, getFileStats, getFileStats, getInflaterInputStreamFactory, getInputSplitAssigner, getMinSplitSize, getNestedFileEnumeration, getNumSplits, getOpenTimeout, getSplitLength, getSplitStart, getSupportedCompressionFormats, registerInflaterInputStreamFactory, setFilePath, setFilePath, setFilePaths, setFilePaths, setFilesFilter, setMinSplitSize, setNestedFileEnumeration, setNumSplits, setOpenTimeout, testForUnsplittable
-
-
-
-
Constructor Detail
-
RowCsvInputFormat
public RowCsvInputFormat(org.apache.flink.core.fs.Path filePath, org.apache.flink.api.common.typeinfo.TypeInformation[] fieldTypeInfos, String lineDelimiter, String fieldDelimiter, int[] selectedFields, boolean emptyColumnAsNull)Deprecated.
-
RowCsvInputFormat
public RowCsvInputFormat(org.apache.flink.core.fs.Path filePath, org.apache.flink.api.common.typeinfo.TypeInformation[] fieldTypes, String lineDelimiter, String fieldDelimiter, int[] selectedFields)Deprecated.
-
RowCsvInputFormat
public RowCsvInputFormat(org.apache.flink.core.fs.Path filePath, org.apache.flink.api.common.typeinfo.TypeInformation[] fieldTypes, String lineDelimiter, String fieldDelimiter)Deprecated.
-
RowCsvInputFormat
public RowCsvInputFormat(org.apache.flink.core.fs.Path filePath, org.apache.flink.api.common.typeinfo.TypeInformation[] fieldTypes, int[] selectedFields)Deprecated.
-
RowCsvInputFormat
public RowCsvInputFormat(org.apache.flink.core.fs.Path filePath, org.apache.flink.api.common.typeinfo.TypeInformation[] fieldTypes, boolean emptyColumnAsNull)Deprecated.
-
RowCsvInputFormat
public RowCsvInputFormat(org.apache.flink.core.fs.Path filePath, org.apache.flink.api.common.typeinfo.TypeInformation[] fieldTypes)Deprecated.
-
-
Method Detail
-
fillRecord
protected org.apache.flink.types.Row fillRecord(org.apache.flink.types.Row reuse, Object[] parsedValues)Deprecated.- Specified by:
fillRecordin classCsvInputFormat<org.apache.flink.types.Row>
-
parseRecord
protected boolean parseRecord(Object[] holders, byte[] bytes, int offset, int numBytes) throws org.apache.flink.api.common.io.ParseException
Deprecated.- Overrides:
parseRecordin classorg.apache.flink.api.common.io.GenericCsvInputFormat<org.apache.flink.types.Row>- Throws:
org.apache.flink.api.common.io.ParseException
-
getProducedType
public org.apache.flink.api.common.typeinfo.TypeInformation<org.apache.flink.types.Row> getProducedType()
Deprecated.- Specified by:
getProducedTypein interfaceorg.apache.flink.api.java.typeutils.ResultTypeQueryable<org.apache.flink.types.Row>
-
-