|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.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,
Set values)
|
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)
|
| 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 String getName()
PredicateIF
getName 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)
PredicateIF
getCost in interface PredicateIF
public QueryMatches satisfy(QueryMatches matches,
Object[] arguments)
throws InvalidQueryException
satisfy in interface BasicPredicateIFInvalidQueryException
protected QueryMatches filter(QueryMatches matches,
int ix1,
Set values)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||