Class MetadataServiceGrpc.MetadataServiceFutureStub (1.43.0)

public static final class MetadataServiceGrpc.MetadataServiceFutureStub extends AbstractFutureStub<MetadataServiceGrpc.MetadataServiceFutureStub>

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

Metadata service manages metadata resources such as tables, filesets and partitions.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > MetadataServiceGrpc.MetadataServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

createEntity(CreateEntityRequest request)

public ListenableFuture<Entity> createEntity(CreateEntityRequest request)

Create a metadata entity.

Parameter
Name Description
request CreateEntityRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Entity>

createPartition(CreatePartitionRequest request)

public ListenableFuture<Partition> createPartition(CreatePartitionRequest request)

Create a metadata partition.

Parameter
Name Description
request CreatePartitionRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Partition>

deleteEntity(DeleteEntityRequest request)

public ListenableFuture<Empty> deleteEntity(DeleteEntityRequest request)

Delete a metadata entity.

Parameter
Name Description
request DeleteEntityRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

deletePartition(DeletePartitionRequest request)

public ListenableFuture<Empty> deletePartition(DeletePartitionRequest request)

Delete a metadata partition.

Parameter
Name Description
request DeletePartitionRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

getEntity(GetEntityRequest request)

public ListenableFuture<Entity> getEntity(GetEntityRequest request)

Get a metadata entity.

Parameter
Name Description
request GetEntityRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Entity>

getPartition(GetPartitionRequest request)

public ListenableFuture<Partition> getPartition(GetPartitionRequest request)

Get a metadata partition of an entity.

Parameter
Name Description
request GetPartitionRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Partition>

listEntities(ListEntitiesRequest request)

public ListenableFuture<ListEntitiesResponse> listEntities(ListEntitiesRequest request)

List metadata entities in a zone.

Parameter
Name Description
request ListEntitiesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListEntitiesResponse>

listPartitions(ListPartitionsRequest request)

public ListenableFuture<ListPartitionsResponse> listPartitions(ListPartitionsRequest request)

List metadata partitions of an entity.

Parameter
Name Description
request ListPartitionsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListPartitionsResponse>

updateEntity(UpdateEntityRequest request)

public ListenableFuture<Entity> updateEntity(UpdateEntityRequest request)

Update a metadata entity. Only supports full resource update.

Parameter
Name Description
request UpdateEntityRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Entity>