code: public <T> T toBean(List<QueryParameters> paramsList, Class<T> type) throws MjdbcException {
          T result = null;
  
          Iterator<QueryParameters> iterator = paramsList.iterator();
  
          // skipping header
          if (iterator.hasNext() == true) {
              iterator.next();
          }
  
          if (iterator.hasNext() == true) {
              result = this.toBean(iterator.next(), type);
          }
  
          return result;
      }
docs: {@inheritDoc}