Class DataprocMetastoreFederationGrpc.DataprocMetastoreFederationFutureStub (2.32.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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCreateFederationRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteFederation(DeleteFederationRequest request)

public ListenableFuture<Operation> deleteFederation(DeleteFederationRequest request)

Deletes a single federation.

Parameter
NameDescription
requestDeleteFederationRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

getFederation(GetFederationRequest request)

public ListenableFuture<Federation> getFederation(GetFederationRequest request)

Gets the details of a single federation.

Parameter
NameDescription
requestGetFederationRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Federation>

listFederations(ListFederationsRequest request)

public ListenableFuture<ListFederationsResponse> listFederations(ListFederationsRequest request)

Lists federations in a project and location.

Parameter
NameDescription
requestListFederationsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListFederationsResponse>

updateFederation(UpdateFederationRequest request)

public ListenableFuture<Operation> updateFederation(UpdateFederationRequest request)

Updates the fields of a federation.

Parameter
NameDescription
requestUpdateFederationRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>