Modules
- This module defines supported aggregations
- TODO
Structs
- Measure is the essentially a Struct of a calculator and a name
- This struct is purely for DataSet descriptive purposes(for now). Recall measure may take parameters in form of HashMap<paramName, paramValue> This struct returns all possible paramNames for the given Dataset (for UI purposes only)
- A contiguous growable collection of
Series
that have the same length. - This is the default struct which implements Dataset Usually a client/user would overwrite it with their own DataSet
- Dependant Measure cannot be computed directly. Instead it is broken down into it’s parents parents get executed, and then used to compute the DependantMeasure.
Enums
- This is used for
- Fundamentally, user might want to:
- Queries consists of multiple expressions.
- AggRequest –> execute –> split DependantMeasure into BaseMeasure’s (BaseMeasure leave as they are) –> execute_aggregation –> combine back into original request make cahce default (ie not a feature) do not change the OUTPUT of any existing .get_measures() - because user/client does not/should not care about what kind of measure they are calling
Constants
Traits
- The main Trait
Functions
- Create a Column Expression based on a column name.
- Concat
[DataFrame]
s diagonally. Concat diagonally thereby combining different schemas. - Looks up measures and calls calculator on those returning an Expr Breaks down requested measures into Basic and Dependents Sends Basics to [ultibi::_exec_agg_with_cache] or [ultibi::_exec_agg_base] Executes Dependents in .with_columns() context
- Distributes work based on request
- restrict columns which can be fields to Utf8 and Bool
- Helper function - used for search within a column Filters Series by
pat
Returns unique values - Create a Literal Expression from
L
- reads setup.toml
Type Definitions
- Each [DataSet] has measures accessed via get_measures() This alias to represent a measure name, a unique string
- (Measure Name, Measure)