protected abstract static class InputFormatBase.RecordReaderBase<K,V> extends AbstractInputFormat.AbstractRecordReader<K,V>
currentKey, numKeysRead, scannerBase, scannerIterator, split| Modifier | Constructor and Description |
|---|---|
protected |
RecordReaderBase() |
| Modifier and Type | Method and Description |
|---|---|
protected List<IteratorSetting> |
jobIterators(org.apache.hadoop.mapred.JobConf job,
String tableName)
Extracts Iterators settings from the context to be used by RecordReader.
|
protected void |
setupIterators(org.apache.hadoop.mapred.JobConf job,
Scanner scanner)
Deprecated.
|
protected void |
setupIterators(List<IteratorSetting> iterators,
Scanner scanner)
Deprecated.
since 1.7.0; Use
jobIterators(org.apache.hadoop.mapred.JobConf, java.lang.String) instead. |
close, getPos, getProgress, initialize, setupIteratorsprotected List<IteratorSetting> jobIterators(org.apache.hadoop.mapred.JobConf job, String tableName)
AbstractInputFormat.AbstractRecordReaderjobIterators in class AbstractInputFormat.AbstractRecordReader<K,V>job - the Hadoop job configurationtableName - the table name for which the scanner is configured@Deprecated protected void setupIterators(List<IteratorSetting> iterators, Scanner scanner)
jobIterators(org.apache.hadoop.mapred.JobConf, java.lang.String) instead.iterators - the iterators to setscanner - the scanner to configure@Deprecated protected void setupIterators(org.apache.hadoop.mapred.JobConf job, Scanner scanner)
job - the job configurationscanner - the scanner to configureCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.