@PublicEvolving public class TextInputFormat extends org.apache.flink.api.common.io.DelimitedInputFormat<String>
| Constructor and Description | 
|---|
| TextInputFormat(org.apache.flink.core.fs.Path filePath) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | configure(org.apache.flink.configuration.Configuration parameters) | 
| String | getCharsetName() | 
| String | readRecord(String reusable,
          byte[] bytes,
          int offset,
          int numBytes) | 
| void | setCharsetName(String charsetName) | 
| boolean | supportsMultiPaths() | 
| String | toString() | 
close, getBufferSize, getCharset, getCurrentState, getDelimiter, getLineLengthLimit, getNumLineSamples, getStatistics, initializeSplit, loadConfigParameters, loadGlobalConfigParams, nextRecord, open, reachedEnd, readLine, reopen, setBufferSize, setCharset, setDelimiter, setDelimiter, setDelimiter, setLineLengthLimit, setNumLineSamplesacceptFile, createInputSplits, decorateInputStream, extractFileExtension, getFilePath, getFilePaths, getFileStats, getFileStats, getInflaterInputStreamFactory, getInputSplitAssigner, getMinSplitSize, getNestedFileEnumeration, getNumSplits, getOpenTimeout, getSplitLength, getSplitStart, registerInflaterInputStreamFactory, setFilePath, setFilePath, setFilePaths, setFilePaths, setFilesFilter, setMinSplitSize, setNestedFileEnumeration, setNumSplits, setOpenTimeout, testForUnsplittablepublic String getCharsetName()
public void setCharsetName(String charsetName)
public void configure(org.apache.flink.configuration.Configuration parameters)
public String readRecord(String reusable, byte[] bytes, int offset, int numBytes) throws IOException
readRecord in class org.apache.flink.api.common.io.DelimitedInputFormat<String>IOExceptionpublic String toString()
toString in class org.apache.flink.api.common.io.FileInputFormat<String>public boolean supportsMultiPaths()
supportsMultiPaths in class org.apache.flink.api.common.io.FileInputFormat<String>Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.