Class LdapQueryMethod

java.lang.Object
org.springframework.data.repository.query.QueryMethod
org.springframework.data.ldap.repository.query.LdapQueryMethod

public class LdapQueryMethod extends QueryMethod
QueryMethod for Ldap Queries.
Author:
Mattias Hellborg Arthursson, Eddu Melendez, Mark Paluch
  • Constructor Details

    • LdapQueryMethod

      public LdapQueryMethod(Method method, RepositoryMetadata metadata, ProjectionFactory factory)
      Creates a new LdapQueryMethod from the given parameters.
      Parameters:
      method - must not be null
      metadata - must not be null
  • Method Details

    • hasQueryAnnotation

      public boolean hasQueryAnnotation()
      Check whether the target method is annotated with Query.
      Returns:
      true if the target method is annotated with Query, false otherwise.