openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Todd Nine <t...@spidertracks.com>
Subject More questions regarding frameworks
Date Tue, 15 Mar 2011 02:29:25 GMT
Hi guys,
  I have a few more questions.  I've made some progress in identifying
where I need to update the hector plugin for collections and could use
some help.


Collections/Associations.

On all collections I need to update a secondary index.    The
AbstractStoreManager.flush method contains all new entities, deleted
entities, and dirty entities.  As I'm creating my EntityFacade for
operations, is it possible to tell within the x-to-many fields which
items have been updated or deleted from field meta data?  This would
allow me to optimize the indexing and not update indexes on values that
haven't changed.


https://github.com/riptano/hector-jpa/blob/master/src/main/java/com/datastax/hectorjpa/store/EntityFacade.java

lines 54 and 62.


I've also noticed that api performs all the query parsing for me.  Do I
simply extends the ExpressionStoreQuery object to create my own queries
within Cassandra?  How do I wire this as the query mechanism in the
plugin?

Thanks,
Todd

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message