Class DefaultNumericRangeFacetResult
java.lang.Object
com.couchbase.client.java.search.result.facets.AbstractFacetResult
com.couchbase.client.java.search.result.facets.DefaultNumericRangeFacetResult
- All Implemented Interfaces:
FacetResult
,NumericRangeFacetResult
@Experimental @Public public class DefaultNumericRangeFacetResult extends AbstractFacetResult implements NumericRangeFacetResult
Implementation of a
NumericRangeFacetResult
.- Since:
- 2.3.0
- Author:
- Simon Baslé, Michael Nitschinger
-
Field Summary
-
Constructor Summary
Constructors Constructor Description DefaultNumericRangeFacetResult(String name, String field, long total, long missing, long other, List<NumericRange> numericRanges)
-
Method Summary
Modifier and Type Method Description List<NumericRange>
numericRanges()
String
toString()
Methods inherited from class com.couchbase.client.java.search.result.facets.AbstractFacetResult
field, missing, name, other, total
-
Constructor Details
-
DefaultNumericRangeFacetResult
public DefaultNumericRangeFacetResult(String name, String field, long total, long missing, long other, List<NumericRange> numericRanges)
-
-
Method Details
-
numericRanges
- Specified by:
numericRanges
in interfaceNumericRangeFacetResult
-
toString
-