public class PProject extends POperation
May optionally prescribe an ordering of variables (List, as opposed to Set).
Constructor and Description |
---|
PProject(java.util.List<PVariable> toVariables) |
PProject(java.util.Set<PVariable> toVariables) |
Modifier and Type | Method and Description |
---|---|
void |
checkConsistency(SubPlan subPlan)
Checks whether this constraint can be properly applied at the given SubPlan.
|
boolean |
equals(java.lang.Object obj) |
java.util.Set<? extends PConstraint> |
getDeltaConstraints()
Newly enforced constraints
|
java.lang.String |
getShortName() |
java.util.Collection<PVariable> |
getToVariables() |
int |
hashCode() |
boolean |
isOrdered() |
int |
numParentSubPlans() |
toString
public PProject(java.util.Set<PVariable> toVariables)
public PProject(java.util.List<PVariable> toVariables)
public java.util.Collection<PVariable> getToVariables()
public boolean isOrdered()
public java.util.Set<? extends PConstraint> getDeltaConstraints()
POperation
getDeltaConstraints
in class POperation
public int numParentSubPlans()
numParentSubPlans
in class POperation
public void checkConsistency(SubPlan subPlan)
POperation
checkConsistency
in class POperation
public java.lang.String getShortName()
getShortName
in class POperation
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object