org.apache.hadoop.hive.ql.io
Class NullRowsInputFormat.NullRowsRecordReader

java.lang.Object
  extended by org.apache.hadoop.hive.ql.io.NullRowsInputFormat.NullRowsRecordReader
All Implemented Interfaces:
org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>
Direct Known Subclasses:
OneNullRowInputFormat.OneNullRowRecordReader
Enclosing class:
NullRowsInputFormat

public static class NullRowsInputFormat.NullRowsRecordReader
extends Object
implements org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>


Constructor Summary
NullRowsInputFormat.NullRowsRecordReader()
           
 
Method Summary
 void close()
           
 org.apache.hadoop.io.NullWritable createKey()
           
 org.apache.hadoop.io.NullWritable createValue()
           
 long getPos()
           
 float getProgress()
           
 boolean next(org.apache.hadoop.io.NullWritable arg0, org.apache.hadoop.io.NullWritable arg1)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullRowsInputFormat.NullRowsRecordReader

public NullRowsInputFormat.NullRowsRecordReader()
Method Detail

close

public void close()
           throws IOException
Specified by:
close in interface org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>
Throws:
IOException

createKey

public org.apache.hadoop.io.NullWritable createKey()
Specified by:
createKey in interface org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>

createValue

public org.apache.hadoop.io.NullWritable createValue()
Specified by:
createValue in interface org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>

getPos

public long getPos()
            throws IOException
Specified by:
getPos in interface org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>
Throws:
IOException

getProgress

public float getProgress()
                  throws IOException
Specified by:
getProgress in interface org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>
Throws:
IOException

next

public boolean next(org.apache.hadoop.io.NullWritable arg0,
                    org.apache.hadoop.io.NullWritable arg1)
             throws IOException
Specified by:
next in interface org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>
Throws:
IOException


Copyright © 2014 The Apache Software Foundation. All rights reserved.