org.apache.hadoop.hive.ql.io.rcfile.merge
Class RCFileKeyBufferWrapper
java.lang.Object
org.apache.hadoop.hive.ql.io.rcfile.merge.RCFileKeyBufferWrapper
- All Implemented Interfaces:
- Comparable<RCFileKeyBufferWrapper>, org.apache.hadoop.io.Writable, org.apache.hadoop.io.WritableComparable<RCFileKeyBufferWrapper>
public class RCFileKeyBufferWrapper
- extends Object
- implements org.apache.hadoop.io.WritableComparable<RCFileKeyBufferWrapper>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
keyBuffer
protected RCFile.KeyBuffer keyBuffer
recordLength
protected int recordLength
keyLength
protected int keyLength
compressedKeyLength
protected int compressedKeyLength
inputPath
protected org.apache.hadoop.fs.Path inputPath
codec
protected org.apache.hadoop.io.compress.CompressionCodec codec
RCFileKeyBufferWrapper
protected RCFileKeyBufferWrapper()
create
public static RCFileKeyBufferWrapper create(RCFile.KeyBuffer currentKeyBufferObj)
readFields
public void readFields(DataInput in)
throws IOException
- Specified by:
readFields
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
write
public void write(DataOutput out)
throws IOException
- Specified by:
write
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
compareTo
public int compareTo(RCFileKeyBufferWrapper o)
- Specified by:
compareTo
in interface Comparable<RCFileKeyBufferWrapper>
Copyright © 2011 The Apache Software Foundation