関数

最終更新日: 2021-12-10
  • トピック:
  • Journeys
    このトピックの詳細を表示
  • 作成対象:
  • Experienced
    Developer

関数は、異なるシグネチャ(順序付きパラメーターの異なるセット)を持つことができます。関数シグネチャは、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
文字列 length
文字列 lower
文字列 matchRegExp
文字列 notEqualIgnoreCase
文字列 replace
文字列 replaceAll
文字列 startWith
文字列 startWithIgnoreCase
文字列 substr
文字列 trim
文字列 upper
文字列 uuid

このページ