public class IfExprLongScalarDoubleScalar extends VectorExpression
VectorExpression.TypechildExpressions, inputTypes, outputType| Constructor and Description |
|---|
IfExprLongScalarDoubleScalar() |
IfExprLongScalarDoubleScalar(int arg1Column,
long 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() |
long |
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(long value) |
void |
setArg3Scalar(double value) |
void |
setOutputColumn(int outputColumn) |
evaluateChildren, getChildExpressions, getInputTypes, setChildExpressions, setInputTypes, setOutputType, toStringpublic IfExprLongScalarDoubleScalar(int arg1Column,
long arg2Scalar,
double arg3Scalar,
int outputColumn)
public IfExprLongScalarDoubleScalar()
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 long getArg2Scalar()
public void setArg2Scalar(long 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.