In Mongodb, you can write queries that include multiple attributes of objects and even nested objects. Does oracle coherence support such complex queries or is it a simple K/V store?
Sample Mongodb query:
db.reports.find({profit:{$gt:99}, classification:'gas', name:/^USA/})
Is it possible to do similar queries on coherence?
Yes, you can query entries belonging to a single cache against multiple object attributes (nested objects included).
You can either use Filter API or Coherence Query Language to do that.
The above query expressed via Filters would be something like:
or using CohQL: