你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
FacetResult Class
- java.
lang. Object - com.
azure. search. documents. models. FacetResult
- com.
Implements
public final class FacetResult
implements JsonSerializable<FacetResult>
A single bucket of a facet query result. Reports the number of documents with a field value falling within a particular range or having a particular value or interval.
Constructor Summary
Constructor | Description |
---|---|
FacetResult() |
Creates an instance of Facet |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Facet |
fromJson(JsonReader jsonReader)
Reads an instance of Facet |
Map<String,Object> |
getAdditionalProperties()
Get the additional |
Long |
getCount()
Get the count property: The approximate count of documents falling within the bucket described by this facet. |
Facet |
setAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
FacetResult
public FacetResult()
Creates an instance of FacetResult class.
Method Details
fromJson
public static FacetResult fromJson(JsonReader jsonReader)
Reads an instance of FacetResult from the JsonReader.
Parameters:
Returns:
Throws:
getAdditionalProperties
public Map
Get the additionalProperties property: A single bucket of a facet query result. Reports the number of documents with a field value falling within a particular range or having a particular value or interval.
Returns:
getCount
public Long getCount()
Get the count property: The approximate count of documents falling within the bucket described by this facet.
Returns:
setAdditionalProperties
public FacetResult setAdditionalProperties(Map
Set the additionalProperties property: A single bucket of a facet query result. Reports the number of documents with a field value falling within a particular range or having a particular value or interval.
Parameters:
Returns: