|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.umber.bellows.query.QueryCache
Cache for queries against a single Datum tree.
Constructor Summary | |
QueryCache(Datum root)
Creates a new instance of QueryCache. |
Method Summary | |
void |
emptyCache()
Empties the query cache. |
Datum |
getRoot()
Retrieves the root in use for all cached queries. |
Datum[] |
runQuery(java.lang.String query)
Executes the query. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public QueryCache(Datum root)
root
- the root node for all cached queriesMethod Detail |
public Datum getRoot()
public Datum[] runQuery(java.lang.String query)
query
- the XPath-like query string
public void emptyCache()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |