A sort key and its associated sort parameters. This class implements a sort key which is used by the LDAPv3 Control for server-side sorting of search results as defined in RFC 2891.
A sort key and its associated sort parameters. This class implements a sort key which is used by the LDAPv3 Control for server-side sorting of search results as defined in RFC 2891.
(->sort-key attr-id)
(->sort-key attr-id ascending-order matching-rule-id)
Constructor.
Creates a sort key for an attribute. Entries will be sorted according to the specified attribute in the specified sort order and using the specified matching rule, if supplied.
attr-id - The non-null ID of the attribute to be used as a sort key. - java.lang.String
ascending-order - If true then entries are arranged in ascending order. Otherwise there are arranged in descending order. - boolean
matching-rule-id - The possibly null ID of the matching rule to use to order the attribute values. If not specified then the ordering matching rule defined for the sort key attribute is used. - java.lang.String
Constructor. Creates a sort key for an attribute. Entries will be sorted according to the specified attribute in the specified sort order and using the specified matching rule, if supplied. attr-id - The non-null ID of the attribute to be used as a sort key. - `java.lang.String` ascending-order - If true then entries are arranged in ascending order. Otherwise there are arranged in descending order. - `boolean` matching-rule-id - The possibly null ID of the matching rule to use to order the attribute values. If not specified then the ordering matching rule defined for the sort key attribute is used. - `java.lang.String`
(ascending? this)
Determines the sort order.
returns: true if the sort order is ascending, false if descending. - boolean
Determines the sort order. returns: true if the sort order is ascending, false if descending. - `boolean`
(get-attribute-id this)
Retrieves the attribute ID of the sort key.
returns: The non-null Attribute ID of the sort key. - java.lang.String
Retrieves the attribute ID of the sort key. returns: The non-null Attribute ID of the sort key. - `java.lang.String`
(get-matching-rule-id this)
Retrieves the matching rule ID used to order the attribute values.
returns: The possibly null matching rule ID. If null then the
ordering matching rule defined for the sort key attribute
is used. - java.lang.String
Retrieves the matching rule ID used to order the attribute values. returns: The possibly null matching rule ID. If null then the ordering matching rule defined for the sort key attribute is used. - `java.lang.String`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close