protected abstract static class EsPigInputFormat.AbstractPigShardRecordReader<V> extends EsInputFormat.ShardRecordReader<String,V>
| Constructor and Description |
|---|
AbstractPigShardRecordReader() |
AbstractPigShardRecordReader(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 AbstractPigShardRecordReader()
public AbstractPigShardRecordReader(InputSplit split, Configuration job, Reporter reporter)
public String createKey()
createKey in interface RecordReader<String,V>createKey in class EsInputFormat.ShardRecordReader<String,V>protected String setCurrentKey(String hadoopKey, Object object)
EsInputFormat.ShardRecordReadersetCurrentKey in class EsInputFormat.ShardRecordReader<String,V>hadoopKey - hadoop keyobject - the actual value to read