FacetResult Class
Successfully executed facet containing additional statistics on the response of a query.
All required parameters must be populated in order to send to server.
Constructor
FacetResult(*, expression: str, total_records: int, count: int, data: MutableMapping[str, Any], **kwargs: Any)
Keyword-Only Parameters
| Name | Description |
|---|---|
|
expression
|
Facet expression, same as in the corresponding facet request. Required. |
|
total_records
|
Number of total records in the facet results. Required. |
|
count
|
Number of records returned in the facet response. Required. |
|
data
|
<xref:JSON>
A JObject array or Table containing the desired facets. Only present if the facet is valid. Required. |
Variables
| Name | Description |
|---|---|
|
expression
|
Facet expression, same as in the corresponding facet request. Required. |
|
result_type
|
Result type. Required. |
|
total_records
|
Number of total records in the facet results. Required. |
|
count
|
Number of records returned in the facet response. Required. |
|
data
|
<xref:JSON>
A JObject array or Table containing the desired facets. Only present if the facet is valid. Required. |