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, logLevel, partitionSource, phase
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, performPartition, toString
public UniquePathRulePartitioner(PlanPhase phase, RuleExpression ruleExpression)
public UniquePathRulePartitioner(PlanPhase phase, RuleExpression ruleExpression, ElementAnnotation... annotations)
public UniquePathRulePartitioner(PlanPhase phase, RuleExpression ruleExpression, java.lang.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, java.lang.Enum... annotationExcludes)
public UniquePathRulePartitioner(LogLevel logLevel, PlanPhase phase, RuleExpression ruleExpression)
public UniquePathRulePartitioner(LogLevel logLevel, PlanPhase phase, RuleExpression ruleExpression, ElementAnnotation... annotations)
public UniquePathRulePartitioner(LogLevel logLevel, PlanPhase phase, RuleExpression ruleExpression, java.lang.Enum... annotationExcludes)
public UniquePathRulePartitioner(LogLevel logLevel, PlanPhase phase, RulePartitioner.PartitionSource partitionSource, RuleExpression ruleExpression)
public UniquePathRulePartitioner(LogLevel logLevel, PlanPhase phase, RulePartitioner.PartitionSource partitionSource, RuleExpression ruleExpression, ElementAnnotation... annotations)
public UniquePathRulePartitioner(LogLevel logLevel, PlanPhase phase, RulePartitioner.PartitionSource partitionSource, RuleExpression ruleExpression, java.lang.Enum... annotationExcludes)
protected UniquePathRulePartitioner(PlanPhase phase, GraphPartitioner graphPartitioner)
protected UniquePathRulePartitioner(LogLevel logLevel, 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 Xplenty, Inc. All Rights Reserved.