protected class OpenDJConnection.OpenDJSearchIterator.SearchResultIterator extends Object implements org.forgerock.opendj.ldap.SearchResultHandler
| Modifier and Type | Field and Description |
|---|---|
protected Queue<SearchItem> |
queue
Search items.
|
private org.forgerock.opendj.ldap.responses.Result |
result
Search result.
|
| Modifier | Constructor and Description |
|---|---|
protected |
SearchResultIterator() |
| Modifier and Type | Method and Description |
|---|---|
org.forgerock.opendj.ldap.responses.Result |
getResult()
Returns the result of the search.
|
boolean |
handleEntry(org.forgerock.opendj.ldap.responses.SearchResultEntry entry) |
void |
handleErrorResult(org.forgerock.opendj.ldap.ErrorResultException e) |
boolean |
handleReference(org.forgerock.opendj.ldap.responses.SearchResultReference ref) |
void |
handleResult(org.forgerock.opendj.ldap.responses.Result r) |
boolean |
hasNext()
Whether the queue is empty.
|
SearchItem |
next()
Returns the next search item from the queue.
|
protected final Queue<SearchItem> queue
private org.forgerock.opendj.ldap.responses.Result result
public SearchItem next()
public org.forgerock.opendj.ldap.responses.Result getResult()
public boolean hasNext()
public void handleErrorResult(org.forgerock.opendj.ldap.ErrorResultException e)
handleErrorResult in interface org.forgerock.opendj.ldap.ResultHandler<org.forgerock.opendj.ldap.responses.Result>public void handleResult(org.forgerock.opendj.ldap.responses.Result r)
handleResult in interface org.forgerock.opendj.ldap.ResultHandler<org.forgerock.opendj.ldap.responses.Result>public boolean handleEntry(org.forgerock.opendj.ldap.responses.SearchResultEntry entry)
handleEntry in interface org.forgerock.opendj.ldap.SearchResultHandlerpublic boolean handleReference(org.forgerock.opendj.ldap.responses.SearchResultReference ref)
handleReference in interface org.forgerock.opendj.ldap.SearchResultHandlerCopyright © 2003-2019 Virginia Tech. All Rights Reserved.