comparison geo-backend/src/main/java/de/intevation/gnv/geobackend/base/query/QueryExecutor.java @ 541:3cbf11c67fdc

Experimental caching of SQL results via Ehache geo-backend/trunk@462 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 18 Dec 2009 16:13:52 +0000
parents 5a583cff97ea
children 8b442223741c
comparison
equal deleted inserted replaced
385:27082b83c267 541:3cbf11c67fdc
23 * @param queryID the ID of the Query which should be used. 23 * @param queryID the ID of the Query which should be used.
24 * @param filter the Filterarguments to limit the Data 24 * @param filter the Filterarguments to limit the Data
25 * @return the fetched Values 25 * @return the fetched Values
26 * @throws QueryException 26 * @throws QueryException
27 */ 27 */
28 public Collection<Result> executeQuery(String queryID, String[] filter) throws QueryException; 28 Collection<Result> executeQuery(String queryID, String[] filter) throws QueryException;
29
30 Collection<Result> cachedResults(String query);
31
32 void cacheResults(String query, Collection<Result> results);
29 } 33 }

http://dive4elements.wald.intevation.org