Is there any way to Query against the objects stored by a Terracotta instance?
I am looking for SQL-Like Queries or any way to filter objects based on fields.
Is there any way to Query against the objects stored by a Terracotta instance?
I am looking for SQL-Like Queries or any way to filter objects based on fields.
There was a good blog written on this topic recently: Querying Java Objects stored in Terracotta's NAM
JOSQL is iteration through all collection so if number of objects are large it could be slower.
You can read post http://tusharkhairnar.blogspot.com/2009/05/querying-java-objects-stored-in.html for implementing Indexing so that querying is fast.
There is tim-searchable released on forge site which has more features and uses Lucene framework.
Regards Tushar