On 2015-10-28 04:49 PM, Dietmar Höhmann wrote:
Looking into the "documentation" ;-), I think it might be an option to subclass 
org.h2.index.PageBtreeIndex and adapt it
to use my ud table instead of an internal table. Could that work? (Could it 
work without messing with the packages?)


You want to start by subclassing TableEngine for your custom table.
From there I would just create regular MVStore tables to hold your indexes.
Since the MVStore provides a java.util.Map type API, that would be a natural 
way of storing your indexes.

If you really need the stability of using the older PageStore engine, then it gets trickier, and you'll probably need to cut and paste the PageBtreeIndex class and modify it for your use-case.



--
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to