ExecutorService queryExecutor,
ShardManager shardManager,
StorageManager storageManager,
PeriodicImportManager periodicImportManager)
{
try (SetThreadName setThreadName = new SetThreadName("Query-%s", queryId)) {
this.statement = checkNotNull(statement, "statement is null");
this.metadata = checkNotNull(metadata, "metadata is null");
this.splitManager = checkNotNull(splitManager, "splitManager is null");
this.nodeScheduler = checkNotNull(nodeScheduler, "nodeScheduler is null");
this.planOptimizers = checkNotNull(planOptimizers, "planOptimizers is null");