Class Partitions.PartitionsClient

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

Client for Partitions

public class Partitions.PartitionsClient : ClientBase<Partitions.PartitionsClient>

Inheritance

objectClientBaseClientBase<Partitions.PartitionsClient>Partitions.PartitionsClient

Inherited Members

ClientBase<Partitions.PartitionsClient>.WithHost(string), ClientBase<Partitions.PartitionsClient>.NewInstance(ClientBase.ClientBaseConfiguration), ClientBase.CallInvoker, object.Equals(object), object.Equals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object, object), object.ToString()

Constructors

PartitionsClient(ChannelBase)

Creates a new client for Partitions

public PartitionsClient(ChannelBase channel)

Parameters

channel ChannelBase

The channel to use to make remote calls.

PartitionsClient(CallInvoker)

Creates a new client for Partitions that uses a custom CallInvoker.

public PartitionsClient(CallInvoker callInvoker)

Parameters

callInvoker CallInvoker

The callInvoker to use to make remote calls.

PartitionsClient()

Protected parameterless constructor to allow creation of test doubles.

protected PartitionsClient()

PartitionsClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

protected PartitionsClient(ClientBase.ClientBaseConfiguration configuration)

Parameters

configuration ClientBase.ClientBaseConfiguration

The client configuration.

PartitionsClient(ChannelBase)

Creates a new client for Partitions

public PartitionsClient(ChannelBase channel)

Parameters

channel ChannelBase

The channel to use to make remote calls.

PartitionsClient(CallInvoker)

Creates a new client for Partitions that uses a custom CallInvoker.

public PartitionsClient(CallInvoker callInvoker)

Parameters

callInvoker CallInvoker

The callInvoker to use to make remote calls.

PartitionsClient()

Protected parameterless constructor to allow creation of test doubles.

protected PartitionsClient()

PartitionsClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

protected PartitionsClient(ClientBase.ClientBaseConfiguration configuration)

Parameters

configuration ClientBase.ClientBaseConfiguration

The client configuration.

Methods

GetPartition(GetPartitionRequest, Metadata, DateTime?, CancellationToken)

Get a partition by its ID.

public virtual GetPartitionResponse GetPartition(GetPartitionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Parameters

request GetPartitionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime?

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns

GetPartitionResponse

The response received from the server.

GetPartition(GetPartitionRequest, CallOptions)

Get a partition by its ID.

public virtual GetPartitionResponse GetPartition(GetPartitionRequest request, CallOptions options)

Parameters

request GetPartitionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns

GetPartitionResponse

The response received from the server.

GetPartition(GetPartitionRequest, Metadata, DateTime?, CancellationToken)

Get a partition by its ID.

public virtual GetPartitionResponse GetPartition(GetPartitionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Parameters

request GetPartitionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime?

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns

GetPartitionResponse

The response received from the server.

GetPartition(GetPartitionRequest, CallOptions)

Get a partition by its ID.

public virtual GetPartitionResponse GetPartition(GetPartitionRequest request, CallOptions options)

Parameters

request GetPartitionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns

GetPartitionResponse

The response received from the server.

GetPartitionAsync(GetPartitionRequest, Metadata, DateTime?, CancellationToken)

Get a partition by its ID.

public virtual AsyncUnaryCall<GetPartitionResponse> GetPartitionAsync(GetPartitionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Parameters

request GetPartitionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime?

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns

AsyncUnaryCall<GetPartitionResponse>

The call object.

GetPartitionAsync(GetPartitionRequest, CallOptions)

Get a partition by its ID.

public virtual AsyncUnaryCall<GetPartitionResponse> GetPartitionAsync(GetPartitionRequest request, CallOptions options)

Parameters

request GetPartitionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns

AsyncUnaryCall<GetPartitionResponse>

The call object.

GetPartitionAsync(GetPartitionRequest, Metadata, DateTime?, CancellationToken)

Get a partition by its ID.

public virtual AsyncUnaryCall<GetPartitionResponse> GetPartitionAsync(GetPartitionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Parameters

request GetPartitionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime?

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns

AsyncUnaryCall<GetPartitionResponse>

The call object.

GetPartitionAsync(GetPartitionRequest, CallOptions)

Get a partition by its ID.

public virtual AsyncUnaryCall<GetPartitionResponse> GetPartitionAsync(GetPartitionRequest request, CallOptions options)

Parameters

request GetPartitionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns

AsyncUnaryCall<GetPartitionResponse>

The call object.

ListPartitions(ListPartitionsRequest, Metadata, DateTime?, CancellationToken)

Get a partitions list using pagination, filters and sorting.

public virtual ListPartitionsResponse ListPartitions(ListPartitionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Parameters

request ListPartitionsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime?

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns

ListPartitionsResponse

The response received from the server.

ListPartitions(ListPartitionsRequest, CallOptions)

Get a partitions list using pagination, filters and sorting.

public virtual ListPartitionsResponse ListPartitions(ListPartitionsRequest request, CallOptions options)

Parameters

request ListPartitionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns

ListPartitionsResponse

The response received from the server.

ListPartitions(ListPartitionsRequest, Metadata, DateTime?, CancellationToken)

Get a partitions list using pagination, filters and sorting.

public virtual ListPartitionsResponse ListPartitions(ListPartitionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Parameters

request ListPartitionsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime?

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns

ListPartitionsResponse

The response received from the server.

ListPartitions(ListPartitionsRequest, CallOptions)

Get a partitions list using pagination, filters and sorting.

public virtual ListPartitionsResponse ListPartitions(ListPartitionsRequest request, CallOptions options)

Parameters

request ListPartitionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns

ListPartitionsResponse

The response received from the server.

ListPartitionsAsync(ListPartitionsRequest, Metadata, DateTime?, CancellationToken)

Get a partitions list using pagination, filters and sorting.

public virtual AsyncUnaryCall<ListPartitionsResponse> ListPartitionsAsync(ListPartitionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Parameters

request ListPartitionsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime?

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns

AsyncUnaryCall<ListPartitionsResponse>

The call object.

ListPartitionsAsync(ListPartitionsRequest, CallOptions)

Get a partitions list using pagination, filters and sorting.

public virtual AsyncUnaryCall<ListPartitionsResponse> ListPartitionsAsync(ListPartitionsRequest request, CallOptions options)

Parameters

request ListPartitionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns

AsyncUnaryCall<ListPartitionsResponse>

The call object.

ListPartitionsAsync(ListPartitionsRequest, Metadata, DateTime?, CancellationToken)

Get a partitions list using pagination, filters and sorting.

public virtual AsyncUnaryCall<ListPartitionsResponse> ListPartitionsAsync(ListPartitionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Parameters

request ListPartitionsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime?

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns

AsyncUnaryCall<ListPartitionsResponse>

The call object.

ListPartitionsAsync(ListPartitionsRequest, CallOptions)

Get a partitions list using pagination, filters and sorting.

public virtual AsyncUnaryCall<ListPartitionsResponse> ListPartitionsAsync(ListPartitionsRequest request, CallOptions options)

Parameters

request ListPartitionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns

AsyncUnaryCall<ListPartitionsResponse>

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

protected override Partitions.PartitionsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Parameters

configuration ClientBase.ClientBaseConfiguration

Returns

Partitions.PartitionsClient

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

protected override Partitions.PartitionsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Parameters

configuration ClientBase.ClientBaseConfiguration

Returns

Partitions.PartitionsClient