public static interface MaterializedViewRule.Config extends RelRule.Config
| Modifier and Type | Method and Description |
|---|---|
boolean |
fastBailOut()
Whether we should create the rewriting in the minimal subtree of plan
operators.
|
boolean |
generateUnionRewriting()
Whether to generate rewritings containing union if the query results
are contained within the view results.
|
@Nullable HepProgram |
unionRewritingPullProgram()
If we generate union rewriting, we might want to pull up projections
from the query itself to maximize rewriting opportunities.
|
MaterializedViewRule.Config |
withFastBailOut(boolean b)
Sets
fastBailOut(). |
MaterializedViewRule.Config |
withGenerateUnionRewriting(boolean b)
Sets
generateUnionRewriting(). |
MaterializedViewRule.Config |
withUnionRewritingPullProgram(@Nullable HepProgram program)
|
as, description, operandSupplier, relBuilderFactory, toRule, withDescription, withOperandSupplier, withRelBuilderFactoryboolean generateUnionRewriting()
MaterializedViewRule.Config withGenerateUnionRewriting(boolean b)
generateUnionRewriting().@Nullable HepProgram unionRewritingPullProgram()
MaterializedViewRule.Config withUnionRewritingPullProgram(@Nullable HepProgram program)
boolean fastBailOut()
MaterializedViewRule.Config withFastBailOut(boolean b)
fastBailOut().Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.