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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 Detail
-
in
public Collections.WhenBuilder in(String variable, Expression expression)
Add an in-expression to the clause (a variable name and its associated expression)
-
within
public Collections.WhenBuilder within(String variable, Expression expression)
Add a within-expression to the clause (a variable name and its associated expression)
-
when
public Expression when(Expression condition)
Set a WHEN clause, a condition that must be satisfied by the array comprehension, and ends the comprehension. Seeend()
to avoid setting any condition.
-
-