public class PagedSearchResult
extends java.lang.Object
implements java.lang.Iterable<org.apache.directory.api.ldap.model.message.Response>, java.lang.AutoCloseable
Modifier and Type | Class and Description |
---|---|
class |
PagedSearchResult.LdapSearchException |
class |
PagedSearchResult.PagedSearchIterator |
Constructor and Description |
---|
PagedSearchResult(org.apache.directory.ldap.client.api.LdapConnection ldapCon,
org.apache.directory.api.ldap.model.message.SearchRequest searchRequest) |
PagedSearchResult(org.apache.directory.ldap.client.api.LdapConnection ldapCon,
org.apache.directory.api.ldap.model.message.SearchRequest searchRequest,
int pageSize) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
org.apache.directory.api.ldap.model.message.Response |
get() |
org.apache.directory.api.ldap.model.entry.Entry |
getEntry() |
java.util.Iterator<org.apache.directory.api.ldap.model.message.Response> |
iterator() |
boolean |
next() |
public PagedSearchResult(org.apache.directory.ldap.client.api.LdapConnection ldapCon, org.apache.directory.api.ldap.model.message.SearchRequest searchRequest, int pageSize)
public PagedSearchResult(org.apache.directory.ldap.client.api.LdapConnection ldapCon, org.apache.directory.api.ldap.model.message.SearchRequest searchRequest)
public void close()
close
in interface java.lang.AutoCloseable
public boolean next() throws org.apache.directory.api.ldap.model.exception.LdapException, org.apache.directory.api.ldap.model.cursor.CursorException, PagedSearchResult.LdapSearchException
org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.cursor.CursorException
PagedSearchResult.LdapSearchException
public org.apache.directory.api.ldap.model.message.Response get() throws org.apache.directory.api.ldap.model.cursor.CursorException
org.apache.directory.api.ldap.model.cursor.CursorException
public org.apache.directory.api.ldap.model.entry.Entry getEntry() throws org.apache.directory.api.ldap.model.cursor.CursorException, org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.cursor.CursorException
org.apache.directory.api.ldap.model.exception.LdapException
public java.util.Iterator<org.apache.directory.api.ldap.model.message.Response> iterator()
iterator
in interface java.lang.Iterable<org.apache.directory.api.ldap.model.message.Response>
Copyright © 2021. All Rights Reserved.