code: @SuppressWarnings("unchecked")
    public List<T> run(final Object... iArgs) {
      final ODatabaseRecord database = ODatabaseRecordThreadLocal.INSTANCE.get();
      if (database == null)
        throw new OQueryParsingException("No database configured");
  
      setParameters(iArgs);
      return (List<T>) database.getStorage().command(this);
    }
docs: Delegates to the OQueryExecutor the query execution.