@SearchPrimitive public final class FieldSort extends Object implements SearchSort
SearchSort.Order, SearchSort.Type| Constructor and Description |
|---|
FieldSort(String fieldName,
SearchSort.Type type,
SearchSort.Order order) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFieldName() |
String |
getKey()
Gets the key that uniquely identifies this sort method.
|
SearchSort.Order |
getOrder()
Returns the order (whether
SearchSort.Order.ASCENDING or SearchSort.Order.DESCENDING) of the sort. |
SearchSort.Type |
getType() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexpandpublic static final String KEY
public FieldSort(String fieldName, SearchSort.Type type, SearchSort.Order order)
public String getKey()
SearchSortgetKey in interface SearchSortpublic SearchSort.Order getOrder()
SearchSortSearchSort.Order.ASCENDING or SearchSort.Order.DESCENDING) of the sort.getOrder in interface SearchSortSearchSort.Order.ASCENDING or SearchSort.Order.DESCENDING) of the sort.public SearchSort.Type getType()
public String getFieldName()
Copyright © 2003–2021 Atlassian. All rights reserved.