Skip to main content
  • alterSchema

    public AlterSchemaResponse alterSchema(AlterSchemaRequest request) throws GPUdbException
    Used to change the name of a SQL-style schema, specified in schemaName.
    Parameters:
    request - Request object containing the parameters for the operation.
    Returns:
    Response object 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 in schemaName.
    Parameters:
    schemaName - Name of the schema to be altered.
    action - Modification operation to be applied. Supported values:
    value - The value of the modification, depending on action. For now the only value of action is RENAME_SCHEMA. In this case the value is the new name of the schema.
    options - Optional parameters. The default value is an empty Map.
    Returns:
    Response object containing the results of the operation.
    Throws:
    GPUdbException - if an error occurs during the operation.