public class HierarchyWalkerRulePredicate extends Object implements BasicPredicateIF
Modifier and Type | Field and Description |
---|---|
protected Variable |
firstvar |
protected Variable |
midvar |
protected RulePredicate |
rule |
protected Variable |
secondvar |
protected PredicateClause |
wrapped |
Constructor and Description |
---|
HierarchyWalkerRulePredicate(RulePredicate rule,
Variable firstvar,
Variable secondvar,
Variable midvar,
PredicateClause wrapped) |
Modifier and Type | Method and Description |
---|---|
int |
getCost(boolean[] boundparam)
INTERNAL.
|
String |
getName()
INTERNAL: Returns the name of the predicate.
|
String |
getSignature()
INTERNAL: Returns a string representing the signature of the
predicate.
|
QueryMatches |
satisfy(QueryMatches extmatches,
Object[] extarguments) |
protected RulePredicate rule
protected Variable firstvar
protected Variable secondvar
protected Variable midvar
protected PredicateClause wrapped
public HierarchyWalkerRulePredicate(RulePredicate rule, Variable firstvar, Variable secondvar, Variable midvar, PredicateClause wrapped)
public String getName()
PredicateIF
getName
in interface PredicateIF
public String getSignature() throws InvalidQueryException
PredicateIF
The instance-of predicate would have a signature of "t t", while /= would have ". .", and in would have ". .+". For full details, see topicmaps.impl.utils.ArgumentValidator.
getSignature
in interface PredicateIF
InvalidQueryException
public int getCost(boolean[] boundparam)
PredicateIF
getCost
in interface PredicateIF
public QueryMatches satisfy(QueryMatches extmatches, Object[] extarguments) throws InvalidQueryException
satisfy
in interface BasicPredicateIF
InvalidQueryException