public static class ExpressionTree.TreeNode extends Object
Constructor and Description |
---|
ExpressionTree.TreeNode() |
ExpressionTree.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,
Table table,
Map<String,Object> params,
ExpressionTree.FilterBuilder filterBuffer)
Generates a JDO filter statement
|
ExpressionTree.LogicalOperator |
getAndOr() |
ExpressionTree.TreeNode |
getLhs() |
ExpressionTree.TreeNode |
getRhs() |
public ExpressionTree.TreeNode()
public ExpressionTree.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 MetaException
MetaException
public void generateJDOFilter(org.apache.hadoop.conf.Configuration conf, Table table, Map<String,Object> params, ExpressionTree.FilterBuilder filterBuffer) throws 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.filterBuilder
- The filter builder that is used to build filter.MetaException
Copyright © 2017 The Apache Software Foundation. All rights reserved.