Uses of Class
org.forgerock.opendj.ldap.messages.SearchRequest
Package
Description
Classes and interfaces providing I/O functionality.
Classes and interfaces for core types including connections, entries, and
attributes.
Classes and interfaces for core LDAP requests/responses.
Classes and interfaces for constructing and querying LDAP schemas.
Classes and interfaces for reading and writing LDIF.
-
Uses of SearchRequest in org.forgerock.opendj.io
Modifier and TypeMethodDescriptionvoid
LdapWriter.writeSearchRequest
(int messageID, SearchRequest request) Writes the provided search request. -
Uses of SearchRequest in org.forgerock.opendj.ldap
Modifier and TypeFieldDescriptionstatic final Option<SearchRequest>
LdapClients.LDAP_CLIENT_KEEP_ALIVE_SEARCH_REQUEST
Specifies the parameters of the search request that will be used for keep-alives.static final Option<SearchRequest>
LdapClients.LOAD_BALANCER_AVAILABILITY_CHECK_SEARCH_REQUEST
Specifies the parameters of the search request that will be used for availability check.Modifier and TypeMethodDescriptionLdapUrl.asSearchRequest()
Creates a new search request containing the parameters of this LDAP URL.Modifier and TypeMethodDescriptionAbstractAsynchronousConnection.search
(SearchRequest request, SearchResultHandler handler) AbstractConnection.search
(SearchRequest request) AbstractConnection.search
(SearchRequest request, Collection<? super SearchResultEntry> entries) AbstractConnection.search
(SearchRequest request, Collection<? super SearchResultEntry> entries, Collection<? super SearchResultReference> references) AbstractConnectionWrapper.search
(SearchRequest request) Searches the Directory Server using the provided search parameters.AbstractConnectionWrapper.search
(SearchRequest request, Collection<? super SearchResultEntry> entries) Searches the Directory Server using the provided search request.AbstractConnectionWrapper.search
(SearchRequest request, Collection<? super SearchResultEntry> entries, Collection<? super SearchResultReference> references) Searches the Directory Server using the provided search request.AbstractConnectionWrapper.search
(SearchRequest request, SearchResultHandler handler) Searches the Directory Server using the provided search request.Connection.search
(SearchRequest request) Searches the Directory Server using the provided search parameters.Connection.search
(SearchRequest request, Collection<? super SearchResultEntry> entries) Searches the Directory Server using the provided search request.Connection.search
(SearchRequest request, Collection<? super SearchResultEntry> entries, Collection<? super SearchResultReference> references) Searches the Directory Server using the provided search request.Connection.search
(SearchRequest request, SearchResultHandler handler) Searches the Directory Server using the provided search request.default io.reactivex.rxjava3.core.Flowable<SearchResultEntry>
LdapClientSocket.search
(SearchRequest request) Searches the Directory Server using the provided search request.AbstractConnection.searchAsync
(SearchRequest request, SearchResultHandler resultHandler) AbstractConnectionWrapper.searchAsync
(SearchRequest request, IntermediateResponseHandler intermediateResponseHandler, SearchResultHandler entryHandler) Asynchronously searches the Directory Server using the provided search request.AbstractConnectionWrapper.searchAsync
(SearchRequest request, SearchResultHandler resultHandler) Asynchronously searches the Directory Server using the provided search request.AbstractSynchronousConnection.searchAsync
(SearchRequest request, IntermediateResponseHandler intermediateResponseHandler, SearchResultHandler entryHandler) Connection.searchAsync
(SearchRequest request, IntermediateResponseHandler intermediateResponseHandler, SearchResultHandler entryHandler) Asynchronously searches the Directory Server using the provided search request.Connection.searchAsync
(SearchRequest request, SearchResultHandler entryHandler) Asynchronously searches the Directory Server using the provided search request.AbstractConnection.searchSingleEntry
(SearchRequest request) AbstractConnectionWrapper.searchSingleEntry
(SearchRequest request) Searches the Directory Server for a single entry using the provided search request.Connection.searchSingleEntry
(SearchRequest request) Searches the Directory Server for a single entry using the provided search request.default io.reactivex.rxjava3.core.Single<SearchResultEntry>
LdapClientSocket.searchSingleEntry
(SearchRequest request) Searches the Directory Server for a single entry using the provided search request.AbstractConnection.searchSingleEntryAsync
(SearchRequest request) AbstractConnectionWrapper.searchSingleEntryAsync
(SearchRequest request) Asynchronously searches the Directory Server for a single entry using the provided search request.Connection.searchSingleEntryAsync
(SearchRequest request) Asynchronously searches the Directory Server for a single entry using the provided search request. -
Uses of SearchRequest in org.forgerock.opendj.ldap.messages
Modifier and TypeMethodDescriptionSearchRequest.addAttribute
(String... attributeDescriptions) Adds the provided attribute name(s) to the list of attributes to be included with each entry that matches the search criteria.static SearchRequest
Requests.copyOfSearchRequest
(SearchRequest request) Creates a new search request that is an exact copy of the provided request.static SearchRequest
Requests.newSearchRequest
(String name, SearchScope scope) Creates a new search request using the provided distinguished name and scope.static SearchRequest
Requests.newSearchRequest
(String name, SearchScope scope, String filter, String... attributeDescriptions) Creates a new search request using the provided distinguished name, scope, and filter, decoded using the default schema.static SearchRequest
Requests.newSearchRequest
(Dn name, SearchScope scope) Creates a new search request using the provided distinguished name and scope.static SearchRequest
Requests.newSearchRequest
(Dn name, SearchScope scope, Filter filter, String... attributeDescriptions) Creates a new search request using the provided distinguished name, scope, and filter.static SearchRequest
Requests.newSingleEntrySearchRequest
(String name, SearchScope scope, String filter, String... attributeDescriptions) Creates a new search request for a single entry, using the provided distinguished name, scope, and filter, decoded using the default schema.static SearchRequest
Requests.newSingleEntrySearchRequest
(Dn name, SearchScope scope, Filter filter, String... attributeDescriptions) Creates a new search request for a single entry, using the provided distinguished name, scope, and filter.SearchRequest.setDereferenceAliasesPolicy
(DereferenceAliasesPolicy policy) Sets the alias dereferencing policy to be used during the search.Sets the filter that defines the conditions that must be fulfilled in order for an entry to be returned.Sets the filter that defines the conditions that must be fulfilled in order for an entry to be returned.Sets the distinguished name of the base entry relative to which the search is to be performed.Sets the distinguished name of the base entry relative to which the search is to be performed.SearchRequest.setScope
(SearchScope scope) Sets the scope of the search.SearchRequest.setSizeLimit
(int limit) Sets the size limit that should be used in order to restrict the maximum number of entries returned by the search.SearchRequest.setTimeLimit
(int limit) Sets the time limit that should be used in order to restrict the maximum time (in seconds) allowed for the search.SearchRequest.setTypesOnly
(boolean typesOnly) Specifies whether search results are to contain both attribute descriptions and values, or just attribute descriptions.Modifier and TypeMethodDescriptionstatic SearchRequest
Requests.copyOfSearchRequest
(SearchRequest request) Creates a new search request that is an exact copy of the provided request.AbstractRequestVisitor.visitRequest
(P p, SearchRequest request) RequestVisitor.visitRequest
(P p, SearchRequest request) Visits anSearch
request. -
Uses of SearchRequest in org.forgerock.opendj.ldap.schema
Modifier and TypeMethodDescriptionstatic SearchRequest
Schema.getReadSchemaSearchRequest
(Dn name) Constructs a search request for retrieving the named subschema sub-entry. -
Uses of SearchRequest in org.forgerock.opendj.ldif
Modifier and TypeMethodDescriptionstatic EntryReader
Ldif.search
(EntryReader input, SearchRequest search) Returns a filtered view ofinput
containing only those entries which match the search base DN, scope, and filtered defined insearch
.static EntryReader
Ldif.search
(EntryReader input, SearchRequest search, Schema schema) Returns a filtered view ofinput
containing only those entries which match the search base DN, scope, and filtered defined insearch
.ModifierConstructorDescriptionConnectionEntryReader
(Connection connection, SearchRequest searchRequest) Creates a new connection entry reader whose destination is the provided connection using an unboundedLinkedBlockingQueue
.ConnectionEntryReader
(Connection connection, SearchRequest searchRequest, BlockingQueue<Response> entries) Creates a new connection entry reader whose destination is the provided connection.