BooleanExpression.Companion

public static class BooleanExpression.Companion


Summary

Public methods

static final @NonNull BooleanExpression

Creates a 'raw' boolean function expression.

Public methods

rawFunction

public static final @NonNull BooleanExpression rawFunction(@NonNull String name, @NonNull Expression expr)

Creates a 'raw' boolean function expression. This is useful if the expression is available in the backend, but not yet in the current version of the SDK yet.

// Create a raw boolean function call
BooleanExpression
.rawFunction("my_boolean_function", field("arg1"), constant(true))
Parameters
@NonNull String name

The name of the raw function.

@NonNull Expression expr

The expressions to be passed as arguments to the function.

Returns
@NonNull BooleanExpression

A new BooleanExpression representing the raw function.