Package com.gpudb.protocol
Class CreateCatalogRequest
java.lang.Object
com.gpudb.protocol.CreateCatalogRequest
All Implemented Interfaces:
org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecordA set of parameters for
GPUdb.createCatalog.
Creates a catalog, which contains the location and connection information for a deltalake catalog that is external to the database.
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA set of string constants for theCreateCatalogRequestparameteroptions.Constructor Summary
ConstructorsConstructorDescriptionConstructs a CreateCatalogRequest object with default parameters.CreateCatalogRequest(String name, String tableFormat, String location, String type, String credential, String datasource, Map<String, String> options) Constructs a CreateCatalogRequest object with the specified parameters.Method Summary
Modifier and TypeMethodDescriptionbooleanget(int index) This method supports the Avro framework and is not intended to be called directly by the user.static org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.Name of the credential object to be used in catalog.Password for the remote system user; may be an empty string.Location of the catalog in ‘http[s]://[server[:port]]]’ format.getName()Name of the catalog to be created.Optional parameters.org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.Table format (iceberg, hudi, deltalake).getType()Type of the catalog (REST (unity, polaris, tabular), nessie, hive, glue).inthashCode()voidThis method supports the Avro framework and is not intended to be called directly by the user.setCredential(String credential) Name of the credential object to be used in catalog.setDatasource(String datasource) Password for the remote system user; may be an empty string.setLocation(String location) Location of the catalog in ‘http[s]://[server[:port]]]’ format.Name of the catalog to be created.setOptions(Map<String, String> options) Optional parameters.setTableFormat(String tableFormat) Table format (iceberg, hudi, deltalake).Type of the catalog (REST (unity, polaris, tabular), nessie, hive, glue).toString()
Constructor Details
CreateCatalogRequest
public CreateCatalogRequest(String name, String tableFormat, String location, String type, String credential, String datasource, Map<String, String> options) Constructs a CreateCatalogRequest object with the specified parameters.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.ACCESS_DELEGATION: Use access delegation for object store. Supported values:The default value isDATASOURCE_CREDENTIALS.SKIP_VALIDATION: Bypass validation of connection to remote source. Supported values:The default value isFALSE.
Map.
Method Details
getCredential
Name of the credential object to be used in catalog.Returns:The current value ofcredential.setCredential
Name of the credential object to be used in catalog.Parameters:credential- The new value forcredential.Returns:thisto mimic the builder pattern.getOptions
Optional parameters.ACCESS_DELEGATION: Use access delegation for object store. Supported values:The default value isDATASOURCE_CREDENTIALS.SKIP_VALIDATION: Bypass validation of connection to remote source. Supported values:The default value isFALSE.
Map.Returns:The current value ofoptions.setOptions
Optional parameters.ACCESS_DELEGATION: Use access delegation for object store. Supported values:The default value isDATASOURCE_CREDENTIALS.SKIP_VALIDATION: Bypass validation of connection to remote source. Supported values:The default value isFALSE.
Map.Parameters:options- The new value foroptions.Returns:thisto mimic the builder pattern.