Class DataprocMetastoreGrpc.DataprocMetastoreFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<DataprocMetastoreGrpc.DataprocMetastoreFutureStub>
com.google.cloud.metastore.v1beta.DataprocMetastoreGrpc.DataprocMetastoreFutureStub
- Enclosing class:
- DataprocMetastoreGrpc
public static final class DataprocMetastoreGrpc.DataprocMetastoreFutureStub
extends io.grpc.stub.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}`.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<Operation>Alter metadata resource location.build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<Operation>createBackup(CreateBackupRequest request) Creates a new backup in a given project and location.com.google.common.util.concurrent.ListenableFuture<Operation>Creates a new MetadataImport in a given project and location.com.google.common.util.concurrent.ListenableFuture<Operation>createService(CreateServiceRequest request) Creates a metastore service in a project and location.com.google.common.util.concurrent.ListenableFuture<Operation>deleteBackup(DeleteBackupRequest request) Deletes a single backup.com.google.common.util.concurrent.ListenableFuture<Operation>deleteService(DeleteServiceRequest request) Deletes a single service.com.google.common.util.concurrent.ListenableFuture<Operation>exportMetadata(ExportMetadataRequest request) Exports metadata from a service.com.google.common.util.concurrent.ListenableFuture<Backup>getBackup(GetBackupRequest request) Gets details of a single backup.com.google.common.util.concurrent.ListenableFuture<MetadataImport>Gets details of a single import.com.google.common.util.concurrent.ListenableFuture<Service>getService(GetServiceRequest request) Gets the details of a single service.com.google.common.util.concurrent.ListenableFuture<ListBackupsResponse>listBackups(ListBackupsRequest request) Lists backups in a service.com.google.common.util.concurrent.ListenableFuture<ListMetadataImportsResponse>Lists imports in a service.com.google.common.util.concurrent.ListenableFuture<ListServicesResponse>listServices(ListServicesRequest request) Lists services in a project and location.com.google.common.util.concurrent.ListenableFuture<Operation>Move a table to another database.com.google.common.util.concurrent.ListenableFuture<Operation>queryMetadata(QueryMetadataRequest request) Query DPMS metadata.com.google.common.util.concurrent.ListenableFuture<RemoveIamPolicyResponse>removeIamPolicy(RemoveIamPolicyRequest request) Removes the attached IAM policies for a resourcecom.google.common.util.concurrent.ListenableFuture<Operation>restoreService(RestoreServiceRequest request) Restores a service from a backup.com.google.common.util.concurrent.ListenableFuture<Operation>Updates a single import.com.google.common.util.concurrent.ListenableFuture<Operation>updateService(UpdateServiceRequest request) Updates the parameters of a single service.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected DataprocMetastoreGrpc.DataprocMetastoreFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<DataprocMetastoreGrpc.DataprocMetastoreFutureStub>
-
listServices
public com.google.common.util.concurrent.ListenableFuture<ListServicesResponse> listServices(ListServicesRequest request) Lists services in a project and location.
-
getService
public com.google.common.util.concurrent.ListenableFuture<Service> getService(GetServiceRequest request) Gets the details of a single service.
-
createService
public com.google.common.util.concurrent.ListenableFuture<Operation> createService(CreateServiceRequest request) Creates a metastore service in a project and location.
-
updateService
public com.google.common.util.concurrent.ListenableFuture<Operation> updateService(UpdateServiceRequest request) Updates the parameters of a single service.
-
deleteService
public com.google.common.util.concurrent.ListenableFuture<Operation> deleteService(DeleteServiceRequest request) Deletes a single service.
-
listMetadataImports
public com.google.common.util.concurrent.ListenableFuture<ListMetadataImportsResponse> listMetadataImports(ListMetadataImportsRequest request) Lists imports in a service.
-
getMetadataImport
public com.google.common.util.concurrent.ListenableFuture<MetadataImport> getMetadataImport(GetMetadataImportRequest request) Gets details of a single import.
-
createMetadataImport
public com.google.common.util.concurrent.ListenableFuture<Operation> createMetadataImport(CreateMetadataImportRequest request) Creates a new MetadataImport in a given project and location.
-
updateMetadataImport
public com.google.common.util.concurrent.ListenableFuture<Operation> updateMetadataImport(UpdateMetadataImportRequest request) Updates a single import. Only the description field of MetadataImport is supported to be updated.
-
exportMetadata
public com.google.common.util.concurrent.ListenableFuture<Operation> exportMetadata(ExportMetadataRequest request) Exports metadata from a service.
-
restoreService
public com.google.common.util.concurrent.ListenableFuture<Operation> restoreService(RestoreServiceRequest request) Restores a service from a backup.
-
listBackups
public com.google.common.util.concurrent.ListenableFuture<ListBackupsResponse> listBackups(ListBackupsRequest request) Lists backups in a service.
-
getBackup
public com.google.common.util.concurrent.ListenableFuture<Backup> getBackup(GetBackupRequest request) Gets details of a single backup.
-
createBackup
public com.google.common.util.concurrent.ListenableFuture<Operation> createBackup(CreateBackupRequest request) Creates a new backup in a given project and location.
-
deleteBackup
public com.google.common.util.concurrent.ListenableFuture<Operation> deleteBackup(DeleteBackupRequest request) Deletes a single backup.
-
removeIamPolicy
public com.google.common.util.concurrent.ListenableFuture<RemoveIamPolicyResponse> removeIamPolicy(RemoveIamPolicyRequest request) Removes the attached IAM policies for a resource
-
queryMetadata
public com.google.common.util.concurrent.ListenableFuture<Operation> queryMetadata(QueryMetadataRequest request) Query DPMS metadata.
-
moveTableToDatabase
public com.google.common.util.concurrent.ListenableFuture<Operation> moveTableToDatabase(MoveTableToDatabaseRequest request) Move a table to another database.
-
alterMetadataResourceLocation
public com.google.common.util.concurrent.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.
-