|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hive.ql.exec.vector.expressions.VectorExpression
org.apache.hadoop.hive.ql.exec.vector.expressions.FuncDecimalToLong
org.apache.hadoop.hive.ql.exec.vector.expressions.CastDecimalToTimestamp
public class CastDecimalToTimestamp
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.
| 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 | |
|---|---|
CastDecimalToTimestamp()
|
|
CastDecimalToTimestamp(int inputColumn,
int outputColumn)
|
|
| Method Summary | |
|---|---|
protected void |
func(LongColumnVector outV,
DecimalColumnVector inV,
int i)
|
| 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 |
|---|
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 |
|---|
public CastDecimalToTimestamp(int inputColumn,
int outputColumn)
public CastDecimalToTimestamp()
| Method Detail |
|---|
protected void func(LongColumnVector outV,
DecimalColumnVector inV,
int i)
func in class FuncDecimalToLong
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||