org.apache.hadoop.hive.ql.io
Class RCFileRecordReader<K extends LongWritable,V extends BytesRefArrayWritable>
java.lang.Object
org.apache.hadoop.hive.ql.io.RCFileRecordReader<K,V>
- Type Parameters:
K
- V
-
public class RCFileRecordReader<K extends LongWritable,V extends BytesRefArrayWritable>
- extends Object
RCFileRecordReader.
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
RCFileRecordReader
public RCFileRecordReader(Configuration conf,
FileSplit split)
throws IOException
- Throws:
IOException
getKeyClass
public Class<?> getKeyClass()
getValueClass
public Class<?> getValueClass()
createKey
public LongWritable createKey()
createValue
public BytesRefArrayWritable createValue()
nextBlock
public boolean nextBlock()
throws IOException
- Throws:
IOException
next
public boolean next(LongWritable key,
BytesRefArrayWritable value)
throws IOException
- Throws:
IOException
next
protected boolean next(LongWritable key)
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
getKeyBuffer
public RCFile.KeyBuffer getKeyBuffer()
seek
protected void seek(long pos)
throws IOException
- Throws:
IOException
sync
public void sync(long pos)
throws IOException
- Throws:
IOException
resetBuffer
public void resetBuffer()
getStart
public long getStart()
close
public void close()
throws IOException
- Throws:
IOException
Copyright © 2012 The Apache Software Foundation