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/*`
-
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 TypeMethodDescriptionvoidbatchCreatePartitions(BatchCreatePartitionsRequest request, io.grpc.stub.StreamObserver<BatchCreatePartitionsResponse> responseObserver) Adds partitions to a table.voidbatchDeletePartitions(BatchDeletePartitionsRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes partitions from a table.voidbatchUpdatePartitions(BatchUpdatePartitionsRequest request, io.grpc.stub.StreamObserver<BatchUpdatePartitionsResponse> responseObserver) Updates partitions in a table.build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcreateHiveCatalog(CreateHiveCatalogRequest request, io.grpc.stub.StreamObserver<HiveCatalog> responseObserver) Creates a new hive catalog.voidcreateHiveDatabase(CreateHiveDatabaseRequest request, io.grpc.stub.StreamObserver<HiveDatabase> responseObserver) Creates a new database.voidcreateHiveTable(CreateHiveTableRequest request, io.grpc.stub.StreamObserver<HiveTable> responseObserver) Creates a new hive table.voiddeleteHiveCatalog(DeleteHiveCatalogRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes an existing catalog specified by the catalog ID.voiddeleteHiveDatabase(DeleteHiveDatabaseRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes an existing database specified by the database name.voiddeleteHiveTable(DeleteHiveTableRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes an existing table specified by the table name.voidgetHiveCatalog(GetHiveCatalogRequest request, io.grpc.stub.StreamObserver<HiveCatalog> responseObserver) Gets the catalog specified by the resource name.voidgetHiveDatabase(GetHiveDatabaseRequest request, io.grpc.stub.StreamObserver<HiveDatabase> responseObserver) Gets the database specified by the resource name.voidgetHiveTable(GetHiveTableRequest request, io.grpc.stub.StreamObserver<HiveTable> responseObserver) Gets the table specified by the resource name.voidlistHiveCatalogs(ListHiveCatalogsRequest request, io.grpc.stub.StreamObserver<ListHiveCatalogsResponse> responseObserver) List all catalogs in a specified project.voidlistHiveDatabases(ListHiveDatabasesRequest request, io.grpc.stub.StreamObserver<ListHiveDatabasesResponse> responseObserver) List all databases in a specified catalog.voidlistHiveTables(ListHiveTablesRequest request, io.grpc.stub.StreamObserver<ListHiveTablesResponse> responseObserver) List all hive tables in a specified project under the hive catalog and database.voidlistPartitions(ListPartitionsRequest request, io.grpc.stub.StreamObserver<ListPartitionsResponse> responseObserver) Streams list of partitions from a table.voidupdateHiveCatalog(UpdateHiveCatalogRequest request, io.grpc.stub.StreamObserver<HiveCatalog> responseObserver) Updates an existing catalog.voidupdateHiveDatabase(UpdateHiveDatabaseRequest request, io.grpc.stub.StreamObserver<HiveDatabase> responseObserver) Updates an existing database specified by the database name.voidupdateHiveTable(UpdateHiveTableRequest request, io.grpc.stub.StreamObserver<HiveTable> responseObserver) Updates an existing table specified by the table name.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 HiveMetastoreServiceGrpc.HiveMetastoreServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.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.
-