Mercurial > dive4elements > gnv-client
comparison geo-backend/src/main/java/de/intevation/gnv/geobackend/base/query/QueryExecutorBase.java @ 895:eb777022b628
Integrated a CacheCleaner that will cleanup the SQL-Cache if necessary
geo-backend/trunk@958 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Tue, 20 Apr 2010 12:42:17 +0000 |
parents | b757def3ff55 |
children | ebeb56428409 |
comparison
equal
deleted
inserted
replaced
894:d674cef2ca0d | 895:eb777022b628 |
---|---|
1 package de.intevation.gnv.geobackend.base.query; | 1 package de.intevation.gnv.geobackend.base.query; |
2 | |
3 import java.sql.ResultSet; | |
4 import java.sql.ResultSetMetaData; | |
5 import java.sql.SQLException; | |
6 import java.util.ArrayList; | |
7 import java.util.Collection; | |
8 import java.util.List; | |
2 | 9 |
3 import de.intevation.gnv.geobackend.base.DefaultResult; | 10 import de.intevation.gnv.geobackend.base.DefaultResult; |
4 import de.intevation.gnv.geobackend.base.DefaultResultDescriptor; | 11 import de.intevation.gnv.geobackend.base.DefaultResultDescriptor; |
5 import de.intevation.gnv.geobackend.base.Result; | 12 import de.intevation.gnv.geobackend.base.Result; |
6 import de.intevation.gnv.geobackend.base.ResultDescriptor; | 13 import de.intevation.gnv.geobackend.base.ResultDescriptor; |
7 | |
8 import java.sql.ResultSet; | |
9 import java.sql.ResultSetMetaData; | |
10 import java.sql.SQLException; | |
11 | |
12 import java.util.ArrayList; | |
13 import java.util.Collection; | |
14 import java.util.List; | |
15 | 14 |
16 /** | 15 /** |
17 * This is an abstract Basicimplementation of the Interface | 16 * This is an abstract Basicimplementation of the Interface |
18 * QueryExecutor providing several Helpermethods. | 17 * QueryExecutor providing several Helpermethods. |
19 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> | 18 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> |
97 } | 96 } |
98 | 97 |
99 public void cacheResults(String query, Collection<Result> result) { | 98 public void cacheResults(String query, Collection<Result> result) { |
100 } | 99 } |
101 | 100 |
101 public void clearCache(String[] tableNames) { | |
102 } | |
103 | |
102 } | 104 } |