kdrant
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
kdrant
kdrant-core
/
dev.kdrant.model
/
ShardTransferInfo
Shard
Transfer
Info
@
Serializable
data
class
ShardTransferInfo
(
val
shardId
:
Int
,
val
toShardId
:
Int
?
=
null
,
val
from
:
Long
,
val
to
:
Long
,
val
sync
:
Boolean
=
false
)
A shard transfer in progress.
sync
distinguishes replicating a shard from moving it.
Members
Constructors
Shard
Transfer
Info
Link copied to clipboard
constructor
(
shardId
:
Int
,
toShardId
:
Int
?
=
null
,
from
:
Long
,
to
:
Long
,
sync
:
Boolean
=
false
)
Properties
from
Link copied to clipboard
@
SerialName
(
value
=
"from"
)
val
from
:
Long
shard
Id
Link copied to clipboard
@
SerialName
(
value
=
"shard_id"
)
val
shardId
:
Int
sync
Link copied to clipboard
@
SerialName
(
value
=
"sync"
)
val
sync
:
Boolean
to
Link copied to clipboard
@
SerialName
(
value
=
"to"
)
val
to
:
Long
to
Shard
Id
Link copied to clipboard
@
SerialName
(
value
=
"to_shard_id"
)
val
toShardId
:
Int
?