public static class DataprocMetastore
Reference documentation and code samples for the Dataproc Metastore v1alpha API class 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 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.V1AlphaAssembly
Google.Cloud.Metastore.V1Alpha.dll
Methods
BindService(DataprocMetastoreBase)
public static ServerServiceDefinition BindService(DataprocMetastore.DataprocMetastoreBase serviceImpl)
Creates service definition that can be registered with a server
Parameter | |
---|---|
Name | Description |
serviceImpl |
DataprocMetastoreDataprocMetastoreBase An object implementing the server-side handling logic. |
Returns | |
---|---|
Type | Description |
ServerServiceDefinition |
BindService(ServiceBinderBase, 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 |
DataprocMetastoreDataprocMetastoreBase An object implementing the server-side handling logic. |