You can dynamically create, find, and drop an index for an MBO table on the device
database, which increases performance compared to modifying the data model in
SAP Mobile WorkSpace to perform these tasks.
APIs in the generated
DBClass allow you to create, find, and drop an index for an MBO table.
Note: Call
DBClass.closeDBConnetion() before calling
DBClass.createIndex(EntityMetaData entity, IndexMetaData
index) or DBClass.dropIndex(EntityMetaData entity, String
name).
Create an Index
Use createIndex to create an index for an MBO table located on the device database.
Drop an Index
Use dropIndex to drop an index from an MBO table located on the device database.
Retrieve and List Indexes
Use getIndexes to retrieve and list all indexes for a given MBO table located on the device database.