@Generated public class SchemasAPI extends Object
| Constructor and Description |
|---|
SchemasAPI(ApiClient apiClient)
Regular-use constructor
|
SchemasAPI(SchemasService mock)
Constructor for mocks
|
| Modifier and Type | Method and Description |
|---|---|
SchemaInfo |
create(CreateSchema request)
Creates a new schema for catalog in the Metastore.
|
void |
delete(DeleteSchemaRequest request)
Deletes the specified schema from the parent catalog.
|
void |
delete(String fullName) |
SchemaInfo |
get(GetSchemaRequest request)
Gets the specified schema within the metastore.
|
SchemaInfo |
get(String fullName) |
SchemasService |
impl() |
Iterable<SchemaInfo> |
list(ListSchemasRequest request)
Gets an array of schemas for a catalog in the metastore.
|
Iterable<SchemaInfo> |
list(String catalogName) |
SchemaInfo |
update(UpdateSchema request)
Updates a schema for a catalog.
|
public SchemasAPI(ApiClient apiClient)
public SchemasAPI(SchemasService mock)
public SchemaInfo create(CreateSchema request)
public void delete(String fullName)
public void delete(DeleteSchemaRequest request)
public SchemaInfo get(String fullName)
public SchemaInfo get(GetSchemaRequest request)
public Iterable<SchemaInfo> list(String catalogName)
public Iterable<SchemaInfo> list(ListSchemasRequest request)
NOTE: we recommend using max_results=0 to use the paginated version of this API. Unpaginated calls will be deprecated soon.
PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero results while still providing a next_page_token. Clients must continue reading pages until next_page_token is absent, which is the only indication that the end of results has been reached.
public SchemaInfo update(UpdateSchema request)
public SchemasService impl()
Copyright © 2026. All rights reserved.