public interface InputFormat
| Modifier and Type | Method and Description |
|---|---|
RecordReader |
getRecordReader(InputSplit split,
Configuration conf,
Reporter reporter)
Get the RecordReader for the given InputSplit.
|
InputSplit[] |
getSplits(Configuration conf,
int numSplits)
Logically split the set of input files for the job.
|
InputSplit[] getSplits(Configuration conf, int numSplits) throws IOException
numSplits - the desired number of splits, a hint.InputSplits for the job.IOExceptionRecordReader getRecordReader(InputSplit split, Configuration conf, Reporter reporter) throws IOException
IOExceptionCopyright © 2023 Alibaba Cloud Computing. All rights reserved.