Class ShardFilter
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
Type
Gets the kind of filter.
public required ShardFilterType Type { get; init; }
Property Value
Methods
Equals(ShardFilter?)
public bool Equals(ShardFilter? other)
Parameters
otherShardFilter
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ShardFilter?, ShardFilter?)
public static bool operator ==(ShardFilter? left, ShardFilter? right)
Parameters
leftShardFilterrightShardFilter
Returns
operator !=(ShardFilter?, ShardFilter?)
public static bool operator !=(ShardFilter? left, ShardFilter? right)
Parameters
leftShardFilterrightShardFilter