public class HiveRecordReader<K extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable> extends HiveContextAwareRecordReader<K,V>
isSorted, jobConf, recordReader
Constructor and Description |
---|
HiveRecordReader(org.apache.hadoop.mapred.RecordReader recordReader) |
HiveRecordReader(org.apache.hadoop.mapred.RecordReader recordReader,
org.apache.hadoop.mapred.JobConf conf) |
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, updateIOContext
public HiveRecordReader(org.apache.hadoop.mapred.RecordReader recordReader) throws IOException
IOException
public HiveRecordReader(org.apache.hadoop.mapred.RecordReader recordReader, org.apache.hadoop.mapred.JobConf conf) throws IOException
IOException
public void doClose() throws IOException
HiveContextAwareRecordReader
InputSplit
to future operations.doClose
in class HiveContextAwareRecordReader<K extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable>
IOException
public K createKey()
public V createValue()
public long getPos() throws IOException
IOException
public 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>
IOException
public 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>
IOException
Copyright © 2017 The Apache Software Foundation. All rights reserved.