Repository: calcite Updated Branches: refs/heads/master a5928f046 -> 5e1cc5464
[CALCITE-1182] Add ProjectRemoveRule to pre-processing program of materialization substitution (fix javadoc warnings) Project: http://git-wip-us.apache.org/repos/asf/calcite/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/5e1cc546 Tree: http://git-wip-us.apache.org/repos/asf/calcite/tree/5e1cc546 Diff: http://git-wip-us.apache.org/repos/asf/calcite/diff/5e1cc546 Branch: refs/heads/master Commit: 5e1cc5464413904466c357766843cd491b23f646 Parents: a5928f0 Author: maryannxue <[email protected]> Authored: Thu Apr 7 18:36:29 2016 -0400 Committer: maryannxue <[email protected]> Committed: Thu Apr 7 18:36:29 2016 -0400 ---------------------------------------------------------------------- .../MaterializedViewSubstitutionVisitor.java | 26 +++++++++++--------- 1 file changed, 15 insertions(+), 11 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/calcite/blob/5e1cc546/core/src/main/java/org/apache/calcite/plan/MaterializedViewSubstitutionVisitor.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/calcite/plan/MaterializedViewSubstitutionVisitor.java b/core/src/main/java/org/apache/calcite/plan/MaterializedViewSubstitutionVisitor.java index e1779e2..28ecf72 100644 --- a/core/src/main/java/org/apache/calcite/plan/MaterializedViewSubstitutionVisitor.java +++ b/core/src/main/java/org/apache/calcite/plan/MaterializedViewSubstitutionVisitor.java @@ -47,9 +47,10 @@ public class MaterializedViewSubstitutionVisitor extends SubstitutionVisitor { } /** - * Implementation of {@link UnifyRule} that matches a {@link MutableProject} - * to a {@link MutableProject} where the condition of the target relation is - * weaker. + * Implementation of {@link SubstitutionVisitor.UnifyRule} that matches a + * {@link SubstitutionVisitor.MutableProject} to a + * {@link SubstitutionVisitor.MutableProject} where the condition of the target + * relation is weaker. * * <p>Example: target has a weaker condition and contains all columns selected * by query</p> @@ -127,9 +128,10 @@ public class MaterializedViewSubstitutionVisitor extends SubstitutionVisitor { } /** - * Implementation of {@link UnifyRule} that matches a {@link MutableFilter} - * to a {@link MutableFilter} where the condition of the target relation is - * weaker. + * Implementation of {@link SubstitutionVisitor.UnifyRule} that matches a + * {@link SubstitutionVisitor.MutableFilter} to a + * {@link SubstitutionVisitor.MutableFilter} where the condition of the target + * relation is weaker. * * <p>Example: target has a weaker condition</p> * <ul> @@ -170,12 +172,14 @@ public class MaterializedViewSubstitutionVisitor extends SubstitutionVisitor { } /** - * Implementation of {@link UnifyRule} that matches a {@link MutableFilter} - * to a {@link MutableProject} on top of a {@link MutableFilter} where the - * condition of the target relation is weaker. + * Implementation of {@link SubstitutionVisitor.UnifyRule} that matches a + * {@link SubstitutionVisitor.MutableFilter} to a + * {@link SubstitutionVisitor.MutableProject} on top of a + * {@link SubstitutionVisitor.MutableFilter} where the condition of the target + * relation is weaker. * - * <p>Example: target has a weaker condition and is a permutation projection - * of its child relation</p> + * <p>Example: target has a weaker condition and is a permutation projection of + * its child relation</p> * <ul> * <li>query: Filter(condition: >($1, 20)) * Scan(table: [hr, emps])</li>
