Functions
This page provides an overview of all functions available in the View query language. Functions perform operations on data and return results that can be used in queries.
Aggregation Functions
Aggregation functions perform calculations across groups of rows.
Function | Description | Example |
---|---|---|
|
Creates a collection of values from multiple rows |
|
Counts the number of matching rows |
|
Pagination Functions
Functions that support pagination and result set management.
Function | Description | Example |
---|---|---|
Generates a token for retrieving the next page of results |
|
|
Uses a token to determine the starting position for pagination |
|
|
Indicates if more results exist beyond the current page |
|
|
Returns the total count of rows matching the query |
|
Text Search Functions
Functions for advanced text searching capabilities.
Function | Description | Example |
---|---|---|
Performs language-aware text search |
|
Function Usage
Functions can be used in different parts of a query:
-
In the
SELECT
clause to compute values for the result -
With the
OFFSET
clause for token-based pagination -
In the
WHERE
clause for filtering (text_search only)
Function Categories by Return Type
Related Features
-
SELECT clause - Using functions in result projections
-
Paging - Using pagination functions
-
WHERE clause - Using functions in filters
-
Result Mapping - How function results map to Java types