ProjectionValue

sealed interface ProjectionValue(source)

Detached immutable data admitted at a declaration projection boundary. Values contain no state sources, handlers, platform objects, or executable code. A transport must bound encoded sizes and nesting before allocating incoming values.

Inheritors

Types

Link copied to clipboard
data object Absent : ProjectionValue

An explicitly absent optional value.

Link copied to clipboard

An owned byte snapshot; construction and extraction copy the caller's array.

Link copied to clipboard
data class Flag(val value: Boolean) : ProjectionValue

A boolean property.

Link copied to clipboard
data class Integer(val value: Long) : ProjectionValue

A signed integer property, narrowed with checked bounds by its schema decoder.

Link copied to clipboard
data class Real(val value: Double) : ProjectionValue

A finite floating-point property.

Link copied to clipboard

An ordered defensive snapshot of schema fields or homogeneous collection entries.

Link copied to clipboard
data class Text(val value: String) : ProjectionValue

Text whose encoded byte limit is enforced by the transport.