org.apache.pig.backend.hadoop.executionengine.mapreduceExec
Class PigInputFormat

java.lang.Object
  extended by org.apache.pig.backend.hadoop.executionengine.mapreduceExec.PigInputFormat
All Implemented Interfaces:
org.apache.hadoop.mapred.InputFormat<org.apache.hadoop.io.Text,Tuple>, org.apache.hadoop.mapred.JobConfigurable

public class PigInputFormat
extends Object
implements org.apache.hadoop.mapred.InputFormat<org.apache.hadoop.io.Text,Tuple>, org.apache.hadoop.mapred.JobConfigurable


Constructor Summary
PigInputFormat()
           
 
Method Summary
 void configure(org.apache.hadoop.mapred.JobConf conf)
           
static SliceWrapper getActiveSplit()
           
 org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.Text,Tuple> getRecordReader(org.apache.hadoop.mapred.InputSplit split, org.apache.hadoop.mapred.JobConf job, org.apache.hadoop.mapred.Reporter reporter)
           
 org.apache.hadoop.mapred.InputSplit[] getSplits(org.apache.hadoop.mapred.JobConf job, int numSplits)
           
 void validateInput(org.apache.hadoop.mapred.JobConf arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PigInputFormat

public PigInputFormat()
Method Detail

getSplits

public org.apache.hadoop.mapred.InputSplit[] getSplits(org.apache.hadoop.mapred.JobConf job,
                                                       int numSplits)
                                                throws IOException
Specified by:
getSplits in interface org.apache.hadoop.mapred.InputFormat<org.apache.hadoop.io.Text,Tuple>
Throws:
IOException

getRecordReader

public org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.Text,Tuple> getRecordReader(org.apache.hadoop.mapred.InputSplit split,
                                                                                              org.apache.hadoop.mapred.JobConf job,
                                                                                              org.apache.hadoop.mapred.Reporter reporter)
                                                                                       throws IOException
Specified by:
getRecordReader in interface org.apache.hadoop.mapred.InputFormat<org.apache.hadoop.io.Text,Tuple>
Throws:
IOException

configure

public void configure(org.apache.hadoop.mapred.JobConf conf)
Specified by:
configure in interface org.apache.hadoop.mapred.JobConfigurable

getActiveSplit

public static SliceWrapper getActiveSplit()

validateInput

public void validateInput(org.apache.hadoop.mapred.JobConf arg0)
                   throws IOException
Specified by:
validateInput in interface org.apache.hadoop.mapred.InputFormat<org.apache.hadoop.io.Text,Tuple>
Throws:
IOException


Copyright © ${year} The Apache Software Foundation