1

I would like to test if a Jackson node matches a set of conditions, expressed with MongoDb query operators (or eventually MongoJack's DBQuery objects)

Is there an out-of-the-box solution that I've missed, or should I build it myself ?

Sample interface:

 /**
  * Tests if context matches the set of conditions, expressed as MongoDb query operators
  * @return true if it matches
  */
  public boolean isMatch(JsonNode context, JsonNode conditions) {
     ....
  }
Benoît
  • 1,080
  • 11
  • 28

0 Answers0