AggrFunction class

Represents an aggregate function

Index

Constructors

Public Properties

Public Methods

Constructors


constructor

The default constructor. ⊕ new AggrFunction(): AggrFunction


Public Properties


appliedTypes

● appliedTypes: DataType[]


caption

The caption of the aggregate function.

● caption: string


displayFormat

The display format of aggregate function.

● displayFormat: string


id

The function id. (e.g. SUM or COUNT)

● id: string


sqlExpr

The SQL expression

● sqlExpr: string


Public Methods


getAppliedTypesOrDefault

▸ getAppliedTypesOrDefault(): DataType[]

Returns DataType[]


loadFromData

Loads an aggregate function from its JSON representation object

▸ loadFromData(aggrFunction: AggrFuncData): void

Parameters:

  • aggrFunction: AggrFuncData - The JSON representation object

Returns void