|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.query.impl.basic.AbstractQueryProcessor
public abstract class AbstractQueryProcessor
INTERNAL: A collection of utility methods used by classes which need to evaluate queries. Simply a code-sharing class for QueryProcessor and RulePredicate.
Constructor Summary | |
---|---|
AbstractQueryProcessor()
|
Method Summary | |
---|---|
java.util.Collection |
findClauseItems(java.util.List clauses,
java.util.Map parameters)
INTERNAL: Finds all the values (constants and variables) used in the set of clauses and returns them in a collection with no duplicates. |
java.util.Collection |
findClauseVariables(java.util.List clauses)
INTERNAL: Finds all the variables used in the set of clauses and returns them in a collection with no duplicates. |
static QueryMatches |
satisfy(java.util.List clauses,
QueryMatches result)
INTERNAL: Takes the query parameters and produces the complete list of matches. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractQueryProcessor()
Method Detail |
---|
public java.util.Collection findClauseItems(java.util.List clauses, java.util.Map parameters)
public java.util.Collection findClauseVariables(java.util.List clauses)
public static QueryMatches satisfy(java.util.List clauses, QueryMatches result) throws InvalidQueryException
InvalidQueryException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |