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