Table of Contents

Class ShredSchemaInferer

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

Analyzes a batch of VariantValues and infers an optimal ShredSchema for shredding them.

public sealed class ShredSchemaInferer
Inheritance
ShredSchemaInferer
Inherited Members

Methods

Infer(IEnumerable<VariantValue>, ShredOptions)

Infers a shredding schema by analyzing the given values.

public ShredSchema Infer(IEnumerable<VariantValue> values, ShredOptions options = null)

Parameters

values IEnumerable<VariantValue>

The variant values to analyze.

options ShredOptions

Options controlling depth, frequency, and type consistency thresholds.

Returns

ShredSchema

An inferred ShredSchema.

Infer(IEnumerable<VariantValue?>, ShredOptions)

Infers a shredding schema by analyzing the given nullable values. null entries are SQL-NULL rows and are ignored; they carry no type information and do not count toward frequency thresholds.

public ShredSchema Infer(IEnumerable<VariantValue?> values, ShredOptions options = null)

Parameters

values IEnumerable<VariantValue?>

The variant values to analyze.

options ShredOptions

Options controlling depth, frequency, and type consistency thresholds.

Returns

ShredSchema

An inferred ShredSchema.