Home > Java > What is 'query' in the virtual list view control specification?

What is 'query' in the virtual list view control specification?

WBOY
Release: 2024-02-09 14:51:08
forward
901 people have browsed it

php editor Yuzai wants to introduce to you today what "query" is in the virtual list view control specification. In a virtual list view control, a query is an operation used to obtain specific data from a data source. Through queries, we can filter data according to specified conditions to display content that meets the conditions in the list view. This query operation can improve the efficiency of data retrieval and enable users to find the required information more quickly and accurately. Below, we will introduce in detail the query operation in the virtual list view control specification and its common functions and usage.

Question content

I am reading the virtual list view control specification

One more sentence

contextid values have no validity outside     the connection and query
with which they were received. a client must     not submit a
contextid which it received from a different connection,     a
different query, or a different server.
Copy after login

I use unboundid library:

public SearchRequest(@NotNull final String baseDN,
                     @NotNull final SearchScope scope,
                     @NotNull final Filter filter,
                     @Nullable final String... attributes)
Copy after login

If I have 2 searchrequests, they only differ in attributes. Does this mean the query is different?

Workaround

searchrequests will be different.

I'm not sure what you need to determine.

As mentioned above:

Also, unboundid-ldap-sdk has very detailed documentation, often with examples . The settings are as follows:

asn1octetstring vlvcontextid = null;
Copy after login

and include it in any subsequent requests related to the same list.

The searchrequest will be submitted to the ldap server and you will receive the searchresponse.

The "filter" is part of the searchrequest and may look like:

"dc=example,dc=com"
Copy after login

Likewise, there are examples for search requests .

ldap Query is an abstract term that requires an agreed upon connotation.

Most people probably associate ldap queries with the collection of ldap filter parameters and ldap operators: (&(objectclass=user)(sn=smith))

A searchrequest contains 10-11 possible effects on the searchresult even if the filters are the same.

The above is the detailed content of What is 'query' in the virtual list view control specification?. For more information, please follow other related articles on the PHP Chinese website!

source:stackoverflow.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template