public static class ExpressionTree.TreeNode extends Object
| Constructor and Description |
|---|
TreeNode() |
TreeNode(ExpressionTree.TreeNode lhs,
ExpressionTree.LogicalOperator andOr,
ExpressionTree.TreeNode rhs) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
accept(ExpressionTree.TreeVisitor visitor)
Double dispatch for TreeVisitor.
|
void |
generateJDOFilter(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.hive.metastore.api.Table table,
Map<String,Object> params,
ExpressionTree.FilterBuilder filterBuffer)
Generates a JDO filter statement
|
ExpressionTree.LogicalOperator |
getAndOr() |
ExpressionTree.TreeNode |
getLhs() |
ExpressionTree.TreeNode |
getRhs() |
public TreeNode()
public TreeNode(ExpressionTree.TreeNode lhs, ExpressionTree.LogicalOperator andOr, ExpressionTree.TreeNode rhs)
public ExpressionTree.TreeNode getLhs()
public ExpressionTree.LogicalOperator getAndOr()
public ExpressionTree.TreeNode getRhs()
protected void accept(ExpressionTree.TreeVisitor visitor) throws org.apache.hadoop.hive.metastore.api.MetaException
org.apache.hadoop.hive.metastore.api.MetaExceptionpublic void generateJDOFilter(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.hive.metastore.api.Table table,
Map<String,Object> params,
ExpressionTree.FilterBuilder filterBuffer)
throws org.apache.hadoop.hive.metastore.api.MetaException
table - The table on which the filter is applied. If table is not null,
then this method generates a JDO statement to get all partitions
of the table that match the filter.
If table is null, then this method generates a JDO statement to get all
tables that match the filter.params - A map of parameter key to values for the filter statement.filterBuffer - The filter builder that is used to build filter.org.apache.hadoop.hive.metastore.api.MetaExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.