public class IfExprLongColumnDoubleScalar extends VectorExpression
VectorExpression.Type
childExpressions, inputTypes, outputType
Constructor and Description |
---|
IfExprLongColumnDoubleScalar() |
IfExprLongColumnDoubleScalar(int arg1Column,
int arg2Column,
double arg3Scalar,
int outputColumn) |
Modifier and Type | Method and Description |
---|---|
void |
evaluate(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch batch)
This is the primary method to implement expression logic.
|
int |
getArg1Column() |
int |
getArg2Column() |
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 |
setArg2Column(int colNum) |
void |
setArg3Scalar(double value) |
void |
setOutputColumn(int outputColumn) |
evaluateChildren, getChildExpressions, getInputTypes, init, setChildExpressions, setInputTypes, setOutputType, toString
public IfExprLongColumnDoubleScalar(int arg1Column, int arg2Column, double arg3Scalar, int outputColumn)
public IfExprLongColumnDoubleScalar()
public void evaluate(org.apache.hadoop.hive.ql.exec.vector.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 int getArg2Column()
public void setArg2Column(int colNum)
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.