HowTo-Extend-OpenLSDHow to create one applicationHere is the first attempt to start what will be later on a long documentation on how to extend OpenLSD to fit business needs. The objective right now is not to make the documentation as complete as possible but to show the main ideas.
You will have to take care about the main problem which is to obtain a new index when inserting a document in the system in an efficient way, both for parallelism (multiple import support) and for the ability to take care about deleted documents and so “defragmentation” on the storage. I try in my current implementation to cover both problems. So take care to retry to keep those implementations, except if you know what you do.
How to extend to a new database supportTo extend to another database support (that is what I did for PostGreSQL for instance), here are the main points:
/** * Type of DB: MySQL */ public static final int typeMySQL = 0; /** * Type of DB: Oracle */ public static final int typeOracle = 1; /** * Type of DB: PostGreSQL */ public static final int typePostGreSQL = 2;
|