code: @SuppressWarnings("unchecked")
      @Override
      public final Collection<V> getCollection(
              final NamedParameterQueryData query,
              final PaginationData pagination) {
          final Query builtQuery; // Query created from the query data
  
          checkNotNull(query, "Received a null pointer as the query");
          checkNotNull(pagination,
                  "Received a null pointer as the pagination data");
  
          builtQuery = buildQuery(query);
  
          // Sets the pagination
          applyPagination(builtQuery, pagination);
  
          // Processes the query
          return builtQuery.getResultList();
      }
docs: Queries the entities in the repository and returns a paginated subset of
  them.
  <p>
  The collection is created by building a query from the received
  {@code QueryData} and executing it.
  
  @param query
  the query user to acquire the entities
  @return the queried and paginated subset of entities