static class TableSnapshotInputFormat.TableSnapshotRegionRecordReader extends org.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result>
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.mapreduce.TaskAttemptContext |
context |
private TableSnapshotInputFormatImpl.RecordReader |
delegate |
private Method |
getCounter |
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 split,
org.apache.hadoop.mapreduce.TaskAttemptContext context) |
boolean |
nextKeyValue() |
private TableSnapshotInputFormatImpl.RecordReader delegate
private org.apache.hadoop.mapreduce.TaskAttemptContext context
private Method getCounter
TableSnapshotInputFormat.TableSnapshotRegionRecordReader()
public void initialize(org.apache.hadoop.mapreduce.InputSplit split, 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 © 2007–2019 The Apache Software Foundation. All rights reserved.