public class UniformSizeInputFormat extends org.apache.hadoop.mapreduce.InputFormat<org.apache.hadoop.io.Text,CopyListingFileStatus>
| Constructor | Description |
|---|---|
UniformSizeInputFormat() |
| Modifier and Type | Method | Description |
|---|---|---|
org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,CopyListingFileStatus> |
createRecordReader(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context) |
Implementation of InputFormat::createRecordReader().
|
java.util.List<org.apache.hadoop.mapreduce.InputSplit> |
getSplits(org.apache.hadoop.mapreduce.JobContext context) |
Implementation of InputFormat::getSplits().
|
public java.util.List<org.apache.hadoop.mapreduce.InputSplit> getSplits(org.apache.hadoop.mapreduce.JobContext context)
throws java.io.IOException,
java.lang.InterruptedException
getSplits in class org.apache.hadoop.mapreduce.InputFormat<org.apache.hadoop.io.Text,CopyListingFileStatus>context - JobContext for the job.java.io.IOExceptionjava.lang.InterruptedExceptionpublic org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,CopyListingFileStatus> createRecordReader(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context) throws java.io.IOException, java.lang.InterruptedException
createRecordReader in class org.apache.hadoop.mapreduce.InputFormat<org.apache.hadoop.io.Text,CopyListingFileStatus>split - The split for which the RecordReader is sought.context - The context of the current task-attempt.java.io.IOExceptionjava.lang.InterruptedExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.