public class RuleTransformer extends GraphTransformer<ElementGraph,ElementGraph> implements Rule
Modifier and Type | Field and Description |
---|---|
protected ContractedTransformer |
contractedTransformer |
protected RecursiveGraphTransformer<ElementGraph> |
graphTransformer |
protected RuleExpression |
ruleExpression |
protected SubGraphTransformer |
subGraphTransformer |
Constructor and Description |
---|
RuleTransformer(PlanPhase phase,
RuleExpression ruleExpression) |
Modifier and Type | Method and Description |
---|---|
String |
getRuleName() |
PlanPhase |
getRulePhase() |
String |
toString() |
Transformed<ElementGraph> |
transform(PlannerContext plannerContext,
ElementGraph rootGraph) |
transform
protected final RuleExpression ruleExpression
protected final ContractedTransformer contractedTransformer
protected final SubGraphTransformer subGraphTransformer
protected RecursiveGraphTransformer<ElementGraph> graphTransformer
public RuleTransformer(PlanPhase phase, RuleExpression ruleExpression)
public PlanPhase getRulePhase()
getRulePhase
in interface Rule
public String getRuleName()
getRuleName
in interface Rule
public Transformed<ElementGraph> transform(PlannerContext plannerContext, ElementGraph rootGraph)
transform
in class GraphTransformer<ElementGraph,ElementGraph>
Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.