Search in sources :

Example 1 with PlanCacheChecker

use of com.hazelcast.sql.impl.plan.cache.PlanCacheChecker in project hazelcast by hazelcast.

the class SqlServiceImpl method start.

public void start() {
    QueryResultRegistry resultRegistry = new QueryResultRegistry();
    optimizer = createOptimizer(nodeEngine, resultRegistry);
    String instanceName = nodeEngine.getHazelcastInstance().getName();
    PlanCacheChecker planCacheChecker = new PlanCacheChecker(nodeEngine, planCache, optimizer.tableResolvers());
    internalService = new SqlInternalService(resultRegistry, instanceName, nodeServiceProvider, STATE_CHECK_FREQUENCY, planCacheChecker);
    internalService.start();
}
Also used : QueryResultRegistry(com.hazelcast.sql.impl.state.QueryResultRegistry) PlanCacheChecker(com.hazelcast.sql.impl.plan.cache.PlanCacheChecker)

Aggregations

PlanCacheChecker (com.hazelcast.sql.impl.plan.cache.PlanCacheChecker)1 QueryResultRegistry (com.hazelcast.sql.impl.state.QueryResultRegistry)1