public abstract class DelimitedInputFormat extends DelimitedInputFormat<Record>
readRecord(Record, byte[], int, int) method.
The default delimiter is the newline character '\n'.
DelimitedInputFormat.AbstractConfigBuilder<T>, DelimitedInputFormat.ConfigBuilderFileInputFormat.FileBaseStatistics, FileInputFormat.InputSplitOpenThreadRECORD_DELIMITERDEFLATE_SUFFIX, enumerateNestedFiles, filePath, minSplitSize, numSplits, openTimeout, READ_WHOLE_SPLIT_FLAG, splitLength, splitStart, stream, unsplittable| Constructor and Description |
|---|
DelimitedInputFormat() |
| Modifier and Type | Method and Description |
|---|---|
abstract Record |
readRecord(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, setDelimiter, setDelimiter, setLineLengthLimit, setNumLineSamplesacceptFile, configureFileFormat, createInputSplits, getFilePath, getFileStats, getInputSplitAssigner, getMinSplitSize, getNumSplits, getOpenTimeout, getSplitLength, getSplitStart, setFilePath, setFilePath, setMinSplitSize, setNumSplits, setOpenTimeout, testForUnsplittable, toStringpublic abstract Record readRecord(Record reuse, byte[] bytes, int offset, int numBytes)
readRecord in class DelimitedInputFormat<Record>reuse - The optional reusable holder for the line that is read.bytes - The serialized record.Copyright © 2015 The Apache Software Foundation. All rights reserved.