alterSchema
Used to change the name of a 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.alterSchema
public AlterSchemaResponse alterSchema(String schemaName, String action, String value, Map<String, String> options) throws GPUdbException Used to change the name of a SQL-style schema, specified inschemaName.Parameters:schemaName- Name of the schema to be altered.action- Modification operation to be applied. Supported values:ADD_COMMENT: Adds a comment describing the schema.RENAME_SCHEMA: Renames a schema tovalue. Has the same naming restrictions as tables.
value- The value of the modification, depending onaction. For now the only value ofactionisRENAME_SCHEMA. In this case the value is the new name of the schema.options- Optional parameters. The default value is an emptyMap.Returns:Responseobject containing the results of the operation.Throws:GPUdbException- if an error occurs during the operation.