Package com.im.df.api.dml

API Status: 2 - Pretty stable Provides the interfaces that provide data access (create, read, update, delete) for the items in the data model of Discovery Informatics Framework. This broadly corresponds to the DML aspects of SQL.

Basically the stable classes/interfaces of this packages are:

The basic idea of this package is that you use DFSchema getSchemaDataProvider method to obtaining DFSchemaDataProvider instance. There is only one instance of this object per the DFSchema and it provides DFEntityDataProviders - one provider per DFEntity.

If you are doing data changes, you need to lock the DFEntityDataProvider (EDP) using getLockable().obtainLock(String) methods. There is one lock per EDP, which means that data can be modified in more tables (entities) in parallel.