public class IfExprDoubleScalarDoubleScalar extends VectorExpression
VectorExpression.Type
childExpressions, 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, toString
public IfExprDoubleScalarDoubleScalar(int arg1Column, double arg2Scalar, double arg3Scalar, int outputColumn)
public IfExprDoubleScalarDoubleScalar()
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 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 VectorExpression
Copyright © 2017 The Apache Software Foundation. All rights reserved.