Package org.apache.wayang.core.mapping
Class SubplanMatch
- java.lang.Object
-
- org.apache.wayang.core.mapping.SubplanMatch
-
public class SubplanMatch extends java.lang.ObjectA subplan match correlates aSubplanPatternwith its actually matched .
-
-
Constructor Summary
Constructors Constructor Description SubplanMatch(SubplanMatch that)Copy constructor.SubplanMatch(SubplanPattern pattern)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddOperatorMatch(OperatorMatch operatorMatch)OperatorMatchgetInputMatch()OperatorMatchgetMatch(java.lang.String name)intgetMaximumEpoch()java.util.Map<java.lang.String,OperatorMatch>getOperatorMatches()OperatorMatchgetOutputMatch()SubplanPatterngetPattern()java.util.Optional<java.util.Set<Platform>>getTargetPlatforms()
-
-
-
Constructor Detail
-
SubplanMatch
public SubplanMatch(SubplanPattern pattern)
-
SubplanMatch
public SubplanMatch(SubplanMatch that)
Copy constructor.
-
-
Method Detail
-
addOperatorMatch
public void addOperatorMatch(OperatorMatch operatorMatch)
-
getOperatorMatches
public java.util.Map<java.lang.String,OperatorMatch> getOperatorMatches()
-
getPattern
public SubplanPattern getPattern()
-
getInputMatch
public OperatorMatch getInputMatch()
-
getOutputMatch
public OperatorMatch getOutputMatch()
-
getMatch
public OperatorMatch getMatch(java.lang.String name)
-
getMaximumEpoch
public int getMaximumEpoch()
- Returns:
- the maximum epoch among the matched operators in
operatorMatches
-
getTargetPlatforms
public java.util.Optional<java.util.Set<Platform>> getTargetPlatforms()
Platformrestrictions coming from the matchedOperators. Notice that the semantics of emptySets differ from those inOperator.getTargetPlatforms().
-
-