Class MultithreadedTableMapper.SubMapRecordReader
java.lang.Object
org.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result>
org.apache.hadoop.hbase.mapreduce.MultithreadedTableMapper.SubMapRecordReader
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
- MultithreadedTableMapper<K2,
V2>
private class MultithreadedTableMapper.SubMapRecordReader
extends org.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.apache.hadoop.conf.Configurationprivate ImmutableBytesWritableprivate Result -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()floatvoidinitialize(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context) boolean
-
Field Details
-
key
-
value
-
conf
-
-
Constructor Details
-
SubMapRecordReader
private SubMapRecordReader()
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classorg.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result> - Throws:
IOException
-
getProgress
- Specified by:
getProgressin classorg.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result> - Throws:
IOExceptionInterruptedException
-
initialize
public void initialize(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException, InterruptedException - Specified by:
initializein classorg.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result> - Throws:
IOExceptionInterruptedException
-
nextKeyValue
- Specified by:
nextKeyValuein classorg.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result> - Throws:
IOExceptionInterruptedException
-
getCurrentKey
- Specified by:
getCurrentKeyin classorg.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result>
-
getCurrentValue
- Specified by:
getCurrentValuein classorg.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result>
-