/**
  * get command handler
  *
  * @param string $alias
  * @throws QueryException
  * @return callable
  */
 public function getQueryHandler($alias)
 {
     if (class_exists($alias)) {
         return new $alias();
     }
     throw QueryException::handlerError(sprintf('alias <%s> does not exist', $alias));
 }