A recursive filter node. Either a leaf (Field + Operator + Value) or a branch (Logic + Children). Used as the AI-facing filter descriptor that is later mapped to Telerik.DataSource filter types for evaluation.
Definition
Namespace:Telerik.Blazor.Components.DatAInsightsComposer
Assembly:Telerik.Blazor.DatAInsightsComposer.dll
Syntax:
public class DataSourceFilterDescriptor
Inheritance: objectDataSourceFilterDescriptor
Constructors
public DataSourceFilterDescriptor()
Properties
Child filter nodes. Populated on branch nodes only. Must contain at least 2 nodes.
public List<DataSourceFilterDescriptor>? Children { get; set; }
The data field to filter on. Populated on leaf nodes only. Must match a field name from the available fields list.
public string? Field { get; set; }
The runtime type of the filtered field. When provided, the mapper uses this to set
MemberType on the underlying FilterDescriptor without a field-list lookup.
Applies to both Grid and Chart filter contexts. Populated on leaf nodes only.
public DataSourceFieldType? FieldType { get; set; }
Logical operator combining the children. Populated on branch nodes only.
public DataSourceFilterLogic? Logic { get; set; }
The filter operator. Populated on leaf nodes only.
public DataSourceFilterOperator? Operator { get; set; }
The value to compare against. Can be a string, number, boolean, or date string. Typed as JsonElement so the JSON Schema correctly allows any scalar (string, number, boolean, or null) and deserialization is always consistent. Populated on leaf nodes only.
public JsonElement? Value { get; set; }