public class FacetRange extends DslCloneable
Modifier and Type | Class and Description |
---|---|
static class |
FacetRange.Include
Flags that specify inclusion and exclusion preferences for the upper and lower bounds of the range
|
static class |
FacetRange.Other
Counts to include in addition to the counts for each facet range constraint
|
Constructor and Description |
---|
FacetRange(String field,
String start,
String end,
String gap,
Boolean hardEnd,
Integer minCount,
List<FacetRange.Include> include,
List<FacetRange.Other> other) |
Modifier and Type | Method and Description |
---|---|
FacetRange |
clone() |
String |
getEnd() |
String |
getField() |
String |
getFieldWithoutParams() |
String |
getGap() |
Boolean |
getHardEnd() |
List<FacetRange.Include> |
getInclude() |
Integer |
getMinCount() |
List<FacetRange.Other> |
getOther() |
String |
getStart() |
clone, deepClone
public FacetRange(String field, String start, String end, String gap, Boolean hardEnd, Integer minCount, List<FacetRange.Include> include, List<FacetRange.Other> other)
public String getField()
public String getFieldWithoutParams()
public Integer getMinCount()
public String getStart()
public String getEnd()
public String getGap()
public Boolean getHardEnd()
getEnd()
value
an upper bound. If false, the last range will have the smallest possible upper bound greater
then getEnd()
such that the range is the exact width of the specified range gap.
The default value for this parameter is falsepublic List<FacetRange.Include> getInclude()
public List<FacetRange.Other> getOther()
public FacetRange clone()
clone
in class DslCloneable