Class DataprocMetastoreGrpc.DataprocMetastoreFutureStub (2.2.0)

public static final class DataprocMetastoreGrpc.DataprocMetastoreFutureStub extends AbstractFutureStub<DataprocMetastoreGrpc.DataprocMetastoreFutureStub>

Configures and manages metastore services. Metastore services are fully managed, highly available, auto-scaled, auto-healing, 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

Methods

build(Channel channel, CallOptions callOptions)

protected DataprocMetastoreGrpc.DataprocMetastoreFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
DataprocMetastoreGrpc.DataprocMetastoreFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createBackup(CreateBackupRequest request)

public ListenableFuture<Operation> createBackup(CreateBackupRequest request)

Creates a new Backup in a given project and location.

Parameter
NameDescription
requestCreateBackupRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createMetadataImport(CreateMetadataImportRequest request)

public ListenableFuture<Operation> createMetadataImport(CreateMetadataImportRequest request)

Creates a new MetadataImport in a given project and location.

Parameter
NameDescription
requestCreateMetadataImportRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createService(CreateServiceRequest request)

public ListenableFuture<Operation> createService(CreateServiceRequest request)

Creates a metastore service in a project and location.

Parameter
NameDescription
requestCreateServiceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteBackup(DeleteBackupRequest request)

public ListenableFuture<Operation> deleteBackup(DeleteBackupRequest request)

Deletes a single backup.

Parameter
NameDescription
requestDeleteBackupRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteService(DeleteServiceRequest request)

public ListenableFuture<Operation> deleteService(DeleteServiceRequest request)

Deletes a single service.

Parameter
NameDescription
requestDeleteServiceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

exportMetadata(ExportMetadataRequest request)

public ListenableFuture<Operation> exportMetadata(ExportMetadataRequest request)

Exports metadata from a service.

Parameter
NameDescription
requestExportMetadataRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

getBackup(GetBackupRequest request)

public ListenableFuture<Backup> getBackup(GetBackupRequest request)

Gets details of a single backup.

Parameter
NameDescription
requestGetBackupRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Backup>

getMetadataImport(GetMetadataImportRequest request)

public ListenableFuture<MetadataImport> getMetadataImport(GetMetadataImportRequest request)

Gets details of a single import.

Parameter
NameDescription
requestGetMetadataImportRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<MetadataImport>

getService(GetServiceRequest request)

public ListenableFuture<Service> getService(GetServiceRequest request)

Gets the details of a single service.

Parameter
NameDescription
requestGetServiceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Service>

listBackups(ListBackupsRequest request)

public ListenableFuture<ListBackupsResponse> listBackups(ListBackupsRequest request)

Lists backups in a service.

Parameter
NameDescription
requestListBackupsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListBackupsResponse>

listMetadataImports(ListMetadataImportsRequest request)

public ListenableFuture<ListMetadataImportsResponse> listMetadataImports(ListMetadataImportsRequest request)

Lists imports in a service.

Parameter
NameDescription
requestListMetadataImportsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListMetadataImportsResponse>

listServices(ListServicesRequest request)

public ListenableFuture<ListServicesResponse> listServices(ListServicesRequest request)

Lists services in a project and location.

Parameter
NameDescription
requestListServicesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListServicesResponse>

restoreService(RestoreServiceRequest request)

public ListenableFuture<Operation> restoreService(RestoreServiceRequest request)

Restores a service from a backup.

Parameter
NameDescription
requestRestoreServiceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateMetadataImport(UpdateMetadataImportRequest request)

public ListenableFuture<Operation> updateMetadataImport(UpdateMetadataImportRequest request)

Updates a single import. Only the description field of MetadataImport is supported to be updated.

Parameter
NameDescription
requestUpdateMetadataImportRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateService(UpdateServiceRequest request)

public ListenableFuture<Operation> updateService(UpdateServiceRequest request)

Updates the parameters of a single service.

Parameter
NameDescription
requestUpdateServiceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>