public final class DataprocMetastoreGrpc
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}
.
Static Fields
public static final String SERVICE_NAME
Field Value |
Type |
Description |
String |
|
Static Methods
public static final ServerServiceDefinition bindService(DataprocMetastoreGrpc.AsyncService service)
Returns |
Type |
Description |
io.grpc.ServerServiceDefinition |
|
public static MethodDescriptor<AlterMetadataResourceLocationRequest,Operation> getAlterMetadataResourceLocationMethod()
public static MethodDescriptor<CreateBackupRequest,Operation> getCreateBackupMethod()
public static MethodDescriptor<CreateMetadataImportRequest,Operation> getCreateMetadataImportMethod()
public static MethodDescriptor<CreateServiceRequest,Operation> getCreateServiceMethod()
public static MethodDescriptor<DeleteBackupRequest,Operation> getDeleteBackupMethod()
public static MethodDescriptor<DeleteServiceRequest,Operation> getDeleteServiceMethod()
public static MethodDescriptor<ExportMetadataRequest,Operation> getExportMetadataMethod()
public static MethodDescriptor<GetBackupRequest,Backup> getGetBackupMethod()
public static MethodDescriptor<GetMetadataImportRequest,MetadataImport> getGetMetadataImportMethod()
public static MethodDescriptor<GetServiceRequest,Service> getGetServiceMethod()
public static MethodDescriptor<ListBackupsRequest,ListBackupsResponse> getListBackupsMethod()
public static MethodDescriptor<ListMetadataImportsRequest,ListMetadataImportsResponse> getListMetadataImportsMethod()
public static MethodDescriptor<ListServicesRequest,ListServicesResponse> getListServicesMethod()
public static MethodDescriptor<MoveTableToDatabaseRequest,Operation> getMoveTableToDatabaseMethod()
public static MethodDescriptor<QueryMetadataRequest,Operation> getQueryMetadataMethod()
public static MethodDescriptor<RemoveIamPolicyRequest,RemoveIamPolicyResponse> getRemoveIamPolicyMethod()
public static MethodDescriptor<RestoreServiceRequest,Operation> getRestoreServiceMethod()
public static ServiceDescriptor getServiceDescriptor()
Returns |
Type |
Description |
io.grpc.ServiceDescriptor |
|
public static MethodDescriptor<UpdateMetadataImportRequest,Operation> getUpdateMetadataImportMethod()
public static MethodDescriptor<UpdateServiceRequest,Operation> getUpdateServiceMethod()
public static DataprocMetastoreGrpc.DataprocMetastoreBlockingStub newBlockingStub(Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
Parameter |
Name |
Description |
channel |
io.grpc.Channel
|
public static DataprocMetastoreGrpc.DataprocMetastoreFutureStub newFutureStub(Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
Parameter |
Name |
Description |
channel |
io.grpc.Channel
|
public static DataprocMetastoreGrpc.DataprocMetastoreStub newStub(Channel channel)
Creates a new async stub that supports all call types for the service
Parameter |
Name |
Description |
channel |
io.grpc.Channel
|