@Generated public class SystemSchemasAPI extends Object
Constructor and Description |
---|
SystemSchemasAPI(ApiClient apiClient)
Regular-use constructor
|
SystemSchemasAPI(SystemSchemasService mock)
Constructor for mocks
|
Modifier and Type | Method and Description |
---|---|
void |
disable(DisableRequest request)
Disable a system schema.
|
void |
disable(String metastoreId,
DisableSchemaName schemaName) |
void |
enable(EnableRequest request)
Enable a system schema.
|
void |
enable(String metastoreId,
EnableSchemaName schemaName) |
SystemSchemasService |
impl() |
Iterable<SystemSchemaInfo> |
list(ListSystemSchemasRequest request)
List system schemas.
|
Iterable<SystemSchemaInfo> |
list(String metastoreId) |
public SystemSchemasAPI(ApiClient apiClient)
public SystemSchemasAPI(SystemSchemasService mock)
public void disable(String metastoreId, DisableSchemaName schemaName)
public void disable(DisableRequest request)
Disables the system schema and removes it from the system catalog. The caller must be an account admin or a metastore admin.
public void enable(String metastoreId, EnableSchemaName schemaName)
public void enable(EnableRequest request)
Enables the system schema and adds it to the system catalog. The caller must be an account admin or a metastore admin.
public Iterable<SystemSchemaInfo> list(String metastoreId)
public Iterable<SystemSchemaInfo> list(ListSystemSchemasRequest request)
Gets an array of system schemas for a metastore. The caller must be an account admin or a metastore admin.
public SystemSchemasService impl()
Copyright © 2023. All rights reserved.