PointId

@Serializable(with = PointIdSerializer::class)
sealed interface PointId

A Qdrant point identifier. Qdrant accepts exactly two forms: an unsigned 64-bit integer or a UUID string. Modelled as a sealed type so the two cases are impossible to confuse.

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class Num(val value: ULong) : PointId

Unsigned 64-bit integer id (may exceed Long.MAX_VALUE).

Link copied to clipboard
data class Uuid(val value: String) : PointId

UUID id, kept as its string form.