Class Collections.WhenBuilder
java.lang.Object
com.couchbase.client.java.query.dsl.functions.Collections.WhenBuilder
- Enclosing class:
- Collections
public static final class Collections.WhenBuilder extends Object
-
Method Summary
Modifier and Type Method Description Expressionend()Ends the comprehension without specifying any conditionprotected Expressionend(String conditionKeyword, Expression condition)Collections.WhenBuilderin(String variable, Expression expression)Add an in-expression to the clause (a variable name and its associated expression)Expressionwhen(Expression condition)Set a WHEN clause, a condition that must be satisfied by the array comprehension, and ends the comprehension.Collections.WhenBuilderwithin(String variable, Expression expression)Add a within-expression to the clause (a variable name and its associated expression)
-
Method Details
-
in
Add an in-expression to the clause (a variable name and its associated expression) -
within
Add a within-expression to the clause (a variable name and its associated expression) -
when
Set a WHEN clause, a condition that must be satisfied by the array comprehension, and ends the comprehension. Seeend()to avoid setting any condition. -
end
Ends the comprehension without specifying any condition -
end
-