public static final class TableSnapshotInputFormat.TableSnapshotRegionRecordReader extends org.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result>
Constructor and Description |
---|
TableSnapshotInputFormat.TableSnapshotRegionRecordReader() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
ImmutableBytesWritable |
getCurrentKey() |
Result |
getCurrentValue() |
float |
getProgress() |
void |
initialize(org.apache.hadoop.mapreduce.InputSplit aSplit,
org.apache.hadoop.mapreduce.TaskAttemptContext context) |
boolean |
nextKeyValue() |
public TableSnapshotInputFormat.TableSnapshotRegionRecordReader()
public void initialize(org.apache.hadoop.mapreduce.InputSplit aSplit, org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException, InterruptedException
initialize
in class org.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result>
IOException
InterruptedException
public boolean nextKeyValue() throws IOException, InterruptedException
nextKeyValue
in class org.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result>
IOException
InterruptedException
public ImmutableBytesWritable getCurrentKey() throws IOException, InterruptedException
getCurrentKey
in class org.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result>
IOException
InterruptedException
public Result getCurrentValue() throws IOException, InterruptedException
getCurrentValue
in class org.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result>
IOException
InterruptedException
public float getProgress() throws IOException, InterruptedException
getProgress
in class org.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result>
IOException
InterruptedException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class org.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result>
IOException
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.