@Deprecated @PublicEvolving public class PrimitiveInputFormat<OT> extends org.apache.flink.api.common.io.DelimitedInputFormat<OT>
CsvInputFormat is that it won't go through Tuple1.| Constructor and Description |
|---|
PrimitiveInputFormat(org.apache.flink.core.fs.Path filePath,
Class<OT> primitiveClass)
Deprecated.
|
PrimitiveInputFormat(org.apache.flink.core.fs.Path filePath,
String delimiter,
Class<OT> primitiveClass)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
initializeSplit(org.apache.flink.core.fs.FileInputSplit split,
Long offset)
Deprecated.
|
OT |
readRecord(OT reuse,
byte[] bytes,
int offset,
int numBytes)
Deprecated.
|
close, configure, getBufferSize, getCharset, getCurrentState, getDelimiter, getLineLengthLimit, getNumLineSamples, getStatistics, 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, getSupportedCompressionFormats, registerInflaterInputStreamFactory, setFilePath, setFilePath, setFilePaths, setFilePaths, setFilesFilter, setMinSplitSize, setNestedFileEnumeration, setNumSplits, setOpenTimeout, supportsMultiPaths, testForUnsplittable, toStringpublic PrimitiveInputFormat(org.apache.flink.core.fs.Path filePath,
Class<OT> primitiveClass)
protected void initializeSplit(org.apache.flink.core.fs.FileInputSplit split,
Long offset)
throws IOException
initializeSplit in class org.apache.flink.api.common.io.DelimitedInputFormat<OT>IOExceptionpublic OT readRecord(OT reuse, byte[] bytes, int offset, int numBytes) throws IOException
readRecord in class org.apache.flink.api.common.io.DelimitedInputFormat<OT>IOExceptionCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.