Interface MetadataServiceGrpc.AsyncService (1.52.0)

public static interface MetadataServiceGrpc.AsyncService

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

Methods

createEntity(CreateEntityRequest request, StreamObserver<Entity> responseObserver)

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