|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.query.impl.basic.InPredicate
public class InPredicate
INTERNAL: Implements the 'in(var, e1, ..., eN)' predicate.
Constructor Summary | |
---|---|
InPredicate()
|
Method Summary | |
---|---|
protected QueryMatches |
filter(QueryMatches matches,
int ix1,
java.util.Set values)
|
int |
getCost(boolean[] boundparams)
INTERNAL. |
java.lang.String |
getName()
INTERNAL: Returns the name of the predicate. |
java.lang.String |
getSignature()
INTERNAL: Returns a string representing the signature of the predicate. |
QueryMatches |
satisfy(QueryMatches matches,
java.lang.Object[] arguments)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InPredicate()
Method Detail |
---|
public java.lang.String getName()
PredicateIF
getName
in interface PredicateIF
public java.lang.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.
getSignature
in interface PredicateIF
public int getCost(boolean[] boundparams)
PredicateIF
getCost
in interface PredicateIF
public QueryMatches satisfy(QueryMatches matches, java.lang.Object[] arguments) throws InvalidQueryException
satisfy
in interface BasicPredicateIF
InvalidQueryException
protected QueryMatches filter(QueryMatches matches, int ix1, java.util.Set values)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |