org.geotools.data.hsql.fidmapper
Class HsqlFIDMapperFactory

java.lang.Object
  extended byorg.geotools.data.jdbc.fidmapper.DefaultFIDMapperFactory
      extended byorg.geotools.data.hsql.fidmapper.HsqlFIDMapperFactory
All Implemented Interfaces:
FIDMapperFactory

public class HsqlFIDMapperFactory
extends DefaultFIDMapperFactory

This factory is only needed so it can be used as a hook to call the HsqlFIDMapper.

Author:
Amr Alam, Refractions Research

Nested Class Summary
 
Nested classes inherited from class org.geotools.data.jdbc.fidmapper.DefaultFIDMapperFactory
DefaultFIDMapperFactory.ColumnInfo
 
Field Summary
 
Fields inherited from class org.geotools.data.jdbc.fidmapper.DefaultFIDMapperFactory
returnFIDColumnsAsAttributes
 
Constructor Summary
HsqlFIDMapperFactory()
           
 
Method Summary
 FIDMapper getMapper(java.lang.String catalog, java.lang.String schema, java.lang.String tableName, java.sql.Connection connection)
          Gets the appropriate FIDMapper for the specified table.
 
Methods inherited from class org.geotools.data.jdbc.fidmapper.DefaultFIDMapperFactory
buildLastResortFidMapper, buildMultiColumnFIDMapper, buildNoPKMapper, buildSingleColumnFidMapper, getColumnInfoList, getMapper, getPkColumnInfo, isAutoIncrement, isIntegralType, isTextType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HsqlFIDMapperFactory

public HsqlFIDMapperFactory()
Method Detail

getMapper

public FIDMapper getMapper(java.lang.String catalog,
                           java.lang.String schema,
                           java.lang.String tableName,
                           java.sql.Connection connection)
                    throws java.io.IOException
Gets the appropriate FIDMapper for the specified table.

Specified by:
getMapper in interface FIDMapperFactory
Overrides:
getMapper in class DefaultFIDMapperFactory
Parameters:
catalog -
schema -
tableName -
connection - the active database connection to get table key information
Returns:
the appropriate FIDMapper for the specified table.
Throws:
java.io.IOException - if any error occurs.


Copyright © GeoTools. All Rights Reserved.