org.apache.hadoop.hive.ql.io
Class RCFile.ValueBuffer

java.lang.Object
  extended by org.apache.hadoop.hive.ql.io.RCFile.ValueBuffer
All Implemented Interfaces:
Comparable, org.apache.hadoop.io.Writable, org.apache.hadoop.io.WritableComparable
Enclosing class:
RCFile

public static class RCFile.ValueBuffer
extends Object
implements org.apache.hadoop.io.WritableComparable

ValueBuffer is the value of each record in RCFile. Its on-disk layout is as below:


Constructor Summary
RCFile.ValueBuffer()
          Deprecated. 
RCFile.ValueBuffer(RCFile.KeyBuffer keyBuffer)
          Deprecated. 
RCFile.ValueBuffer(RCFile.KeyBuffer keyBuffer, boolean[] skippedColIDs)
          Deprecated. 
RCFile.ValueBuffer(RCFile.KeyBuffer currentKey, int columnNumber, boolean[] skippedCols, org.apache.hadoop.io.compress.CompressionCodec codec)
          Deprecated. 
RCFile.ValueBuffer(RCFile.KeyBuffer currentKey, int columnNumber, boolean[] skippedCols, org.apache.hadoop.io.compress.CompressionCodec codec, boolean lazyDecompress)
           
 
Method Summary
 void clearColumnBuffer()
           
 void close()
           
 int compareTo(Object arg0)
           
 void nullColumn(int columnIndex)
           
 void readFields(DataInput in)
           
 void setColumnValueBuffer(NonSyncDataOutputBuffer valBuffer, int addIndex)
          Deprecated. 
 void write(DataOutput out)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RCFile.ValueBuffer

@Deprecated
public RCFile.ValueBuffer()
                   throws IOException
Deprecated. 

Throws:
IOException

RCFile.ValueBuffer

@Deprecated
public RCFile.ValueBuffer(RCFile.KeyBuffer keyBuffer)
                   throws IOException
Deprecated. 

Throws:
IOException

RCFile.ValueBuffer

@Deprecated
public RCFile.ValueBuffer(RCFile.KeyBuffer keyBuffer,
                                     boolean[] skippedColIDs)
                   throws IOException
Deprecated. 

Throws:
IOException

RCFile.ValueBuffer

@Deprecated
public RCFile.ValueBuffer(RCFile.KeyBuffer currentKey,
                                     int columnNumber,
                                     boolean[] skippedCols,
                                     org.apache.hadoop.io.compress.CompressionCodec codec)
                   throws IOException
Deprecated. 

Throws:
IOException

RCFile.ValueBuffer

public RCFile.ValueBuffer(RCFile.KeyBuffer currentKey,
                          int columnNumber,
                          boolean[] skippedCols,
                          org.apache.hadoop.io.compress.CompressionCodec codec,
                          boolean lazyDecompress)
                   throws IOException
Throws:
IOException
Method Detail

setColumnValueBuffer

@Deprecated
public void setColumnValueBuffer(NonSyncDataOutputBuffer valBuffer,
                                            int addIndex)
Deprecated. 


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

nullColumn

public void nullColumn(int columnIndex)

clearColumnBuffer

public void clearColumnBuffer()
                       throws IOException
Throws:
IOException

close

public void close()

compareTo

public int compareTo(Object arg0)
Specified by:
compareTo in interface Comparable


Copyright © 2014 The Apache Software Foundation. All rights reserved.