@Test(expected = InsufficientPrivilegeException.class) public void testDropTable() throws Exception { catalog.dropTable("space1.table1"); }
public void dropTable(String databaseName, String schemaName, String tableName) throws InsufficientPrivilegeException { throw new InsufficientPrivilegeException("drop any table in external metadata store"); }
LinkedMetadataManager { public void dropTable(String databaseName, String schemaName, String tableName) throws InsufficientPrivilegeException { throw new InsufficientPrivilegeException("drop any table in external metadata store"); } }
LinkedMetadataManager { public void dropTable(String databaseName, String schemaName, String tableName) throws InsufficientPrivilegeException { throw new InsufficientPrivilegeException("drop any table in external metadata store"); } LinkedMetadataManager(Collection<MetadataProvider> providers); }
LinkedMetadataManager { public void dropTable(String databaseName, String schemaName, String tableName) throws InsufficientPrivilegeException { throw new InsufficientPrivilegeException("drop any table in external metadata store"); } LinkedMetadataManager(Collection<MetadataProvider> providers); Collection<String> getTablespaceNames(); Optional<Pair<String, URI>> getTablespace(final String spaceName); Collection<Pair<String, URI>> getTablespaces(); boolean existsTablespace(String tablespaceName); Collection<String> getDatabases(); boolean existsDatabase(String dbName); Collection<String> getSchemas(@Nullable String dbName); Collection<String> getTableNames(String dbName,
                                          @Nullable final String schemaPattern,
                                          @Nullable final String tablePattern); void createTable(TableDesc desc); void dropTable(String databaseName, String schemaName, String tableName); boolean existsTable(String dbName, String schemaName, String tableName); TableDesc getTable(String dbName, String schemaName, String tbName); }
LinkedMetadataManager { public void dropTable(String databaseName, String schemaName, String tableName) throws InsufficientPrivilegeException { throw new InsufficientPrivilegeException("drop any table in external metadata store"); } LinkedMetadataManager(Collection<MetadataProvider> providers); Collection<String> getTablespaceNames(); Optional<Pair<String, URI>> getTablespace(final String spaceName); Collection<Pair<String, URI>> getTablespaces(); boolean existsTablespace(String tablespaceName); Collection<String> getDatabases(); boolean existsDatabase(String dbName); Collection<String> getSchemas(@Nullable String dbName); Collection<String> getTableNames(String dbName,
                                          @Nullable final String schemaPattern,
                                          @Nullable final String tablePattern); void createTable(TableDesc desc); void dropTable(String databaseName, String schemaName, String tableName); boolean existsTable(String dbName, String schemaName, String tableName); TableDesc getTable(String dbName, String schemaName, String tbName);  }