Class QuerydslLdapQuery<K>

java.lang.Object
org.springframework.data.ldap.repository.support.QuerydslLdapQuery<K>
All Implemented Interfaces:
com.querydsl.core.FilteredClause<QuerydslLdapQuery<K>>

public class QuerydslLdapQuery<K> extends Object implements com.querydsl.core.FilteredClause<QuerydslLdapQuery<K>>
Spring LDAP specific FilteredClause implementation.
Author:
Mattias Hellborg Arthursson, Eddu Melendez, Mark Paluch
  • Constructor Details

    • QuerydslLdapQuery

      public QuerydslLdapQuery(org.springframework.ldap.core.LdapOperations ldapOperations, com.querydsl.core.types.EntityPath<K> entityPath)
      Creates a new QuerydslLdapQuery.
      Parameters:
      ldapOperations - must not be null.
      entityPath - must not be null.
    • QuerydslLdapQuery

      public QuerydslLdapQuery(org.springframework.ldap.core.LdapOperations ldapOperations, Class<K> entityType)
      Creates a new QuerydslLdapQuery.
      Parameters:
      ldapOperations - must not be null.
      entityType - must not be null.
    • QuerydslLdapQuery

      public QuerydslLdapQuery(org.springframework.ldap.core.LdapOperations ldapOperations, Class<K> entityType, Consumer<org.springframework.ldap.query.LdapQueryBuilder> queryCustomizer)
      Creates a new QuerydslLdapQuery.
      Parameters:
      ldapOperations - must not be null.
      entityType - must not be null.
      queryCustomizer - must not be null.
      Since:
      2.6
  • Method Details

    • where

      public QuerydslLdapQuery<K> where(com.querydsl.core.types.Predicate... o)
      Specified by:
      where in interface com.querydsl.core.FilteredClause<K>
    • list

      public List<K> list()
    • uniqueResult

      public K uniqueResult()