|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.query.impl.rdbms.JDOBasicPredicate
public class JDOBasicPredicate
INTERNAL: A predicate wrapper that delegates all it's method calls to the nested basic predicate.
Field Summary | |
---|---|
protected BasicPredicateIF |
pred
|
Constructor Summary | |
---|---|
JDOBasicPredicate(BasicPredicateIF pred)
|
Method Summary | |
---|---|
boolean |
buildQuery(QueryBuilder builder,
java.util.List expressions,
java.util.List arguments)
INTERNAL: Registers JDOExpressionsIF for this predicate with the query builder. |
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. |
boolean |
isRecursive()
INTERNAL: |
void |
prescan(QueryBuilder builder,
java.util.List arguments)
INTERNAL: This method will be called before building the query. |
QueryMatches |
satisfy(QueryMatches result,
java.lang.Object[] arguments)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected BasicPredicateIF pred
Constructor Detail |
---|
public JDOBasicPredicate(BasicPredicateIF pred)
Method Detail |
---|
public java.lang.String getName()
PredicateIF
getName
in interface PredicateIF
public java.lang.String getSignature() throws InvalidQueryException
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
InvalidQueryException
public int getCost(boolean[] boundparams)
PredicateIF
getCost
in interface PredicateIF
public QueryMatches satisfy(QueryMatches result, java.lang.Object[] arguments) throws InvalidQueryException
satisfy
in interface BasicPredicateIF
InvalidQueryException
public boolean isRecursive()
JDOPredicateIF
isRecursive
in interface JDOPredicateIF
public void prescan(QueryBuilder builder, java.util.List arguments)
JDOPredicateIF
prescan
in interface JDOPredicateIF
public boolean buildQuery(QueryBuilder builder, java.util.List expressions, java.util.List arguments) throws InvalidQueryException
JDOPredicateIF
buildQuery
in interface JDOPredicateIF
InvalidQueryException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |