public class DynamicInputFormat<K,V>
extends org.apache.hadoop.mapreduce.InputFormat<K,V>
| Constructor | Description |
|---|---|
DynamicInputFormat() |
| Modifier and Type | Method | Description |
|---|---|---|
org.apache.hadoop.mapreduce.RecordReader<K,V> |
createRecordReader(org.apache.hadoop.mapreduce.InputSplit inputSplit,
org.apache.hadoop.mapreduce.TaskAttemptContext taskAttemptContext) |
Implementation of Inputformat::createRecordReader().
|
org.apache.hadoop.tools.mapred.lib.DynamicInputChunkContext<K,V> |
getChunkContext(org.apache.hadoop.conf.Configuration configuration) |
|
java.util.List<org.apache.hadoop.mapreduce.InputSplit> |
getSplits(org.apache.hadoop.mapreduce.JobContext jobContext) |
Implementation of InputFormat::getSplits().
|
public java.util.List<org.apache.hadoop.mapreduce.InputSplit> getSplits(org.apache.hadoop.mapreduce.JobContext jobContext)
throws java.io.IOException,
java.lang.InterruptedException
public org.apache.hadoop.tools.mapred.lib.DynamicInputChunkContext<K,V> getChunkContext(org.apache.hadoop.conf.Configuration configuration) throws java.io.IOException
java.io.IOExceptionpublic org.apache.hadoop.mapreduce.RecordReader<K,V> createRecordReader(org.apache.hadoop.mapreduce.InputSplit inputSplit, org.apache.hadoop.mapreduce.TaskAttemptContext taskAttemptContext) throws java.io.IOException, java.lang.InterruptedException
createRecordReader in class org.apache.hadoop.mapreduce.InputFormat<K,V>inputSplit - The split for which the RecordReader is required.taskAttemptContext - TaskAttemptContext for the current attempt.java.io.IOExceptionjava.lang.InterruptedExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.