org.apache.hadoop.hive.ql.io.rcfile.merge
Class RCFileKeyBufferWrapper

java.lang.Object
  extended by 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>


Field Summary
protected  org.apache.hadoop.io.compress.CompressionCodec codec
           
protected  int compressedKeyLength
           
protected  org.apache.hadoop.fs.Path inputPath
           
protected  RCFile.KeyBuffer keyBuffer
           
protected  int keyLength
           
protected  int recordLength
           
 
Constructor Summary
protected RCFileKeyBufferWrapper()
           
 
Method Summary
 int compareTo(RCFileKeyBufferWrapper o)
           
static RCFileKeyBufferWrapper create(RCFile.KeyBuffer currentKeyBufferObj)
           
 void readFields(DataInput in)
           
 void write(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

RCFileKeyBufferWrapper

protected RCFileKeyBufferWrapper()
Method Detail

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