Package org.geotools.data.postgis.fidmapper

Examples of org.geotools.data.postgis.fidmapper.PostGISAutoIncrementFIDMapper


   * @return the appropriate FIDMapper.
   */
  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);
View Full Code Here

TOP

Related Classes of org.geotools.data.postgis.fidmapper.PostGISAutoIncrementFIDMapper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.