public class UniquePathRulePartitioner extends ExpressionRulePartitioner
RuleExpression
to identify
sub-graphs as initial partitions, then will partition the resulting graph into a unique sub-graph for each
unique path between the head and tail of the graph.
This partitioner currently requires the matched sub-graph (per the RuleExpression) to have a single head and single
tail. All paths will between the matched head and tail.
Any remaining elements from the original graph will be included in the final path sub-graph.RulePartitioner.PartitionSource
graphPartitioner, partitionSource, phase
Modifier | Constructor and Description |
---|---|
protected |
UniquePathRulePartitioner() |
protected |
UniquePathRulePartitioner(PlanPhase phase) |
protected |
UniquePathRulePartitioner(PlanPhase phase,
GraphPartitioner graphPartitioner) |
|
UniquePathRulePartitioner(PlanPhase phase,
RuleExpression ruleExpression) |
|
UniquePathRulePartitioner(PlanPhase phase,
RuleExpression ruleExpression,
ElementAnnotation... annotations) |
|
UniquePathRulePartitioner(PlanPhase phase,
RuleExpression ruleExpression,
Enum... annotationExcludes) |
|
UniquePathRulePartitioner(PlanPhase phase,
RulePartitioner.PartitionSource partitionSource,
RuleExpression ruleExpression) |
|
UniquePathRulePartitioner(PlanPhase phase,
RulePartitioner.PartitionSource partitionSource,
RuleExpression ruleExpression,
ElementAnnotation... annotations) |
|
UniquePathRulePartitioner(PlanPhase phase,
RulePartitioner.PartitionSource partitionSource,
RuleExpression ruleExpression,
Enum... annotationExcludes) |
Modifier and Type | Method and Description |
---|---|
protected ExpressionGraphPartitioner |
createExpressionGraphPartitioner(ExpressionGraph contractionGraph,
ExpressionGraph expressionGraph,
ElementAnnotation[] annotations) |
addAnnotation, addAnnotationExclude, getAnnotationExcludes, setAnnotationExcludes, setAnnotations, setPhase, setRuleExpression
getGraphPartitioner, getPartitionSource, getRuleName, getRulePhase, partition, partition, toString
public UniquePathRulePartitioner(PlanPhase phase, RuleExpression ruleExpression)
public UniquePathRulePartitioner(PlanPhase phase, RuleExpression ruleExpression, ElementAnnotation... annotations)
public UniquePathRulePartitioner(PlanPhase phase, RuleExpression ruleExpression, Enum... annotationExcludes)
public UniquePathRulePartitioner(PlanPhase phase, RulePartitioner.PartitionSource partitionSource, RuleExpression ruleExpression)
public UniquePathRulePartitioner(PlanPhase phase, RulePartitioner.PartitionSource partitionSource, RuleExpression ruleExpression, ElementAnnotation... annotations)
public UniquePathRulePartitioner(PlanPhase phase, RulePartitioner.PartitionSource partitionSource, RuleExpression ruleExpression, Enum... annotationExcludes)
protected UniquePathRulePartitioner(PlanPhase phase, GraphPartitioner graphPartitioner)
protected UniquePathRulePartitioner(PlanPhase phase)
protected UniquePathRulePartitioner()
protected ExpressionGraphPartitioner createExpressionGraphPartitioner(ExpressionGraph contractionGraph, ExpressionGraph expressionGraph, ElementAnnotation[] annotations)
createExpressionGraphPartitioner
in class ExpressionRulePartitioner
Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.