AbstractColumn

abstract class AbstractColumn(val wrapped: MutableMap<String, Any?>) : AbstractSchema, Column

Base implementation for table Column backed by a mutable map.

Handles schema fields, visibility, and metadata initialization.

Constructors

Link copied to clipboard
constructor(wrapped: MutableMap<String, Any?>)

Properties

Link copied to clipboard
open override var hidden: Boolean

Hidden flag; parsed via String.toBoolean(); defaults to false when absent.

Link copied to clipboard
open override var id: String

Unique column id; coerced to non-null string using toNonNullableString().

Link copied to clipboard
open override val metadata: JoyMap

Metadata map; ensures a mutable map exists under Column.metadata before wrapping.

Link copied to clipboard
open override var required: Boolean

Required flag; parsed strictly using toBooleanStrictOrNull() after lowercasing.

Link copied to clipboard
open override var title: String

Human-readable title; coerced to non-null string on read.

Link copied to clipboard
open override var type: Type

Concrete column type resolved via type() helper.

Link copied to clipboard

Functions

Link copied to clipboard
open override fun toJsonObject(): JsonObject

Serializes this instance to a structured JsonObject.

Link copied to clipboard
open override fun toJsonString(): String

Serializes this instance to a compact JSON string.

Link copied to clipboard
open override fun toMap(): MutableMap<String, Any?>

Converts this instance into a mutable key-value map suitable for mutation and re-serialization.