public class PatternPlan extends BaseOperatorPlan
fromEdges, log, ops, softFromEdges, softToEdges, toEdges
Constructor and Description |
---|
PatternPlan() |
Modifier and Type | Method and Description |
---|---|
static PatternPlan |
create(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(Class<?>[] classList)
classList
- Copyright © 2007-2017 The Apache Software Foundation