Class Partitions.PartitionsBase

Namespace: ArmoniK.Api.gRPC.V1.Partitions
Assembly: ArmoniK.Api.Core.dll

Base class for server-side implementations of Partitions

[BindServiceMethod(typeof(Partitions), "BindService")]
public abstract class Partitions.PartitionsBase

Inheritance

objectPartitions.PartitionsBase

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Methods

GetPartition(GetPartitionRequest, ServerCallContext)

Get a partition by its ID.

public virtual Task<GetPartitionResponse> GetPartition(GetPartitionRequest request, ServerCallContext context)

Parameters

request GetPartitionRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns

Task<GetPartitionResponse>

The response to send back to the client (wrapped by a task).

ListPartitions(ListPartitionsRequest, ServerCallContext)

Get a partitions list using pagination, filters and sorting.

public virtual Task<ListPartitionsResponse> ListPartitions(ListPartitionsRequest request, ServerCallContext context)

Parameters

request ListPartitionsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns

Task<ListPartitionsResponse>

The response to send back to the client (wrapped by a task).