1 Reply Latest reply on Nov 8, 2013 8:58 AM by mircea.markus

    Save data as text using CacheLoaders

    toniortega

      Hi! I'm working with Infinispan and CaheLoaders. In my project we are very interested in some way to store cached data as human readable data. I have tried different aproaches like making dataColumnType varchar and working only with Strings in the cache, tried externalizers, etc .. but none of these worked. Using CacheLoaders ¿Is it possible to store cached data in some text format so it can be queried in the database?

       

      Thanks in advance.

       

      Best regards.

        • 1. Re: Save data as text using CacheLoaders
          mircea.markus

          Have you tried writing your own cache loader/writer[1] implementation ( w would highly recommend ISPN 6.0 for that, as we've improved the cache store integration API a lot in this release)? That would allow you to  persist the data either way you like it, and the query it with your store's specific QL). E.g. a cache store that persist the data in HBase or Hadoop and then use their tooling to query it. This sounds like a very nice general purpose tool, if you decide to go this way would be really good if you can contribute it back

           

          [1] http://blog.infinispan.org/2013/09/new-persistence-api-in-infinispan.html

          1 of 1 people found this helpful