BackendDescriptor.Type type;
if (backend instanceof LocalDBBackendCfg)
{
type = BackendDescriptor.Type.LOCAL_DB;
LocalDBBackendCfg db = (LocalDBBackendCfg)backend;
String[] indexNames = db.listLocalDBIndexes();
try
{
for (int j=0; j<indexNames.length; j++)
{
LocalDBIndexCfg index = db.getLocalDBIndex(indexNames[j]);