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

java.lang.Object
  extended by org.apache.hadoop.hive.ql.io.rcfile.merge.RCFileKeyBufferWrapper

public class RCFileKeyBufferWrapper
extends Object


Field Summary
protected  CompressionCodec codec
           
protected  int compressedKeyLength
           
protected  Path inputPath
           
protected  RCFile.KeyBuffer keyBuffer
           
protected  int keyLength
           
protected  int recordLength
           
 
Constructor Summary
RCFileKeyBufferWrapper()
           
 
Method Summary
 int compareTo(RCFileKeyBufferWrapper o)
           
static RCFileKeyBufferWrapper create(RCFile.KeyBuffer currentKeyBufferObj)
           
 CompressionCodec getCodec()
           
 int getCompressedKeyLength()
           
 Path getInputPath()
           
 RCFile.KeyBuffer getKeyBuffer()
           
 int getKeyLength()
           
 int getRecordLength()
           
 void readFields(DataInput in)
           
 void setCodec(CompressionCodec codec)
           
 void setCompressedKeyLength(int compressedKeyLength)
           
 void setInputPath(Path inputPath)
           
 void setKeyBuffer(RCFile.KeyBuffer keyBuffer)
           
 void setKeyLength(int keyLength)
           
 void setRecordLength(int recordLength)
           
 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 Path inputPath

codec

protected CompressionCodec codec
Constructor Detail

RCFileKeyBufferWrapper

public RCFileKeyBufferWrapper()
Method Detail

create

public static RCFileKeyBufferWrapper create(RCFile.KeyBuffer currentKeyBufferObj)

readFields

public void readFields(DataInput in)
                throws IOException
Throws:
IOException

write

public void write(DataOutput out)
           throws IOException
Throws:
IOException

compareTo

public int compareTo(RCFileKeyBufferWrapper o)

getKeyBuffer

public RCFile.KeyBuffer getKeyBuffer()

setKeyBuffer

public void setKeyBuffer(RCFile.KeyBuffer keyBuffer)

getRecordLength

public int getRecordLength()

setRecordLength

public void setRecordLength(int recordLength)

getKeyLength

public int getKeyLength()

setKeyLength

public void setKeyLength(int keyLength)

getCompressedKeyLength

public int getCompressedKeyLength()

setCompressedKeyLength

public void setCompressedKeyLength(int compressedKeyLength)

getInputPath

public Path getInputPath()

setInputPath

public void setInputPath(Path inputPath)

getCodec

public CompressionCodec getCodec()

setCodec

public void setCodec(CompressionCodec codec)


Copyright © 2012 The Apache Software Foundation