LocalShardInfo

@Serializable
data class LocalShardInfo(val shardId: Int, val shardKey: ShardKey? = null, val pointsCount: Long = 0, val state: ReplicaState = ReplicaState.UNKNOWN)

A shard served by the node that answered the request.

Constructors

Link copied to clipboard
constructor(shardId: Int, shardKey: ShardKey? = null, pointsCount: Long = 0, state: ReplicaState = ReplicaState.UNKNOWN)

Properties

Link copied to clipboard
@SerialName(value = "points_count")
val pointsCount: Long
Link copied to clipboard
@SerialName(value = "shard_id")
val shardId: Int
Link copied to clipboard
@SerialName(value = "shard_key")
val shardKey: ShardKey?
Link copied to clipboard
@SerialName(value = "state")
val state: ReplicaState