Class HiveMetastoreServiceGrpc.HiveMetastoreServiceStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<HiveMetastoreServiceGrpc.HiveMetastoreServiceStub>
com.google.cloud.biglake.hive.v1beta.HiveMetastoreServiceGrpc.HiveMetastoreServiceStub
Enclosing class:
HiveMetastoreServiceGrpc

public static final class HiveMetastoreServiceGrpc.HiveMetastoreServiceStub extends io.grpc.stub.AbstractAsyncStub<HiveMetastoreServiceGrpc.HiveMetastoreServiceStub>
A stub to allow clients to do asynchronous rpc calls to service HiveMetastoreService.
 Hive Metastore Service is a biglake service that allows users to manage
 their external Hive catalogs. Full API compatibility with OSS Hive Metastore
 APIs is not supported. The methods match the Hive Metastore API spec mostly
 except for a few exceptions.
 These include listing resources with pattern,
 environment context which are combined in a single List API, return of
 ListResponse object instead of a list of resources, transactions, locks, etc.
 The BigLake Hive Metastore API defines the following resources:
 * A collection of Google Cloud projects: `/projects/*`
 * Each project 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 HiveMetastoreServiceGrpc.HiveMetastoreServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<HiveMetastoreServiceGrpc.HiveMetastoreServiceStub>
    • createHiveCatalog

      public void createHiveCatalog(CreateHiveCatalogRequest request, io.grpc.stub.StreamObserver<HiveCatalog> responseObserver)
       Creates a new hive catalog.
       
    • getHiveCatalog

      public void getHiveCatalog(GetHiveCatalogRequest request, io.grpc.stub.StreamObserver<HiveCatalog> responseObserver)
       Gets the catalog specified by the resource name.
       
    • listHiveCatalogs

      public void listHiveCatalogs(ListHiveCatalogsRequest request, io.grpc.stub.StreamObserver<ListHiveCatalogsResponse> responseObserver)
       List all catalogs in a specified project.
       
    • updateHiveCatalog

      public void updateHiveCatalog(UpdateHiveCatalogRequest request, io.grpc.stub.StreamObserver<HiveCatalog> responseObserver)
       Updates an existing catalog.
       
    • deleteHiveCatalog

      public void deleteHiveCatalog(DeleteHiveCatalogRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
       Deletes an existing catalog specified by the catalog ID. Delete will fail
       if the catalog is not empty.
       
    • createHiveDatabase

      public void createHiveDatabase(CreateHiveDatabaseRequest request, io.grpc.stub.StreamObserver<HiveDatabase> responseObserver)
       Creates a new database.
       
    • getHiveDatabase

      public void getHiveDatabase(GetHiveDatabaseRequest request, io.grpc.stub.StreamObserver<HiveDatabase> responseObserver)
       Gets the database specified by the resource name.
       
    • listHiveDatabases

      public void listHiveDatabases(ListHiveDatabasesRequest request, io.grpc.stub.StreamObserver<ListHiveDatabasesResponse> responseObserver)
       List all databases in a specified catalog.
       
    • updateHiveDatabase

      public void updateHiveDatabase(UpdateHiveDatabaseRequest request, io.grpc.stub.StreamObserver<HiveDatabase> responseObserver)
       Updates an existing database specified by the database name.
       
    • deleteHiveDatabase

      public void deleteHiveDatabase(DeleteHiveDatabaseRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
       Deletes an existing database specified by the database name.
       
    • createHiveTable

      public void createHiveTable(CreateHiveTableRequest request, io.grpc.stub.StreamObserver<HiveTable> responseObserver)
       Creates a new hive table.
       
    • getHiveTable

      public void getHiveTable(GetHiveTableRequest request, io.grpc.stub.StreamObserver<HiveTable> responseObserver)
       Gets the table specified by the resource name.
       
    • listHiveTables

      public void listHiveTables(ListHiveTablesRequest request, io.grpc.stub.StreamObserver<ListHiveTablesResponse> responseObserver)
       List all hive tables in a specified project under the hive catalog and
       database.
       
    • updateHiveTable

      public void updateHiveTable(UpdateHiveTableRequest request, io.grpc.stub.StreamObserver<HiveTable> responseObserver)
       Updates an existing table specified by the table name.
       
    • deleteHiveTable

      public void deleteHiveTable(DeleteHiveTableRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
       Deletes an existing table specified by the table name.
       
    • batchCreatePartitions

      public void batchCreatePartitions(BatchCreatePartitionsRequest request, io.grpc.stub.StreamObserver<BatchCreatePartitionsResponse> responseObserver)
       Adds partitions to a table.
       
    • batchDeletePartitions

      public void batchDeletePartitions(BatchDeletePartitionsRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
       Deletes partitions from a table.
       
    • batchUpdatePartitions

      public void batchUpdatePartitions(BatchUpdatePartitionsRequest request, io.grpc.stub.StreamObserver<BatchUpdatePartitionsResponse> responseObserver)
       Updates partitions in a table.
       
    • listPartitions

      public void listPartitions(ListPartitionsRequest request, io.grpc.stub.StreamObserver<ListPartitionsResponse> responseObserver)
       Streams list of partitions from a table.