Class QueryExecutorCreator
java.lang.Object
software.xdev.spring.data.eclipse.store.repository.query.executors.QueryExecutorCreator
-
Method Summary
Modifier and TypeMethodDescriptionstatic <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.
-
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 entitiescriteria- 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
-