public class PConstraintInfo
extends java.lang.Object
Constructor and Description |
---|
PConstraintInfo(PConstraint constraint,
java.util.Set<PVariable> boundMaskVariables,
java.util.Set<PVariable> freeMaskVariables,
java.util.Set<PConstraintInfo> sameWithDifferentBindings,
IQueryRuntimeContext runtimeContext)
Instantiates the wrapper
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<PVariable> |
getBoundVariables() |
PConstraintCategory |
getCategory(PBody pBody,
java.util.Set<PVariable> boundVariables) |
PConstraint |
getConstraint() |
float |
getCost() |
java.util.Set<PVariable> |
getFreeVariables() |
java.util.Set<PConstraintInfo> |
getSameWithDifferentBindings() |
java.lang.String |
toString() |
public PConstraintInfo(PConstraint constraint, java.util.Set<PVariable> boundMaskVariables, java.util.Set<PVariable> freeMaskVariables, java.util.Set<PConstraintInfo> sameWithDifferentBindings, IQueryRuntimeContext runtimeContext)
constraintfor
- which the information is added and storedboundMaskVariablesthe
- bound variables in the operation maskfreeMaskVariablesthe
- free variables in the operation masksameWithDifferentBindingsduring
- the planning process, multiple operation adornments are considered for a constraint, so that it
is represented by multiple plan infos. This parameter contains all plan infos that are for the same
constraint, but with different adornmentruntimeContextthe
- runtime query contextpublic PConstraint getConstraint()
public java.util.Set<PVariable> getFreeVariables()
public java.util.Set<PVariable> getBoundVariables()
public java.util.Set<PConstraintInfo> getSameWithDifferentBindings()
public float getCost()
public PConstraintCategory getCategory(PBody pBody, java.util.Set<PVariable> boundVariables)
public java.lang.String toString()
toString
in class java.lang.Object