Skip to main content
  • createCatalog

    public CreateCatalogResponse createCatalog(CreateCatalogRequest request) throws GPUdbException
    Creates a catalog, which contains the location and connection information for a deltalake catalog that is external to the database.
    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.
  • createCatalog

    public CreateCatalogResponse createCatalog(String name, String tableFormat, String location, String type, String credential, String datasource, Map<String,String> options) throws GPUdbException
    Creates a catalog, which contains the location and connection information for a deltalake catalog that is external to the database.
    Parameters:
    name - Name of the catalog to be created.
    tableFormat - Table format (iceberg, hudi, deltalake).
    location - Location of the catalog in ‘http[s]://[server[:port]]]’ format.
    type - Type of the catalog (REST (unity, polaris, tabular), nessie, hive, glue).
    credential - Name of the credential object to be used in catalog.
    datasource - Password for the remote system user; may be an empty string.
    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.