Class ExprNode.ColRelOpConstNode
java.lang.Object
org.apache.drill.exec.store.base.filter.ExprNode
org.apache.drill.exec.store.base.filter.ExprNode.RelOpNode
org.apache.drill.exec.store.base.filter.ExprNode.ColRelOpConstNode
- Enclosing class:
- ExprNode
Semanticized form of a Calcite relational operator. Abstracts
out the Drill implementation details to capture just the
column name, operator and value. Supports only expressions
of the form:
Where the column is a simple name (not an array or map reference), the relop is one of a defined set, and the constant is one of the defined Drill types.
<column> <relop> <const>
Where the column is a simple name (not an array or map reference), the relop is one of a defined set, and the constant is one of the defined Drill types.
(The driver will convert expressions of the form:
<const> <relop> <column>
into the normalized form represented here.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.drill.exec.store.base.filter.ExprNode
ExprNode.AndNode, ExprNode.ColRelOpConstNode, ExprNode.ColumnTypeNode, ExprNode.ListNode, ExprNode.OrNode, ExprNode.RelOpNode
-
Field Summary
Fields inherited from class org.apache.drill.exec.store.base.filter.ExprNode.RelOpNode
op
-
Constructor Summary
ConstructorDescriptionColRelOpConstNode
(String colName, RelOp op, ConstantHolder value) ColRelOpConstNode
(ExprNode.ColRelOpConstNode from, ConstantHolder value) Rewrite the RelOp with a normalized value. -
Method Summary
Modifier and TypeMethodDescriptionnormalize
(ConstantHolder normalizedValue) Rewrite a relop using the given normalized value.rewrite
(String newName, ConstantHolder newValue) toString()
Methods inherited from class org.apache.drill.exec.store.base.filter.ExprNode.RelOpNode
selectivity
-
Field Details
-
colName
-
value
-
-
Constructor Details
-
ColRelOpConstNode
-
ColRelOpConstNode
Rewrite the RelOp with a normalized value.- Parameters:
from
- the original RelOpvalue
- the new value with a different type and matching value
-
-
Method Details