public static final class DataprocMetastoreGrpc.DataprocMetastoreBlockingStub extends io.grpc.stub.AbstractBlockingStub<DataprocMetastoreGrpc.DataprocMetastoreBlockingStub>
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}`.
| Modifier and Type | Method and Description |
|---|---|
protected DataprocMetastoreGrpc.DataprocMetastoreBlockingStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
com.google.longrunning.Operation |
createBackup(CreateBackupRequest request)
Creates a new backup in a given project and location.
|
com.google.longrunning.Operation |
createMetadataImport(CreateMetadataImportRequest request)
Creates a new MetadataImport in a given project and location.
|
com.google.longrunning.Operation |
createService(CreateServiceRequest request)
Creates a metastore service in a project and location.
|
com.google.longrunning.Operation |
deleteBackup(DeleteBackupRequest request)
Deletes a single backup.
|
com.google.longrunning.Operation |
deleteService(DeleteServiceRequest request)
Deletes a single service.
|
com.google.longrunning.Operation |
exportMetadata(ExportMetadataRequest request)
Exports metadata from a service.
|
Backup |
getBackup(GetBackupRequest request)
Gets details of a single backup.
|
MetadataImport |
getMetadataImport(GetMetadataImportRequest request)
Gets details of a single import.
|
Service |
getService(GetServiceRequest request)
Gets the details of a single service.
|
ListBackupsResponse |
listBackups(ListBackupsRequest request)
Lists backups in a service.
|
ListMetadataImportsResponse |
listMetadataImports(ListMetadataImportsRequest request)
Lists imports in a service.
|
ListServicesResponse |
listServices(ListServicesRequest request)
Lists services in a project and location.
|
com.google.longrunning.Operation |
restoreService(RestoreServiceRequest request)
Restores a service from a backup.
|
com.google.longrunning.Operation |
updateMetadataImport(UpdateMetadataImportRequest request)
Updates a single import.
|
com.google.longrunning.Operation |
updateService(UpdateServiceRequest request)
Updates the parameters of a single service.
|
protected DataprocMetastoreGrpc.DataprocMetastoreBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<DataprocMetastoreGrpc.DataprocMetastoreBlockingStub>public ListServicesResponse listServices(ListServicesRequest request)
Lists services in a project and location.
public Service getService(GetServiceRequest request)
Gets the details of a single service.
public com.google.longrunning.Operation createService(CreateServiceRequest request)
Creates a metastore service in a project and location.
public com.google.longrunning.Operation updateService(UpdateServiceRequest request)
Updates the parameters of a single service.
public com.google.longrunning.Operation deleteService(DeleteServiceRequest request)
Deletes a single service.
public ListMetadataImportsResponse listMetadataImports(ListMetadataImportsRequest request)
Lists imports in a service.
public MetadataImport getMetadataImport(GetMetadataImportRequest request)
Gets details of a single import.
public com.google.longrunning.Operation createMetadataImport(CreateMetadataImportRequest request)
Creates a new MetadataImport in a given project and location.
public com.google.longrunning.Operation updateMetadataImport(UpdateMetadataImportRequest request)
Updates a single import. Only the description field of MetadataImport is supported to be updated.
public com.google.longrunning.Operation exportMetadata(ExportMetadataRequest request)
Exports metadata from a service.
public com.google.longrunning.Operation restoreService(RestoreServiceRequest request)
Restores a service from a backup.
public ListBackupsResponse listBackups(ListBackupsRequest request)
Lists backups in a service.
public Backup getBackup(GetBackupRequest request)
Gets details of a single backup.
public com.google.longrunning.Operation createBackup(CreateBackupRequest request)
Creates a new backup in a given project and location.
public com.google.longrunning.Operation deleteBackup(DeleteBackupRequest request)
Deletes a single backup.
Copyright © 2022 Google LLC. All rights reserved.