Class SearchFacetSort
java.lang.Object
com.azure.analytics.purview.datamap.models.SearchFacetSort
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SearchFacetSort>
public final class SearchFacetSort
extends Object
implements com.azure.json.JsonSerializable<SearchFacetSort>
The sorting criteria.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SearchFacetSortfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SearchFacetSort from the JsonReader.getCount()Get the count property: Order by count.getValue()Get the value property: Order by value.setCount(SearchSortOrder count) Set the count property: Order by count.setValue(SearchSortOrder value) Set the value property: Order by value.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
SearchFacetSort
public SearchFacetSort()Creates an instance of SearchFacetSort class.
-
-
Method Details
-
getCount
Get the count property: Order by count.- Returns:
- the count value.
-
setCount
Set the count property: Order by count.- Parameters:
count- the count value to set.- Returns:
- the SearchFacetSort object itself.
-
getValue
Get the value property: Order by value.- Returns:
- the value value.
-
setValue
Set the value property: Order by value.- Parameters:
value- the value value to set.- Returns:
- the SearchFacetSort object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<SearchFacetSort>- Throws:
IOException
-
fromJson
Reads an instance of SearchFacetSort from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of SearchFacetSort if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the SearchFacetSort.
-