Class Collections.SatisfiesBuilder
- java.lang.Object
-
- com.couchbase.client.java.query.dsl.functions.Collections.SatisfiesBuilder
-
- Enclosing class:
- Collections
public static final class Collections.SatisfiesBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collections.SatisfiesBuilder
in(String variable, Expression expression)
Add an in-expression to the clause (a variable name and its associated expression)Expression
satisfies(Expression condition)
Sometimes the conditions you want to filter need to be applied to the arrays nested inside the document.Collections.SatisfiesBuilder
within(String variable, Expression expression)
Add a within-expression to the clause (a variable name and its associated expression)
-
-
-
Method Detail
-
in
public Collections.SatisfiesBuilder in(String variable, Expression expression)
Add an in-expression to the clause (a variable name and its associated expression)
-
within
public Collections.SatisfiesBuilder within(String variable, Expression expression)
Add a within-expression to the clause (a variable name and its associated expression)
-
satisfies
public Expression satisfies(Expression condition)
Sometimes the conditions you want to filter need to be applied to the arrays nested inside the document. The SATISFIES keyword is used to specify the filter condition. This method also ends the comprehension. Seeend()
to avoid setting any condition, instead just ending the comprehension.
-
-