Index APIs

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).