K - V - public class CombineHiveRecordReader<K extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable> extends HiveContextAwareRecordReader<K,V>
isSorted, jobConf, recordReader| Constructor and Description |
|---|
CombineHiveRecordReader(org.apache.hadoop.mapred.InputSplit split,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.mapred.Reporter reporter,
Integer partition) |
| Modifier and Type | Method and Description |
|---|---|
K |
createKey() |
V |
createValue() |
void |
doClose()
Close this
InputSplit to future operations. |
boolean |
doNext(K key,
V value) |
long |
getPos() |
float |
getProgress() |
close, foundAllTargets, getIOContext, initIOContext, initIOContext, initIOContextSortedProps, next, setRecordReader, updateIOContextpublic CombineHiveRecordReader(org.apache.hadoop.mapred.InputSplit split,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.mapred.Reporter reporter,
Integer partition)
throws IOException
IOExceptionpublic void doClose()
throws IOException
HiveContextAwareRecordReaderInputSplit to future operations.doClose in class HiveContextAwareRecordReader<K extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable>IOExceptionpublic K createKey()
public V createValue()
public long getPos()
throws IOException
IOExceptionpublic float getProgress()
throws IOException
getProgress in interface org.apache.hadoop.mapred.RecordReader<K extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable>getProgress in class HiveContextAwareRecordReader<K extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable>IOExceptionpublic boolean doNext(K key, V value) throws IOException
doNext in class HiveContextAwareRecordReader<K extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable>IOExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.