public class IfExprDoubleScalarDoubleScalar extends VectorExpression
VectorExpression.TypechildExpressions, inputTypes, outputType| Constructor and Description |
|---|
IfExprDoubleScalarDoubleScalar() |
IfExprDoubleScalarDoubleScalar(int arg1Column,
double arg2Scalar,
double arg3Scalar,
int outputColumn) |
| Modifier and Type | Method and Description |
|---|---|
void |
evaluate(VectorizedRowBatch batch)
This is the primary method to implement expression logic.
|
int |
getArg1Column() |
double |
getArg2Scalar() |
double |
getArg3Scalar() |
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.
|
void |
setArg1Column(int colNum) |
void |
setArg2Scalar(double value) |
void |
setArg3Scalar(double value) |
void |
setOutputColumn(int outputColumn) |
evaluateChildren, getChildExpressions, getInputTypes, setChildExpressions, setInputTypes, setOutputType, toStringpublic IfExprDoubleScalarDoubleScalar(int arg1Column,
double arg2Scalar,
double arg3Scalar,
int outputColumn)
public IfExprDoubleScalarDoubleScalar()
public void evaluate(VectorizedRowBatch batch)
VectorExpressionevaluate in class VectorExpressionpublic int getOutputColumn()
VectorExpressiongetOutputColumn in class VectorExpressionpublic String getOutputType()
VectorExpressiongetOutputType in class VectorExpressionpublic int getArg1Column()
public void setArg1Column(int colNum)
public double getArg2Scalar()
public void setArg2Scalar(double value)
public double getArg3Scalar()
public void setArg3Scalar(double value)
public void setOutputColumn(int outputColumn)
public VectorExpressionDescriptor.Descriptor getDescriptor()
getDescriptor in class VectorExpressionCopyright © 2017 The Apache Software Foundation. All rights reserved.