Class StringBasedEclipseStoreQueryProvider<T>
java.lang.Object
software.xdev.spring.data.eclipse.store.repository.query.StringBasedEclipseStoreQueryProvider<T>
- Type Parameters:
T- entity type to create query for
- All Implemented Interfaces:
org.springframework.data.repository.query.RepositoryQuery
public class StringBasedEclipseStoreQueryProvider<T>
extends Object
implements org.springframework.data.repository.query.RepositoryQuery
Creates queries for specific entities and executes them through the
QueryExecutor.-
Constructor Summary
ConstructorsConstructorDescriptionStringBasedEclipseStoreQueryProvider(org.springframework.data.repository.query.QueryMethod queryMethod, Method method, Class<T> domainClass, EntityListProvider entityListProvider, WorkingCopier<T> copier) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.data.repository.query.QueryMethod
-
Constructor Details
-
StringBasedEclipseStoreQueryProvider
public StringBasedEclipseStoreQueryProvider(org.springframework.data.repository.query.QueryMethod queryMethod, Method method, Class<T> domainClass, EntityListProvider entityListProvider, WorkingCopier<T> copier)
-
-
Method Details
-
execute
Creates a new
EclipseStoreQueryCreatorand executes it with given values.- Specified by:
executein interfaceorg.springframework.data.repository.query.RepositoryQuery- Parameters:
values- must not be null.- Returns:
- queried entities/entity wrapped in the correct class depending on the
typeInformation
-
getQueryMethod
@Nonnull public org.springframework.data.repository.query.QueryMethod getQueryMethod()- Specified by:
getQueryMethodin interfaceorg.springframework.data.repository.query.RepositoryQuery
-