Class InstanceOfPredicate
java.lang.Object
net.ontopia.topicmaps.query.impl.basic.AbstractInstanceOfPredicate
net.ontopia.topicmaps.query.impl.basic.InstanceOfPredicate
net.ontopia.topicmaps.query.impl.rdbms.InstanceOfPredicate
- All Implemented Interfaces:
BasicPredicateIF,JDOPredicateIF,PredicateIF
INTERNAL: Implements the 'instance-of' predicate.
-
Field Summary
Fields inherited from class net.ontopia.topicmaps.query.impl.basic.InstanceOfPredicate
superTypeCache, typeutilsFields inherited from class net.ontopia.topicmaps.query.impl.basic.AbstractInstanceOfPredicate
index, topicmap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbuildQuery(QueryBuilder builder, List expressions, List arguments) INTERNAL: Registers JDOExpressionsIF for this predicate with the query builder.protected CollectiongetSuperclasses(Collection types) booleanINTERNAL:voidprescan(QueryBuilder builder, List arguments) INTERNAL: This method will be called before building the query.Methods inherited from class net.ontopia.topicmaps.query.impl.basic.InstanceOfPredicate
getClasses, getInstances, getName, getSubtypes, getSupertypes, getTypes, startMethods inherited from class net.ontopia.topicmaps.query.impl.basic.AbstractInstanceOfPredicate
getCost, getDirectInstances, getSignature, satisfyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.ontopia.topicmaps.query.impl.basic.BasicPredicateIF
satisfyMethods inherited from interface net.ontopia.topicmaps.query.parser.PredicateIF
getCost, getName, getSignature
-
Constructor Details
-
InstanceOfPredicate
-
-
Method Details
-
isRecursive
public boolean isRecursive()Description copied from interface:JDOPredicateIFINTERNAL:- Specified by:
isRecursivein interfaceJDOPredicateIF
-
prescan
Description copied from interface:JDOPredicateIFINTERNAL: This method will be called before building the query. It is used mainly for analyzing the predicate.- Specified by:
prescanin interfaceJDOPredicateIF
-
buildQuery
public boolean buildQuery(QueryBuilder builder, List expressions, List arguments) throws InvalidQueryException Description copied from interface:JDOPredicateIFINTERNAL: Registers JDOExpressionsIF for this predicate with the query builder.- Specified by:
buildQueryin interfaceJDOPredicateIF- Returns:
- true if predicate was mapped to JDO expression; false if the predicate could not be mapped to an JDO expression.
- Throws:
InvalidQueryException
-
getSuperclasses
-