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, setCurrentValue
public 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.EsInputRecordReader
setCurrentKey
in class EsInputFormat.EsInputRecordReader<String,V>
hadoopKey
- hadoop keyobject
- the actual value to read