FacetRequestOptions Class
The options for facet evaluation.
- Inheritance
-
msrest.serialization.ModelFacetRequestOptions
Constructor
FacetRequestOptions(*, sort_by: str | None = None, sort_order: str | FacetSortOrder | None = 'desc', filter: str | None = None, top: int | None = None, **kwargs)
Parameters
Name | Description |
---|---|
sort_by
Required
|
The column name or query expression to sort on. Defaults to count if not present. |
sort_order
Required
|
The sorting order by the selected column (count by default). Possible values include: "asc", "desc". Default value: "desc". |
filter
Required
|
Specifies the filter condition for the 'where' clause which will be run on main query's result, just before the actual faceting. |
top
Required
|
The maximum number of facet rows that should be returned. |
Keyword-Only Parameters
Name | Description |
---|---|
sort_by
Required
|
|
sort_order
|
Default value: desc
|
filter
Required
|
|
top
Required
|
|
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Azure SDK for Python