Class LowercaseFieldSort
java.lang.Object
com.atlassian.confluence.search.v2.sort.LowercaseFieldSort
- All Implemented Interfaces:
Expandable<SearchSort>,SearchSort
Sort based on lower case value of a keyword field.
- Since:
- 7.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.confluence.search.v2.SearchSort
SearchSort.Order, SearchSort.Type -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLowercaseFieldSort(StringFieldMapping fieldMapping, SearchSort.Order order) LowercaseFieldSort(String fieldName, SearchSort.Order order) Deprecated, for removal: This API element is subject to removal in a future version.since 8.9. -
Method Summary
Modifier and TypeMethodDescriptiongetKey()Gets the key that uniquely identifies this sort method.getOrder()Returns the order (whetherSearchSort.Order.ASCENDINGorSearchSort.Order.DESCENDING) of the sort.getType()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.confluence.search.v2.SearchSort
expand
-
Field Details
-
KEY
- See Also:
-
-
Constructor Details
-
LowercaseFieldSort
Deprecated, for removal: This API element is subject to removal in a future version.since 8.9. UseLowercaseFieldSort(StringFieldMapping, Order)instead. On OpenSearch, this will result in a script-sort, which is inefficient. -
LowercaseFieldSort
-
-
Method Details
-
getKey
Description copied from interface:SearchSortGets the key that uniquely identifies this sort method.- Specified by:
getKeyin interfaceSearchSort- Returns:
- the sort key
-
getOrder
Description copied from interface:SearchSortReturns the order (whetherSearchSort.Order.ASCENDINGorSearchSort.Order.DESCENDING) of the sort.- Specified by:
getOrderin interfaceSearchSort- Returns:
- the order (whether
SearchSort.Order.ASCENDINGorSearchSort.Order.DESCENDING) of the sort.
-
getType
-
getFieldName
-
getFieldMapping
-