|
@@ -11,6 +11,7 @@ synopsis:keyword
|
|
|
"double|date bin(field:integer|long|double|date, buckets:integer|double|date_period|time_duration, ?from:integer|long|double|date, ?to:integer|long|double|date)"
|
|
|
"double|date bucket(field:integer|long|double|date, buckets:integer|double|date_period|time_duration, ?from:integer|long|double|date, ?to:integer|long|double|date)"
|
|
|
"boolean|cartesian_point|date|double|geo_point|integer|ip|keyword|long|text|unsigned_long|version case(condition:boolean, trueValue...:boolean|cartesian_point|date|double|geo_point|integer|ip|keyword|long|text|unsigned_long|version)"
|
|
|
+"double cbrt(number:double|integer|long|unsigned_long)"
|
|
|
"double|integer|long|unsigned_long ceil(number:double|integer|long|unsigned_long)"
|
|
|
"boolean cidr_match(ip:ip, blockX...:keyword|text)"
|
|
|
"boolean|text|integer|keyword|long coalesce(first:boolean|text|integer|keyword|long, ?rest...:boolean|text|integer|keyword|long)"
|
|
@@ -124,6 +125,7 @@ avg |number |"double|integer|long"
|
|
|
bin |[field, buckets, from, to] |["integer|long|double|date", "integer|double|date_period|time_duration", "integer|long|double|date", "integer|long|double|date"] |[Numeric or date expression from which to derive buckets., Target number of buckets., Start of the range. Can be a number or a date expressed as a string., End of the range. Can be a number or a date expressed as a string.]
|
|
|
bucket |[field, buckets, from, to] |["integer|long|double|date", "integer|double|date_period|time_duration", "integer|long|double|date", "integer|long|double|date"] |[Numeric or date expression from which to derive buckets., Target number of buckets., Start of the range. Can be a number or a date expressed as a string., End of the range. Can be a number or a date expressed as a string.]
|
|
|
case |[condition, trueValue] |[boolean, "boolean|cartesian_point|date|double|geo_point|integer|ip|keyword|long|text|unsigned_long|version"] |[A condition., The value that's returned when the corresponding condition is the first to evaluate to `true`. The default value is returned when no condition matches.]
|
|
|
+cbrt |number |"double|integer|long|unsigned_long" |"Numeric expression. If `null`, the function returns `null`."
|
|
|
ceil |number |"double|integer|long|unsigned_long" |Numeric expression. If `null`, the function returns `null`.
|
|
|
cidr_match |[ip, blockX] |[ip, "keyword|text"] |[IP address of type `ip` (both IPv4 and IPv6 are supported)., CIDR block to test the IP against.]
|
|
|
coalesce |first |"boolean|text|integer|keyword|long" |Expression to evaluate.
|
|
@@ -238,6 +240,7 @@ avg |The average of a numeric field.
|
|
|
bin |Creates groups of values - buckets - out of a datetime or numeric input. The size of the buckets can either be provided directly, or chosen based on a recommended count and values range.
|
|
|
bucket |Creates groups of values - buckets - out of a datetime or numeric input. The size of the buckets can either be provided directly, or chosen based on a recommended count and values range.
|
|
|
case |Accepts pairs of conditions and values. The function returns the value that belongs to the first condition that evaluates to `true`. If the number of arguments is odd, the last argument is the default value which is returned when no condition matches. If the number of arguments is even, and no condition matches, the function returns `null`.
|
|
|
+cbrt |Returns the cube root of a number. The input can be any numeric value, the return value is always a double. Cube roots of infinities are null.
|
|
|
ceil |Round a number up to the nearest integer.
|
|
|
cidr_match |Returns true if the provided IP is contained in one of the provided CIDR blocks.
|
|
|
coalesce |Returns the first of its arguments that is not null. If all arguments are null, it returns `null`.
|
|
@@ -292,7 +295,7 @@ signum |Returns the sign of the given number. It returns `-1` for negativ
|
|
|
sin |Returns ths {wikipedia}/Sine_and_cosine[Sine] trigonometric function of an angle.
|
|
|
sinh |Returns the {wikipedia}/Hyperbolic_functions[hyperbolic sine] of an angle.
|
|
|
split |Split a single valued string into multiple strings.
|
|
|
-sqrt |Returns the square root of a number. The input can be any numeric value, the return value is always a double. Square roots of negative numbers and infinites are null.
|
|
|
+sqrt |Returns the square root of a number. The input can be any numeric value, the return value is always a double. Square roots of negative numbers and infinities are null.
|
|
|
st_centroid_ag|The centroid of a spatial field.
|
|
|
st_contains |Returns whether the first geometry contains the second geometry. This is the inverse of the <<esql-st_within,ST_WITHIN>> function.
|
|
|
st_disjoint |Returns whether the two geometries or geometry columns are disjoint. This is the inverse of the <<esql-st_intersects,ST_INTERSECTS>> function. In mathematical terms: ST_Disjoint(A, B) ⇔ A ⋂ B = ∅
|
|
@@ -353,6 +356,7 @@ avg |double
|
|
|
bin |"double|date" |[false, false, true, true] |false |false
|
|
|
bucket |"double|date" |[false, false, true, true] |false |false
|
|
|
case |"boolean|cartesian_point|date|double|geo_point|integer|ip|keyword|long|text|unsigned_long|version" |[false, false] |true |false
|
|
|
+cbrt |double |false |false |false
|
|
|
ceil |"double|integer|long|unsigned_long" |false |false |false
|
|
|
cidr_match |boolean |[false, false] |true |false
|
|
|
coalesce |"boolean|text|integer|keyword|long" |false |true |false
|
|
@@ -467,5 +471,5 @@ countFunctions#[skip:-8.14.99, reason:BIN added]
|
|
|
meta functions | stats a = count(*), b = count(*), c = count(*) | mv_expand c;
|
|
|
|
|
|
a:long | b:long | c:long
|
|
|
-105 | 105 | 105
|
|
|
+106 | 106 | 106
|
|
|
;
|