Class DataprocMetastoreFederationGrpc.DataprocMetastoreFederationFutureStub (2.47.0)

public static final class DataprocMetastoreFederationGrpc.DataprocMetastoreFederationFutureStub extends AbstractFutureStub<DataprocMetastoreFederationGrpc.DataprocMetastoreFederationFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service DataprocMetastoreFederation.

Configures and manages metastore federation services. Dataproc Metastore Federation Service allows federating a collection of backend metastores like BigQuery, Dataplex Lakes, and other Dataproc Metastores. The Federation Service exposes a gRPC URL through which metadata from the backend metastores are served at query time. The Dataproc Metastore Federation API defines the following resource model:

  • The service works with a collection of Google Cloud projects.
  • Each project has a collection of available locations.
  • Each location has a collection of federations.
  • Dataproc Metastore Federations are resources with names of the form: projects/{project_number}/locations/{location_id}/federations/{federation_id}.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > DataprocMetastoreFederationGrpc.DataprocMetastoreFederationFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected DataprocMetastoreFederationGrpc.DataprocMetastoreFederationFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
DataprocMetastoreFederationGrpc.DataprocMetastoreFederationFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createFederation(CreateFederationRequest request)

public ListenableFuture<Operation> createFederation(CreateFederationRequest request)

Creates a metastore federation in a project and location.

Parameter
Name Description
request CreateFederationRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteFederation(DeleteFederationRequest request)

public ListenableFuture<Operation> deleteFederation(DeleteFederationRequest request)

Deletes a single federation.

Parameter
Name Description
request DeleteFederationRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

getFederation(GetFederationRequest request)

public ListenableFuture<Federation> getFederation(GetFederationRequest request)

Gets the details of a single federation.

Parameter
Name Description
request GetFederationRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Federation>

listFederations(ListFederationsRequest request)

public ListenableFuture<ListFederationsResponse> listFederations(ListFederationsRequest request)

Lists federations in a project and location.

Parameter
Name Description
request ListFederationsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListFederationsResponse>

updateFederation(UpdateFederationRequest request)

public ListenableFuture<Operation> updateFederation(UpdateFederationRequest request)

Updates the fields of a federation.

Parameter
Name Description
request UpdateFederationRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>