Stdlib index
- Captured-borrow migration worklist (3.3.3)
- Owned-bind migration worklist (8.2.7)
- Return-side title audit — the ride-through enumeration
- stdlib ownership audit
- stdlib ownership dispositions (plan 1.3.1 / 4.3.1)
codec
codec / csv
codec / json
collection
- ArrayList
- BPlusTree
- Cache
- Collectors
- HashMap
- HashSet
- Heap
- ImmutableList
- ImmutableMap
- ImmutableSet
- LinkedList
- RedBlackTree
- Sort
collection / ltm
concurrent
error
gfx
hash
ifx
io
io / file
io / net
io / net / dns
io / net / tls
io / net / uri
lang
lang / stream
math
math / fft
math / linalg
math / npio
math / poly
math / random
math / stats
nucleo
- Columns — the Arrow-laid-out substrate
- Fused tensor expressions — Fuse
- Table — the lazy, typed dataframe
- Tape — define-by-run autograd
- Transform intrinsics — Grad, Vmap, Jit
process
reflect
search / distance
search / fuzzy
search / ngram
session
time
- Clock
- DateTimeFormatter
- Duration
- Instant
- LocalDate
- LocalDateTime
- LocalTime
- Period
- ZonedDateTime
- ZoneId
- ZoneOffset
wire
xpu
xpu / mesh
Schema
cajeta.wire.Schema — the schema a SchemaEncoder<T>
decodes against. v1 is a deliberately opaque carrier of the schema’s raw
serialized definition — for Avro that is the JSON schema text an Object
Container File embeds in its header. Until a format needs structured field
modeling, a Schema is just the owned bytes that describe a record.
int8[] def = heap int8[4];
Schema s = heap Schema(#def);
int8[] raw = s.definition(); // borrow the raw descriptor
Methods
| Signature | |
|---|---|
Schema(#int8[] definition) ⚑ | Wrap (take ownership of) the raw schema definition bytes |
int8[] definition() | The raw schema descriptor bytes (borrowed; owned by this Schema) |
⚑ = @EntryPoint
See also
- SchemaEncoder — the codec that consumes a
Schema - Source:
runtime/src/cajeta/wire/Schema.cajeta