google-cloud-dataproc-metastore overview (2.1.9)

com.google.cloud.metastore.v1

The interfaces provided are listed below, along with usage samples.

DataprocMetastoreClient

Service Description: 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 Cloudregion)
  • 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}.

Sample for DataprocMetastoreClient:

try(DataprocMetastoreClientdataprocMetastoreClient=DataprocMetastoreClient.create()){ServiceNamename=ServiceName.of("[PROJECT]","[LOCATION]","[SERVICE]");Serviceresponse=dataprocMetastoreClient.getService(name);}

com.google.cloud.metastore.v1.stub

com.google.cloud.metastore.v1alpha

The interfaces provided are listed below, along with usage samples.

DataprocMetastoreClient

Service Description: 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 Cloudregion)
  • 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}.

Sample for DataprocMetastoreClient:

try(DataprocMetastoreClientdataprocMetastoreClient=DataprocMetastoreClient.create()){ServiceNamename=ServiceName.of("[PROJECT]","[LOCATION]","[SERVICE]");Serviceresponse=dataprocMetastoreClient.getService(name);}

com.google.cloud.metastore.v1alpha.stub

com.google.cloud.metastore.v1beta

The interfaces provided are listed below, along with usage samples.

DataprocMetastoreClient

Service Description: 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 Cloudregion)
  • 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}.

Sample for DataprocMetastoreClient:

try(DataprocMetastoreClientdataprocMetastoreClient=DataprocMetastoreClient.create()){ServiceNamename=ServiceName.of("[PROJECT]","[LOCATION]","[SERVICE]");Serviceresponse=dataprocMetastoreClient.getService(name);}

com.google.cloud.metastore.v1beta.stub

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-11-19 UTC.