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 protected
RecordReaderBase()
-
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 void
setupIterators(List<IteratorSetting> iterators, Scanner scanner)
Deprecated.since 1.7.0; UsejobIterators(org.apache.hadoop.mapred.JobConf, java.lang.String)
instead.protected void
setupIterators(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(since="2.0.0") protected List<IteratorSetting> jobIterators(org.apache.hadoop.mapred.JobConf job, String tableName)
Deprecated.Description copied from class:AbstractInputFormat.AbstractRecordReader
Extracts Iterators settings from the context to be used by RecordReader.- Specified by:
jobIterators
in 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(since="1.7.0") 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(since="1.7.0") 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
-
-