public class DynamicOccurrencePredicate extends AbstractDynamicPredicate
Modifier and Type | Field and Description |
---|---|
protected ClassInstanceIndexIF |
index |
protected OccurrenceIndexIF |
occindex |
protected TopicMapIF |
topicmap |
base, name, type
Constructor and Description |
---|
DynamicOccurrencePredicate(TopicMapIF topicmap,
LocatorIF base,
TopicIF type) |
Modifier and Type | Method and Description |
---|---|
int |
getCost(boolean[] boundparams)
INTERNAL.
|
String |
getSignature()
INTERNAL: Returns a string representing the signature of the
predicate.
|
QueryMatches |
satisfy(QueryMatches matches,
Object[] arguments) |
getName, getType
protected TopicMapIF topicmap
protected ClassInstanceIndexIF index
protected OccurrenceIndexIF occindex
public DynamicOccurrencePredicate(TopicMapIF topicmap, LocatorIF base, TopicIF type)
public String getSignature()
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.
public int getCost(boolean[] boundparams)
PredicateIF
public QueryMatches satisfy(QueryMatches matches, Object[] arguments) throws InvalidQueryException
InvalidQueryException