public static class PerformanceEvaluation.PeInputFormat.PeRecordReader extends org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.NullWritable,PerformanceEvaluation.PeInputSplit>
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.io.NullWritable |
key |
private boolean |
readOver |
private PerformanceEvaluation.PeInputSplit |
split |
private PerformanceEvaluation.PeInputSplit |
value |
Constructor and Description |
---|
PeRecordReader() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
org.apache.hadoop.io.NullWritable |
getCurrentKey() |
PerformanceEvaluation.PeInputSplit |
getCurrentValue() |
float |
getProgress() |
void |
initialize(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context) |
boolean |
nextKeyValue() |
private boolean readOver
private PerformanceEvaluation.PeInputSplit split
private org.apache.hadoop.io.NullWritable key
private PerformanceEvaluation.PeInputSplit value
public PeRecordReader()
public void initialize(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context)
initialize
in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.NullWritable,PerformanceEvaluation.PeInputSplit>
public boolean nextKeyValue()
nextKeyValue
in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.NullWritable,PerformanceEvaluation.PeInputSplit>
public org.apache.hadoop.io.NullWritable getCurrentKey()
getCurrentKey
in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.NullWritable,PerformanceEvaluation.PeInputSplit>
public PerformanceEvaluation.PeInputSplit getCurrentValue()
getCurrentValue
in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.NullWritable,PerformanceEvaluation.PeInputSplit>
public float getProgress()
getProgress
in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.NullWritable,PerformanceEvaluation.PeInputSplit>
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.NullWritable,PerformanceEvaluation.PeInputSplit>
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.