protected class UnboundIDConnection.UnboundIDSearchIterator extends UnboundIDConnection.AbstractUnboundIDSearch implements SearchIterator
| Modifier and Type | Class and Description |
|---|---|
protected class |
UnboundIDConnection.UnboundIDSearchIterator.SearchResultIterator
Search results listener for storing entries returned by the search operation.
|
| Modifier and Type | Field and Description |
|---|---|
private Response<Void> |
response
Response data.
|
private UnboundIDConnection.UnboundIDSearchIterator.SearchResultIterator |
resultIterator
Search result iterator.
|
request, util| Constructor and Description |
|---|
UnboundIDSearchIterator(SearchRequest sr)
Creates a new unbound id search iterator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Response<Void> |
getResponse() |
boolean |
hasNext() |
void |
initialize()
Initializes this unbound id search iterator.
|
SearchItem |
next() |
protected UnboundIDConnection.UnboundIDSearchIterator.SearchResultIterator |
search(com.unboundid.ldap.sdk.LDAPConnection conn,
SearchRequest sr)
Executes an ldap search.
|
getDereferencePolicy, getSearchRequest, getSearchScope, ignoreSearchException, processIntermediateResponse, processSearchResultEntry, processSearchResultReferenceprivate UnboundIDConnection.UnboundIDSearchIterator.SearchResultIterator resultIterator
public UnboundIDSearchIterator(SearchRequest sr)
sr - search requestpublic void initialize()
throws LdapException
LdapException - if an error occursprotected UnboundIDConnection.UnboundIDSearchIterator.SearchResultIterator search(com.unboundid.ldap.sdk.LDAPConnection conn, SearchRequest sr) throws LdapException
conn - to search withsr - to read properties fromLdapException - if an error occurspublic boolean hasNext()
throws LdapException
hasNext in interface SearchIteratorLdapExceptionpublic SearchItem next() throws LdapException
next in interface SearchIteratorLdapExceptionpublic Response<Void> getResponse()
getResponse in interface SearchIteratorpublic void close()
throws LdapException
close in interface SearchIteratorLdapExceptionCopyright © 2003-2019 Virginia Tech. All Rights Reserved.