public static class QueryOptimizer.PumpPredicate extends Object implements BasicPredicateIF
Constructor and Description |
---|
PumpPredicate(TopicMapIF topicmap,
List subclauses,
int limit,
Variable valuevar,
Variable objectvar,
Object literal,
boolean equals,
boolean bigger) |
Modifier and Type | Method and Description |
---|---|
int |
getCost(boolean[] boundparams)
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 input,
Object[] arguments) |
public PumpPredicate(TopicMapIF topicmap, List subclauses, int limit, Variable valuevar, Variable objectvar, Object literal, boolean equals, boolean bigger)
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[] boundparams)
PredicateIF
getCost
in interface PredicateIF
public QueryMatches satisfy(QueryMatches input, Object[] arguments) throws InvalidQueryException
satisfy
in interface BasicPredicateIF
InvalidQueryException