Apps     Components     Interfaces     All Files     Source Tree     source: tos.lib.TinyDB.Aggregates.Aggregate.nc

Interface: Aggregate

Author: Eugene Shvets This interface allows users to create custom aggregates. All built-in aggregates conform to this interface.

Components providing this interface:
tos.lib.TinyDB.Aggregates.AvgM
tos.lib.TinyDB.Aggregates.CountM
tos.lib.TinyDB.Aggregates.ExpAvgM
tos.lib.TinyDB.Aggregates.MaxM
tos.lib.TinyDB.Aggregates.MinM
tos.lib.TinyDB.Aggregates.SumM
tos.lib.TinyDB.Aggregates.WinAvgM
tos.lib.TinyDB.Aggregates.WinCountM
tos.lib.TinyDB.Aggregates.WinMaxM
tos.lib.TinyDB.Aggregates.WinMinM
tos.lib.TinyDB.Aggregates.WinSumM

Components requiring this interface:
tos.lib.TinyDB.Aggregates.AggregateUseM

Commands

Commands - Details

merge

result_t merge(char *destdata, char *mergedata, ParamList *params, ParamVals *paramValues)

dest, merge - raw data. each aggregate can cast it to appropriate data structure. Stuff that previosly came as part of expr->ex.tagg is passed in general way as list of params