dropSchema
Drops an existing SQL-style schema, specified inschemaName.Parameters:request-Requestobject containing the parameters for the operation.Returns:Responseobject containing the results of the operation.Throws:GPUdbException- if an error occurs during the operation.dropSchema
public DropSchemaResponse dropSchema(String schemaName, Map<String, String> options) throws GPUdbException Drops an existing SQL-style schema, specified inschemaName.Parameters:schemaName- Name of the schema to be dropped. Must be an existing schema.options- Optional parameters.NO_ERROR_IF_NOT_EXISTS: IfTRUEand if the schema specified inschemaNamedoes not exist, no error is returned. IfFALSEand if the schema specified inschemaNamedoes not exist, then an error is returned. Supported values:The default value isFALSE.CASCADE: IfTRUE, all tables within the schema will be dropped. IfFALSE, the schema will be dropped only if empty. Supported values:The default value isFALSE.
Map.Returns:Responseobject containing the results of the operation.Throws:GPUdbException- if an error occurs during the operation.