static class IntegrationTestBigLinkedList.Generator.GeneratorInputFormat.GeneratorRecordReader extends org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.NullWritable>
| Modifier and Type | Field and Description |
|---|---|
private long |
count |
private long |
numNodes |
private org.apache.hadoop.hbase.util.Random64 |
rand |
| Constructor and Description |
|---|
GeneratorRecordReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.apache.hadoop.io.BytesWritable |
getCurrentKey() |
org.apache.hadoop.io.NullWritable |
getCurrentValue() |
float |
getProgress() |
void |
initialize(org.apache.hadoop.mapreduce.InputSplit arg0,
org.apache.hadoop.mapreduce.TaskAttemptContext context) |
boolean |
nextKeyValue() |
private long count
private long numNodes
private org.apache.hadoop.hbase.util.Random64 rand
GeneratorRecordReader()
public void close() throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.NullWritable>IOExceptionpublic org.apache.hadoop.io.BytesWritable getCurrentKey() throws IOException, InterruptedException
getCurrentKey in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.NullWritable>IOExceptionInterruptedExceptionpublic org.apache.hadoop.io.NullWritable getCurrentValue() throws IOException, InterruptedException
getCurrentValue in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.NullWritable>IOExceptionInterruptedExceptionpublic float getProgress() throws IOException, InterruptedException
getProgress in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.NullWritable>IOExceptionInterruptedExceptionpublic void initialize(org.apache.hadoop.mapreduce.InputSplit arg0, org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException, InterruptedException
initialize in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.NullWritable>IOExceptionInterruptedExceptionpublic boolean nextKeyValue() throws IOException, InterruptedException
nextKeyValue in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.NullWritable>IOExceptionInterruptedExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.