Module com.darkcollective.relix.value


module com.darkcollective.relix.value
The sealed Value hierarchy — the scalar values a query produces and consumes.

A Value is one field of one row: a string, an arbitrary-precision number, a boolean, SQL NULL, one of the four temporal kinds, or a nested struct/array. Every subtype is immutable and reports the ScalarType it maps onto, so a value can be matched against the schema that describes it.

The module holds nothing but those values and the two utilities that operate on them alone — ValuePath (dotted/indexed access into a nested value) and JsonValues (JSON text to and from a Value tree). It deliberately knows nothing about rows, operators, or execution: its one dependency is the type system it reports against, so it can sit near the bottom of the module graph and be required by both the metadata layer and the engine without introducing a cycle.