Class ShreddedVariantArrayBuilder
Assembles a shredded VariantArray from pre-shredded rows.
Produces an Arrow struct with shared metadata, residual value,
and the typed_value tree whose Arrow shape matches the ShredSchema.
public static class ShreddedVariantArrayBuilder
- Inheritance
-
ShreddedVariantArrayBuilder
- Inherited Members
Methods
Build(ShredSchema, byte[], IReadOnlyList<ShredResult>, MemoryAllocator)
Builds a shredded VariantArray from the output of Shred(IEnumerable<VariantValue>, ShredSchema).
public static VariantArray Build(ShredSchema schema, byte[] metadata, IReadOnlyList<ShredResult> rows, MemoryAllocator allocator = null)
Parameters
schemaShredSchemaThe shredding schema applied to each row.
metadatabyte[]The column-level variant metadata (shared across rows).
rowsIReadOnlyList<ShredResult>Per-row shred results whose residual bytes reference
metadata. Anullentry produces a null (SQL-NULL) element in the resulting array.allocatorMemoryAllocatorArrow memory allocator, or default if null.