Class HttpJsonMetastoreServiceStub
java.lang.Object
com.google.cloud.bigquery.biglake.v1.stub.MetastoreServiceStub
com.google.cloud.bigquery.biglake.v1.stub.HttpJsonMetastoreServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class HttpJsonMetastoreServiceStub
extends MetastoreServiceStub
REST stub implementation for the MetastoreService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonMetastoreServiceStub(MetastoreServiceStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonMetastoreServiceStub, using the given settings.protectedHttpJsonMetastoreServiceStub(MetastoreServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonMetastoreServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonMetastoreServiceStubcreate(ClientContext clientContext) static final HttpJsonMetastoreServiceStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonMetastoreServiceStubcreate(MetastoreServiceStubSettings settings) static List<ApiMethodDescriptor>booleanbooleanvoidshutdown()void
-
Constructor Details
-
HttpJsonMetastoreServiceStub
protected HttpJsonMetastoreServiceStub(MetastoreServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of HttpJsonMetastoreServiceStub, 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
-
HttpJsonMetastoreServiceStub
protected HttpJsonMetastoreServiceStub(MetastoreServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException Constructs an instance of HttpJsonMetastoreServiceStub, 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 HttpJsonMetastoreServiceStub create(MetastoreServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final HttpJsonMetastoreServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final HttpJsonMetastoreServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
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
-
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
-