org.apache.pig.piggybank.storage
Class HadoopJobHistoryLoader.HadoopJobHistoryInputFormat

java.lang.Object
  extended by org.apache.hadoop.mapreduce.InputFormat<K,V>
      extended by org.apache.hadoop.mapreduce.lib.input.FileInputFormat<org.apache.hadoop.io.Text,HadoopJobHistoryLoader.MRJobInfo>
          extended by org.apache.pig.piggybank.storage.HadoopJobHistoryLoader.HadoopJobHistoryInputFormat
Enclosing class:
HadoopJobHistoryLoader

public static class HadoopJobHistoryLoader.HadoopJobHistoryInputFormat
extends org.apache.hadoop.mapreduce.lib.input.FileInputFormat<org.apache.hadoop.io.Text,HadoopJobHistoryLoader.MRJobInfo>


Constructor Summary
HadoopJobHistoryLoader.HadoopJobHistoryInputFormat()
           
 
Method Summary
 org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,HadoopJobHistoryLoader.MRJobInfo> createRecordReader(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context)
           
protected  boolean isSplitable(org.apache.hadoop.mapreduce.JobContext context, org.apache.hadoop.fs.Path filename)
           
 
Methods inherited from class org.apache.hadoop.mapreduce.lib.input.FileInputFormat
addInputPath, addInputPaths, computeSplitSize, getBlockIndex, getFormatMinSplitSize, getInputPathFilter, getInputPaths, getMaxSplitSize, getMinSplitSize, getSplits, listStatus, setInputPathFilter, setInputPaths, setInputPaths, setMaxInputSplitSize, setMinInputSplitSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HadoopJobHistoryLoader.HadoopJobHistoryInputFormat

public HadoopJobHistoryLoader.HadoopJobHistoryInputFormat()
Method Detail

createRecordReader

public org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,HadoopJobHistoryLoader.MRJobInfo> createRecordReader(org.apache.hadoop.mapreduce.InputSplit split,
                                                                                                                               org.apache.hadoop.mapreduce.TaskAttemptContext context)
                                                                                                                        throws IOException,
                                                                                                                               InterruptedException
Specified by:
createRecordReader in class org.apache.hadoop.mapreduce.InputFormat<org.apache.hadoop.io.Text,HadoopJobHistoryLoader.MRJobInfo>
Throws:
IOException
InterruptedException

isSplitable

protected boolean isSplitable(org.apache.hadoop.mapreduce.JobContext context,
                              org.apache.hadoop.fs.Path filename)
Overrides:
isSplitable in class org.apache.hadoop.mapreduce.lib.input.FileInputFormat<org.apache.hadoop.io.Text,HadoopJobHistoryLoader.MRJobInfo>


Copyright © ${year} The Apache Software Foundation