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 Expression
end()
Ends the comprehension without specifying any conditionprotected Expression
end(String conditionKeyword, Expression condition)
Collections.WhenBuilder
in(String variable, Expression expression)
Add an in-expression to the clause (a variable name and its associated expression)Expression
when(Expression condition)
Set a WHEN clause, a condition that must be satisfied by the array comprehension, and ends the comprehension.Collections.WhenBuilder
within(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
-