return new MoleculeGraphImpl(writeIndex, readIndex, moleculeLocalizer, graph, nodePool);
}
private MoleculeStructureIndex<Long>[] createMoleculeStructureIndexes(long graphNumber) {
MoleculeStructureIndex<Long>[] indexes = new MoleculeStructureIndexSesameSync[] {
new MoleculeStructureIndexSesameSync(btreeFactory.createQuinBTree(handler, "spomd" + graphNumber)),
new MoleculeStructureIndexSesameSync(btreeFactory.createQuinBTree(handler, "posmd" + graphNumber)),
new MoleculeStructureIndexSesameSync(btreeFactory.createQuinBTree(handler, "ospmd" + graphNumber)),
new MoleculeStructureIndexSesameSync(btreeFactory.createQuinBTree(handler, "dmspo" + graphNumber)),
};
openStructureIndexes.addAll(asList(indexes));
return indexes;
}