Interface MaterializedViewRule.Config
- All Superinterfaces:
RelRule.Config
- All Known Subinterfaces:
MaterializedViewAggregateRule.Config
,MaterializedViewOnlyAggregateRule.Config
,MaterializedViewOnlyFilterRule.Config
,MaterializedViewOnlyJoinRule.Config
,MaterializedViewProjectAggregateRule.Config
,MaterializedViewProjectFilterRule.Config
,MaterializedViewProjectJoinRule.Config
- Enclosing class:
MaterializedViewRule<C extends MaterializedViewRule.Config>
Rule configuration.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Whether we should create the rewriting in the minimal subtree of plan operators.boolean
Whether to generate rewritings containing union if the query results are contained within the view results.@Nullable HepProgram
If we generate union rewriting, we might want to pull up projections from the query itself to maximize rewriting opportunities.withFastBailOut
(boolean b) SetsfastBailOut()
.withGenerateUnionRewriting
(boolean b) SetsgenerateUnionRewriting()
.withUnionRewritingPullProgram
(@Nullable HepProgram program) Methods inherited from interface org.apache.calcite.plan.RelRule.Config
as, description, operandSupplier, relBuilderFactory, toRule, withDescription, withOperandSupplier, withRelBuilderFactory
-
Method Details
-
generateUnionRewriting
boolean generateUnionRewriting()Whether to generate rewritings containing union if the query results are contained within the view results. -
withGenerateUnionRewriting
SetsgenerateUnionRewriting()
. -
unionRewritingPullProgram
@Nullable HepProgram unionRewritingPullProgram()If we generate union rewriting, we might want to pull up projections from the query itself to maximize rewriting opportunities. -
withUnionRewritingPullProgram
-
fastBailOut
boolean fastBailOut()Whether we should create the rewriting in the minimal subtree of plan operators. -
withFastBailOut
SetsfastBailOut()
.
-