@Override public void dropTable(String table, Audit audit) throws UnknownTableException { // delegate to system data center _system.get().dropTable(table, audit); }
@Override public void dropTable(String table, Audit audit) throws UnknownTableException { // delegate to system data center _system.get().dropTable(table, audit); }
@Override public void dropTable(String table, Audit audit) throws UnknownTableException { executeIfAcceptingWrites(() -> _delegate.dropTable(table, audit)); }
@Override public void dropTable(String table, Audit audit) throws UnknownTableException { executeIfAcceptingWrites(() -> _delegate.dropTable(table, audit)); }
@DELETE @Path ("_table/{table}") @RequiresPermissions ("sor|drop_table|{table}") @Timed (name = "bv.emodb.sor.DataStoreResource1.dropTable", absolute = true) @ApiOperation (value = "Drops a table", notes = "Returns a SuccessResponse if table is dropped", response = SuccessResponse.class ) public SuccessResponse dropTable(@PathParam ("table") String table, @QueryParam ("audit") AuditParam auditParam, @Context UriInfo uriInfo) { Audit audit = getRequired(auditParam, "audit"); _dataStore.dropTable(table, audit); return SuccessResponse.instance(); }