|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.mapreduce.RecordReader<K,V>
org.apache.accumulo.core.client.mapreduce.InputFormatBase.RecordReaderBase<K,V>
protected abstract static class InputFormatBase.RecordReaderBase<K,V>
| Field Summary | |
|---|---|
protected K |
currentK
|
protected Key |
currentKey
|
protected V |
currentV
|
protected Value |
currentValue
|
protected long |
numKeysRead
|
protected Iterator<Map.Entry<Key,Value>> |
scannerIterator
|
protected InputFormatBase.RangeInputSplit |
split
|
| Constructor Summary | |
|---|---|
protected |
InputFormatBase.RecordReaderBase()
|
| Method Summary | |
|---|---|
void |
close()
|
K |
getCurrentKey()
|
V |
getCurrentValue()
|
float |
getProgress()
|
void |
initialize(org.apache.hadoop.mapreduce.InputSplit inSplit,
org.apache.hadoop.mapreduce.TaskAttemptContext attempt)
Initialize a scanner over the given input split using this task attempt configuration. |
protected void |
setupIterators(org.apache.hadoop.conf.Configuration conf,
Scanner scanner)
Apply the configured iterators from the configuration to the scanner. |
protected void |
setupIterators(org.apache.hadoop.mapreduce.TaskAttemptContext attempt,
Scanner scanner)
Deprecated. Use setupIterators(Configuration,Scanner) instead |
protected void |
setupMaxVersions(org.apache.hadoop.conf.Configuration conf,
Scanner scanner)
If maxVersions has been set, configure a VersioningIterator at priority 0 for this scanner. |
protected void |
setupMaxVersions(org.apache.hadoop.mapreduce.TaskAttemptContext attempt,
Scanner scanner)
Deprecated. Use setupMaxVersions(Configuration,Scanner) instead |
protected boolean |
setupRegex(org.apache.hadoop.mapreduce.TaskAttemptContext attempt,
Scanner scanner)
Deprecated. since 1.4, configure RegExFilter instead. |
| Methods inherited from class org.apache.hadoop.mapreduce.RecordReader |
|---|
nextKeyValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected long numKeysRead
protected Iterator<Map.Entry<Key,Value>> scannerIterator
protected InputFormatBase.RangeInputSplit split
protected K currentK
protected V currentV
protected Key currentKey
protected Value currentValue
| Constructor Detail |
|---|
protected InputFormatBase.RecordReaderBase()
| Method Detail |
|---|
protected boolean setupRegex(org.apache.hadoop.mapreduce.TaskAttemptContext attempt,
Scanner scanner)
throws AccumuloException
RegExFilter instead.
AccumuloException
protected void setupIterators(org.apache.hadoop.mapreduce.TaskAttemptContext attempt,
Scanner scanner)
throws AccumuloException
setupIterators(Configuration,Scanner) instead
AccumuloException
protected void setupIterators(org.apache.hadoop.conf.Configuration conf,
Scanner scanner)
throws AccumuloException
conf - the Hadoop configuration objectscanner - the scanner to configure
AccumuloException
protected void setupMaxVersions(org.apache.hadoop.mapreduce.TaskAttemptContext attempt,
Scanner scanner)
setupMaxVersions(Configuration,Scanner) instead
protected void setupMaxVersions(org.apache.hadoop.conf.Configuration conf,
Scanner scanner)
VersioningIterator at priority 0 for this scanner.
conf - the Hadoop configuration objectscanner - the scanner to configure
public void initialize(org.apache.hadoop.mapreduce.InputSplit inSplit,
org.apache.hadoop.mapreduce.TaskAttemptContext attempt)
throws IOException
initialize in class org.apache.hadoop.mapreduce.RecordReader<K,V>IOExceptionpublic void close()
close in interface Closeableclose in class org.apache.hadoop.mapreduce.RecordReader<K,V>
public float getProgress()
throws IOException
getProgress in class org.apache.hadoop.mapreduce.RecordReader<K,V>IOException
public K getCurrentKey()
throws IOException,
InterruptedException
getCurrentKey in class org.apache.hadoop.mapreduce.RecordReader<K,V>IOException
InterruptedException
public V getCurrentValue()
throws IOException,
InterruptedException
getCurrentValue in class org.apache.hadoop.mapreduce.RecordReader<K,V>IOException
InterruptedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||