Class DataprocMetastoreGrpc.DataprocMetastoreBlockingStub (2.53.0)

public static final class DataprocMetastoreGrpc.DataprocMetastoreBlockingStub extends AbstractBlockingStub<DataprocMetastoreGrpc.DataprocMetastoreBlockingStub>

A stub to allow clients to do synchronous 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.AbstractBlockingStub > DataprocMetastoreGrpc.DataprocMetastoreBlockingStub

Methods

alterMetadataResourceLocation(AlterMetadataResourceLocationRequest request)

public 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.

Parameter
Name Description
request AlterMetadataResourceLocationRequest
Returns
Type Description
Operation

build(Channel channel, CallOptions callOptions)

protected DataprocMetastoreGrpc.DataprocMetastoreBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
DataprocMetastoreGrpc.DataprocMetastoreBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createBackup(CreateBackupRequest request)

public Operation createBackup(CreateBackupRequest request)

Creates a new backup in a given project and location.

Parameter
Name Description
request CreateBackupRequest
Returns
Type Description
Operation

createMetadataImport(CreateMetadataImportRequest request)

public Operation createMetadataImport(CreateMetadataImportRequest request)

Creates a new MetadataImport in a given project and location.

Parameter
Name Description
request CreateMetadataImportRequest
Returns
Type Description
Operation

createService(CreateServiceRequest request)

public Operation createService(CreateServiceRequest request)

Creates a metastore service in a project and location.

Parameter
Name Description
request CreateServiceRequest
Returns
Type Description
Operation

deleteBackup(DeleteBackupRequest request)

public Operation deleteBackup(DeleteBackupRequest request)

Deletes a single backup.

Parameter
Name Description
request DeleteBackupRequest
Returns
Type Description
Operation

deleteService(DeleteServiceRequest request)

public Operation deleteService(DeleteServiceRequest request)

Deletes a single service.

Parameter
Name Description
request DeleteServiceRequest
Returns
Type Description
Operation

exportMetadata(ExportMetadataRequest request)

public Operation exportMetadata(ExportMetadataRequest request)

Exports metadata from a service.

Parameter
Name Description
request ExportMetadataRequest
Returns
Type Description
Operation

getBackup(GetBackupRequest request)

public Backup getBackup(GetBackupRequest request)

Gets details of a single backup.

Parameter
Name Description
request GetBackupRequest
Returns
Type Description
Backup

getMetadataImport(GetMetadataImportRequest request)

public MetadataImport getMetadataImport(GetMetadataImportRequest request)

Gets details of a single import.

Parameter
Name Description
request GetMetadataImportRequest
Returns
Type Description
MetadataImport

getService(GetServiceRequest request)

public Service getService(GetServiceRequest request)

Gets the details of a single service.

Parameter
Name Description
request GetServiceRequest
Returns
Type Description
Service

listBackups(ListBackupsRequest request)

public ListBackupsResponse listBackups(ListBackupsRequest request)

Lists backups in a service.

Parameter
Name Description
request ListBackupsRequest
Returns
Type Description
ListBackupsResponse

listMetadataImports(ListMetadataImportsRequest request)

public ListMetadataImportsResponse listMetadataImports(ListMetadataImportsRequest request)

Lists imports in a service.

Parameter
Name Description
request ListMetadataImportsRequest
Returns
Type Description
ListMetadataImportsResponse

listServices(ListServicesRequest request)

public ListServicesResponse listServices(ListServicesRequest request)

Lists services in a project and location.

Parameter
Name Description
request ListServicesRequest
Returns
Type Description
ListServicesResponse

moveTableToDatabase(MoveTableToDatabaseRequest request)

public Operation moveTableToDatabase(MoveTableToDatabaseRequest request)

Move a table to another database.

Parameter
Name Description
request MoveTableToDatabaseRequest
Returns
Type Description
Operation

queryMetadata(QueryMetadataRequest request)

public Operation queryMetadata(QueryMetadataRequest request)

Query DPMS metadata.

Parameter
Name Description
request QueryMetadataRequest
Returns
Type Description
Operation

removeIamPolicy(RemoveIamPolicyRequest request)

public RemoveIamPolicyResponse removeIamPolicy(RemoveIamPolicyRequest request)

Removes the attached IAM policies for a resource

Parameter
Name Description
request RemoveIamPolicyRequest
Returns
Type Description
RemoveIamPolicyResponse

restoreService(RestoreServiceRequest request)

public Operation restoreService(RestoreServiceRequest request)

Restores a service from a backup.

Parameter
Name Description
request RestoreServiceRequest
Returns
Type Description
Operation

updateMetadataImport(UpdateMetadataImportRequest request)

public Operation updateMetadataImport(UpdateMetadataImportRequest request)

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

Parameter
Name Description
request UpdateMetadataImportRequest
Returns
Type Description
Operation

updateService(UpdateServiceRequest request)

public Operation updateService(UpdateServiceRequest request)

Updates the parameters of a single service.

Parameter
Name Description
request UpdateServiceRequest
Returns
Type Description
Operation