org.deegree.framework.concurrent
Class DoDatabaseQueryTask
java.lang.Object
org.deegree.framework.concurrent.DoDatabaseQueryTask
- All Implemented Interfaces:
- java.util.concurrent.Callable<java.lang.Object>
public class DoDatabaseQueryTask
- extends java.lang.Object
- implements java.util.concurrent.Callable<java.lang.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,
java.lang.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,
java.lang.String sql,
java.util.Map<java.lang.String,java.lang.String> dimProps,
GetMap request)
- Parameters:
datasource
- envelope
- sql
- dimProps
- request
-
call
public FeatureResult call()
throws java.lang.Exception
- Specified by:
call
in interface java.util.concurrent.Callable<java.lang.Object>
- Throws:
java.lang.Exception
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org