Class FacetResult
- java.lang.Object
-
- com.azure.search.documents.models.FacetResult
-
public final class FacetResult extends Object
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
Constructors Constructor Description FacetResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
getAdditionalProperties()
Get the additionalProperties property: A single bucket of a facet query result.Long
getCount()
Get the count property: The approximate count of documents falling within the bucket described by this facet.FacetResult
setAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: A single bucket of a facet query result.
-
-
-
Method Detail
-
getCount
public Long getCount()
Get the count property: The approximate count of documents falling within the bucket described by this facet.- Returns:
- the count value.
-
getAdditionalProperties
public Map<String,Object> getAdditionalProperties()
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:
- the additionalProperties value.
-
setAdditionalProperties
public FacetResult setAdditionalProperties(Map<String,Object> additionalProperties)
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:
additionalProperties
- the additionalProperties value to set.- Returns:
- the FacetResult object itself.
-
-