Class MetadataServiceGrpc.MetadataServiceStub (1.33.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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCreateEntityRequest
responseObserverio.grpc.stub.StreamObserver<Entity>

createPartition(CreatePartitionRequest request, StreamObserver<Partition> responseObserver)

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

Create a metadata partition.

Parameters
NameDescription
requestCreatePartitionRequest
responseObserverio.grpc.stub.StreamObserver<Partition>

deleteEntity(DeleteEntityRequest request, StreamObserver<Empty> responseObserver)

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

Delete a metadata entity.

Parameters
NameDescription
requestDeleteEntityRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

deletePartition(DeletePartitionRequest request, StreamObserver<Empty> responseObserver)

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

Delete a metadata partition.

Parameters
NameDescription
requestDeletePartitionRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

getEntity(GetEntityRequest request, StreamObserver<Entity> responseObserver)

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

Get a metadata entity.

Parameters
NameDescription
requestGetEntityRequest
responseObserverio.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
NameDescription
requestGetPartitionRequest
responseObserverio.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
NameDescription
requestListEntitiesRequest
responseObserverio.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
NameDescription
requestListPartitionsRequest
responseObserverio.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
NameDescription
requestUpdateEntityRequest
responseObserverio.grpc.stub.StreamObserver<Entity>