public class ValueFacetResult<T> extends Object
| Constructor and Description |
|---|
ValueFacetResult(FacetResult facetResult)
Constructor from
FacetResult |
ValueFacetResult(Long count,
T value)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Long |
getCount()
Gets the approximate count of documents falling within the bucket described by this facet.
|
T |
getValue()
Gets the value of the facet, or the inclusive lower bound if it's an interval facet.
|
public ValueFacetResult(Long count, T value)
count - The approximate count of documents.value - The value of the facet.public ValueFacetResult(FacetResult facetResult)
FacetResultfacetResult - FacetResult.Copyright © 2020 Microsoft Corporation. All rights reserved.