public class RCFileKeyBufferWrapper extends Object implements org.apache.hadoop.io.WritableComparable<RCFileKeyBufferWrapper>
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
RCFileKeyBufferWrapper() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(RCFileKeyBufferWrapper o) |
static RCFileKeyBufferWrapper |
create(RCFile.KeyBuffer currentKeyBufferObj) |
org.apache.hadoop.io.compress.CompressionCodec |
getCodec() |
int |
getCompressedKeyLength() |
org.apache.hadoop.fs.Path |
getInputPath() |
RCFile.KeyBuffer |
getKeyBuffer() |
int |
getKeyLength() |
int |
getRecordLength() |
void |
readFields(DataInput in) |
void |
setCodec(org.apache.hadoop.io.compress.CompressionCodec codec) |
void |
setCompressedKeyLength(int compressedKeyLength) |
void |
setInputPath(org.apache.hadoop.fs.Path inputPath) |
void |
setKeyBuffer(RCFile.KeyBuffer keyBuffer) |
void |
setKeyLength(int keyLength) |
void |
setRecordLength(int recordLength) |
void |
write(DataOutput out) |
protected RCFile.KeyBuffer keyBuffer
protected int recordLength
protected int keyLength
protected int compressedKeyLength
protected org.apache.hadoop.fs.Path inputPath
protected org.apache.hadoop.io.compress.CompressionCodec codec
public static RCFileKeyBufferWrapper create(RCFile.KeyBuffer currentKeyBufferObj)
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public int compareTo(RCFileKeyBufferWrapper o)
compareTo
in interface Comparable<RCFileKeyBufferWrapper>
public RCFile.KeyBuffer getKeyBuffer()
public void setKeyBuffer(RCFile.KeyBuffer keyBuffer)
public int getRecordLength()
public void setRecordLength(int recordLength)
public int getKeyLength()
public void setKeyLength(int keyLength)
public int getCompressedKeyLength()
public void setCompressedKeyLength(int compressedKeyLength)
public org.apache.hadoop.fs.Path getInputPath()
public void setInputPath(org.apache.hadoop.fs.Path inputPath)
public org.apache.hadoop.io.compress.CompressionCodec getCodec()
public void setCodec(org.apache.hadoop.io.compress.CompressionCodec codec)
Copyright © 2016 The Apache Software Foundation. All rights reserved.