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 Details

    • StringBasedEclipseStoreQueryProvider

      public StringBasedEclipseStoreQueryProvider(org.springframework.data.repository.query.QueryMethod queryMethod, Method method, Class<T> domainClass, EntityListProvider entityListProvider, WorkingCopier<T> copier)
  • Method Details

    • execute

      @Nonnull public Object execute(@Nonnull Object[] values)

      Creates a new EclipseStoreQueryCreator and executes it with given values.

      Specified by:
      execute in interface org.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:
      getQueryMethod in interface org.springframework.data.repository.query.RepositoryQuery