関数 functions

関数は、異なるシグネチャ(順序付きパラメーターの異なるセット)を持つことができます。関数シグネチャは、0~N 個の式を順序付きパラメーターとして持つことができます。

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

関数ごとに、固有の戻り値タイプがあります。

サポートされている関数の一覧を以下に示します。

主な関数

カテゴリ
関数
Adobe Experience Platform
inAudience
集計
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
リスト
limit
リスト
listSize
リスト
serializeList
リスト
sort
数値計算
random
数値計算
round
文字列
concat
文字列
contain
文字列
containIgnoreCase
文字列
endWith
文字列
endWithIgnoreCase
文字列
equalIgnoreCase
文字列
indexOf
文字列
isEmpty
文字列
isNotEmpty
文字列
lastIndexOf
文字列
length
文字列
lower
文字列
matchRegExp
文字列
notEqualIgnoreCase
文字列
replace
文字列
replaceAll
文字列
split
文字列
startWith
文字列
startWithIgnoreCase
文字列
substr
文字列
trim
文字列
upper
文字列
uuid
recommendation-more-help
b22c9c5d-9208-48f4-b874-1cefb8df4d76