|
||||||||||
| 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.FuncLongToDecimal
org.apache.hadoop.hive.ql.exec.vector.expressions.CastLongToDecimal
public class CastLongToDecimal
To be used to cast long and boolean to decimal. This works for boolean too because boolean is encoded as 0 for false and 1 for true.
| 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 | |
|---|---|
CastLongToDecimal()
|
|
CastLongToDecimal(int inputColumn,
int outputColumn)
|
|
| Method Summary | |
|---|---|
protected void |
func(DecimalColumnVector outV,
LongColumnVector inV,
int i)
|
| Methods inherited from class org.apache.hadoop.hive.ql.exec.vector.expressions.FuncLongToDecimal |
|---|
evaluate, getDescriptor, getInputColumn, getOutputColumn, setInputColumn, setOutputColumn |
| Methods inherited from class org.apache.hadoop.hive.ql.exec.vector.expressions.VectorExpression |
|---|
evaluateChildren, getChildExpressions, getInputTypes, getOutputType, setChildExpressions, setInputTypes, setOutputType, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CastLongToDecimal()
public CastLongToDecimal(int inputColumn,
int outputColumn)
| Method Detail |
|---|
protected void func(DecimalColumnVector outV,
LongColumnVector inV,
int i)
func in class FuncLongToDecimal
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||