Class HiveMetastoreServiceGrpc.HiveMetastoreServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<HiveMetastoreServiceGrpc.HiveMetastoreServiceFutureStub>
com.google.cloud.biglake.hive.v1beta.HiveMetastoreServiceGrpc.HiveMetastoreServiceFutureStub
- Enclosing class:
- HiveMetastoreServiceGrpc
public static final class HiveMetastoreServiceGrpc.HiveMetastoreServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<HiveMetastoreServiceGrpc.HiveMetastoreServiceFutureStub>
A stub to allow clients to do ListenableFuture-style 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 TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<BatchCreatePartitionsResponse>Adds partitions to a table.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>Deletes partitions from a table.com.google.common.util.concurrent.ListenableFuture<BatchUpdatePartitionsResponse>Updates partitions in a table.build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<HiveCatalog>Creates a new hive catalog.com.google.common.util.concurrent.ListenableFuture<HiveDatabase>Creates a new database.com.google.common.util.concurrent.ListenableFuture<HiveTable>createHiveTable(CreateHiveTableRequest request) Creates a new hive table.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>Deletes an existing catalog specified by the catalog ID.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>Deletes an existing database specified by the database name.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>deleteHiveTable(DeleteHiveTableRequest request) Deletes an existing table specified by the table name.com.google.common.util.concurrent.ListenableFuture<HiveCatalog>getHiveCatalog(GetHiveCatalogRequest request) Gets the catalog specified by the resource name.com.google.common.util.concurrent.ListenableFuture<HiveDatabase>getHiveDatabase(GetHiveDatabaseRequest request) Gets the database specified by the resource name.com.google.common.util.concurrent.ListenableFuture<HiveTable>getHiveTable(GetHiveTableRequest request) Gets the table specified by the resource name.com.google.common.util.concurrent.ListenableFuture<ListHiveCatalogsResponse>listHiveCatalogs(ListHiveCatalogsRequest request) List all catalogs in a specified project.com.google.common.util.concurrent.ListenableFuture<ListHiveDatabasesResponse>List all databases in a specified catalog.com.google.common.util.concurrent.ListenableFuture<ListHiveTablesResponse>listHiveTables(ListHiveTablesRequest request) List all hive tables in a specified project under the hive catalog and database.com.google.common.util.concurrent.ListenableFuture<HiveCatalog>Updates an existing catalog.com.google.common.util.concurrent.ListenableFuture<HiveDatabase>Updates an existing database specified by the database name.com.google.common.util.concurrent.ListenableFuture<HiveTable>updateHiveTable(UpdateHiveTableRequest request) Updates an existing table specified by the table name.Methods inherited from class io.grpc.stub.AbstractFutureStub
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.HiveMetastoreServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<HiveMetastoreServiceGrpc.HiveMetastoreServiceFutureStub>
-
createHiveCatalog
public com.google.common.util.concurrent.ListenableFuture<HiveCatalog> createHiveCatalog(CreateHiveCatalogRequest request) Creates a new hive catalog.
-
getHiveCatalog
public com.google.common.util.concurrent.ListenableFuture<HiveCatalog> getHiveCatalog(GetHiveCatalogRequest request) Gets the catalog specified by the resource name.
-
listHiveCatalogs
public com.google.common.util.concurrent.ListenableFuture<ListHiveCatalogsResponse> listHiveCatalogs(ListHiveCatalogsRequest request) List all catalogs in a specified project.
-
updateHiveCatalog
public com.google.common.util.concurrent.ListenableFuture<HiveCatalog> updateHiveCatalog(UpdateHiveCatalogRequest request) Updates an existing catalog.
-
deleteHiveCatalog
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteHiveCatalog(DeleteHiveCatalogRequest request) Deletes an existing catalog specified by the catalog ID. Delete will fail if the catalog is not empty.
-
createHiveDatabase
public com.google.common.util.concurrent.ListenableFuture<HiveDatabase> createHiveDatabase(CreateHiveDatabaseRequest request) Creates a new database.
-
getHiveDatabase
public com.google.common.util.concurrent.ListenableFuture<HiveDatabase> getHiveDatabase(GetHiveDatabaseRequest request) Gets the database specified by the resource name.
-
listHiveDatabases
public com.google.common.util.concurrent.ListenableFuture<ListHiveDatabasesResponse> listHiveDatabases(ListHiveDatabasesRequest request) List all databases in a specified catalog.
-
updateHiveDatabase
public com.google.common.util.concurrent.ListenableFuture<HiveDatabase> updateHiveDatabase(UpdateHiveDatabaseRequest request) Updates an existing database specified by the database name.
-
deleteHiveDatabase
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteHiveDatabase(DeleteHiveDatabaseRequest request) Deletes an existing database specified by the database name.
-
createHiveTable
public com.google.common.util.concurrent.ListenableFuture<HiveTable> createHiveTable(CreateHiveTableRequest request) Creates a new hive table.
-
getHiveTable
public com.google.common.util.concurrent.ListenableFuture<HiveTable> getHiveTable(GetHiveTableRequest request) Gets the table specified by the resource name.
-
listHiveTables
public com.google.common.util.concurrent.ListenableFuture<ListHiveTablesResponse> listHiveTables(ListHiveTablesRequest request) List all hive tables in a specified project under the hive catalog and database.
-
updateHiveTable
public com.google.common.util.concurrent.ListenableFuture<HiveTable> updateHiveTable(UpdateHiveTableRequest request) Updates an existing table specified by the table name.
-
deleteHiveTable
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteHiveTable(DeleteHiveTableRequest request) Deletes an existing table specified by the table name.
-
batchCreatePartitions
public com.google.common.util.concurrent.ListenableFuture<BatchCreatePartitionsResponse> batchCreatePartitions(BatchCreatePartitionsRequest request) Adds partitions to a table.
-
batchDeletePartitions
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> batchDeletePartitions(BatchDeletePartitionsRequest request) Deletes partitions from a table.
-
batchUpdatePartitions
public com.google.common.util.concurrent.ListenableFuture<BatchUpdatePartitionsResponse> batchUpdatePartitions(BatchUpdatePartitionsRequest request) Updates partitions in a table.
-