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()
PredicateIFgetName in interface PredicateIFpublic String getSignature() throws InvalidQueryException
PredicateIFThe 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 PredicateIFInvalidQueryExceptionpublic int getCost(boolean[] boundparams)
PredicateIFgetCost in interface PredicateIFpublic QueryMatches satisfy(QueryMatches input, Object[] arguments) throws InvalidQueryException
satisfy in interface BasicPredicateIFInvalidQueryException