net.ontopia.topicmaps.query.impl.rdbms
Interface JDOPredicateIF

All Superinterfaces:
BasicPredicateIF, PredicateIF
All Known Implementing Classes:
AssociationPredicate, AssociationRolePredicate, BaseLocatorPredicate, CoalescePredicate, DatatypePredicate, DirectInstanceOfPredicate, DynamicAssociationPredicate, DynamicFailurePredicate, DynamicOccurrencePredicate, EqualsPredicate, GreaterThanEqualsPredicate, GreaterThanPredicate, InPredicate, InstanceOfPredicate, ItemIdentifierPredicate, JDOBasicPredicate, LessThanEqualsPredicate, LessThanPredicate, NamePredicate, NotEqualsPredicate, ObjectIdPredicate, OccurrencePredicate, ReifiesPredicate, ResourcePredicate, RolePlayerPredicate, RulePredicate, ScopePredicate, SubjectIdentifierPredicate, SubjectLocatorPredicate, TopicMapPredicate, TopicNamePredicate, TopicPredicate, TypePredicate, ValueLikePredicate, ValuePredicate, VariantPredicate

public interface JDOPredicateIF
extends BasicPredicateIF

INTERNAL: Represents a predicate in the rdbms implementation.


Method Summary
 boolean buildQuery(QueryBuilder builder, java.util.List expressions, java.util.List arguments)
          INTERNAL: Registers JDOExpressionsIF for this predicate with the query builder.
 boolean isRecursive()
          INTERNAL:
 void prescan(QueryBuilder builder, java.util.List arguments)
          INTERNAL: This method will be called before building the query.
 
Methods inherited from interface net.ontopia.topicmaps.query.impl.basic.BasicPredicateIF
satisfy
 
Methods inherited from interface net.ontopia.topicmaps.query.parser.PredicateIF
getCost, getName, getSignature
 

Method Detail

isRecursive

boolean isRecursive()
INTERNAL:


prescan

void prescan(QueryBuilder builder,
             java.util.List arguments)
INTERNAL: This method will be called before building the query. It is used mainly for analyzing the predicate.


buildQuery

boolean buildQuery(QueryBuilder builder,
                   java.util.List expressions,
                   java.util.List arguments)
                   throws InvalidQueryException
INTERNAL: Registers JDOExpressionsIF for this predicate with the query builder.

Returns:
true if predicate was mapped to JDO expression; false if the predicate could not be mapped to an JDO expression.
Throws:
InvalidQueryException


Copyright © 2000-2012 Ontopia.