deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.framework.concurrent
Class DoDatabaseQueryTask

java.lang.Object
  extended by 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 $

Constructor Summary
DoDatabaseQueryTask(DatabaseDataSource datasource, Envelope envelope)
          Uses the sql template from the data source.
DoDatabaseQueryTask(DatabaseDataSource datasource, Envelope envelope, java.lang.String sql)
          Uses the given sql template
DoDatabaseQueryTask(DatabaseDataSource datasource, Envelope envelope, java.lang.String sql, java.util.Map<java.lang.String,java.lang.String> dimProps, GetMap request)
           
 
Method Summary
 FeatureResult call()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 -
Method Detail

call

public FeatureResult call()
                   throws java.lang.Exception
Specified by:
call in interface java.util.concurrent.Callable<java.lang.Object>
Throws:
java.lang.Exception

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org