Search in sources :

Example 1 with QueryManager

use of com.vaticle.typedb.core.query.QueryManager in project grakn by graknlabs.

the class CoreTransaction method initialise.

void initialise(GraphManager graphMgr, TraversalCache traversalCache, LogicCache logicCache) {
    traversalEng = new TraversalEngine(graphMgr, traversalCache);
    conceptMgr = new ConceptManager(graphMgr);
    logicMgr = new LogicManager(graphMgr, conceptMgr, traversalEng, logicCache);
    reasoner = new Reasoner(conceptMgr, logicMgr, traversalEng, context);
    queryMgr = new QueryManager(conceptMgr, logicMgr, reasoner, context);
    isOpen = new AtomicBoolean(true);
}
Also used : ConceptManager(com.vaticle.typedb.core.concept.ConceptManager) AtomicBoolean(java.util.concurrent.atomic.AtomicBoolean) LogicManager(com.vaticle.typedb.core.logic.LogicManager) Reasoner(com.vaticle.typedb.core.reasoner.Reasoner) TraversalEngine(com.vaticle.typedb.core.traversal.TraversalEngine) QueryManager(com.vaticle.typedb.core.query.QueryManager)

Aggregations

ConceptManager (com.vaticle.typedb.core.concept.ConceptManager)1 LogicManager (com.vaticle.typedb.core.logic.LogicManager)1 QueryManager (com.vaticle.typedb.core.query.QueryManager)1 Reasoner (com.vaticle.typedb.core.reasoner.Reasoner)1 TraversalEngine (com.vaticle.typedb.core.traversal.TraversalEngine)1 AtomicBoolean (java.util.concurrent.atomic.AtomicBoolean)1