Class MetadataServiceGrpc.MetadataServiceFutureStub (1.14.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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCreateEntityRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Entity>

createPartition(CreatePartitionRequest request)

public ListenableFuture<Partition> createPartition(CreatePartitionRequest request)

Create a metadata partition.

Parameter
NameDescription
requestCreatePartitionRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Partition>

deleteEntity(DeleteEntityRequest request)

public ListenableFuture<Empty> deleteEntity(DeleteEntityRequest request)

Delete a metadata entity.

Parameter
NameDescription
requestDeleteEntityRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>

deletePartition(DeletePartitionRequest request)

public ListenableFuture<Empty> deletePartition(DeletePartitionRequest request)

Delete a metadata partition.

Parameter
NameDescription
requestDeletePartitionRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>

getEntity(GetEntityRequest request)

public ListenableFuture<Entity> getEntity(GetEntityRequest request)

Get a metadata entity.

Parameter
NameDescription
requestGetEntityRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Entity>

getPartition(GetPartitionRequest request)

public ListenableFuture<Partition> getPartition(GetPartitionRequest request)

Get a metadata partition of an entity.

Parameter
NameDescription
requestGetPartitionRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Partition>

listEntities(ListEntitiesRequest request)

public ListenableFuture<ListEntitiesResponse> listEntities(ListEntitiesRequest request)

List metadata entities in a zone.

Parameter
NameDescription
requestListEntitiesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListEntitiesResponse>

listPartitions(ListPartitionsRequest request)

public ListenableFuture<ListPartitionsResponse> listPartitions(ListPartitionsRequest request)

List metadata partitions of an entity.

Parameter
NameDescription
requestListPartitionsRequest
Returns
TypeDescription
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
NameDescription
requestUpdateEntityRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Entity>