Class ShredSchemaInferer
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
valuesIEnumerable<VariantValue>The variant values to analyze.
optionsShredOptionsOptions 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
valuesIEnumerable<VariantValue?>The variant values to analyze.
optionsShredOptionsOptions controlling depth, frequency, and type consistency thresholds.
Returns
- ShredSchema
An inferred ShredSchema.