public class SortKey extends Object
Constructor | Description |
---|---|
SortKey |
Creates the default sort key for an attribute. |
SortKey |
Creates a sort key for an attribute. |
Modifier and Type | Method | Description |
---|---|---|
String |
getAttributeID() |
Retrieves the attribute ID of the sort key. |
String |
getMatchingRuleID() |
Retrieves the matching rule ID used to order the attribute values. |
boolean |
isAscending() |
Determines the sort order. |
public SortKey(String attrID)
attrID
- The non-null ID of the attribute to be used as a sort key.public SortKey(String attrID, boolean ascendingOrder, String matchingRuleID)
attrID
- The non-null ID of the attribute to be used as a sort key.ascendingOrder
- If true then entries are arranged in ascending order. Otherwise there are arranged in descending order.matchingRuleID
- 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.public String getAttributeID()
public boolean isAscending()
public String getMatchingRuleID()
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.naming/javax/naming/ldap/SortKey.html