Examples of dropTable()


Examples of org.apache.openjpa.jdbc.schema.SchemaTool.dropTable()

            _log.info(_loc.get("drop-seq-table"));

        // drop the table
        SchemaTool tool = new SchemaTool(_conf);
        tool.setIgnoreErrors(true);
        tool.dropTable(_pkColumn.getTable());
    }

    /////////
    // Main
    /////////
View Full Code Here

Examples of org.apache.openjpa.jdbc.schema.SchemaTool.dropTable()

            _log.info(_loc.get("drop-seq-table"));

        // drop the table
        SchemaTool tool = new SchemaTool(_conf);
        tool.setIgnoreErrors(true);
        tool.dropTable(_pkColumn.getTable());
    }

    /////////
    // Main
    /////////
View Full Code Here

Examples of org.apache.openjpa.jdbc.schema.SchemaTool.dropTable()

            _log.info(_loc.get("drop-seq-table"));

        // drop the table
        SchemaTool tool = new SchemaTool(_conf);
        tool.setIgnoreErrors(true);
        tool.dropTable(_pkColumn.getTable());
    }

    /////////
    // Main
    /////////
View Full Code Here

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

                }

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

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

        }

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

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

                }

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

Examples of org.apache.tajo.catalog.CatalogService.dropTable()

        long volume = getTableVolume(query.systemConf, finalOutputDir);
        stats.setNumBytes(volume);
        finalTable.setStats(stats);

        if (insertNode.hasTargetTable()) {
          catalog.dropTable(insertNode.getTableName());
          catalog.createTable(finalTable);
        }

        query.setResultDesc(finalTable);
      }
View Full Code Here

Examples of org.conserve.PersistenceManager.dropTable()

  @Test
  public void testDropTable() throws Exception
  {
    PersistenceManager persist = new PersistenceManager(driver, database, login, password);
    // drop all tables
    persist.dropTable(Object.class);
    persist.close();
  }

  /**
   * Check if altering an object in one instance of Conserve and refreshing it
View Full Code Here

Examples of org.jboss.test.testbean.interfaces.BMTStateful.dropTable()

         getLog().debug(++test+"- "+"Updating the field in a transaction, rollback...");
         bmtSF.dbRollback();
         getLog().debug("OK, field value is:");
         getLog().debug(bmtSF.getDbField());
         getLog().debug(++test+"- "+"Now dropping the table...");
         bmtSF.dropTable();
         getLog().debug("OK");
         getLog().debug(++test+"- "+"Looking up the home BMTStateful...");
         BMTStatelessHome bmtSLHome = (BMTStatelessHome) ctx.lookup("BMTStateless");
         if (bmtSLHome != null ) getLog().debug("ok");
            getLog().debug(++test+"- "+"Calling create on BMTStatelessHome...");
View Full Code Here

Examples of org.kitesdk.data.spi.hive.MetaStoreUtil.dropTable()

  @After
  public void cleanHCatalog() {
    // ensures all tables are removed
    MetaStoreUtil hcat = new MetaStoreUtil(fileSystem.getConf());
    for (String tableName : hcat.getAllTables("default")) {
      hcat.dropTable("default", tableName);
    }
  }
}
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.