bfactory.setValueFactory(vf);
bfactory.setUsingHashTable(hashManager != null);
s.setQueryBuilderFactory(bfactory);
RdbmsConnection conn = new RdbmsConnection(sail, s);
conn.setNamespaces(namespaces);
RdbmsEvaluationFactory efactory = new RdbmsEvaluationFactory();
efactory.setQueryBuilderFactory(bfactory);
efactory.setRdbmsTripleRepository(s);
efactory.setIdSequence(ids);
conn.setRdbmsEvaluationFactory(efactory);
RdbmsQueryOptimizer optimizer = createOptimizer();
SelectQueryOptimizerFactory selectOptimizerFactory = createSelectQueryOptimizerFactory();
selectOptimizerFactory.setTransTableManager(trans);
selectOptimizerFactory.setValueFactory(vf);