protected abstract static class InputFormatBase.RecordReaderBase<K,V> extends AbstractInputFormat.AbstractRecordReader<K,V>
currentKey, numKeysRead, scannerIterator, split| Modifier | Constructor and Description |
|---|---|
protected |
RecordReaderBase() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setupIterators(org.apache.hadoop.mapred.JobConf job,
Scanner scanner)
Deprecated.
|
protected void |
setupIterators(org.apache.hadoop.mapred.JobConf job,
Scanner scanner,
String tableName,
RangeInputSplit split)
Configures the iterators on a scanner for the given table name.
|
protected void |
setupIterators(List<IteratorSetting> iterators,
Scanner scanner)
Apply the configured iterators to the scanner.
|
close, getPos, getProgress, initializeprotected void setupIterators(org.apache.hadoop.mapred.JobConf job,
Scanner scanner,
String tableName,
RangeInputSplit split)
AbstractInputFormat.AbstractRecordReadersetupIterators in class AbstractInputFormat.AbstractRecordReader<K,V>job - the Hadoop job configurationscanner - the scanner for which to configure the iteratorstableName - the table name for which the scanner is configuredprotected void setupIterators(List<IteratorSetting> iterators, Scanner scanner)
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–2016 The Apache Software Foundation. All rights reserved.