|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.topicmaps.query.impl.basic.JavaSearcherPredicate
public class JavaSearcherPredicate
EXPERIMENTAL: Java searcher predicate.
| Field Summary | |
|---|---|
protected String |
name
|
protected SearcherIF |
searcher
|
protected TopicMapIF |
topicmap
|
| Constructor Summary | |
|---|---|
JavaSearcherPredicate(String name,
TopicMapIF topicmap,
SearcherIF searcher)
|
|
| Method Summary | |
|---|---|
int |
getCost(boolean[] boundparams)
INTERNAL. |
String |
getName()
INTERNAL: Returns the name of the predicate. |
protected Object |
getObject(Object value,
int valtype)
|
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 |
| Field Detail |
|---|
protected String name
protected TopicMapIF topicmap
protected SearcherIF searcher
| Constructor Detail |
|---|
public JavaSearcherPredicate(String name,
TopicMapIF topicmap,
SearcherIF searcher)
| 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 Object getObject(Object value,
int valtype)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||