Class DataprocMetastoreGrpc.DataprocMetastoreBlockingStub

  • Enclosing class:
    DataprocMetastoreGrpc

    public static final class DataprocMetastoreGrpc.DataprocMetastoreBlockingStub
    extends io.grpc.stub.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}`.
     
    • Method Detail

      • createService

        public com.google.longrunning.Operation createService​(CreateServiceRequest request)
         Creates a metastore service in a project and location.
         
      • updateService

        public com.google.longrunning.Operation updateService​(UpdateServiceRequest request)
         Updates the parameters of a single service.
         
      • deleteService

        public com.google.longrunning.Operation deleteService​(DeleteServiceRequest request)
         Deletes a single service.
         
      • createMetadataImport

        public com.google.longrunning.Operation createMetadataImport​(CreateMetadataImportRequest request)
         Creates a new MetadataImport in a given project and location.
         
      • updateMetadataImport

        public com.google.longrunning.Operation updateMetadataImport​(UpdateMetadataImportRequest request)
         Updates a single import.
         Only the description field of MetadataImport is supported to be updated.
         
      • exportMetadata

        public com.google.longrunning.Operation exportMetadata​(ExportMetadataRequest request)
         Exports metadata from a service.
         
      • restoreService

        public com.google.longrunning.Operation restoreService​(RestoreServiceRequest request)
         Restores a service from a backup.
         
      • createBackup

        public com.google.longrunning.Operation createBackup​(CreateBackupRequest request)
         Creates a new backup in a given project and location.
         
      • deleteBackup

        public com.google.longrunning.Operation deleteBackup​(DeleteBackupRequest request)
         Deletes a single backup.
         
      • queryMetadata

        public com.google.longrunning.Operation queryMetadata​(QueryMetadataRequest request)
         Query DPMS metadata.
         
      • moveTableToDatabase

        public com.google.longrunning.Operation moveTableToDatabase​(MoveTableToDatabaseRequest request)
         Move a table to another database.
         
      • alterMetadataResourceLocation

        public com.google.longrunning.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.