protected abstract static class EsInputFormat.AbstractWritableShardRecordReader<V> extends EsInputFormat.ShardRecordReader<Text,V>
| Constructor and Description |
|---|
AbstractWritableShardRecordReader() |
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 AbstractWritableShardRecordReader()
public 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