org.activemath.content.query
Class QueryEngine
java.lang.Object
org.activemath.content.query.QueryEngine
public class QueryEngine
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryEngine
public QueryEngine()
execQuery
public List execQuery(String query)
throws QueryEngineException
- Constructs a Query object.
query may be one of two types
for queries: queries which expect a boolean value returned and queries
which expect a list of item IDs returned.
- Returns:
- So in the case a boolean value is expected, an empty
List represents false and anything
else represents true
- Throws:
QueryEngineException
registerDB
public void registerDB(String id,
DBCaller db_call)
- Register a DBCaller for a specific DB with an ID.