org.apache.hadoop.hbase.mapreduce
Class TableSnapshotInputFormat.TableSnapshotRegionRecordReader
java.lang.Object
org.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result>
org.apache.hadoop.hbase.mapreduce.TableSnapshotInputFormat.TableSnapshotRegionRecordReader
- All Implemented Interfaces:
- Closeable
- Enclosing class:
- TableSnapshotInputFormat
public static final class TableSnapshotInputFormat.TableSnapshotRegionRecordReader
- extends org.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result>
Snapshot region record reader.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TableSnapshotInputFormat.TableSnapshotRegionRecordReader
public TableSnapshotInputFormat.TableSnapshotRegionRecordReader()
initialize
public void initialize(org.apache.hadoop.mapreduce.InputSplit aSplit,
org.apache.hadoop.mapreduce.TaskAttemptContext context)
throws IOException,
InterruptedException
- Specified by:
initialize
in class org.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result>
- Throws:
IOException
InterruptedException
nextKeyValue
public boolean nextKeyValue()
throws IOException,
InterruptedException
- Specified by:
nextKeyValue
in class org.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result>
- Throws:
IOException
InterruptedException
getCurrentKey
public ImmutableBytesWritable getCurrentKey()
throws IOException,
InterruptedException
- Specified by:
getCurrentKey
in class org.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result>
- Throws:
IOException
InterruptedException
getCurrentValue
public Result getCurrentValue()
throws IOException,
InterruptedException
- Specified by:
getCurrentValue
in class org.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result>
- Throws:
IOException
InterruptedException
getProgress
public float getProgress()
throws IOException,
InterruptedException
- Specified by:
getProgress
in class org.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result>
- Throws:
IOException
InterruptedException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Specified by:
close
in class org.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result>
- Throws:
IOException
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.