TAggregateMin class
Internally used class for minimum aggregate functions
Declaration
TAggregateMin = class(TAggregateExpr)Inheritance
Description
The AggregateMin class implements the minimum aggregate function, which finds the smallest value among all processed values.
It extends TAggregateExpr to provide minimum-specific aggregation logic.
The class maintains an internal state that tracks the minimum value encountered so far during the aggregation process. The first value encountered is used as the initial minimum, and subsequent values are compared to update the minimum when smaller values are found.
The minimum function works with numeric types (integers, floats, currency) and can also compare string and date/time values using appropriate comparison logic for each data type.
This class is used internally by the TFPExpressionParser class to construct an AST (Abstract Syntax Tree). There is normally no need for you to use or instantiate this class directly.
See also
Methods
InitAggregate | public | Initialize minimum aggregation |
UpdateAggregate | public | Update minimum aggregate with new value |
Fields
FFirst | protected | Flag indicating first value in aggregation |
Inherited
From TAggregateExpr (2)
From TFPExprFunction (9)
ArgumentNodes ArgumentParams AsString CalcParams Check ConvertArgument CreateFunction Destroy HasAggregate
From TFPExprIdentifierNode (3)
From TFPExprNode (2)
From TObject (41)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance Create DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
