Class GrpcMetastoreServiceStub
java.lang.Object
com.google.cloud.bigquery.biglake.v1alpha1.stub.MetastoreServiceStub
com.google.cloud.bigquery.biglake.v1alpha1.stub.GrpcMetastoreServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@Generated("by gapic-generator-java")
public class GrpcMetastoreServiceStub
extends MetastoreServiceStub
gRPC stub implementation for the MetastoreService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcMetastoreServiceStub(MetastoreServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcMetastoreServiceStub, using the given settings.protectedGrpcMetastoreServiceStub(MetastoreServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcMetastoreServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcMetastoreServiceStubcreate(ClientContext clientContext) static final GrpcMetastoreServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcMetastoreServiceStubcreate(MetastoreServiceStubSettings settings) UnaryCallable<DeleteLockRequest,com.google.protobuf.Empty> booleanbooleanvoidshutdown()void
-
Constructor Details
-
GrpcMetastoreServiceStub
protected GrpcMetastoreServiceStub(MetastoreServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcMetastoreServiceStub, 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
-
GrpcMetastoreServiceStub
protected GrpcMetastoreServiceStub(MetastoreServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcMetastoreServiceStub, 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 GrpcMetastoreServiceStub create(MetastoreServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final GrpcMetastoreServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
-
createCatalogCallable
- Overrides:
createCatalogCallablein classMetastoreServiceStub
-
deleteCatalogCallable
- Overrides:
deleteCatalogCallablein classMetastoreServiceStub
-
getCatalogCallable
- Overrides:
getCatalogCallablein classMetastoreServiceStub
-
listCatalogsCallable
- Overrides:
listCatalogsCallablein classMetastoreServiceStub
-
listCatalogsPagedCallable
public UnaryCallable<ListCatalogsRequest,MetastoreServiceClient.ListCatalogsPagedResponse> listCatalogsPagedCallable()- Overrides:
listCatalogsPagedCallablein classMetastoreServiceStub
-
createDatabaseCallable
- Overrides:
createDatabaseCallablein classMetastoreServiceStub
-
deleteDatabaseCallable
- Overrides:
deleteDatabaseCallablein classMetastoreServiceStub
-
updateDatabaseCallable
- Overrides:
updateDatabaseCallablein classMetastoreServiceStub
-
getDatabaseCallable
- Overrides:
getDatabaseCallablein classMetastoreServiceStub
-
listDatabasesCallable
- Overrides:
listDatabasesCallablein classMetastoreServiceStub
-
listDatabasesPagedCallable
public UnaryCallable<ListDatabasesRequest,MetastoreServiceClient.ListDatabasesPagedResponse> listDatabasesPagedCallable()- Overrides:
listDatabasesPagedCallablein classMetastoreServiceStub
-
createTableCallable
- Overrides:
createTableCallablein classMetastoreServiceStub
-
deleteTableCallable
- Overrides:
deleteTableCallablein classMetastoreServiceStub
-
updateTableCallable
- Overrides:
updateTableCallablein classMetastoreServiceStub
-
renameTableCallable
- Overrides:
renameTableCallablein classMetastoreServiceStub
-
getTableCallable
- Overrides:
getTableCallablein classMetastoreServiceStub
-
listTablesCallable
- Overrides:
listTablesCallablein classMetastoreServiceStub
-
listTablesPagedCallable
public UnaryCallable<ListTablesRequest,MetastoreServiceClient.ListTablesPagedResponse> listTablesPagedCallable()- Overrides:
listTablesPagedCallablein classMetastoreServiceStub
-
createLockCallable
- Overrides:
createLockCallablein classMetastoreServiceStub
-
deleteLockCallable
- Overrides:
deleteLockCallablein classMetastoreServiceStub
-
checkLockCallable
- Overrides:
checkLockCallablein classMetastoreServiceStub
-
listLocksCallable
- Overrides:
listLocksCallablein classMetastoreServiceStub
-
listLocksPagedCallable
public UnaryCallable<ListLocksRequest,MetastoreServiceClient.ListLocksPagedResponse> listLocksPagedCallable()- Overrides:
listLocksPagedCallablein classMetastoreServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classMetastoreServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-