@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, getDelimiter, getLineLengthLimit, getNumLineSamples, getStatistics, loadGlobalConfigParams, nextRecord, open, reachedEnd, readLine, setBufferSize, setDelimiter, setDelimiter, setDelimiter, setLineLengthLimit, setNumLineSamples
acceptFile, createInputSplits, decorateInputStream, extractFileExtension, getFilePath, getFileStats, getInflaterInputStreamFactory, getInputSplitAssigner, getMinSplitSize, getNumSplits, getOpenTimeout, getSplitLength, getSplitStart, registerInflaterInputStreamFactory, setFilePath, setFilePath, setMinSplitSize, 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
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.