public class RangeFacetResult<T> extends Object
| Constructor and Description |
|---|
RangeFacetResult(FacetResult facetResult)
Constructor from
FacetResult |
RangeFacetResult(Long count,
T from,
T to)
Constructor of RangeFacetResult.
|
| Modifier and Type | Method and Description |
|---|---|
Long |
getCount()
Gets the approximate count of documents falling within the bucket described by this facet.
|
T |
getFrom()
Gets a value indicating the inclusive lower bound of the facet's range, or null to indicate that there is
no lower bound (i.e.
|
T |
getTo()
Gets a value indicating the exclusive upper bound of the facet's range, or null to indicate that there is
no upper bound (i.e.
|
public RangeFacetResult(Long count, T from, T to)
count - The count of the result.from - Value indicates the lower bound of facet's rangeto - Value indicates the upper bound of facet's rangepublic RangeFacetResult(FacetResult facetResult)
FacetResultfacetResult - FacetResult.public Long getCount()
public T getFrom()
public T getTo()
Copyright © 2020 Microsoft Corporation. All rights reserved.