Skip to main content

Module selection

Module selection 

Source
Expand description

§Selection Traits - Selection across dimensions

Traits for field and data selection that enable polymorphic methods across Table, TableV, Cube, and future types.

§Architecture

  • FieldSelector: Input types that can specify field selection (e.g., &str, usize)
  • DataSelector: Input types that can specify data selection (e.g., usize, ranges)
  • FieldSelection: Capability trait for types that support field selection
  • DataSelection: Capability trait for types that support data selection
  • Selection2D: Combined 2D selection (FieldSelection + DataSelection)
  • Selection3D: Future Extension for 3D selection
  • Selection4D: Future Extension for 4D selection

Traits§

ColumnSelection
Trait for types that support field/column selection
DataSelector
Trait for types that can specify a data selection (index-based dimension)
FieldSelector
Trait for types that can specify a field selection (named/schema dimension)
RowSelection
Trait for types that support row/data selection
Selection2D
Combined trait for 2D selection (field + data dimensions)