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.

Reply via email to