public static class ExpressionTree.LeafNode extends ExpressionTree.TreeNode
| Modifier and Type | Field and Description |
|---|---|
boolean |
isReverseOrder |
String |
keyName |
ExpressionTree.Operator |
operator |
Object |
value
Constant expression side of the operator.
|
| Constructor and Description |
|---|
LeafNode() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
accept(ExpressionTree.TreeVisitor visitor)
Double dispatch for TreeVisitor.
|
static int |
getPartColIndexForFilter(String partitionKeyName,
List<FieldSchema> partitionKeys,
ExpressionTree.FilterBuilder filterBuilder)
Get partition column index in the table partition column list that
corresponds to the key that is being filtered on by this tree node.
|
String |
toString() |
getAndOr, getLhs, getRhspublic String keyName
public ExpressionTree.Operator operator
public Object value
public boolean isReverseOrder
protected void accept(ExpressionTree.TreeVisitor visitor) throws MetaException
ExpressionTree.TreeNodeaccept in class ExpressionTree.TreeNodeMetaExceptionpublic String toString()
toString in class ExpressionTree.TreeNodepublic static int getPartColIndexForFilter(String partitionKeyName, List<FieldSchema> partitionKeys, ExpressionTree.FilterBuilder filterBuilder) throws MetaException
partitionKeys - list of partition keys.filterBuilder - filter builder used to report error, if any.MetaExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.