org.apache.hadoop.hive.ql.io
Class SchemaAwareCompressionOutputStream

java.lang.Object
  extended by CompressionOutputStream
      extended by org.apache.hadoop.hive.ql.io.SchemaAwareCompressionOutputStream

public abstract class SchemaAwareCompressionOutputStream
extends CompressionOutputStream

SchemaAwareCompressionOutputStream adds the ability to inform the comression stream the current column being compressed.


Constructor Summary
protected SchemaAwareCompressionOutputStream(OutputStream out)
           
 
Method Summary
abstract  void setColumnIndex(int columnIndex)
          The column being output
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaAwareCompressionOutputStream

protected SchemaAwareCompressionOutputStream(OutputStream out)
Method Detail

setColumnIndex

public abstract void setColumnIndex(int columnIndex)
The column being output

Parameters:
columnIndex - the index of the column. Use -1 for non-column data


Copyright © 2012 The Apache Software Foundation