org.apache.hadoop.hive.ql.io
Class CombineHiveRecordReader<K extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable>
java.lang.Object
org.apache.hadoop.hive.ql.io.HiveContextAwareRecordReader<K,V>
org.apache.hadoop.hive.ql.io.CombineHiveRecordReader<K,V>
- Type Parameters:
K - V -
- All Implemented Interfaces:
- org.apache.hadoop.mapred.RecordReader<K,V>
public class CombineHiveRecordReader<K extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable>
- extends HiveContextAwareRecordReader<K,V>
CombineHiveRecordReader.
|
Constructor Summary |
CombineHiveRecordReader(org.apache.hadoop.mapred.InputSplit split,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.mapred.Reporter reporter,
Integer partition)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CombineHiveRecordReader
public CombineHiveRecordReader(org.apache.hadoop.mapred.InputSplit split,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.mapred.Reporter reporter,
Integer partition)
throws IOException
- Throws:
IOException
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 org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.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
- Specified by:
getProgress in interface org.apache.hadoop.mapred.RecordReader<K extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable>- Overrides:
getProgress in class HiveContextAwareRecordReader<K extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable>
- Throws:
IOException
doNext
public boolean doNext(K key,
V value)
throws IOException
- Overrides:
doNext in class HiveContextAwareRecordReader<K extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable>
- Throws:
IOException
Copyright © 2014 The Apache Software Foundation. All rights reserved.