2023-10-17 23:36:14 +08:00
|
|
|
[[esql-functions-operators]]
|
2023-10-23 22:45:42 +08:00
|
|
|
=== {esql} functions and operators
|
2023-10-17 23:36:14 +08:00
|
|
|
++++
|
|
|
|
<titleabbrev>Functions and operators</titleabbrev>
|
|
|
|
++++
|
|
|
|
|
2023-10-23 22:45:42 +08:00
|
|
|
{esql} provides a comprehensive set of functions and operators for working with data.
|
2024-04-09 20:15:54 +08:00
|
|
|
The reference documentation is divided into the following categories:
|
2023-10-17 23:36:14 +08:00
|
|
|
|
|
|
|
[[esql-functions]]
|
2024-04-09 20:15:54 +08:00
|
|
|
==== Functions overview
|
|
|
|
|
|
|
|
.*Aggregate functions*
|
|
|
|
[%collapsible]
|
|
|
|
====
|
2023-10-23 22:45:42 +08:00
|
|
|
include::functions/aggregation-functions.asciidoc[tag=agg_list]
|
2024-04-09 20:15:54 +08:00
|
|
|
====
|
2023-10-17 23:36:14 +08:00
|
|
|
|
2024-04-26 00:38:12 +08:00
|
|
|
.*Grouping functions*
|
|
|
|
[%collapsible]
|
|
|
|
====
|
|
|
|
include::functions/grouping-functions.asciidoc[tag=group_list]
|
|
|
|
====
|
|
|
|
|
2024-05-06 19:43:30 +08:00
|
|
|
.*Conditional functions and expressions*
|
2024-04-09 20:15:54 +08:00
|
|
|
[%collapsible]
|
|
|
|
====
|
2024-05-06 19:43:30 +08:00
|
|
|
include::functions/conditional-functions-and-expressions.asciidoc[tag=cond_list]
|
2024-04-09 20:15:54 +08:00
|
|
|
====
|
2023-10-17 23:36:14 +08:00
|
|
|
|
2024-05-06 19:43:30 +08:00
|
|
|
// <Type-specific functions alphabetically ordered>
|
|
|
|
|
|
|
|
.*Date and time functions*
|
2024-04-09 20:15:54 +08:00
|
|
|
[%collapsible]
|
|
|
|
====
|
2024-05-06 19:43:30 +08:00
|
|
|
include::functions/date-time-functions.asciidoc[tag=date_list]
|
2024-04-09 20:15:54 +08:00
|
|
|
====
|
2023-10-17 23:36:14 +08:00
|
|
|
|
2024-05-06 19:43:30 +08:00
|
|
|
.*IP functions*
|
2024-04-09 20:15:54 +08:00
|
|
|
[%collapsible]
|
|
|
|
====
|
2024-05-06 19:43:30 +08:00
|
|
|
include::functions/ip-functions.asciidoc[tag=ip_list]
|
|
|
|
====
|
|
|
|
|
|
|
|
.*Math functions*
|
|
|
|
[%collapsible]
|
|
|
|
====
|
|
|
|
include::functions/math-functions.asciidoc[tag=math_list]
|
2024-04-09 20:15:54 +08:00
|
|
|
====
|
2023-10-17 23:36:14 +08:00
|
|
|
|
2024-04-09 20:15:54 +08:00
|
|
|
.*Spatial functions*
|
|
|
|
[%collapsible]
|
|
|
|
====
|
2024-03-06 18:19:54 +08:00
|
|
|
include::functions/spatial-functions.asciidoc[tag=spatial_list]
|
2024-04-09 20:15:54 +08:00
|
|
|
====
|
2024-03-06 18:19:54 +08:00
|
|
|
|
2024-05-06 19:43:30 +08:00
|
|
|
.*String functions*
|
2024-04-09 20:15:54 +08:00
|
|
|
[%collapsible]
|
|
|
|
====
|
2024-05-06 19:43:30 +08:00
|
|
|
include::functions/string-functions.asciidoc[tag=string_list]
|
2024-04-09 20:15:54 +08:00
|
|
|
====
|
2023-10-17 23:36:14 +08:00
|
|
|
|
2024-05-06 19:43:30 +08:00
|
|
|
// </Type-specific functions alphabetically ordered>
|
|
|
|
|
|
|
|
.*Type conversion functions*
|
2024-04-09 20:15:54 +08:00
|
|
|
[%collapsible]
|
|
|
|
====
|
2024-05-06 19:43:30 +08:00
|
|
|
include::functions/type-conversion-functions.asciidoc[tag=type_list]
|
2024-04-09 20:15:54 +08:00
|
|
|
====
|
2023-10-17 23:36:14 +08:00
|
|
|
|
2024-04-09 20:15:54 +08:00
|
|
|
.*Multi value functions*
|
|
|
|
[%collapsible]
|
|
|
|
====
|
2023-10-23 22:45:42 +08:00
|
|
|
include::functions/mv-functions.asciidoc[tag=mv_list]
|
2024-04-09 20:15:54 +08:00
|
|
|
====
|
|
|
|
|
|
|
|
[[esql-operators-overview]]
|
|
|
|
==== Operators overview
|
2023-10-17 23:36:14 +08:00
|
|
|
|
2024-04-09 20:15:54 +08:00
|
|
|
.*Operators*
|
|
|
|
[%collapsible]
|
|
|
|
====
|
2023-10-23 22:45:42 +08:00
|
|
|
include::functions/operators.asciidoc[tag=op_list]
|
2024-04-09 20:15:54 +08:00
|
|
|
====
|
2023-10-17 23:36:14 +08:00
|
|
|
|
|
|
|
include::functions/aggregation-functions.asciidoc[]
|
2024-04-26 00:38:12 +08:00
|
|
|
include::functions/grouping-functions.asciidoc[]
|
2024-05-06 19:43:30 +08:00
|
|
|
include::functions/conditional-functions-and-expressions.asciidoc[]
|
2023-10-17 23:36:14 +08:00
|
|
|
include::functions/date-time-functions.asciidoc[]
|
2024-05-06 19:43:30 +08:00
|
|
|
include::functions/ip-functions.asciidoc[]
|
|
|
|
include::functions/math-functions.asciidoc[]
|
2024-03-06 18:19:54 +08:00
|
|
|
include::functions/spatial-functions.asciidoc[]
|
2024-05-06 19:43:30 +08:00
|
|
|
include::functions/string-functions.asciidoc[]
|
2023-10-17 23:36:14 +08:00
|
|
|
include::functions/type-conversion-functions.asciidoc[]
|
|
|
|
include::functions/mv-functions.asciidoc[]
|
|
|
|
include::functions/operators.asciidoc[]
|