函数

函数可以有不同的特征码(一组不同的有序参数)。 函数签名可以将0-N表达式作为有序参数。

<function name>(<expression as param 1>, <expression as param 2>, … ,<expression as param N>)

每个函数都有一个特定的返回类型。

以下是支持的函数列表。

主要函数

类别 函数
Adobe Experience Platform inSegment
聚合 avg
聚合 count
聚合 countOnlyNull
聚合 countWithNull
聚合 distinctCount
聚合 distinctCountWithNull
聚合 max
聚合 min
聚合 sum
转化 toBool
转化 toDateOnly
转化 toDateTime
转化 toDateTimeOnly
转化 toDecimal
转化 toDuration
转化 toInteger
转化 toString
日期 currentTimeInMillis
日期 inLastDays
日期 inLastHours
日期 inLastMonths
日期 inLastYears
日期 inNextDays
日期 inNextHours
日期 inNextMonths
日期 inNextYears
日期 now
日期 nowWithDelta
日期 setHours
日期 setDays
日期 updateTimeZone
列表 distinct
列表 distinctWithNull
列表 filter
列表 getListItem
列表 in
列表 intersect
列表 listSize
列表 serializeList
列表 sort
数学 random
数学 round
字符串 concat
字符串 contain
字符串 containIgnoreCase
字符串 endWith
字符串 endWithIgnoreCase
字符串 equalIgnoreCase
字符串 indexOf
字符串 isEmpty
字符串 isNotEmpty
字符串 lastIndexOf
字符串 长度
字符串 lower
字符串 matchRegExp
字符串 notEqualIgnoreCase
字符串 replace
字符串 replaceAll
字符串 startWith
字符串 startWithIgnoreCase
字符串 substr
字符串 trim
字符串 upper
字符串 uuid

在此页面上