org.apache.hadoop.hive.ql.exec.vector.expressions.gen
Class FilterDoubleColGreaterEqualDoubleColumn

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.vector.expressions.VectorExpression
      extended by org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterDoubleColGreaterEqualDoubleColumn
All Implemented Interfaces:
Serializable

public class FilterDoubleColGreaterEqualDoubleColumn
extends VectorExpression

Generated from template FilterColumnCompareColumn.txt, which covers binary comparison expressions between two columns, however 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

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.hive.ql.exec.vector.expressions.VectorExpression
VectorExpression.Type
 
Field Summary
 
Fields inherited from class org.apache.hadoop.hive.ql.exec.vector.expressions.VectorExpression
childExpressions, inputTypes, outputType
 
Constructor Summary
FilterDoubleColGreaterEqualDoubleColumn()
           
FilterDoubleColGreaterEqualDoubleColumn(int colNum1, int colNum2)
           
 
Method Summary
 void evaluate(VectorizedRowBatch batch)
          This is the primary method to implement expression logic.
 int getColNum1()
           
 int getColNum2()
           
 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 setColNum1(int colNum1)
           
 void setColNum2(int colNum2)
           
 
Methods inherited from class org.apache.hadoop.hive.ql.exec.vector.expressions.VectorExpression
evaluateChildren, getChildExpressions, getInputTypes, setChildExpressions, setInputTypes, setOutputType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FilterDoubleColGreaterEqualDoubleColumn

public FilterDoubleColGreaterEqualDoubleColumn(int colNum1,
                                               int colNum2)

FilterDoubleColGreaterEqualDoubleColumn

public FilterDoubleColGreaterEqualDoubleColumn()
Method Detail

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

getColNum1

public int getColNum1()

setColNum1

public void setColNum1(int colNum1)

getColNum2

public int getColNum2()

setColNum2

public void setColNum2(int colNum2)

getDescriptor

public VectorExpressionDescriptor.Descriptor getDescriptor()
Specified by:
getDescriptor in class VectorExpression


Copyright © 2014 The Apache Software Foundation. All rights reserved.