函式

函式可以具有不同的簽名(一組不同的有序參數)。 函式簽名可以具有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
日期 當前時間
日期 inLastDays
日期 inLastHours
日期 inLastMonths
日期 inLastYears
日期 inNextDays
日期 inNextHours
日期 inNextMonths
日期 inNextYears
日期 now
日期 nowWithDelta
日期 setHours
日期 setDays
日期 updateTimeZone
清單 distinct
清單 distinctWithNull
清單 篩選
清單 getListItem
清單
清單 相交
清單 listSize
清單 serializeList
清單 sort
Math random
數學 round
字串 concat
字串 contain
字串 containIgnoreCase
字串 endWith
字串 endWithIgnoreCase
字串 equalIgnoreCase
字串 indexOf
字串 isEmpty
字串 isNotEmpty
字串 lastIndexOf
字串 長度
字串 lower
字串 matchRegExp
字串 notEqualIgnoreCase
字串 replace
字串 replaceAll
字串 startWith
字串 startWithIgnoreCase
字串 substr
字串 trim
字串 upper
字串 uuid

本頁內容