org.apache.hadoop.hive.ql.io
Class OneNullRowInputFormat

java.lang.Object
  extended by org.apache.hadoop.hive.ql.io.NullRowsInputFormat
      extended by org.apache.hadoop.hive.ql.io.OneNullRowInputFormat
All Implemented Interfaces:
org.apache.hadoop.mapred.InputFormat<org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>, org.apache.hadoop.mapred.JobConfigurable

public class OneNullRowInputFormat
extends NullRowsInputFormat

OneNullRowInputFormat outputs one null row. Used in implementation of metadata only queries.


Nested Class Summary
static class OneNullRowInputFormat.OneNullRowRecordReader
           
 
Nested classes/interfaces inherited from class org.apache.hadoop.hive.ql.io.NullRowsInputFormat
NullRowsInputFormat.DummyInputSplit, NullRowsInputFormat.NullRowsRecordReader
 
Constructor Summary
OneNullRowInputFormat()
           
 
Method Summary
 org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable> getRecordReader(org.apache.hadoop.mapred.InputSplit arg0, org.apache.hadoop.mapred.JobConf arg1, org.apache.hadoop.mapred.Reporter arg2)
           
 
Methods inherited from class org.apache.hadoop.hive.ql.io.NullRowsInputFormat
configure, getSplits
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OneNullRowInputFormat

public OneNullRowInputFormat()
Method Detail

getRecordReader

public org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable> getRecordReader(org.apache.hadoop.mapred.InputSplit arg0,
                                                                                                                                  org.apache.hadoop.mapred.JobConf arg1,
                                                                                                                                  org.apache.hadoop.mapred.Reporter arg2)
                                                                                                                           throws IOException
Specified by:
getRecordReader in interface org.apache.hadoop.mapred.InputFormat<org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>
Overrides:
getRecordReader in class NullRowsInputFormat
Throws:
IOException


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