public abstract class MathFuncDoubleToDouble extends VectorExpression
VectorExpression.TypechildExpressions, inputTypes, outputType| Constructor and Description |
|---|
MathFuncDoubleToDouble() |
MathFuncDoubleToDouble(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(double d) |
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, toStringpublic MathFuncDoubleToDouble(int colNum,
int outputColumn)
public MathFuncDoubleToDouble()
protected abstract double func(double d)
public void evaluate(VectorizedRowBatch batch)
VectorExpressionevaluate in class VectorExpressionprotected void cleanup(DoubleColumnVector outputColVector, int[] sel, boolean selectedInUse, int n)
public int getOutputColumn()
VectorExpressiongetOutputColumn in class VectorExpressionpublic void setOutputColumn(int outputColumn)
public int getColNum()
public void setColNum(int colNum)
public String getOutputType()
VectorExpressiongetOutputType in class VectorExpressionCopyright © 2017 The Apache Software Foundation. All rights reserved.