/** * Creates a Mongo Bson object for field-based search criteria on the *unwound* __internal array documents. * * @param expression the expression for the resource whose existence is under scrutiny. * @return the complete Bson for the field-based search criteria */ public static Bson apply(final ExistsFieldExpression expression) { return expression.acceptExistsVisitor(new GetUnwoundExistsFilterBsonVisitor()); }
/** * Creates a Mongo Bson object for field-based search criteria on the *unwound* __internal array documents. * * @param expression the expression for the resource whose existence is under scrutiny. * @return the complete Bson for the field-based search criteria */ public static Bson apply(final ExistsFieldExpression expression) { return expression.acceptExistsVisitor(new GetUnwoundExistsFilterBsonVisitor()); }
/** * Creates a Mongo Bson object for field-based exists criteria. * * @param expression the expression of the resource whose existence is under scrutiny. * @return the complete Bson for the field-based exists criteria */ public static Bson apply(final ExistsFieldExpression expression) { return expression.acceptExistsVisitor(new GetExistsBsonVisitor()); }
/** * Creates a Mongo Bson object for field-based exists criteria. * * @param expression the expression of the resource whose existence is under scrutiny. * @return the complete Bson for the field-based exists criteria */ public static Bson apply(final ExistsFieldExpression expression) { return expression.acceptExistsVisitor(new GetExistsBsonVisitor()); }
public static Predicate<Thing> apply(final ExistsFieldExpression expression) { return expression.acceptExistsVisitor(new ExistsThingPredicateVisitor()); }