public static final class InternalClientConnection.SearchResultCollector extends Object implements org.forgerock.opendj.ldap.SearchResultHandler
Constructor and Description |
---|
InternalClientConnection.SearchResultCollector()
Default constructor.
|
InternalClientConnection.SearchResultCollector(Collection<org.forgerock.opendj.ldap.messages.SearchResultEntry> entries)
Another constructor.
|
Modifier and Type | Method and Description |
---|---|
Collection<? extends org.forgerock.opendj.ldap.messages.SearchResultEntry> |
getSearchEntries()
Returns the entries found by a search.
|
Collection<? extends org.forgerock.opendj.ldap.messages.SearchResultReference> |
getSearchReferences()
Returns the references found by a search.
|
boolean |
handleEntry(org.forgerock.opendj.ldap.messages.SearchResultEntry entry) |
boolean |
handleReference(org.forgerock.opendj.ldap.messages.SearchResultReference ref) |
public InternalClientConnection.SearchResultCollector()
public InternalClientConnection.SearchResultCollector(Collection<org.forgerock.opendj.ldap.messages.SearchResultEntry> entries)
entries
- the collection where returned search result entries will be added topublic final Collection<? extends org.forgerock.opendj.ldap.messages.SearchResultEntry> getSearchEntries()
public final Collection<? extends org.forgerock.opendj.ldap.messages.SearchResultReference> getSearchReferences()
public boolean handleEntry(org.forgerock.opendj.ldap.messages.SearchResultEntry entry)
handleEntry
in interface org.forgerock.opendj.ldap.SearchResultHandler
public boolean handleReference(org.forgerock.opendj.ldap.messages.SearchResultReference ref)
handleReference
in interface org.forgerock.opendj.ldap.SearchResultHandler
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.