Class 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 Detail

      • 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.
         
      • 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.
         
      • 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.