protected static class EsPigInputFormat.PigShardRecordReader extends EsPigInputFormat.AbstractPigShardRecordReader<Map>
| Constructor and Description |
|---|
EsPigInputFormat.PigShardRecordReader() |
EsPigInputFormat.PigShardRecordReader(InputSplit split,
Configuration job,
Reporter reporter) |
| Modifier and Type | Method and Description |
|---|---|
Map |
createValue() |
protected Map |
setCurrentValue(Map hadoopValue,
Object object)
Sets the current value.
|
createKey, setCurrentKeyclose, getCurrentKey, getCurrentValue, getPos, getProgress, initialize, next, nextKeyValuepublic EsPigInputFormat.PigShardRecordReader()
public EsPigInputFormat.PigShardRecordReader(InputSplit split, Configuration job, Reporter reporter)
public Map createValue()
createValue in interface RecordReader<String,Map>createValue in class EsInputFormat.ShardRecordReader<String,Map>protected Map setCurrentValue(Map hadoopValue, Object object)
EsInputFormat.ShardRecordReadersetCurrentValue in class EsInputFormat.ShardRecordReader<String,Map>hadoopValue - hadoop valueobject - the actual value to read