org.apache.hadoop.hive.ql.io.rcfile.merge
Class RCFileBlockMergeRecordReader
java.lang.Object
org.apache.hadoop.hive.ql.io.rcfile.merge.RCFileBlockMergeRecordReader
public class RCFileBlockMergeRecordReader
- extends Object
Field Summary |
protected Configuration |
conf
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
conf
protected Configuration conf
RCFileBlockMergeRecordReader
public RCFileBlockMergeRecordReader(Configuration conf,
FileSplit split)
throws IOException
- Throws:
IOException
getKeyClass
public Class<?> getKeyClass()
getValueClass
public Class<?> getValueClass()
createKey
public RCFileKeyBufferWrapper createKey()
createValue
public RCFileValueBufferWrapper createValue()
next
public boolean next(RCFileKeyBufferWrapper key,
RCFileValueBufferWrapper value)
throws IOException
- Throws:
IOException
nextBlock
protected boolean nextBlock(RCFileKeyBufferWrapper keyWrapper,
RCFileValueBufferWrapper valueWrapper)
throws IOException
- Throws:
IOException
getProgress
public float getProgress()
throws IOException
- Return the progress within the input split.
- Returns:
- 0.0 to 1.0 of the input byte range
- Throws:
IOException
getPos
public long getPos()
throws IOException
- Throws:
IOException
seek
protected void seek(long pos)
throws IOException
- Throws:
IOException
getStart
public long getStart()
close
public void close()
throws IOException
- Throws:
IOException
Copyright © 2012 The Apache Software Foundation