@BetaApi @Generated(value="by gapic-generator-java") public class GrpcMetastoreServiceStub extends MetastoreServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcMetastoreServiceStub(MetastoreServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcMetastoreServiceStub, using the given settings.
|
protected |
GrpcMetastoreServiceStub(MetastoreServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcMetastoreServiceStub, using the given settings.
|
protected GrpcMetastoreServiceStub(MetastoreServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcMetastoreServiceStub(MetastoreServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcMetastoreServiceStub create(MetastoreServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcMetastoreServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcMetastoreServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
public com.google.api.gax.rpc.UnaryCallable<CreateCatalogRequest,Catalog> createCatalogCallable()
createCatalogCallable in class MetastoreServiceStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteCatalogRequest,Catalog> deleteCatalogCallable()
deleteCatalogCallable in class MetastoreServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GetCatalogRequest,Catalog> getCatalogCallable()
getCatalogCallable in class MetastoreServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListCatalogsRequest,ListCatalogsResponse> listCatalogsCallable()
listCatalogsCallable in class MetastoreServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListCatalogsRequest,MetastoreServiceClient.ListCatalogsPagedResponse> listCatalogsPagedCallable()
listCatalogsPagedCallable in class MetastoreServiceStubpublic com.google.api.gax.rpc.UnaryCallable<CreateDatabaseRequest,Database> createDatabaseCallable()
createDatabaseCallable in class MetastoreServiceStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteDatabaseRequest,Database> deleteDatabaseCallable()
deleteDatabaseCallable in class MetastoreServiceStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateDatabaseRequest,Database> updateDatabaseCallable()
updateDatabaseCallable in class MetastoreServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GetDatabaseRequest,Database> getDatabaseCallable()
getDatabaseCallable in class MetastoreServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListDatabasesRequest,ListDatabasesResponse> listDatabasesCallable()
listDatabasesCallable in class MetastoreServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListDatabasesRequest,MetastoreServiceClient.ListDatabasesPagedResponse> listDatabasesPagedCallable()
listDatabasesPagedCallable in class MetastoreServiceStubpublic com.google.api.gax.rpc.UnaryCallable<CreateTableRequest,Table> createTableCallable()
createTableCallable in class MetastoreServiceStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteTableRequest,Table> deleteTableCallable()
deleteTableCallable in class MetastoreServiceStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateTableRequest,Table> updateTableCallable()
updateTableCallable in class MetastoreServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GetTableRequest,Table> getTableCallable()
getTableCallable in class MetastoreServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListTablesRequest,ListTablesResponse> listTablesCallable()
listTablesCallable in class MetastoreServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListTablesRequest,MetastoreServiceClient.ListTablesPagedResponse> listTablesPagedCallable()
listTablesPagedCallable in class MetastoreServiceStubpublic com.google.api.gax.rpc.UnaryCallable<CreateLockRequest,Lock> createLockCallable()
createLockCallable in class MetastoreServiceStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteLockRequest,com.google.protobuf.Empty> deleteLockCallable()
deleteLockCallable in class MetastoreServiceStubpublic com.google.api.gax.rpc.UnaryCallable<CheckLockRequest,Lock> checkLockCallable()
checkLockCallable in class MetastoreServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListLocksRequest,ListLocksResponse> listLocksCallable()
listLocksCallable in class MetastoreServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListLocksRequest,MetastoreServiceClient.ListLocksPagedResponse> listLocksPagedCallable()
listLocksPagedCallable in class MetastoreServiceStubpublic final void close()
close in interface AutoCloseableclose in class MetastoreServiceStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2023 Google LLC. All rights reserved.