Expression

Interface

Single expression. A single expression may contain multiple parts. For exmaple,

          
1
2
3
4
5
6
7
8
9
10
// avg({field1})
{
 name: 'exp1',
 parts: [
   { type: FUNCTION, exp: 'AVERAGE' },
   { type: OPERATOR, exp: '(' },
   { type: FIELD, exp: '{field1}', dataSourceId: ds1, jimuFieldName: field1 },
   { type: OPERATOR, exp: ')' }
  ]
}

Properties

name
name: string

Name of the expression.

parts
parts: ExpressionPart[]

Expression parts.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.