Class InputFormatBase.RecordReaderBase<K,V>
- java.lang.Object
-
- org.apache.accumulo.core.client.mapred.AbstractInputFormat.AbstractRecordReader<K,V>
-
- org.apache.accumulo.core.client.mapred.InputFormatBase.RecordReaderBase<K,V>
-
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.hadoop.mapred.RecordReader<K,V>
- Enclosing class:
- InputFormatBase<K,V>
protected abstract static class InputFormatBase.RecordReaderBase<K,V> extends AbstractInputFormat.AbstractRecordReader<K,V>
-
-
Field Summary
-
Fields inherited from class org.apache.accumulo.core.client.mapred.AbstractInputFormat.AbstractRecordReader
currentKey, numKeysRead, scannerBase, scannerIterator, split
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRecordReaderBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected List<IteratorSetting>jobIterators(org.apache.hadoop.mapred.JobConf job, String tableName)Deprecated.protected voidsetupIterators(List<IteratorSetting> iterators, Scanner scanner)Deprecated.since 1.7.0; UsejobIterators(org.apache.hadoop.mapred.JobConf, java.lang.String)instead.protected voidsetupIterators(org.apache.hadoop.mapred.JobConf job, Scanner scanner)Deprecated.-
Methods inherited from class org.apache.accumulo.core.client.mapred.AbstractInputFormat.AbstractRecordReader
close, getPos, getProgress, initialize, setupIterators
-
-
-
-
Method Detail
-
jobIterators
@Deprecated protected List<IteratorSetting> jobIterators(org.apache.hadoop.mapred.JobConf job, String tableName)
Deprecated.Description copied from class:AbstractInputFormat.AbstractRecordReaderExtracts Iterators settings from the context to be used by RecordReader.- Specified by:
jobIteratorsin classAbstractInputFormat.AbstractRecordReader<K,V>- Parameters:
job- the Hadoop job configurationtableName- the table name for which the scanner is configured- Returns:
- List of iterator settings for given table
-
setupIterators
@Deprecated protected void setupIterators(List<IteratorSetting> iterators, Scanner scanner)
Deprecated.since 1.7.0; UsejobIterators(org.apache.hadoop.mapred.JobConf, java.lang.String)instead.Apply the configured iterators to the scanner.- Parameters:
iterators- the iterators to setscanner- the scanner to configure
-
setupIterators
@Deprecated protected void setupIterators(org.apache.hadoop.mapred.JobConf job, Scanner scanner)
Deprecated.Apply the configured iterators from the configuration to the scanner.- Parameters:
job- the job configurationscanner- the scanner to configure
-
-