org.apache.hadoop.hive.ql.exec.vector.expressions.gen
Class FilterLongColumnBetween
java.lang.Object
org.apache.hadoop.hive.ql.exec.vector.expressions.VectorExpression
org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterLongColumnBetween
- All Implemented Interfaces:
- Serializable
public class FilterLongColumnBetween
- extends VectorExpression
Generated from template FilterColumnBetween.txt, which covers [NOT] BETWEEN filter
expressions where a column is [NOT] between one scalar and another.
Output is not produced in a separate column. The selected vector of the input
VectorizedRowBatch is updated for in-place filtering.
- See Also:
- Serialized Form
FilterLongColumnBetween
public FilterLongColumnBetween(int colNum,
long leftValue,
long rightValue)
FilterLongColumnBetween
public FilterLongColumnBetween()
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
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
getOutputType
public String getOutputType()
- Description copied from class:
VectorExpression
- Returns type of the output column.
- Overrides:
getOutputType in class VectorExpression
getColNum
public int getColNum()
setColNum
public void setColNum(int colNum)
getLeftValue
public long getLeftValue()
setLeftValue
public void setLeftValue(long value)
getRightValue
public long getRightValue()
setRightValue
public void setRightValue(long value)
getDescriptor
public VectorExpressionDescriptor.Descriptor getDescriptor()
- Specified by:
getDescriptor in class VectorExpression
Copyright © 2014 The Apache Software Foundation. All rights reserved.