public abstract class FuncDecimalToLong extends VectorExpression
VectorExpression.Type
childExpressions, inputTypes, outputType
Constructor and Description |
---|
FuncDecimalToLong() |
FuncDecimalToLong(int inputColumn,
int outputColumn) |
Modifier and Type | Method and Description |
---|---|
void |
evaluate(VectorizedRowBatch batch)
This is the primary method to implement expression logic.
|
protected abstract void |
func(LongColumnVector outV,
DecimalColumnVector inV,
int i) |
VectorExpressionDescriptor.Descriptor |
getDescriptor() |
int |
getOutputColumn()
Returns the index of the output column in the array
of column vectors.
|
String |
getOutputType()
Returns type of the output column.
|
evaluateChildren, getChildExpressions, getInputTypes, setChildExpressions, setInputTypes, setOutputType, toString
public FuncDecimalToLong(int inputColumn, int outputColumn)
public FuncDecimalToLong()
protected abstract void func(LongColumnVector outV, DecimalColumnVector inV, int i)
public void evaluate(VectorizedRowBatch batch)
VectorExpression
evaluate
in class VectorExpression
public int getOutputColumn()
VectorExpression
getOutputColumn
in class VectorExpression
public String getOutputType()
VectorExpression
getOutputType
in class VectorExpression
public VectorExpressionDescriptor.Descriptor getDescriptor()
getDescriptor
in class VectorExpression
Copyright © 2016 The Apache Software Foundation. All rights reserved.