| java.lang.Object org.geotools.data.jdbc.fidmapper.AbstractFIDMapper org.geotools.data.jdbc.fidmapper.MaxIncFIDMapper
MaxIncFIDMapper | public class MaxIncFIDMapper extends AbstractFIDMapper (Code) | | A FID mapper that uses a single integer column as the primary key and that
does a SELECT MAX(fixColumn) + 1 to generate new ones. This is
a fragile generation strategy, better use a sequence or a serial to get
reliable results.
author: aaime |
Constructor Summary | |
public | MaxIncFIDMapper(String tableName, String FIDColumn, int FIDColumnType) Creates a new MaxIncFIDMapper object. | public | MaxIncFIDMapper(String tableSchemaName, String tableName, String FIDColumn, int FIDColumnType, boolean returnFIDColumnsAsAttributes) Creates a new MaxIncFIDMapper object that will return the FID columns as
business attributes. |
MaxIncFIDMapper | public MaxIncFIDMapper(String tableName, String FIDColumn, int FIDColumnType)(Code) | | Creates a new MaxIncFIDMapper object.
Parameters: tableName - the table name Parameters: FIDColumn - the name of the FID column Parameters: FIDColumnType - The SQL type of the column - must be a numeric type |
MaxIncFIDMapper | public MaxIncFIDMapper(String tableSchemaName, String tableName, String FIDColumn, int FIDColumnType, boolean returnFIDColumnsAsAttributes)(Code) | | Creates a new MaxIncFIDMapper object that will return the FID columns as
business attributes.
Parameters: tableSchemaName - the schema of this table Parameters: tableName - the table name Parameters: FIDColumn - the name of the FID column Parameters: FIDColumnType - The SQL type of the column - must be a numeric type Parameters: returnFIDColumnsAsAttributes - true to return FID columns asattributes. |
|
|