Interface
Single expression. A single expression may contain multiple parts. For exmaple,
// avg({field1})
{
name: 'exp1',
parts: [
{ type: FUNCTION, exp: 'AVERAGE' },
{ type: OPERATOR, exp: '(' },
{ type: FIELD, exp: '{field1}', dataSourceId: ds1, jimuFieldName: field1 },
{ type: OPERATOR, exp: ')' }
]
}
Properties
Property | Type | Notes |
---|---|---|
string | Name of the expression. | |
FormatNumberOptions | Format of the number results. See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat for more details. | |
Expression parts. |
numberFormat
optional
Interface PropertynumberFormat: FormatNumberOptions
Format of the number results. See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat for more details.
parts
Interface Propertyparts: ExpressionPart[]
Expression parts.