Class MetadataServiceGrpc.MetadataServiceFutureStub (1.56.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
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(java.time.Duration)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()

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
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>