org.apache.hadoop.hive.ql.io
Class CombineHiveRecordReader<K extends WritableComparable,V extends Writable>

java.lang.Object
  extended by org.apache.hadoop.hive.ql.io.HiveContextAwareRecordReader<K,V>
      extended by org.apache.hadoop.hive.ql.io.CombineHiveRecordReader<K,V>
Type Parameters:
K -
V -

public class CombineHiveRecordReader<K extends WritableComparable,V extends Writable>
extends HiveContextAwareRecordReader<K,V>

CombineHiveRecordReader.


Field Summary
 
Fields inherited from class org.apache.hadoop.hive.ql.io.HiveContextAwareRecordReader
isSorted, jobConf, recordReader
 
Constructor Summary
CombineHiveRecordReader(InputSplit split, Configuration conf, Reporter reporter, Integer partition)
           
 
Method Summary
 K createKey()
           
 V createValue()
           
 void doClose()
          Close this InputSplit to future operations.
 boolean doNext(K key, V value)
           
 long getPos()
           
 float getProgress()
           
 
Methods inherited from class org.apache.hadoop.hive.ql.io.HiveContextAwareRecordReader
close, foundAllTargets, getIOContext, initIOContext, initIOContext, initIOContext, initIOContextSortedProps, next, setRecordReader, updateIOContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CombineHiveRecordReader

public CombineHiveRecordReader(InputSplit split,
                               Configuration conf,
                               Reporter reporter,
                               Integer partition)
                        throws IOException
Throws:
IOException
Method Detail

doClose

public void doClose()
             throws IOException
Description copied from class: HiveContextAwareRecordReader
Close this InputSplit to future operations.

Specified by:
doClose in class HiveContextAwareRecordReader<K extends WritableComparable,V extends Writable>
Throws:
IOException

createKey

public K createKey()

createValue

public V createValue()

getPos

public long getPos()
            throws IOException
Throws:
IOException

getProgress

public float getProgress()
                  throws IOException
Overrides:
getProgress in class HiveContextAwareRecordReader<K extends WritableComparable,V extends Writable>
Throws:
IOException

doNext

public boolean doNext(K key,
                      V value)
               throws IOException
Overrides:
doNext in class HiveContextAwareRecordReader<K extends WritableComparable,V extends Writable>
Throws:
IOException


Copyright © 2012 The Apache Software Foundation