Class MetastoreServiceGrpc.MetastoreServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<MetastoreServiceGrpc.MetastoreServiceStub>
com.google.cloud.bigquery.biglake.v1.MetastoreServiceGrpc.MetastoreServiceStub
- Enclosing class:
- MetastoreServiceGrpc
public static final class MetastoreServiceGrpc.MetastoreServiceStub
extends io.grpc.stub.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/*`
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcreateCatalog(CreateCatalogRequest request, io.grpc.stub.StreamObserver<Catalog> responseObserver) Creates a new catalog.voidcreateDatabase(CreateDatabaseRequest request, io.grpc.stub.StreamObserver<Database> responseObserver) Creates a new database.voidcreateTable(CreateTableRequest request, io.grpc.stub.StreamObserver<Table> responseObserver) Creates a new table.voiddeleteCatalog(DeleteCatalogRequest request, io.grpc.stub.StreamObserver<Catalog> responseObserver) Deletes an existing catalog specified by the catalog ID.voiddeleteDatabase(DeleteDatabaseRequest request, io.grpc.stub.StreamObserver<Database> responseObserver) Deletes an existing database specified by the database ID.voiddeleteTable(DeleteTableRequest request, io.grpc.stub.StreamObserver<Table> responseObserver) Deletes an existing table specified by the table ID.voidgetCatalog(GetCatalogRequest request, io.grpc.stub.StreamObserver<Catalog> responseObserver) Gets the catalog specified by the resource name.voidgetDatabase(GetDatabaseRequest request, io.grpc.stub.StreamObserver<Database> responseObserver) Gets the database specified by the resource name.voidgetTable(GetTableRequest request, io.grpc.stub.StreamObserver<Table> responseObserver) Gets the table specified by the resource name.voidlistCatalogs(ListCatalogsRequest request, io.grpc.stub.StreamObserver<ListCatalogsResponse> responseObserver) List all catalogs in a specified project.voidlistDatabases(ListDatabasesRequest request, io.grpc.stub.StreamObserver<ListDatabasesResponse> responseObserver) List all databases in a specified catalog.voidlistTables(ListTablesRequest request, io.grpc.stub.StreamObserver<ListTablesResponse> responseObserver) List all tables in a specified database.voidrenameTable(RenameTableRequest request, io.grpc.stub.StreamObserver<Table> responseObserver) Renames an existing table specified by the table ID.voidupdateDatabase(UpdateDatabaseRequest request, io.grpc.stub.StreamObserver<Database> responseObserver) Updates an existing database specified by the database ID.voidupdateTable(UpdateTableRequest request, io.grpc.stub.StreamObserver<Table> responseObserver) Updates an existing table specified by the table ID.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected MetastoreServiceGrpc.MetastoreServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<MetastoreServiceGrpc.MetastoreServiceStub>
-
createCatalog
public void createCatalog(CreateCatalogRequest request, io.grpc.stub.StreamObserver<Catalog> responseObserver) Creates a new catalog.
-
deleteCatalog
public void deleteCatalog(DeleteCatalogRequest request, io.grpc.stub.StreamObserver<Catalog> responseObserver) Deletes an existing catalog specified by the catalog ID.
-
getCatalog
public void getCatalog(GetCatalogRequest request, io.grpc.stub.StreamObserver<Catalog> responseObserver) Gets the catalog specified by the resource name.
-
listCatalogs
public void listCatalogs(ListCatalogsRequest request, io.grpc.stub.StreamObserver<ListCatalogsResponse> responseObserver) List all catalogs in a specified project.
-
createDatabase
public void createDatabase(CreateDatabaseRequest request, io.grpc.stub.StreamObserver<Database> responseObserver) Creates a new database.
-
deleteDatabase
public void deleteDatabase(DeleteDatabaseRequest request, io.grpc.stub.StreamObserver<Database> responseObserver) Deletes an existing database specified by the database ID.
-
updateDatabase
public void updateDatabase(UpdateDatabaseRequest request, io.grpc.stub.StreamObserver<Database> responseObserver) Updates an existing database specified by the database ID.
-
getDatabase
public void getDatabase(GetDatabaseRequest request, io.grpc.stub.StreamObserver<Database> responseObserver) Gets the database specified by the resource name.
-
listDatabases
public void listDatabases(ListDatabasesRequest request, io.grpc.stub.StreamObserver<ListDatabasesResponse> responseObserver) List all databases in a specified catalog.
-
createTable
public void createTable(CreateTableRequest request, io.grpc.stub.StreamObserver<Table> responseObserver) Creates a new table.
-
deleteTable
public void deleteTable(DeleteTableRequest request, io.grpc.stub.StreamObserver<Table> responseObserver) Deletes an existing table specified by the table ID.
-
updateTable
public void updateTable(UpdateTableRequest request, io.grpc.stub.StreamObserver<Table> responseObserver) Updates an existing table specified by the table ID.
-
renameTable
public void renameTable(RenameTableRequest request, io.grpc.stub.StreamObserver<Table> responseObserver) Renames an existing table specified by the table ID.
-
getTable
Gets the table specified by the resource name.
-
listTables
public void listTables(ListTablesRequest request, io.grpc.stub.StreamObserver<ListTablesResponse> responseObserver) List all tables in a specified database.
-