|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hardcode.gdbms.engine.customQuery.QueryManager
public class QueryManager
Manages the custom queries
Constructor Summary | |
---|---|
QueryManager()
|
Method Summary | |
---|---|
static CustomQuery |
getQuery(java.lang.String queryName)
Gets the query by name |
static void |
registerQuery(CustomQuery query)
Registers a query |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueryManager()
Method Detail |
---|
public static void registerQuery(CustomQuery query)
query
- Query to add to the manager.
java.lang.RuntimeException
- If a query with the name already existspublic static CustomQuery getQuery(java.lang.String queryName)
queryName
- Name of the query
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |