Crate ultibi

Source

Modules§

add_row
aggregations
This module defines supported aggregations
cache
dataset
errors
TODO
execution
helpers
overrides
prelude

Structs§

AggregationRequest
BaseMeasure
Measure is the essentially a Struct of a calculator and a name
CacheableAggregationRequest
CalcParameter
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)
DataFrame
A contiguous growable collection of Series that have the same length.
DataSetBase
This is the default struct which implements Dataset Usually a client/user would overwrite it with their own DataSet
DependantMeasure
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§

CacheableComputeRequest
This is used for
ComputeRequest
Fundamentally, user might want to:
DataSourceConfig
Expr
Queries consists of multiple expressions.
Measure
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
ValidateSet

Constants§

NULL

Traits§

DataSet
The main Trait
IntoLazy
Literal

Functions§

col
Create a Column Expression based on a column name.
derive_basic_measures_vec
diag_concat_df
Concat [DataFrame]s diagonally. Concat diagonally thereby combining different schemas.
exec_agg
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
execute
Distributes work based on request
fields_columns
restrict columns which can be fields to Utf8 and Bool
filter_contains_unique
Helper function - used for search within a column Filters Series by pat Returns unique values
lit
Create a Literal Expression from L
numeric_columns
read_toml2
reads setup.toml

Type Aliases§

CPM
MeasureName
Each [DataSet] has measures accessed via get_measures() This alias to represent a measure name, a unique string
MeasuresMap
(Measure Name, Measure)
PolarsResult