@PublicEvolving public class TextInputFormat extends org.apache.flink.api.common.io.DelimitedInputFormat<String>
构造器和说明 |
---|
TextInputFormat(org.apache.flink.core.fs.Path filePath) |
限定符和类型 | 方法和说明 |
---|---|
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
在类中 org.apache.flink.api.common.io.DelimitedInputFormat<String>
IOException
public String toString()
toString
在类中 org.apache.flink.api.common.io.FileInputFormat<String>
public boolean supportsMultiPaths()
supportsMultiPaths
在类中 org.apache.flink.api.common.io.FileInputFormat<String>
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.