public abstract class MathFuncLongToDouble extends VectorExpression
VectorExpression.Type
childExpressions, inputTypes, outputType
Constructor and Description |
---|
MathFuncLongToDouble() |
MathFuncLongToDouble(int colNum,
int outputColumn) |
Modifier and Type | Method and Description |
---|---|
protected void |
cleanup(DoubleColumnVector outputColVector,
int[] sel,
boolean selectedInUse,
int n) |
void |
evaluate(VectorizedRowBatch batch)
This is the primary method to implement expression logic.
|
protected abstract double |
func(long l) |
int |
getColNum() |
int |
getOutputColumn()
Returns the index of the output column in the array
of column vectors.
|
String |
getOutputType()
Returns type of the output column.
|
void |
setColNum(int colNum) |
void |
setOutputColumn(int outputColumn) |
evaluateChildren, getChildExpressions, getDescriptor, getInputTypes, setChildExpressions, setInputTypes, setOutputType, toString
public MathFuncLongToDouble(int colNum, int outputColumn)
public MathFuncLongToDouble()
protected abstract double func(long l)
public void evaluate(VectorizedRowBatch batch)
VectorExpression
evaluate
in class VectorExpression
protected void cleanup(DoubleColumnVector outputColVector, int[] sel, boolean selectedInUse, int n)
public int getOutputColumn()
VectorExpression
getOutputColumn
in class VectorExpression
public void setOutputColumn(int outputColumn)
public int getColNum()
public void setColNum(int colNum)
public String getOutputType()
VectorExpression
getOutputType
in class VectorExpression
Copyright © 2017 The Apache Software Foundation. All rights reserved.