This project has retired. For details please refer to its
Attic page.
CrunchInputFormat (Apache Crunch 0.9.0 API)
org.apache.crunch.impl.mr.run
Class CrunchInputFormat<K,V>
java.lang.Object
org.apache.hadoop.mapreduce.InputFormat<K,V>
org.apache.crunch.impl.mr.run.CrunchInputFormat<K,V>
public class CrunchInputFormat<K,V>
- extends org.apache.hadoop.mapreduce.InputFormat<K,V>
Method Summary |
org.apache.hadoop.mapreduce.RecordReader<K,V> |
createRecordReader(org.apache.hadoop.mapreduce.InputSplit inputSplit,
org.apache.hadoop.mapreduce.TaskAttemptContext context)
|
List<org.apache.hadoop.mapreduce.InputSplit> |
getSplits(org.apache.hadoop.mapreduce.JobContext job)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CrunchInputFormat
public CrunchInputFormat()
getSplits
public List<org.apache.hadoop.mapreduce.InputSplit> getSplits(org.apache.hadoop.mapreduce.JobContext job)
throws IOException,
InterruptedException
- Specified by:
getSplits
in class org.apache.hadoop.mapreduce.InputFormat<K,V>
- Throws:
IOException
InterruptedException
createRecordReader
public org.apache.hadoop.mapreduce.RecordReader<K,V> createRecordReader(org.apache.hadoop.mapreduce.InputSplit inputSplit,
org.apache.hadoop.mapreduce.TaskAttemptContext context)
throws IOException,
InterruptedException
- Specified by:
createRecordReader
in class org.apache.hadoop.mapreduce.InputFormat<K,V>
- Throws:
IOException
InterruptedException
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.