Annotation Interface QueryCreatorType


@Documented @Retention(RUNTIME) @Target(ANNOTATION_TYPE) public @interface QueryCreatorType
Annotation to customize the query creator type to be used for a specific store.
Author:
Oliver Gierke, Christoph Strobl
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends org.springframework.data.repository.query.parser.AbstractQueryCreator<?,?>>
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Class<? extends org.springframework.data.repository.query.RepositoryQuery>
    The RepositoryQuery type to be created by the value().
  • Element Details

    • value

      Class<? extends org.springframework.data.repository.query.parser.AbstractQueryCreator<?,?>> value
    • repositoryQueryType

      Class<? extends org.springframework.data.repository.query.RepositoryQuery> repositoryQueryType
      The RepositoryQuery type to be created by the value().
      Returns:
      Since:
      1.1
      Default:
      org.springframework.data.keyvalue.repository.query.KeyValuePartTreeQuery.class