public class PatternMatchCounter extends PatternCallBasedDeferred
PConstraint.CompareByMonotonousID
actualParametersTuple, query
pBody
Constructor and Description |
---|
PatternMatchCounter(PBody pBody,
Tuple actualParametersTuple,
PQuery query,
PVariable resultVariable) |
Modifier and Type | Method and Description |
---|---|
protected void |
doDoReplaceVariables(PVariable obsolete,
PVariable replacement) |
protected java.util.Set<PVariable> |
getCandidateQuantifiedVariables() |
java.util.Set<PVariable> |
getDeducedVariables()
The set of variables whose potential values can be enumerated (once all non-deduced variables have known values).
|
java.util.Map<java.util.Set<PVariable>,java.util.Set<PVariable>> |
getFunctionalDependencies(IQueryMetaContext context)
A (preferably minimal) cover of known functional dependencies between variables.
|
PVariable |
getResultVariable() |
protected java.lang.String |
toStringRest() |
checkSanity, doReplaceVariable, getActualParametersTuple, getDeferringVariables, getReferredQuery
isReadyAt
delete, getAffectedVariables, getMonotonousID, getPSystem, replaceVariable, toString
public java.util.Set<PVariable> getDeducedVariables()
PConstraint
public java.util.Map<java.util.Set<PVariable>,java.util.Set<PVariable>> getFunctionalDependencies(IQueryMetaContext context)
PConstraint
getFunctionalDependencies
in interface PConstraint
getFunctionalDependencies
in class BasePConstraint
protected void doDoReplaceVariables(PVariable obsolete, PVariable replacement)
doDoReplaceVariables
in class PatternCallBasedDeferred
protected java.util.Set<PVariable> getCandidateQuantifiedVariables()
getCandidateQuantifiedVariables
in class PatternCallBasedDeferred
protected java.lang.String toStringRest()
toStringRest
in class BasePConstraint
public PVariable getResultVariable()