protected FIDMapper buildSingleColumnFidMapper(String schema, String tableName, Connection connection,
ColumnInfo ci) {
if (ci.isAutoIncrement()) {
return new PostGISAutoIncrementFIDMapper(tableName, ci.getColName(), ci.getDataType(), true);
} else if (isIntegralType(ci.getDataType())) {
return new MaxIncFIDMapper(schema, tableName, ci.getColName(), ci.getDataType(),
this.returnFIDColumnsAsAttributes);
} else {
return new BasicFIDMapper(ci.getColName(), ci.getSize(), this.returnFIDColumnsAsAttributes);
}
}