Class RuleValidateWhereAll
- java.lang.Object
-
- org.teiid.query.optimizer.relational.rules.RuleValidateWhereAll
-
- All Implemented Interfaces:
OptimizerRule
public final class RuleValidateWhereAll extends Object implements OptimizerRule
Validates that the any atomic query being sent to a model where the model requires a criteria actually has a criteria. This rule will detect this case and throw an exception. This rule does not actually modify anything in the plan itself.
-
-
Constructor Summary
Constructors Constructor Description RuleValidateWhereAll()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlanNode
execute(PlanNode plan, QueryMetadataInterface metadata, CapabilitiesFinder capFinder, RuleStack rules, AnalysisRecord analysisRecord, CommandContext context)
Verifies that a model with "supports where all" is being passed an atomic query with a criteria.String
toString()
-
-
-
Method Detail
-
execute
public PlanNode execute(PlanNode plan, QueryMetadataInterface metadata, CapabilitiesFinder capFinder, RuleStack rules, AnalysisRecord analysisRecord, CommandContext context) throws QueryPlannerException, QueryMetadataException, TeiidComponentException
Verifies that a model with "supports where all" is being passed an atomic query with a criteria.- Specified by:
execute
in interfaceOptimizerRule
- Throws:
QueryPlannerException
- if property is not satisfiedQueryMetadataException
TeiidComponentException
-
-