org.geotools.data.hsql
Class HsqlSQLBuilder

java.lang.Object
  extended byorg.geotools.data.jdbc.DefaultSQLBuilder
      extended byorg.geotools.data.hsql.HsqlSQLBuilder
All Implemented Interfaces:
SQLBuilder

public class HsqlSQLBuilder
extends DefaultSQLBuilder

A HSQL-specific instance of DefaultSQLBuilder, which supports MySQL 4.1's geometric datatypes.

Author:
Amr Alam, Refractions Research, Gary Sheppard garysheppard@psu.edu, Andrea Aime aaime@users.sourceforge.net

Field Summary
 
Fields inherited from class org.geotools.data.jdbc.DefaultSQLBuilder
encoder
 
Constructor Summary
HsqlSQLBuilder(SQLEncoder encoder)
           
 
Method Summary
 void sqlColumns(java.lang.StringBuffer sql, FIDMapper mapper, AttributeType[] attributes)
          Produces the select information required.
 
Methods inherited from class org.geotools.data.jdbc.DefaultSQLBuilder
buildSQLQuery, getPostQueryFilter, getPreQueryFilter, sqlFrom, sqlGeometryColumn, sqlWhere
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HsqlSQLBuilder

public HsqlSQLBuilder(SQLEncoder encoder)
Method Detail

sqlColumns

public void sqlColumns(java.lang.StringBuffer sql,
                       FIDMapper mapper,
                       AttributeType[] attributes)
Produces the select information required.

The featureType, if known, is always requested.

sql: featureID (,attributeColumn)

We may need to provide AttributeReaders with a hook so they can request a wrapper function.

Specified by:
sqlColumns in interface SQLBuilder
Overrides:
sqlColumns in class DefaultSQLBuilder
Parameters:
sql -
mapper -
attributes -
See Also:
postgisDataStore.SQLBuilder#sqlColumns(java.lang.StringBuffer, postgisDataStore.FIDMapper.FIDMapper, org.geotools.feature.AttributeType[])


Copyright © GeoTools. All Rights Reserved.