[infinispan-issues] [JBoss JIRA] (ISPN-3660) Allow CacheStores to access fields of data for which the schema is known
Tristan Tarrant (JIRA)
jira-events at lists.jboss.org
Thu Oct 24 13:47:02 EDT 2013
Tristan Tarrant created ISPN-3660:
-------------------------------------
Summary: Allow CacheStores to access fields of data for which the schema is known
Key: ISPN-3660
URL: https://issues.jboss.org/browse/ISPN-3660
Project: Infinispan
Issue Type: Enhancement
Components: Loaders and Stores
Reporter: Tristan Tarrant
Assignee: Mircea Markus
Currently cache stores read/write data from persistent storage as an opaque blob. Where we have access to the schema of data, we could expose this schema to the store so that it can write the single fields in a more appropriate fashion for the underlying persistence layer, e.g. write individual fields as columns in a relational database table or use the rich mapping of document stores (e.g. CouchDB, MongoDB).
Additionally, stores should also be able to do the same for the entry's metadata (e.g. version, etc), as is already done for expiration.
This technique can enable analysis / modification of data using the specific store tools (e.q. sqlplus, etc), or load pre-existing data to be served by the cache
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list