public static class DataprocMetastore
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}
.
Namespace
Google.Cloud.Metastore.V1Assembly
Google.Cloud.Metastore.V1.dll
Methods
BindService(DataprocMetastore.DataprocMetastoreBase)
public static ServerServiceDefinition BindService(DataprocMetastore.DataprocMetastoreBase serviceImpl)
Creates service definition that can be registered with a server
Parameter | |
---|---|
Name | Description |
serviceImpl | DataprocMetastore.DataprocMetastoreBase An object implementing the server-side handling logic. |
Returns | |
---|---|
Type | Description |
ServerServiceDefinition |
BindService(ServiceBinderBase, DataprocMetastore.DataprocMetastoreBase)
public static void BindService(ServiceBinderBase serviceBinder, DataprocMetastore.DataprocMetastoreBase serviceImpl)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.
Parameters | |
---|---|
Name | Description |
serviceBinder | ServiceBinderBase Service methods will be bound by calling |
serviceImpl | DataprocMetastore.DataprocMetastoreBase An object implementing the server-side handling logic. |