Class SearchSortOrder
java.lang.Object
com.azure.core.util.ExpandableStringEnum<SearchSortOrder>
com.azure.analytics.purview.datamap.models.SearchSortOrder
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class SearchSortOrder
extends com.azure.core.util.ExpandableStringEnum<SearchSortOrder>
Search sort order.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SearchSortOrderUse ascending order for sorting.static final SearchSortOrderUse descending order for sorting. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SearchSortOrderfromString(String name) Creates or finds a SearchSortOrder from its string representation.static Collection<SearchSortOrder> values()Gets known SearchSortOrder values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
ASCEND
Use ascending order for sorting. -
DESCEND
Use descending order for sorting.
-
-
Constructor Details
-
SearchSortOrder
Deprecated.Use thefromString(String)factory method.Creates a new instance of SearchSortOrder value.
-
-
Method Details
-
fromString
Creates or finds a SearchSortOrder from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding SearchSortOrder.
-
values
Gets known SearchSortOrder values.- Returns:
- known SearchSortOrder values.
-
fromString(String)factory method.