Class MetadataServiceGrpc.MetadataServiceStub (1.51.0)

public static final class MetadataServiceGrpc.MetadataServiceStub extends AbstractAsyncStub<MetadataServiceGrpc.MetadataServiceStub>

A stub to allow clients to do asynchronous 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.AbstractAsyncStub > MetadataServiceGrpc.MetadataServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

createEntity(CreateEntityRequest request, StreamObserver<Entity> responseObserver)

public void createEntity(CreateEntityRequest request, StreamObserver<Entity> responseObserver)

Create a metadata entity.

Parameters
Name Description
request CreateEntityRequest
responseObserver io.grpc.stub.StreamObserver<Entity>

createPartition(CreatePartitionRequest request, StreamObserver<Partition> responseObserver)

public void createPartition(CreatePartitionRequest request, StreamObserver<Partition> responseObserver)

Create a metadata partition.

Parameters
Name Description
request CreatePartitionRequest
responseObserver io.grpc.stub.StreamObserver<Partition>

deleteEntity(DeleteEntityRequest request, StreamObserver<Empty> responseObserver)

public void deleteEntity(DeleteEntityRequest request, StreamObserver<Empty> responseObserver)

Delete a metadata entity.

Parameters
Name Description
request DeleteEntityRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

deletePartition(DeletePartitionRequest request, StreamObserver<Empty> responseObserver)

public void deletePartition(DeletePartitionRequest request, StreamObserver<Empty> responseObserver)

Delete a metadata partition.

Parameters
Name Description
request DeletePartitionRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

getEntity(GetEntityRequest request, StreamObserver<Entity> responseObserver)

public void getEntity(GetEntityRequest request, StreamObserver<Entity> responseObserver)

Get a metadata entity.

Parameters
Name Description
request GetEntityRequest
responseObserver io.grpc.stub.StreamObserver<Entity>

getPartition(GetPartitionRequest request, StreamObserver<Partition> responseObserver)

public void getPartition(GetPartitionRequest request, StreamObserver<Partition> responseObserver)

Get a metadata partition of an entity.

Parameters
Name Description
request GetPartitionRequest
responseObserver io.grpc.stub.StreamObserver<Partition>

listEntities(ListEntitiesRequest request, StreamObserver<ListEntitiesResponse> responseObserver)

public void listEntities(ListEntitiesRequest request, StreamObserver<ListEntitiesResponse> responseObserver)

List metadata entities in a zone.

Parameters
Name Description
request ListEntitiesRequest
responseObserver io.grpc.stub.StreamObserver<ListEntitiesResponse>

listPartitions(ListPartitionsRequest request, StreamObserver<ListPartitionsResponse> responseObserver)

public void listPartitions(ListPartitionsRequest request, StreamObserver<ListPartitionsResponse> responseObserver)

List metadata partitions of an entity.

Parameters
Name Description
request ListPartitionsRequest
responseObserver io.grpc.stub.StreamObserver<ListPartitionsResponse>

updateEntity(UpdateEntityRequest request, StreamObserver<Entity> responseObserver)

public void updateEntity(UpdateEntityRequest request, StreamObserver<Entity> responseObserver)

Update a metadata entity. Only supports full resource update.

Parameters
Name Description
request UpdateEntityRequest
responseObserver io.grpc.stub.StreamObserver<Entity>