[infinispan-issues] [JBoss JIRA] (ISPN-3660) Allow CacheStores to access fields of data for which the schema is known

Tristan Tarrant (JIRA) issues at jboss.org
Mon Jan 12 09:17:33 EST 2015


     [ https://issues.jboss.org/browse/ISPN-3660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tristan Tarrant reassigned ISPN-3660:
-------------------------------------

    Assignee:     (was: Mircea Markus)


> 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
>
> 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 was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the infinispan-issues mailing list