// The value returned from this call must be eventually released.
public CompletionQueueExecutor getQueryExecutorForConnection() throws HBqlException {
if (!Utils.isValidString(this.getQueryExecutorPoolName()))
throw new HBqlException("Connection not assigned a QueryExecutorPool name");
this.validateQueryExecutorPoolNameExists(this.getQueryExecutorPoolName());
final QueryExecutorPool pool = QueryExecutorPoolManager.getQueryExecutorPool(this.getQueryExecutorPoolName());
final CompletionQueueExecutor executorQueue = ((QueryExecutorPoolImpl)pool).take();