ok found it, it seems i need to do couple of changes in org.h2.tools CompressTool.java also :D
On Tue, Mar 13, 2012 at 11:07 AM, nolimit nolimit < [email protected]> wrote: > Thank for the quick reply :). yeah it seems CompressDeflate is a good > point to start, btw any idea of where these compression methods are called > from ?? > > > On Mon, Mar 12, 2012 at 4:44 PM, Steve McLeod <[email protected]>wrote: > >> My reading of the H2 source code suggests you'd need to write an >> implementation of org.h2.compress.Compressor. You could use one of the two >> existing implementations of this interface as an example. CompressDeflate >> is a wrapper so maybe that's the place to start. >> >> Good luck and I'd be happy to hear about your results. Let us know if >> Snappy gives a performance improvement over the existing compression >> algorithms in H2. >> >> Regards, >> >> Steve >> >> >> >> >> On Monday, 12 March 2012 11:39:22 UTC+1, Samhasi wrote: >>> >>> Hi all, >>> >>> As a research I would like to embed Snappy java library into H2. As a >>> start I went through org.h2.compress but not having much idea of how >>> to do it. Do I need to extend compressor class and write my own snappy >>> class ?? can someone help me on doing this >>> >>> Regards, >>> Samhasi >> >> -- >> You received this message because you are subscribed to the Google Groups >> "H2 Database" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/h2-database/-/biDVuHnNMvkJ. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/h2-database?hl=en. >> > > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
