org.deegree.io.datastore.sql.generic
Class GenericSQLWhereBuilder
java.lang.Object
  
org.deegree.io.datastore.sql.wherebuilder.WhereBuilder
      
org.deegree.io.datastore.sql.generic.GenericSQLWhereBuilder
 class GenericSQLWhereBuilder
- extends WhereBuilder
 
WhereBuilder implementation for the GenericSQLDatastore.
 
 Uses the Quadtree to speed up BBOX queries.
- Version:
 
  - $Revision: 6685 $, $Date: 2007-04-24 20:35:53 +0200 (Di, 24 Apr 2007) $
 
- Author:
 
  - Andreas Poth, last edited by: $Author: mschneider $
 
- See Also:
 org.deegree.io.quadtree
 
 
 
 
| Methods inherited from class org.deegree.io.datastore.sql.wherebuilder.WhereBuilder | 
appendArithmeticExpressionAsSQL, appendComparisonOperationAsSQL, appendComplexFilterAsSQL, appendExpressionAsSQL, appendFeatureFilterAsSQL, appendFunctionAsSQL, appendJoinTableList, appendLiteralAsSQL, appendLogicalOperationAsSQL, appendOperationAsSQL, appendOrderByCondition, appendPropertyIsBetweenOperationAsSQL, appendPropertyIsCOMPOperationAsSQL, appendPropertyIsLikeOperationAsSQL, appendPropertyIsNullOperationAsSQL, appendPropertyNameAsSQL, appendPropertyPathAsSQL, appendWhereCondition, buildFilterPropertyNameMap, fillFunctionNameMap, getFilter, getFunctionName, getGeometryProperty, getPropertyNameSQLType, getRootTableAlias | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
GenericSQLWhereBuilder
public GenericSQLWhereBuilder(MappedFeatureType[] rootFts,
                              String[] aliases,
                              Filter filter,
                              SortProperty[] sortProperties,
                              TableAliasGenerator aliasGenerator,
                              VirtualContentProvider vcProvider,
                              JDBCConnection jdbc)
                       throws DatastoreException
- Creates a new instance of 
GenericSQLWhereBuilder from the given parameters.
- Parameters:
 rootFts - selected feature types, more than one type means that the types are joinedaliases - aliases for the feature types, may be null (must have same length as rootFts
            otherwise)filter - filter that restricts the matched featuressortProperties - sort criteria for the result, may be null or emptyaliasGenerator - used to generate unique table aliasesvcProvider - jdbc - 
- Throws:
 DatastoreException
 
appendSpatialOperationAsSQL
protected void appendSpatialOperationAsSQL(StatementBuffer query,
                                           SpatialOperation operation)
                                    throws DatastoreException
- Generates an SQL-fragment for the given object.
 
 TODO: Implement BBOX faster using explicit B0X-constructor
- Overrides:
 appendSpatialOperationAsSQL in class WhereBuilder
 
- Throws:
 DatastoreException
 
 
				an open source project founded by lat/lon, Bonn, Germany.
					For more information visit: http://deegree.sourceforge.net