elasticsearch-hadoop

org.elasticsearch.hadoop.pig
Class EsPigInputFormat

java.lang.Object
  extended by org.apache.hadoop.mapreduce.InputFormat<K,V>
      extended by org.elasticsearch.hadoop.mr.EsInputFormat<String,Map>
          extended by org.elasticsearch.hadoop.pig.EsPigInputFormat
All Implemented Interfaces:
InputFormat<String,Map>

public class EsPigInputFormat
extends EsInputFormat<String,Map>


Nested Class Summary
protected static class EsPigInputFormat.PigShardRecordReader
           
 
Nested classes/interfaces inherited from class org.elasticsearch.hadoop.mr.EsInputFormat
EsInputFormat.ShardInputSplit, EsInputFormat.ShardRecordReader<K,V>, EsInputFormat.WritableShardRecordReader
 
Constructor Summary
EsPigInputFormat()
           
 
Method Summary
 EsPigInputFormat.PigShardRecordReader createRecordReader(InputSplit split, TaskAttemptContext context)
           
 EsPigInputFormat.PigShardRecordReader getRecordReader(InputSplit split, JobConf job, Reporter reporter)
           
 
Methods inherited from class org.elasticsearch.hadoop.mr.EsInputFormat
getSplits, getSplits
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EsPigInputFormat

public EsPigInputFormat()
Method Detail

createRecordReader

public EsPigInputFormat.PigShardRecordReader createRecordReader(InputSplit split,
                                                                TaskAttemptContext context)
Overrides:
createRecordReader in class EsInputFormat<String,Map>

getRecordReader

public EsPigInputFormat.PigShardRecordReader getRecordReader(InputSplit split,
                                                             JobConf job,
                                                             Reporter reporter)
Specified by:
getRecordReader in interface InputFormat<String,Map>
Overrides:
getRecordReader in class EsInputFormat<String,Map>

elasticsearch-hadoop