|
||||||||||
| 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.FuncDoubleToDecimal
org.apache.hadoop.hive.ql.exec.vector.expressions.CastDoubleToDecimal
public class CastDoubleToDecimal
Cast input double to a decimal. Get target value scale from output column vector.
| 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 | |
|---|---|
CastDoubleToDecimal()
|
|
CastDoubleToDecimal(int inputColumn,
int outputColumn)
|
|
| Method Summary | |
|---|---|
protected void |
func(DecimalColumnVector outV,
DoubleColumnVector inV,
int i)
|
| 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 |
|---|
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 CastDoubleToDecimal()
public CastDoubleToDecimal(int inputColumn,
int outputColumn)
| Method Detail |
|---|
protected void func(DecimalColumnVector outV,
DoubleColumnVector inV,
int i)
func in class FuncDoubleToDecimal
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||