Interface MetadataServiceGrpc.AsyncService (1.19.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
NameDescription
requestCreateEntityRequest
responseObserverio.grpc.stub.StreamObserver<Entity>

createPartition(CreatePartitionRequest request, StreamObserver<Partition> responseObserver)

public default 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 default 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 default 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 default 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 default 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 default 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 default 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 default void updateEntity(UpdateEntityRequest request, StreamObserver<Entity> responseObserver)

Update a metadata entity. Only supports full resource update.

Parameters
NameDescription
requestUpdateEntityRequest
responseObserverio.grpc.stub.StreamObserver<Entity>