Class Collections.SatisfiesBuilder

  • Enclosing class:
    Collections

    public static final class Collections.SatisfiesBuilder
    extends Object
    • Method Detail

      • 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. See end() to avoid setting any condition, instead just ending the comprehension.