public class PatternPlan extends BaseOperatorPlan
fromEdges, log, ops, softFromEdges, softToEdges, toEdges
Constructor and Description |
---|
PatternPlan() |
Modifier and Type | Method and Description |
---|---|
static PatternPlan |
create(java.lang.Class<?>[] classList)
This function can be used to create a new PatternPlan if the pattern
nodes have at most one parent/child, and they are connected to each other.
|
boolean |
match(OperatorPlan<? extends Operator<?>> inpPlan)
Return true if the given plan has nodes that match the pattern
represented by this class
If a match is found, the PatterNodes in the plan will return non
null node for getMatch().
|
add, connect, connect, createSoftLink, disconnect, explain, getOperators, getPredecessors, getSinks, getSoftLinkPredecessors, getSoftLinkSuccessors, getSources, getSuccessors, insertBetween, isConnected, isEqual, isEqual, moveTree, pathExists, remove, removeAndReconnect, removeSoftLink, replace, size, toString, trimBelow
public boolean match(OperatorPlan<? extends Operator<?>> inpPlan)
inpPlan
- - input plan to matchpublic static PatternPlan create(java.lang.Class<?>[] classList)
classList
- Copyright © 2007-2012 The Apache Software Foundation