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/*`
 
  • Method Details

    • build

      protected MetastoreServiceGrpc.MetastoreServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.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

      public void getTable(GetTableRequest request, io.grpc.stub.StreamObserver<Table> responseObserver)
       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.