org.apache.hadoop.hive.ql.exec.vector.expressions
Class DecimalColumnInList
java.lang.Object
org.apache.hadoop.hive.ql.exec.vector.expressions.VectorExpression
org.apache.hadoop.hive.ql.exec.vector.expressions.DecimalColumnInList
- All Implemented Interfaces:
- Serializable, IDecimalInExpr
public class DecimalColumnInList
- extends VectorExpression
- implements IDecimalInExpr
Output a boolean value indicating if a column is IN a list of constants.
- See Also:
- Serialized Form
DecimalColumnInList
public DecimalColumnInList()
DecimalColumnInList
public DecimalColumnInList(int colNum,
int outputColumn)
- After construction you must call setInListValues() to add the values to the IN set.
evaluate
public void evaluate(VectorizedRowBatch batch)
- Description copied from class:
VectorExpression
- This is the primary method to implement expression logic.
- Specified by:
evaluate
in class VectorExpression
getOutputType
public String getOutputType()
- Description copied from class:
VectorExpression
- Returns type of the output column.
- Overrides:
getOutputType
in class VectorExpression
getOutputColumn
public int getOutputColumn()
- Description copied from class:
VectorExpression
- Returns the index of the output column in the array
of column vectors. If not applicable, -1 is returned.
- Specified by:
getOutputColumn
in class VectorExpression
- Returns:
- Index of the output column
getDescriptor
public VectorExpressionDescriptor.Descriptor getDescriptor()
- Specified by:
getDescriptor
in class VectorExpression
getInListValues
public Decimal128[] getInListValues()
setInListValues
public void setInListValues(Decimal128[] a)
- Specified by:
setInListValues
in interface IDecimalInExpr
Copyright © 2014 The Apache Software Foundation. All rights reserved.