Examples of FIDMapper


Examples of org.geotools.data.jdbc.fidmapper.FIDMapper

   * @throws IOException if any error occurs.
   */
  public FIDMapper getMapper(String catalog, String schema, String tableName, Connection connection)
      throws IOException {
    ColumnInfo[] colInfos = getPkColumnInfo(catalog, schema, tableName, connection);
    FIDMapper mapper;

    if (colInfos.length == 0) {
      mapper = buildNoPKMapper(schema, tableName, connection);
    } else if (colInfos.length > 1) {
      mapper = buildMultiColumnFIDMapper(schema, tableName, connection, colInfos);
View Full Code Here

Examples of org.geotools.data.jdbc.fidmapper.FIDMapper

   *             if any error occurs.
   */
  public FIDMapper getMapper(String catalog, String schema, String tableName, Connection connection)
      throws IOException {
    ColumnInfo[] colInfos = getPkColumnInfo(catalog, schema, tableName, connection);
    FIDMapper mapper = null;

    if (colInfos.length == 0) {
      mapper = buildNoPKMapper(schema, tableName, connection);
    } else if (colInfos.length > 1) {
      mapper = buildMultiColumnFIDMapper(schema, tableName, connection, colInfos);
View Full Code Here

Examples of org.geotools.data.jdbc.fidmapper.FIDMapper

                key = getPrimaryKey(featureType);
            } catch (IOException e) {
                throw new RuntimeException(e);
            }

            FIDMapper mapper = new FIDMapper() {
                    public String createID(Connection conn, SimpleFeature feature, Statement statement)
                        throws IOException {
                        return null;
                    }
View Full Code Here

Examples of org.geotools.data.jdbc.fidmapper.FIDMapper

        stringFType = ftb.buildFeatureType();
       
        output = new StringWriter();
        encoder = new FilterToSQL(output);
       
        FIDMapper mapper = new FIDMapper() {

            @Override
            public boolean returnFIDColumnsAsAttributes() {
                // TODO Auto-generated method stub
                return false;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.