public static class ExprNode.ColRelOpConstNode extends ExprNode.RelOpNode
<column> <relop> <const>
(The driver will convert expressions of the form:
<const> <relop> <column>
into the normalized form represented here.
ExprNode.AndNode, ExprNode.ColRelOpConstNode, ExprNode.ColumnTypeNode, ExprNode.ListNode, ExprNode.OrNode, ExprNode.RelOpNode
Modifier and Type | Field and Description |
---|---|
String |
colName |
ConstantHolder |
value |
op
Constructor and Description |
---|
ColRelOpConstNode(ExprNode.ColRelOpConstNode from,
ConstantHolder value)
Rewrite the RelOp with a normalized value.
|
ColRelOpConstNode(String colName,
RelOp op,
ConstantHolder value) |
Modifier and Type | Method and Description |
---|---|
ExprNode.ColRelOpConstNode |
normalize(ConstantHolder normalizedValue)
Rewrite a relop using the given normalized value.
|
ExprNode.ColRelOpConstNode |
rewrite(String newName,
ConstantHolder newValue) |
String |
toString() |
selectivity
public final String colName
public final ConstantHolder value
public ColRelOpConstNode(String colName, RelOp op, ConstantHolder value)
public ColRelOpConstNode(ExprNode.ColRelOpConstNode from, ConstantHolder value)
from
- the original RelOpvalue
- the new value with a different type and matching
valuepublic ExprNode.ColRelOpConstNode normalize(ConstantHolder normalizedValue)
normalizedValue
- given normalized valuepublic ExprNode.ColRelOpConstNode rewrite(String newName, ConstantHolder newValue)
Copyright © 1970 The Apache Software Foundation. All rights reserved.