Class IntegrationTestBulkLoad.FixedRecordReader<K,V>
java.lang.Object
org.apache.hadoop.mapreduce.RecordReader<K,V>
org.apache.hadoop.hbase.mapreduce.IntegrationTestBulkLoad.FixedRecordReader<K,V>
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
- IntegrationTestBulkLoad
public static class IntegrationTestBulkLoad.FixedRecordReader<K,V>
extends org.apache.hadoop.mapreduce.RecordReader<K,V>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
float
void
initialize
(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context) boolean
-
Field Details
-
index
-
keys
-
values
-
-
Constructor Details
-
FixedRecordReader
-
-
Method Details
-
initialize
public void initialize(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException, InterruptedException - Specified by:
initialize
in classorg.apache.hadoop.mapreduce.RecordReader<K,
V> - Throws:
IOException
InterruptedException
-
nextKeyValue
- Specified by:
nextKeyValue
in classorg.apache.hadoop.mapreduce.RecordReader<K,
V> - Throws:
IOException
InterruptedException
-
getCurrentKey
- Specified by:
getCurrentKey
in classorg.apache.hadoop.mapreduce.RecordReader<K,
V> - Throws:
IOException
InterruptedException
-
getCurrentValue
- Specified by:
getCurrentValue
in classorg.apache.hadoop.mapreduce.RecordReader<K,
V> - Throws:
IOException
InterruptedException
-
getProgress
- Specified by:
getProgress
in classorg.apache.hadoop.mapreduce.RecordReader<K,
V> - Throws:
IOException
InterruptedException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classorg.apache.hadoop.mapreduce.RecordReader<K,
V> - Throws:
IOException
-