Examples of dropColumn()


Examples of com.esri.sde.sdk.client.SeTable.dropColumn()

                            table.addColumn(newCol);
                        }
                    }

                    LOGGER.fine("deleting the 'workaround' column...");
                    table.dropColumn(HACK_COL_NAME);

                    LOGGER.fine("setting up table registration with ArcSDE...");
                    SeRegistration reg = new SeRegistration(connection, table.getName());
                    if (rowIdColumn != null) {
                        LOGGER.fine("setting rowIdColumnName to " + rowIdColumn + " in table "
View Full Code Here

Examples of com.esri.sde.sdk.client.SeTable.dropColumn()

                    table.addColumn(colDefs[0]);
                    table.addColumn(colDefs[1]);
                    table.addColumn(colDefs[2]);
                    table.addColumn(colDefs[3]);
                    table.dropColumn(tmpCols[0].getName());

                    /*
                     * Define the attributes of the spatial column
                     */
                    layer.setSpatialColumnName("SHAPE");
View Full Code Here

Examples of com.foundationdb.ais.model.Table.dropColumn()

        createAndLoadCOI();

        // ALTER TABLE o DROP COLUMN o1, ADD COLUMN o1 INT, ADD INDEX x(o1), ADD INDEX y(cid)
        AkibanInformationSchema ais = aisCloner().clone(ddl().getAIS(session()));
        Table table = ais.getTable(SCHEMA, "o");
        table.dropColumn("o1");
        TestAISBuilder builder = new TestAISBuilder(ais, typesRegistry());
        builder.column(SCHEMA, "o", "o1", 2, "MCOMPAT", "int", true);
        builder.index(SCHEMA, "o", "x");
        builder.indexColumn(SCHEMA, "o", "x", "o1", 0, true, null);
        builder.index(SCHEMA, "o", "y");
View Full Code Here

Examples of com.salesforce.phoenix.schema.MetaDataClient.dropColumn()

        }

        @Override
        public int executeUpdate() throws SQLException {
            MetaDataClient client = new MetaDataClient(connection);
            MutationState state = client.dropColumn(this);
            lastQueryPlan = null;
            lastResultSet = null;
            lastUpdateCount = (int)Math.min(state.getUpdateCount(), Integer.MAX_VALUE);
            lastUpdateOperation = UpdateOperation.UPSERTED;
            return lastUpdateCount;
View Full Code Here

Examples of org.apache.phoenix.schema.MetaDataClient.dropColumn()

                }

                @Override
                public MutationState execute() throws SQLException {
                    MetaDataClient client = new MetaDataClient(getConnection());
                    return client.dropColumn(ExecutableDropColumnStatement.this);
                }
            };
        }
    }
View Full Code Here

Examples of org.apache.phoenix.schema.MetaDataClient.dropColumn()

        }

        @Override
        public int executeUpdate() throws SQLException {
            MetaDataClient client = new MetaDataClient(connection);
            MutationState state = client.dropColumn(this);
            lastQueryPlan = null;
            lastResultSet = null;
            lastUpdateCount = (int)Math.min(state.getUpdateCount(), Integer.MAX_VALUE);
            lastUpdateOperation = UpdateOperation.UPSERTED;
            return lastUpdateCount;
View Full Code Here

Examples of org.apache.phoenix.schema.MetaDataClient.dropColumn()

                }

                @Override
                public MutationState execute() throws SQLException {
                    MetaDataClient client = new MetaDataClient(getConnection());
                    return client.dropColumn(ExecutableDropColumnStatement.this);
                }
            };
        }
    }
View Full Code Here

Examples of org.apache.phoenix.schema.MetaDataClient.dropColumn()

                }

                @Override
                public MutationState execute() throws SQLException {
                    MetaDataClient client = new MetaDataClient(getConnection());
                    return client.dropColumn(ExecutableDropColumnStatement.this);
                }
            };
        }
    }
View Full Code Here

Examples of org.conserve.tools.TableManager.dropColumn()

      for (Entry<String, String> e : valueTypeMap.entrySet())
      {
        String colName = e.getKey();
        if (!isSystemColumn(colName) && !objRes.hasProperty(colName))
        {
          tm.dropColumn(objRes.getTableName(), colName, cw);
        }
      }
    }
    catch (ClassNotFoundException ex)
    {
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.