org.apache.hadoop.hive.ql.io.rcfile.merge
Class RCFileKeyBufferWrapper
java.lang.Object
org.apache.hadoop.hive.ql.io.rcfile.merge.RCFileKeyBufferWrapper
public class RCFileKeyBufferWrapper
- extends Object
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 Path inputPath
codec
protected CompressionCodec codec
RCFileKeyBufferWrapper
public RCFileKeyBufferWrapper()
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