protected abstract static class InputFormatBase.RecordReaderBase<K,V> extends AbstractInputFormat.AbstractRecordReader<K,V>
currentK, currentKey, currentV, numKeysRead, scannerIterator, split| Modifier | Constructor and Description |
|---|---|
protected |
RecordReaderBase() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setupIterators(org.apache.hadoop.mapreduce.TaskAttemptContext context,
Scanner scanner)
Deprecated.
|
protected void |
setupIterators(org.apache.hadoop.mapreduce.TaskAttemptContext context,
Scanner scanner,
RangeInputSplit split)
Initialize a scanner over the given input split using this task attempt configuration.
|
protected void |
setupIterators(org.apache.hadoop.mapreduce.TaskAttemptContext context,
Scanner scanner,
String tableName,
RangeInputSplit split)
Apply the configured iterators from the configuration to the scanner for the specified table name
|
close, getCurrentKey, getCurrentValue, getProgress, initializeprotected void setupIterators(org.apache.hadoop.mapreduce.TaskAttemptContext context,
Scanner scanner,
String tableName,
RangeInputSplit split)
setupIterators in class AbstractInputFormat.AbstractRecordReader<K,V>context - the Hadoop context for the configured jobscanner - the scanner to configuretableName - the table name for which the scanner is configured@Deprecated protected void setupIterators(org.apache.hadoop.mapreduce.TaskAttemptContext context, Scanner scanner)
context - the Hadoop context for the configured jobscanner - the scanner to configureprotected void setupIterators(org.apache.hadoop.mapreduce.TaskAttemptContext context,
Scanner scanner,
RangeInputSplit split)
Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.