public class TypeConstraint extends KeyedEnumerablePConstraint<IInputKey> implements ITypeConstraint
IInputKey.
The InputKey must be enumerable!
ITypeConstraint.TypeConstraintUtilPConstraint.CompareByMonotonousID| Constructor and Description |
|---|
TypeConstraint(PBody pBody,
Tuple variablesTuple,
IInputKey inputKey) |
| Modifier and Type | Method and Description |
|---|---|
TypeJudgement |
getEquivalentJudgement() |
java.util.Map<java.util.Set<PVariable>,java.util.Set<PVariable>> |
getFunctionalDependencies(IQueryMetaContext context)
A (preferably minimal) cover of known functional dependencies between variables.
|
java.util.Set<TypeJudgement> |
getImpliedJudgements(IQueryMetaContext context)
Returns type information implied by this constraint.
|
getSupplierKeydoReplaceVariable, getDeducedVariables, getVariableInTuple, getVariablesTuplecheckSanity, delete, getAffectedVariables, getMonotonousID, getPSystem, replaceVariable, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitcheckSanity, delete, getAffectedVariables, getDeducedVariables, getMonotonousID, replaceVariablepublic TypeJudgement getEquivalentJudgement()
getEquivalentJudgement in interface ITypeConstraintpublic java.util.Set<TypeJudgement> getImpliedJudgements(IQueryMetaContext context)
ITypeInfoProviderConstraintgetImpliedJudgements in interface ITypeInfoProviderConstraintpublic java.util.Map<java.util.Set<PVariable>,java.util.Set<PVariable>> getFunctionalDependencies(IQueryMetaContext context)
PConstraintgetFunctionalDependencies in interface PConstraintgetFunctionalDependencies in class BasePConstraint