//store.getLoader().setUseThreading(true);
//store.getLoader().setChunkSize(128);
//@TODO cache the StoreDesc ?, Store (theyre lightweight, maybe not much advantage)
String layout = theConfig.containsKey(LAYOUT_TYPE) ? theConfig.get(LAYOUT_TYPE).toString() : LayoutType.LayoutTripleNodesIndex.getName();
String databaseType = theConfig.containsKey(DATABASE_TYPE) ? theConfig.get(DATABASE_TYPE).toString() : DatabaseType.MySQL.getName();
StoreDesc desc = new StoreDesc(layout, databaseType);
store = SDBFactory.connectStore(conn, desc);
}
return store;
}