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
Modifier and Type Method Description Expressionend()Ends the comprehension without specifying any conditionprotected Expressionend(String conditionKeyword, Expression condition)Collections.SatisfiesBuilderin(String variable, Expression expression)Add an in-expression to the clause (a variable name and its associated expression)Expressionsatisfies(Expression condition)Sometimes the conditions you want to filter need to be applied to the arrays nested inside the document.Collections.SatisfiesBuilderwithin(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) -
satisfies
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. -
end
Ends the comprehension without specifying any condition -
end
-