List Functions
This page lists the list (ListAccum) functions that are available in the GSQL query language.
head()
last()
Description
last()
returns the last element in a list. It is semantically the same as list.get(list.size() - 1)
range()
Description
range()
returns a ListAccum
of integer values within a range bounded by a start value start
and end value end
, and an optional step size step
. The range is inclusive, so the arithmetic progression will always contain start
, and it may contain end
.