org.apache.hadoop.hive.ql.exec.vector.expressions
Interface VectorExpressionWriter


public interface VectorExpressionWriter

Interface used to create Writable objects from vector expression primitives.


Method Summary
 ObjectInspector getObjectInspector()
           
 Object initValue(Object ost)
           
 Object setValue(Object row, ColumnVector column, int columnRow)
           
 Object writeValue(byte[] value, int start, int length)
           
 Object writeValue(ColumnVector column, int row)
           
 Object writeValue(Decimal128 value)
           
 Object writeValue(double value)
           
 Object writeValue(long value)
           
 

Method Detail

getObjectInspector

ObjectInspector getObjectInspector()

writeValue

Object writeValue(ColumnVector column,
                  int row)
                  throws HiveException
Throws:
HiveException

writeValue

Object writeValue(long value)
                  throws HiveException
Throws:
HiveException

writeValue

Object writeValue(double value)
                  throws HiveException
Throws:
HiveException

writeValue

Object writeValue(byte[] value,
                  int start,
                  int length)
                  throws HiveException
Throws:
HiveException

writeValue

Object writeValue(Decimal128 value)
                  throws HiveException
Throws:
HiveException

setValue

Object setValue(Object row,
                ColumnVector column,
                int columnRow)
                throws HiveException
Throws:
HiveException

initValue

Object initValue(Object ost)
                 throws HiveException
Throws:
HiveException


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