Class GrpcHiveMetastoreServiceStub
java.lang.Object
com.google.cloud.biglake.hive.v1beta.stub.HiveMetastoreServiceStub
com.google.cloud.biglake.hive.v1beta.stub.GrpcHiveMetastoreServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@Generated("by gapic-generator-java")
public class GrpcHiveMetastoreServiceStub
extends HiveMetastoreServiceStub
gRPC stub implementation for the HiveMetastoreService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcHiveMetastoreServiceStub(HiveMetastoreServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcHiveMetastoreServiceStub, using the given settings.protectedGrpcHiveMetastoreServiceStub(HiveMetastoreServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcHiveMetastoreServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) UnaryCallable<BatchDeletePartitionsRequest,com.google.protobuf.Empty> final voidclose()static final GrpcHiveMetastoreServiceStubcreate(ClientContext clientContext) static final GrpcHiveMetastoreServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcHiveMetastoreServiceStubcreate(HiveMetastoreServiceStubSettings settings) UnaryCallable<DeleteHiveCatalogRequest,com.google.protobuf.Empty> UnaryCallable<DeleteHiveDatabaseRequest,com.google.protobuf.Empty> UnaryCallable<DeleteHiveTableRequest,com.google.protobuf.Empty> booleanbooleanvoidshutdown()void
-
Constructor Details
-
GrpcHiveMetastoreServiceStub
protected GrpcHiveMetastoreServiceStub(HiveMetastoreServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcHiveMetastoreServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
GrpcHiveMetastoreServiceStub
protected GrpcHiveMetastoreServiceStub(HiveMetastoreServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcHiveMetastoreServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
-
Method Details
-
create
public static final GrpcHiveMetastoreServiceStub create(HiveMetastoreServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final GrpcHiveMetastoreServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final GrpcHiveMetastoreServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
-
createHiveCatalogCallable
- Overrides:
createHiveCatalogCallablein classHiveMetastoreServiceStub
-
getHiveCatalogCallable
- Overrides:
getHiveCatalogCallablein classHiveMetastoreServiceStub
-
listHiveCatalogsCallable
- Overrides:
listHiveCatalogsCallablein classHiveMetastoreServiceStub
-
listHiveCatalogsPagedCallable
public UnaryCallable<ListHiveCatalogsRequest,HiveMetastoreServiceClient.ListHiveCatalogsPagedResponse> listHiveCatalogsPagedCallable()- Overrides:
listHiveCatalogsPagedCallablein classHiveMetastoreServiceStub
-
updateHiveCatalogCallable
- Overrides:
updateHiveCatalogCallablein classHiveMetastoreServiceStub
-
deleteHiveCatalogCallable
public UnaryCallable<DeleteHiveCatalogRequest,com.google.protobuf.Empty> deleteHiveCatalogCallable()- Overrides:
deleteHiveCatalogCallablein classHiveMetastoreServiceStub
-
createHiveDatabaseCallable
- Overrides:
createHiveDatabaseCallablein classHiveMetastoreServiceStub
-
getHiveDatabaseCallable
- Overrides:
getHiveDatabaseCallablein classHiveMetastoreServiceStub
-
listHiveDatabasesCallable
public UnaryCallable<ListHiveDatabasesRequest,ListHiveDatabasesResponse> listHiveDatabasesCallable()- Overrides:
listHiveDatabasesCallablein classHiveMetastoreServiceStub
-
listHiveDatabasesPagedCallable
public UnaryCallable<ListHiveDatabasesRequest,HiveMetastoreServiceClient.ListHiveDatabasesPagedResponse> listHiveDatabasesPagedCallable()- Overrides:
listHiveDatabasesPagedCallablein classHiveMetastoreServiceStub
-
updateHiveDatabaseCallable
- Overrides:
updateHiveDatabaseCallablein classHiveMetastoreServiceStub
-
deleteHiveDatabaseCallable
public UnaryCallable<DeleteHiveDatabaseRequest,com.google.protobuf.Empty> deleteHiveDatabaseCallable()- Overrides:
deleteHiveDatabaseCallablein classHiveMetastoreServiceStub
-
createHiveTableCallable
- Overrides:
createHiveTableCallablein classHiveMetastoreServiceStub
-
getHiveTableCallable
- Overrides:
getHiveTableCallablein classHiveMetastoreServiceStub
-
listHiveTablesCallable
- Overrides:
listHiveTablesCallablein classHiveMetastoreServiceStub
-
listHiveTablesPagedCallable
public UnaryCallable<ListHiveTablesRequest,HiveMetastoreServiceClient.ListHiveTablesPagedResponse> listHiveTablesPagedCallable()- Overrides:
listHiveTablesPagedCallablein classHiveMetastoreServiceStub
-
updateHiveTableCallable
- Overrides:
updateHiveTableCallablein classHiveMetastoreServiceStub
-
deleteHiveTableCallable
- Overrides:
deleteHiveTableCallablein classHiveMetastoreServiceStub
-
batchCreatePartitionsCallable
public UnaryCallable<BatchCreatePartitionsRequest,BatchCreatePartitionsResponse> batchCreatePartitionsCallable()- Overrides:
batchCreatePartitionsCallablein classHiveMetastoreServiceStub
-
batchDeletePartitionsCallable
public UnaryCallable<BatchDeletePartitionsRequest,com.google.protobuf.Empty> batchDeletePartitionsCallable()- Overrides:
batchDeletePartitionsCallablein classHiveMetastoreServiceStub
-
batchUpdatePartitionsCallable
public UnaryCallable<BatchUpdatePartitionsRequest,BatchUpdatePartitionsResponse> batchUpdatePartitionsCallable()- Overrides:
batchUpdatePartitionsCallablein classHiveMetastoreServiceStub
-
listPartitionsCallable
public ServerStreamingCallable<ListPartitionsRequest,ListPartitionsResponse> listPartitionsCallable()- Overrides:
listPartitionsCallablein classHiveMetastoreServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classHiveMetastoreServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-