org.apache.hadoop.hive.ql.exec.vector.expressions
Class CastDecimalToString

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.vector.expressions.VectorExpression
      extended by org.apache.hadoop.hive.ql.exec.vector.expressions.DecimalToStringUnaryUDF
          extended by org.apache.hadoop.hive.ql.exec.vector.expressions.CastDecimalToString
All Implemented Interfaces:
Serializable

public class CastDecimalToString
extends DecimalToStringUnaryUDF

To support vectorized cast of decimal to string.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.hive.ql.exec.vector.expressions.VectorExpression
VectorExpression.Type
 
Field Summary
 
Fields inherited from class org.apache.hadoop.hive.ql.exec.vector.expressions.VectorExpression
childExpressions, inputTypes, outputType
 
Constructor Summary
CastDecimalToString()
           
CastDecimalToString(int inputColumn, int outputColumn)
           
 
Method Summary
protected  void func(BytesColumnVector outV, DecimalColumnVector inV, int i)
           
 
Methods inherited from class org.apache.hadoop.hive.ql.exec.vector.expressions.DecimalToStringUnaryUDF
evaluate, getDescriptor, getInputColumn, getOutputColumn, getOutputType, setInputColumn, setOutputColumn
 
Methods inherited from class org.apache.hadoop.hive.ql.exec.vector.expressions.VectorExpression
evaluateChildren, getChildExpressions, getInputTypes, setChildExpressions, setInputTypes, setOutputType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CastDecimalToString

public CastDecimalToString()

CastDecimalToString

public CastDecimalToString(int inputColumn,
                           int outputColumn)
Method Detail

func

protected void func(BytesColumnVector outV,
                    DecimalColumnVector inV,
                    int i)
Specified by:
func in class DecimalToStringUnaryUDF


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