@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, loadConfigParameters, loadGlobalConfigParams, nextRecord, open, reachedEnd, readLine, reopen, setBufferSize, setCharset, setDelimiter, setDelimiter, setDelimiter, setLineLengthLimit, setNumLineSamples
acceptFile, 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, testForUnsplittable
public 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>
IOException
public 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–2019 The Apache Software Foundation. All rights reserved.