Compartilhar via


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
str

Facet expression, same as in the corresponding facet request. Required.

total_records
int

Number of total records in the facet results. Required.

count
int

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
str

Facet expression, same as in the corresponding facet request. Required.

result_type
str

Result type. Required.

total_records
int

Number of total records in the facet results. Required.

count
int

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.