@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) |
String |
toString() |
close, getBufferSize, getCurrentState, getDelimiter, getLineLengthLimit, getNumLineSamples, getStatistics, loadGlobalConfigParams, nextRecord, open, reachedEnd, readLine, reopen, setBufferSize, setDelimiter, setDelimiter, setDelimiter, setLineLengthLimit, setNumLineSamplesacceptFile, createInputSplits, decorateInputStream, extractFileExtension, getFilePath, getFileStats, getInflaterInputStreamFactory, getInputSplitAssigner, getMinSplitSize, getNestedFileEnumeration, getNumSplits, getOpenTimeout, getSplitLength, getSplitStart, registerInflaterInputStreamFactory, setFilePath, setFilePath, 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>IOExceptionCopyright © 2014–2016 The Apache Software Foundation. All rights reserved.