Skip to main content
  • createSchema

    public CreateSchemaResponse createSchema(CreateSchemaRequest request) throws GPUdbException
    Creates a SQL-style schema. Schemas are containers for tables and views. Multiple tables and views can be defined with the same name in different schemas.
    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.
  • createSchema

    public CreateSchemaResponse createSchema(String schemaName, Map<String,String> options) throws GPUdbException
    Creates a SQL-style schema. Schemas are containers for tables and views. Multiple tables and views can be defined with the same name in different schemas.
    Parameters:
    schemaName - Name of the schema to be created. Has the same naming restrictions as tables.
    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.