Table of Contents

Class ShardFilter

Namespace
DynaSharp.Streams
Assembly
DynaSharp.dll

Restricts the shards that DescribeStream lists.

public sealed record ShardFilter : IEquatable<ShardFilter>
Inheritance
ShardFilter
Implements
Inherited Members

Remarks

With ChildShards the call returns only the children of one shard, which is how a reader that finished a shard finds the shards to continue with without listing the whole stream again.

Constructors

ShardFilter()

public ShardFilter()

Properties

ShardId

Gets the identifier of the shard whose children are listed.

public required string ShardId { get; init; }

Property Value

string

Type

Gets the kind of filter.

public required ShardFilterType Type { get; init; }

Property Value

ShardFilterType

Methods

Equals(ShardFilter?)

public bool Equals(ShardFilter? other)

Parameters

other ShardFilter

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(ShardFilter?, ShardFilter?)

public static bool operator ==(ShardFilter? left, ShardFilter? right)

Parameters

left ShardFilter
right ShardFilter

Returns

bool

operator !=(ShardFilter?, ShardFilter?)

public static bool operator !=(ShardFilter? left, ShardFilter? right)

Parameters

left ShardFilter
right ShardFilter

Returns

bool