edu.umd.cloud9.mapreduce
Class NullInputFormat.NullRecordReader

java.lang.Object
  extended by org.apache.hadoop.mapreduce.RecordReader<NullWritable,NullWritable>
      extended by edu.umd.cloud9.mapreduce.NullInputFormat.NullRecordReader
All Implemented Interfaces:
Closeable
Enclosing class:
NullInputFormat

public static class NullInputFormat.NullRecordReader
extends RecordReader<NullWritable,NullWritable>


Constructor Summary
NullInputFormat.NullRecordReader()
           
 
Method Summary
 void close()
           
 NullWritable getCurrentKey()
           
 NullWritable getCurrentValue()
           
 float getProgress()
           
 void initialize(InputSplit split, TaskAttemptContext context)
           
 boolean nextKeyValue()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullInputFormat.NullRecordReader

public NullInputFormat.NullRecordReader()
Method Detail

initialize

public void initialize(InputSplit split,
                       TaskAttemptContext context)
                throws IOException,
                       InterruptedException
Specified by:
initialize in class RecordReader<NullWritable,NullWritable>
Throws:
IOException
InterruptedException

getCurrentKey

public NullWritable getCurrentKey()
                           throws IOException,
                                  InterruptedException
Specified by:
getCurrentKey in class RecordReader<NullWritable,NullWritable>
Throws:
IOException
InterruptedException

getCurrentValue

public NullWritable getCurrentValue()
                             throws IOException,
                                    InterruptedException
Specified by:
getCurrentValue in class RecordReader<NullWritable,NullWritable>
Throws:
IOException
InterruptedException

nextKeyValue

public boolean nextKeyValue()
                     throws IOException,
                            InterruptedException
Specified by:
nextKeyValue in class RecordReader<NullWritable,NullWritable>
Throws:
IOException
InterruptedException

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Specified by:
close in class RecordReader<NullWritable,NullWritable>
Throws:
IOException

getProgress

public float getProgress()
                  throws IOException,
                         InterruptedException
Specified by:
getProgress in class RecordReader<NullWritable,NullWritable>
Throws:
IOException
InterruptedException