private class MultithreadedTableMapper.SubMapRecordReader extends org.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result>
| Modifier and Type | Field and Description |
|---|---|
private org.apache.hadoop.conf.Configuration |
conf |
private ImmutableBytesWritable |
key |
private Result |
value |
| Modifier | Constructor and Description |
|---|---|
private |
SubMapRecordReader() |
| 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 ImmutableBytesWritable key
private org.apache.hadoop.conf.Configuration conf
private SubMapRecordReader()
public void close() throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class org.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result>IOExceptionpublic float getProgress() throws IOException, InterruptedException
getProgress in class org.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result>IOExceptionInterruptedExceptionpublic 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>IOExceptionInterruptedExceptionpublic boolean nextKeyValue() throws IOException, InterruptedException
nextKeyValue in class org.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result>IOExceptionInterruptedExceptionpublic ImmutableBytesWritable getCurrentKey()
getCurrentKey in class org.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result>public Result getCurrentValue()
getCurrentValue in class org.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result>Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.