efactory.setQueryBuilderFactory(bfactory);
efactory.setRdbmsTripleRepository(s);
efactory.setIdSequence(ids);
conn.setRdbmsEvaluationFactory(efactory);
RdbmsQueryOptimizer optimizer = createOptimizer();
SelectQueryOptimizerFactory selectOptimizerFactory = createSelectQueryOptimizerFactory();
selectOptimizerFactory.setTransTableManager(trans);
selectOptimizerFactory.setValueFactory(vf);
selectOptimizerFactory.setIdSequence(ids);
optimizer.setSelectQueryOptimizerFactory(selectOptimizerFactory);
optimizer.setValueFactory(vf);
optimizer.setBnodeTable(bnodeTable);
optimizer.setUriTable(uriTable);
optimizer.setLiteralTable(literalTable);