public static final class DataprocMetastoreGrpc.DataprocMetastoreFutureStub extends AbstractFutureStub<DataprocMetastoreGrpc.DataprocMetastoreFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service DataprocMetastore.
Configures and manages metastore services.
Metastore services are fully managed, highly available, autoscaled,
autohealing, OSS-native deployments of technical metadata management
software. Each metastore service exposes a network endpoint through which
metadata queries are served. Metadata queries can originate from a variety
of sources, including Apache Hive, Apache Presto, and Apache Spark.
The Dataproc Metastore API defines the following resource model:
- The service works with a collection of Google Cloud projects, named:
/projects/*
- Each project has a collection of available locations, named:
/locations/*
(a location must refer to a Google Cloud region
)
- Each location has a collection of services, named:
/services/*
- Dataproc Metastore services are resources with names of the form:
/projects/{project_number}/locations/{location_id}/services/{service_id}
.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractFutureStub >
DataprocMetastoreGrpc.DataprocMetastoreFutureStub
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(java.time.Duration)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
public ListenableFuture<Operation> alterMetadataResourceLocation(AlterMetadataResourceLocationRequest request)
Alter metadata resource location. The metadata resource can be a database,
table, or partition. This functionality only updates the parent directory
for the respective metadata resource and does not transfer any existing
data to the new location.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
protected DataprocMetastoreGrpc.DataprocMetastoreFutureStub build(Channel channel, CallOptions callOptions)
Parameters |
Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
public ListenableFuture<Operation> createBackup(CreateBackupRequest request)
Creates a new backup in a given project and location.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
public ListenableFuture<Operation> createMetadataImport(CreateMetadataImportRequest request)
Creates a new MetadataImport in a given project and location.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
public ListenableFuture<Operation> createService(CreateServiceRequest request)
Creates a metastore service in a project and location.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
public ListenableFuture<Operation> deleteBackup(DeleteBackupRequest request)
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
public ListenableFuture<Operation> deleteService(DeleteServiceRequest request)
Deletes a single service.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
public ListenableFuture<Operation> exportMetadata(ExportMetadataRequest request)
Exports metadata from a service.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
public ListenableFuture<Backup> getBackup(GetBackupRequest request)
Gets details of a single backup.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Backup> |
|
public ListenableFuture<MetadataImport> getMetadataImport(GetMetadataImportRequest request)
Gets details of a single import.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<MetadataImport> |
|
public ListenableFuture<Service> getService(GetServiceRequest request)
Gets the details of a single service.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Service> |
|
public ListenableFuture<ListBackupsResponse> listBackups(ListBackupsRequest request)
Lists backups in a service.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<ListBackupsResponse> |
|
public ListenableFuture<ListMetadataImportsResponse> listMetadataImports(ListMetadataImportsRequest request)
Lists imports in a service.
public ListenableFuture<ListServicesResponse> listServices(ListServicesRequest request)
Lists services in a project and location.
public ListenableFuture<Operation> moveTableToDatabase(MoveTableToDatabaseRequest request)
Move a table to another database.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
public ListenableFuture<Operation> queryMetadata(QueryMetadataRequest request)
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
public ListenableFuture<Operation> restoreService(RestoreServiceRequest request)
Restores a service from a backup.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
public ListenableFuture<Operation> updateMetadataImport(UpdateMetadataImportRequest request)
Updates a single import.
Only the description field of MetadataImport is supported to be updated.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
public ListenableFuture<Operation> updateService(UpdateServiceRequest request)
Updates the parameters of a single service.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|