curl -s 'https://www.unum.cloud/docs/ustore/go/documents.md' | claude -p "How would this fit my code?"
DocsWrite writes JSON text by default, whole documents or, with Fields, top-level keys and RFC 6901 pointers inside them, and DocsModification chooses between an upsert, an update, an insert, an RFC 6902 patch and an RFC 7386 merge. DocsRead reads whole documents or fields as JSON or as strings, and DocsGist lists the paths to every leaf. DocsGather converts fields into typed columns, a row per key, whose scalars DocsColumnScalars views straight in the arena beside the validity, conversion and collision bitmaps.
OutputsType is what the values are converted into, JSON text by default or a string.
DocsScalarDocsScalar constrains the Go types a scalar column reads as, one per fixed-width DocsFieldType: a 16-bit float as its bits, and a UUID as a Key.
StructDocsBatchesDocsBatches is what one pull of a DocsCursor wrote into its arena in walk order, one batch per executor task that found rows, readable until the arena serves another call.3
StructDocsColumnDocsColumn is the rows of one field as an Apache Arrow array of its type, beside the bitmaps of the rows found and converted, converted with a change of semantics, and colliding with a value of an inconvertible type.5
EnumDocsFieldTypeDocsFieldType is the type of a document, or of a value extracted from one; every type but JSON text, strings and binary text is a fixed-width scalar.2
DocsColumnScalarsDocsColumnScalars views the scalars of a column gathered as the type Value spells, in place; a Value of another width than the column's type reads garbage, as the column does not record it.
DocsColumnViewToArrowDocsColumnViewToArrow exports one column a gather of fieldType wrote into arena as an Arrow column whose validity buffer is the column's validities; until both outputs are released, the arena's next call and Close answer StatusContended.