Class HiveMetastoreServiceGrpc.HiveMetastoreServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<HiveMetastoreServiceGrpc.HiveMetastoreServiceBlockingStub>
com.google.cloud.biglake.hive.v1beta.HiveMetastoreServiceGrpc.HiveMetastoreServiceBlockingStub
- Enclosing class:
- HiveMetastoreServiceGrpc
public static final class HiveMetastoreServiceGrpc.HiveMetastoreServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<HiveMetastoreServiceGrpc.HiveMetastoreServiceBlockingStub>
A stub to allow clients to do limited synchronous 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 TypeMethodDescriptionAdds partitions to a table.com.google.protobuf.EmptyDeletes partitions from a table.Updates partitions in a table.build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) Creates a new hive catalog.Creates a new database.createHiveTable(CreateHiveTableRequest request) Creates a new hive table.com.google.protobuf.EmptyDeletes an existing catalog specified by the catalog ID.com.google.protobuf.EmptyDeletes an existing database specified by the database name.com.google.protobuf.EmptydeleteHiveTable(DeleteHiveTableRequest request) Deletes an existing table specified by the table name.getHiveCatalog(GetHiveCatalogRequest request) Gets the catalog specified by the resource name.getHiveDatabase(GetHiveDatabaseRequest request) Gets the database specified by the resource name.getHiveTable(GetHiveTableRequest request) Gets the table specified by the resource name.listHiveCatalogs(ListHiveCatalogsRequest request) List all catalogs in a specified project.List all databases in a specified catalog.listHiveTables(ListHiveTablesRequest request) List all hive tables in a specified project under the hive catalog and database.listPartitions(ListPartitionsRequest request) Streams list of partitions from a table.Updates an existing catalog.Updates an existing database specified by the database name.updateHiveTable(UpdateHiveTableRequest request) Updates an existing table specified by the table name.Methods inherited from class io.grpc.stub.AbstractBlockingStub
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.HiveMetastoreServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<HiveMetastoreServiceGrpc.HiveMetastoreServiceBlockingStub>
-
createHiveCatalog
Creates a new hive catalog.
-
getHiveCatalog
Gets the catalog specified by the resource name.
-
listHiveCatalogs
List all catalogs in a specified project.
-
updateHiveCatalog
Updates an existing catalog.
-
deleteHiveCatalog
Deletes an existing catalog specified by the catalog ID. Delete will fail if the catalog is not empty.
-
createHiveDatabase
Creates a new database.
-
getHiveDatabase
Gets the database specified by the resource name.
-
listHiveDatabases
List all databases in a specified catalog.
-
updateHiveDatabase
Updates an existing database specified by the database name.
-
deleteHiveDatabase
Deletes an existing database specified by the database name.
-
createHiveTable
Creates a new hive table.
-
getHiveTable
Gets the table specified by the resource name.
-
listHiveTables
List all hive tables in a specified project under the hive catalog and database.
-
updateHiveTable
Updates an existing table specified by the table name.
-
deleteHiveTable
Deletes an existing table specified by the table name.
-
batchCreatePartitions
Adds partitions to a table.
-
batchDeletePartitions
Deletes partitions from a table.
-
batchUpdatePartitions
Updates partitions in a table.
-
listPartitions
Streams list of partitions from a table.
-