Table of Contents

Class ShreddedVariantArrayBuilder

Namespace
Apache.Arrow.Operations.Shredding
Assembly
Apache.Arrow.Operations.dll

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

schema ShredSchema

The shredding schema applied to each row.

metadata byte[]

The column-level variant metadata (shared across rows).

rows IReadOnlyList<ShredResult>

Per-row shred results whose residual bytes reference metadata.

allocator MemoryAllocator

Arrow memory allocator, or default if null.

Returns

VariantArray