org.geomajas.layer.geotools.postgis
Class NonTypedPostgisFidMapperFactory
java.lang.Object
org.geotools.data.jdbc.fidmapper.DefaultFIDMapperFactory
org.geomajas.layer.geotools.postgis.NonTypedPostgisFidMapperFactory
- All Implemented Interfaces:
- FIDMapperFactory
public class NonTypedPostgisFidMapperFactory
- extends DefaultFIDMapperFactory
Feature id mapper factory for postgis.
- Author:
- Jan De Moerloose, Pieter De Graef
NonTypedPostgisFidMapperFactory
public NonTypedPostgisFidMapperFactory()
- Create a
NonTypedPostgisFidMapperFactory.
NonTypedPostgisFidMapperFactory
public NonTypedPostgisFidMapperFactory(boolean returnFidColumnsAsAttributes)
- Create a
NonTypedPostgisFidMapperFactory.
- Parameters:
returnFidColumnsAsAttributes - return fid columns as attributes?
getMapper
public FIDMapper getMapper(String catalog,
String schema,
String tableName,
Connection connection)
throws IOException
- Get the appropriate FIDMapper for the specified table. Overridden to
return a non-typed mapper !!!!
- Specified by:
getMapper in interface FIDMapperFactory- Overrides:
getMapper in class DefaultFIDMapperFactory
- Parameters:
catalog - catalogschema - schematableName - table nameconnection - the active database connection to get table key information
- Returns:
- the appropriate FIDMapper for the specified table.
- Throws:
IOException - if any error occurs.
Copyright © 2012 Geosparc. All Rights Reserved.