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, setCurrentKey
close, getCurrentKey, getCurrentValue, getPos, getProgress, initialize, next, nextKeyValue
public 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.ShardRecordReader
setCurrentValue
in class EsInputFormat.ShardRecordReader<String,Map>
hadoopValue
- hadoop valueobject
- the actual value to read