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>, ConfigurationOptions

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
 
Field Summary
 
Fields inherited from interface org.elasticsearch.hadoop.cfg.ConfigurationOptions
ES_BATCH_SIZE_BYTES, ES_BATCH_SIZE_BYTES_DEFAULT, ES_BATCH_SIZE_ENTRIES, ES_BATCH_SIZE_ENTRIES_DEFAULT, ES_BATCH_WRITE_REFRESH, ES_BATCH_WRITE_REFRESH_DEFAULT, ES_HOST, ES_HOST_DEFAULT, ES_HTTP_TIMEOUT, ES_HTTP_TIMEOUT_DEFAULT, ES_INDEX_AUTO_CREATE, ES_INDEX_AUTO_CREATE_DEFAULT, ES_INDEX_READ_MISSING_AS_EMPTY, ES_INDEX_READ_MISSING_AS_EMPTY_DEFAULT, ES_PORT, ES_PORT_DEFAULT, ES_RESOURCE, ES_SCROLL_KEEPALIVE, ES_SCROLL_KEEPALIVE_DEFAULT, ES_SCROLL_SIZE, ES_SCROLL_SIZE_DEFAULT, ES_SERIALIZATION_READER_CLASS, ES_SERIALIZATION_WRITER_CLASS
 
Constructor Summary
ESPigInputFormat()
           
 
Method Summary
 ESInputFormat.ShardRecordReader createRecordReader(InputSplit split, TaskAttemptContext context)
           
 ESInputFormat.ShardRecordReader 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 ESInputFormat.ShardRecordReader createRecordReader(InputSplit split,
                                                          TaskAttemptContext context)
Overrides:
createRecordReader in class ESInputFormat<String,Map>

getRecordReader

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