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>
RCFileKeyBufferWrapper
public 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>
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 org.apache.hadoop.fs.Path getInputPath()
setInputPath
public void setInputPath(org.apache.hadoop.fs.Path inputPath)
getCodec
public org.apache.hadoop.io.compress.CompressionCodec getCodec()
setCodec
public void setCodec(org.apache.hadoop.io.compress.CompressionCodec codec)
Copyright © 2014 The Apache Software Foundation. All rights reserved.