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

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

public class CastDecimalToTimestamp
extends FuncDecimalToLong

Type cast decimal to timestamp. The decimal value is interpreted as NNNN.DDDDDDDDD where NNNN is a number of seconds and DDDDDDDDD is a number of nano-seconds.

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
CastDecimalToTimestamp()
           
CastDecimalToTimestamp(int inputColumn, int outputColumn)
           
 
Method Summary
 
Methods inherited from class org.apache.hadoop.hive.ql.exec.vector.expressions.FuncDecimalToLong
evaluate, getDescriptor, getInputColumn, getOutputColumn, getOutputType, setInputColumn, setOutputColumn
 
Methods inherited from class org.apache.hadoop.hive.ql.exec.vector.expressions.VectorExpression
getChildExpressions, getInputTypes, setChildExpressions, setInputTypes, setOutputType, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CastDecimalToTimestamp

public CastDecimalToTimestamp(int inputColumn,
                              int outputColumn)

CastDecimalToTimestamp

public CastDecimalToTimestamp()


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