java.lang.Object
software.xdev.spring.data.eclipse.store.repository.query.executors.QueryExecutorCreator

public final class QueryExecutorCreator extends Object
  • Method Details

    • createQuery

      public static <T> QueryExecutor<T> createQuery(org.springframework.data.util.TypeInformation<?> typeInformation, WorkingCopier<T> copier, Criteria<T> criteria, org.springframework.data.domain.Sort sort)
      Creates and returns Query-Executor.
      Type Parameters:
      T - Entity-Type to query
      Parameters:
      typeInformation - about the query to create.
      copier - that creates working copies of the found entities
      criteria - to query for entities with specific criteria. Only if the criteria matches, entities are selected.
      sort - the static sort that is possibly defined through the method name
      Returns:
      the correct Query-Executor according to the given parameters