Send feedback
Class DataprocMetastoreGrpc.DataprocMetastoreStub (2.12.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.12.0 keyboard_arrow_down
public static final class DataprocMetastoreGrpc . DataprocMetastoreStub extends AbstractAsyncStub<DataprocMetastoreGrpc . DataprocMetastoreStub >
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.AbstractAsyncStub >
DataprocMetastoreGrpc.DataprocMetastoreStub
Inherited Members
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<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(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.withWaitForReady()
Methods
public void alterMetadataResourceLocation ( AlterMetadataResourceLocationRequest request , StreamObserver<Operation> responseObserver )
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.
Parameters
protected DataprocMetastoreGrpc . DataprocMetastoreStub build ( Channel channel , CallOptions callOptions )
Parameters
Name Description channel
io.grpc.Channel
callOptions
io.grpc.CallOptions
Returns
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
public void createBackup ( CreateBackupRequest request , StreamObserver<Operation> responseObserver )
Creates a new backup in a given project and location.
Parameters
public void createMetadataImport ( CreateMetadataImportRequest request , StreamObserver<Operation> responseObserver )
Creates a new MetadataImport in a given project and location.
Parameters
public void createService ( CreateServiceRequest request , StreamObserver<Operation> responseObserver )
Creates a metastore service in a project and location.
Parameters
public void deleteBackup ( DeleteBackupRequest request , StreamObserver<Operation> responseObserver )
Parameters
public void deleteService ( DeleteServiceRequest request , StreamObserver<Operation> responseObserver )
Deletes a single service.
Parameters
public void exportMetadata ( ExportMetadataRequest request , StreamObserver<Operation> responseObserver )
Exports metadata from a service.
Parameters
public void getBackup ( GetBackupRequest request , StreamObserver<Backup> responseObserver )
Gets details of a single backup.
Parameters
public void getMetadataImport ( GetMetadataImportRequest request , StreamObserver<MetadataImport> responseObserver )
Gets details of a single import.
Parameters
public void getService ( GetServiceRequest request , StreamObserver<Service> responseObserver )
Gets the details of a single service.
Parameters
public void listBackups ( ListBackupsRequest request , StreamObserver<ListBackupsResponse> responseObserver )
Lists backups in a service.
Parameters
public void listMetadataImports ( ListMetadataImportsRequest request , StreamObserver<ListMetadataImportsResponse> responseObserver )
Lists imports in a service.
Parameters
public void listServices ( ListServicesRequest request , StreamObserver<ListServicesResponse> responseObserver )
Lists services in a project and location.
Parameters
public void moveTableToDatabase ( MoveTableToDatabaseRequest request , StreamObserver<Operation> responseObserver )
Move a table to another database.
Parameters
public void queryMetadata ( QueryMetadataRequest request , StreamObserver<Operation> responseObserver )
Parameters
public void removeIamPolicy ( RemoveIamPolicyRequest request , StreamObserver<RemoveIamPolicyResponse> responseObserver )
Removes the attached IAM policies for a resource
Parameters
public void restoreService ( RestoreServiceRequest request , StreamObserver<Operation> responseObserver )
Restores a service from a backup.
Parameters
public void updateMetadataImport ( UpdateMetadataImportRequest request , StreamObserver<Operation> responseObserver )
Updates a single import.
Only the description field of MetadataImport is supported to be updated.
Parameters
public void updateService ( UpdateServiceRequest request , StreamObserver<Operation> responseObserver )
Updates the parameters of a single service.
Parameters
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]