public abstract class AbstractCsvInputFormat<T>
extends org.apache.flink.api.common.io.FileInputFormat<T>
| Modifier and Type | Field and Description |
|---|---|
protected InputStream |
csvInputStream |
protected org.apache.flink.shaded.jackson2.com.fasterxml.jackson.dataformat.csv.CsvSchema |
csvSchema |
| Constructor and Description |
|---|
AbstractCsvInputFormat(org.apache.flink.core.fs.Path[] filePaths,
org.apache.flink.shaded.jackson2.com.fasterxml.jackson.dataformat.csv.CsvSchema csvSchema) |
| Modifier and Type | Method and Description |
|---|---|
void |
open(org.apache.flink.core.fs.FileInputSplit split) |
boolean |
supportsMultiPaths() |
acceptFile, close, configure, createInputSplits, decorateInputStream, extractFileExtension, getFilePath, getFilePaths, getFileStats, getFileStats, getInflaterInputStreamFactory, getInputSplitAssigner, getMinSplitSize, getNestedFileEnumeration, getNumSplits, getOpenTimeout, getSplitLength, getSplitStart, getStatistics, registerInflaterInputStreamFactory, setFilePath, setFilePath, setFilePaths, setFilePaths, setFilesFilter, setMinSplitSize, setNestedFileEnumeration, setNumSplits, setOpenTimeout, testForUnsplittable, toStringcloseInputFormat, getRuntimeContext, openInputFormat, setRuntimeContextprotected final org.apache.flink.shaded.jackson2.com.fasterxml.jackson.dataformat.csv.CsvSchema csvSchema
protected transient InputStream csvInputStream
public AbstractCsvInputFormat(org.apache.flink.core.fs.Path[] filePaths,
org.apache.flink.shaded.jackson2.com.fasterxml.jackson.dataformat.csv.CsvSchema csvSchema)
public boolean supportsMultiPaths()
supportsMultiPaths in class org.apache.flink.api.common.io.FileInputFormat<T>public void open(org.apache.flink.core.fs.FileInputSplit split)
throws IOException
open in interface org.apache.flink.api.common.io.InputFormat<T,org.apache.flink.core.fs.FileInputSplit>open in class org.apache.flink.api.common.io.FileInputFormat<T>IOExceptionCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.