deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.io.datastore.sql
Class VirtualContentProvider

java.lang.Object
  extended by org.deegree.io.datastore.sql.VirtualContentProvider

public class VirtualContentProvider
extends Object

Responsible for determining the value of properties that are mapped to SQLFunctionCalls.

This involves the lookup of the values of variables (SpecialContent instances).

Variable name Description
$QUERY.BBOX Bounding box of the query (null if it is not present).

Version:
$Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
Author:
Markus Schneider, last edited by: $Author: mschneider $
See Also:
SQLFunctionCall, SpecialContent

Constructor Summary
VirtualContentProvider(Filter filter, AbstractSQLDatastore ds, Connection conn)
          Creates a new instance of VirtualContentProvider.
 
Method Summary
 void appendSpecialContentValue(StatementBuffer query, SpecialContent param)
          Appends the variable from a SpecialContent property to the given StatementBuffer.
 void appendSQLFunctionCall(StatementBuffer query, String tableAlias, SQLFunctionCall call)
          Appends a SQLFunctionCall to the given StatementBuffer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VirtualContentProvider

VirtualContentProvider(Filter filter,
                       AbstractSQLDatastore ds,
                       Connection conn)
Creates a new instance of VirtualContentProvider.

Parameters:
filter -
ds -
conn -
Method Detail

appendSQLFunctionCall

public void appendSQLFunctionCall(StatementBuffer query,
                                  String tableAlias,
                                  SQLFunctionCall call)
Appends a SQLFunctionCall to the given StatementBuffer.

This includes the correct qualification of all columns that are used as FunctionParams.

Parameters:
query -
tableAlias -
call -

appendSpecialContentValue

public void appendSpecialContentValue(StatementBuffer query,
                                      SpecialContent param)
Appends the variable from a SpecialContent property to the given StatementBuffer.

Parameters:
query -
param -

deegree 2.3 (2010/04/09 10:10 build-4-official)

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