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 SummaryModifier and TypeMethodDescriptionbooleanWhether we should create the rewriting in the minimal subtree of plan operators.booleanWhether to generate rewritings containing union if the query results are contained within the view results.@Nullable HepProgramIf 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.Configas, description, operandSupplier, relBuilderFactory, toRule, withDescription, withOperandSupplier, withRelBuilderFactory
- 
Method Details- 
generateUnionRewritingboolean generateUnionRewriting()Whether to generate rewritings containing union if the query results are contained within the view results.
- 
withGenerateUnionRewritingSetsgenerateUnionRewriting().
- 
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
- 
fastBailOutboolean fastBailOut()Whether we should create the rewriting in the minimal subtree of plan operators.
- 
withFastBailOutSetsfastBailOut().
 
-