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

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

public class CastDoubleToDecimal
extends FuncDoubleToDecimal

Cast input double to a decimal. Get target value scale from output column vector.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.hive.ql.exec.vector.expressions.VectorExpression
VectorExpression.Type
 
Constructor Summary
CastDoubleToDecimal()
           
CastDoubleToDecimal(int inputColumn, int outputColumn)
           
 
Method Summary
 
Methods inherited from class org.apache.hadoop.hive.ql.exec.vector.expressions.FuncDoubleToDecimal
evaluate, getDescriptor, getInputColumn, getOutputColumn, setInputColumn, setOutputColumn
 
Methods inherited from class org.apache.hadoop.hive.ql.exec.vector.expressions.VectorExpression
getChildExpressions, getInputTypes, getOutputType, setChildExpressions, setInputTypes, setOutputType, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CastDoubleToDecimal

public CastDoubleToDecimal()

CastDoubleToDecimal

public CastDoubleToDecimal(int inputColumn,
                           int outputColumn)


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