public final class ArrayFunction extends Object
| Modifier and Type | Method and Description |
|---|---|
static Expression |
contains(Expression expression,
Expression value)
Creates an ARRAY_CONTAINS(expr, value) function that checks whether the given array
expression contains the given value or not.
|
static Expression |
length(Expression expression)
Creates an ARRAY_LENGTH(expr) function that returns the length of the given array
expression.
|
public static Expression contains(Expression expression, Expression value)
expression - The expression that evaluate to an array.value - The value to search for in the given array expression.public static Expression length(Expression expression)
expression - The expression that evluates to an array.