Package org.apache.wayang.core.mapping
Class SubplanMatch
- java.lang.Object
-
- org.apache.wayang.core.mapping.SubplanMatch
-
public class SubplanMatch extends java.lang.Object
A subplan match correlates aSubplanPattern
with 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 void
addOperatorMatch(OperatorMatch operatorMatch)
OperatorMatch
getInputMatch()
OperatorMatch
getMatch(java.lang.String name)
int
getMaximumEpoch()
java.util.Map<java.lang.String,OperatorMatch>
getOperatorMatches()
OperatorMatch
getOutputMatch()
SubplanPattern
getPattern()
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()
Platform
restrictions coming from the matchedOperator
s. Notice that the semantics of emptySet
s differ from those inOperator.getTargetPlatforms()
.
-
-