public abstract class DelimitedInputFormat
extends org.apache.flink.api.common.io.DelimitedInputFormat<org.apache.flink.types.Record>
readRecord(Record, byte[], int, int) method.
The default delimiter is the newline character '\n'.
| Constructor and Description |
|---|
DelimitedInputFormat() |
| Modifier and Type | Method and Description |
|---|---|
abstract org.apache.flink.types.Record |
readRecord(org.apache.flink.types.Record reuse,
byte[] bytes,
int offset,
int numBytes)
This function parses the given byte array which represents a serialized key/value
pair.
|
close, configure, configureDelimitedFormat, getBufferSize, getDelimiter, getLineLengthLimit, getNumLineSamples, getStatistics, loadGloablConfigParams, nextRecord, open, reachedEnd, readLine, setBufferSize, setDelimiter, setDelimiter, setDelimiter, setLineLengthLimit, setNumLineSamplesacceptFile, configureFileFormat, createInputSplits, decorateInputStream, extractFileExtension, getFilePath, getFileStats, getInflaterInputStreamFactory, getInputSplitAssigner, getMinSplitSize, getNumSplits, getOpenTimeout, getSplitLength, getSplitStart, registerInflaterInputStreamFactory, setFilePath, setFilePath, setMinSplitSize, setNumSplits, setOpenTimeout, testForUnsplittable, toStringpublic abstract org.apache.flink.types.Record readRecord(org.apache.flink.types.Record reuse,
byte[] bytes,
int offset,
int numBytes)
readRecord in class org.apache.flink.api.common.io.DelimitedInputFormat<org.apache.flink.types.Record>reuse - The optional reusable holder for the line that is read.bytes - The serialized record.Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.