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
|
|
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.
Azure SDK for Python