public static class HadoopJobHistoryLoader.HadoopJobHistoryReader extends org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,HadoopJobHistoryLoader.MRJobInfo>
Constructor and Description |
---|
HadoopJobHistoryLoader.HadoopJobHistoryReader() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
org.apache.hadoop.io.Text |
getCurrentKey() |
HadoopJobHistoryLoader.MRJobInfo |
getCurrentValue() |
float |
getProgress() |
void |
initialize(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context) |
boolean |
nextKeyValue() |
public HadoopJobHistoryLoader.HadoopJobHistoryReader()
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,HadoopJobHistoryLoader.MRJobInfo>
java.io.IOException
public org.apache.hadoop.io.Text getCurrentKey() throws java.io.IOException, java.lang.InterruptedException
getCurrentKey
in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,HadoopJobHistoryLoader.MRJobInfo>
java.io.IOException
java.lang.InterruptedException
public HadoopJobHistoryLoader.MRJobInfo getCurrentValue() throws java.io.IOException, java.lang.InterruptedException
getCurrentValue
in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,HadoopJobHistoryLoader.MRJobInfo>
java.io.IOException
java.lang.InterruptedException
public float getProgress() throws java.io.IOException, java.lang.InterruptedException
getProgress
in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,HadoopJobHistoryLoader.MRJobInfo>
java.io.IOException
java.lang.InterruptedException
public void initialize(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context) throws java.io.IOException, java.lang.InterruptedException
initialize
in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,HadoopJobHistoryLoader.MRJobInfo>
java.io.IOException
java.lang.InterruptedException
public boolean nextKeyValue() throws java.io.IOException, java.lang.InterruptedException
nextKeyValue
in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,HadoopJobHistoryLoader.MRJobInfo>
java.io.IOException
java.lang.InterruptedException
Copyright © 2007-2012 The Apache Software Foundation