protected abstract static class EsPigInputFormat.AbstractPigEsInputRecordReader<V> extends EsInputFormat.EsInputRecordReader<String,V>
| Constructor and Description |
|---|
AbstractPigEsInputRecordReader() |
AbstractPigEsInputRecordReader(InputSplit split,
Configuration job,
Reporter reporter) |
| Modifier and Type | Method and Description |
|---|---|
String |
createKey() |
protected String |
setCurrentKey(String hadoopKey,
Object object)
Sets the current key.
|
close, createValue, getCurrentKey, getCurrentValue, getPos, getProgress, initialize, next, nextKeyValue, setCurrentValuepublic AbstractPigEsInputRecordReader()
public AbstractPigEsInputRecordReader(InputSplit split, Configuration job, Reporter reporter)
public String createKey()
createKey in interface RecordReader<String,V>createKey in class EsInputFormat.EsInputRecordReader<String,V>protected String setCurrentKey(String hadoopKey, Object object)
EsInputFormat.EsInputRecordReadersetCurrentKey in class EsInputFormat.EsInputRecordReader<String,V>hadoopKey - hadoop keyobject - the actual value to read