public class ValueLikePredicate extends Object implements BasicPredicateIF
| Modifier and Type | Field and Description |
|---|---|
protected SearcherIF |
searcher |
protected TopicMapIF |
topicmap |
| Constructor and Description |
|---|
ValueLikePredicate(TopicMapIF topicmap) |
| 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 matches,
Object[] arguments) |
protected TopicMapIF topicmap
protected SearcherIF searcher
public ValueLikePredicate(TopicMapIF topicmap)
public String getName()
PredicateIFgetName in interface PredicateIFpublic String getSignature()
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 PredicateIFpublic int getCost(boolean[] boundparams)
PredicateIFgetCost in interface PredicateIFpublic QueryMatches satisfy(QueryMatches matches, Object[] arguments) throws InvalidQueryException
satisfy in interface BasicPredicateIFInvalidQueryException