org.deegree.framework.concurrent
Class DoDatabaseQueryTask
java.lang.Object
org.deegree.framework.concurrent.DoDatabaseQueryTask
- All Implemented Interfaces:
- Callable<Object>
public class DoDatabaseQueryTask
- extends Object
- implements Callable<Object>
- Version:
- $Revision: 6251 $, $Date: 2007-03-19 16:59:28 +0100 (Mo, 19 Mrz 2007) $
- Author:
- Andreas Poth, last edited by: $Author: poth $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DoDatabaseQueryTask
public DoDatabaseQueryTask(DatabaseDataSource datasource,
Envelope envelope)
- Uses the sql template from the data source.
- Parameters:
datasource
- envelope
-
DoDatabaseQueryTask
public DoDatabaseQueryTask(DatabaseDataSource datasource,
Envelope envelope,
String sql)
- Uses the given sql template
- Parameters:
datasource
- envelope
- sql
- custom sql template to use for fetching the data
DoDatabaseQueryTask
public DoDatabaseQueryTask(DatabaseDataSource datasource,
Envelope envelope,
String sql,
Map<String,String> dimProps,
GetMap request)
- Parameters:
datasource
- envelope
- sql
- dimProps
- request
-
call
public FeatureResult call()
throws Exception
- Specified by:
call
in interface Callable<Object>
- Throws:
Exception
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org