private final AtomicLong queryDuration;
public QueryManagerImpl(SessionContext sessionContext) {
this.sessionDelegate = sessionContext.getSessionDelegate();
this.sessionContext = sessionContext;
qomFactory = new QueryObjectModelFactoryImpl(this, sessionContext);
queryEngine = sessionDelegate.getQueryEngine();
supportedQueryLanguages.addAll(queryEngine.getSupportedQueryLanguages());
queryCount = sessionContext.getCounter(QUERY_COUNT);
queryDuration = sessionContext.getCounter(QUERY_DURATION);
}