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 Closeable
close
in interface AutoCloseable
close
in class org.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result>
IOException
public float getProgress() throws IOException, InterruptedException
getProgress
in class org.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result>
IOException
InterruptedException
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()
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–2019 The Apache Software Foundation. All rights reserved.