public static final class MetastoreServiceGrpc.MetastoreServiceStub extends AbstractAsyncStub<MetastoreServiceGrpc.MetastoreServiceStub>
A stub to allow clients to do asynchronous rpc calls to service MetastoreService.
BigLake Metastore is a serverless, highly available, multi-tenant runtime metastore for Google Cloud Data Analytics products. The BigLake Metastore API defines the following resource model:
- A collection of Google Cloud projects:
/projects/*
- Each project has a collection of available locations:
/locations/*
- Each location has a collection of catalogs:
/catalogs/*
- Each catalog has a collection of databases:
/databases/*
- Each database has a collection of tables:
/tables/*
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > MetastoreServiceGrpc.MetastoreServiceStubMethods
build(Channel channel, CallOptions callOptions)
protected MetastoreServiceGrpc.MetastoreServiceStub build(Channel channel, CallOptions callOptions)
Parameters | |
---|---|
Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
Returns | |
---|---|
Type | Description |
MetastoreServiceGrpc.MetastoreServiceStub |
createCatalog(CreateCatalogRequest request, StreamObserver<Catalog> responseObserver)
public void createCatalog(CreateCatalogRequest request, StreamObserver<Catalog> responseObserver)
Creates a new catalog.
Parameters | |
---|---|
Name | Description |
request |
CreateCatalogRequest |
responseObserver |
io.grpc.stub.StreamObserver<Catalog> |
createDatabase(CreateDatabaseRequest request, StreamObserver<Database> responseObserver)
public void createDatabase(CreateDatabaseRequest request, StreamObserver<Database> responseObserver)
Creates a new database.
Parameters | |
---|---|
Name | Description |
request |
CreateDatabaseRequest |
responseObserver |
io.grpc.stub.StreamObserver<Database> |
createTable(CreateTableRequest request, StreamObserver<Table> responseObserver)
public void createTable(CreateTableRequest request, StreamObserver<Table> responseObserver)
Creates a new table.
Parameters | |
---|---|
Name | Description |
request |
CreateTableRequest |
responseObserver |
io.grpc.stub.StreamObserver<Table> |
deleteCatalog(DeleteCatalogRequest request, StreamObserver<Catalog> responseObserver)
public void deleteCatalog(DeleteCatalogRequest request, StreamObserver<Catalog> responseObserver)
Deletes an existing catalog specified by the catalog ID.
Parameters | |
---|---|
Name | Description |
request |
DeleteCatalogRequest |
responseObserver |
io.grpc.stub.StreamObserver<Catalog> |
deleteDatabase(DeleteDatabaseRequest request, StreamObserver<Database> responseObserver)
public void deleteDatabase(DeleteDatabaseRequest request, StreamObserver<Database> responseObserver)
Deletes an existing database specified by the database ID.
Parameters | |
---|---|
Name | Description |
request |
DeleteDatabaseRequest |
responseObserver |
io.grpc.stub.StreamObserver<Database> |
deleteTable(DeleteTableRequest request, StreamObserver<Table> responseObserver)
public void deleteTable(DeleteTableRequest request, StreamObserver<Table> responseObserver)
Deletes an existing table specified by the table ID.
Parameters | |
---|---|
Name | Description |
request |
DeleteTableRequest |
responseObserver |
io.grpc.stub.StreamObserver<Table> |
getCatalog(GetCatalogRequest request, StreamObserver<Catalog> responseObserver)
public void getCatalog(GetCatalogRequest request, StreamObserver<Catalog> responseObserver)
Gets the catalog specified by the resource name.
Parameters | |
---|---|
Name | Description |
request |
GetCatalogRequest |
responseObserver |
io.grpc.stub.StreamObserver<Catalog> |
getDatabase(GetDatabaseRequest request, StreamObserver<Database> responseObserver)
public void getDatabase(GetDatabaseRequest request, StreamObserver<Database> responseObserver)
Gets the database specified by the resource name.
Parameters | |
---|---|
Name | Description |
request |
GetDatabaseRequest |
responseObserver |
io.grpc.stub.StreamObserver<Database> |
getTable(GetTableRequest request, StreamObserver<Table> responseObserver)
public void getTable(GetTableRequest request, StreamObserver<Table> responseObserver)
Gets the table specified by the resource name.
Parameters | |
---|---|
Name | Description |
request |
GetTableRequest |
responseObserver |
io.grpc.stub.StreamObserver<Table> |
listCatalogs(ListCatalogsRequest request, StreamObserver<ListCatalogsResponse> responseObserver)
public void listCatalogs(ListCatalogsRequest request, StreamObserver<ListCatalogsResponse> responseObserver)
List all catalogs in a specified project.
Parameters | |
---|---|
Name | Description |
request |
ListCatalogsRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListCatalogsResponse> |
listDatabases(ListDatabasesRequest request, StreamObserver<ListDatabasesResponse> responseObserver)
public void listDatabases(ListDatabasesRequest request, StreamObserver<ListDatabasesResponse> responseObserver)
List all databases in a specified catalog.
Parameters | |
---|---|
Name | Description |
request |
ListDatabasesRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListDatabasesResponse> |
listTables(ListTablesRequest request, StreamObserver<ListTablesResponse> responseObserver)
public void listTables(ListTablesRequest request, StreamObserver<ListTablesResponse> responseObserver)
List all tables in a specified database.
Parameters | |
---|---|
Name | Description |
request |
ListTablesRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListTablesResponse> |
renameTable(RenameTableRequest request, StreamObserver<Table> responseObserver)
public void renameTable(RenameTableRequest request, StreamObserver<Table> responseObserver)
Renames an existing table specified by the table ID.
Parameters | |
---|---|
Name | Description |
request |
RenameTableRequest |
responseObserver |
io.grpc.stub.StreamObserver<Table> |
updateDatabase(UpdateDatabaseRequest request, StreamObserver<Database> responseObserver)
public void updateDatabase(UpdateDatabaseRequest request, StreamObserver<Database> responseObserver)
Updates an existing database specified by the database ID.
Parameters | |
---|---|
Name | Description |
request |
UpdateDatabaseRequest |
responseObserver |
io.grpc.stub.StreamObserver<Database> |
updateTable(UpdateTableRequest request, StreamObserver<Table> responseObserver)
public void updateTable(UpdateTableRequest request, StreamObserver<Table> responseObserver)
Updates an existing table specified by the table ID.
Parameters | |
---|---|
Name | Description |
request |
UpdateTableRequest |
responseObserver |
io.grpc.stub.StreamObserver<Table> |