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
|
|
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Python