public class RangeFacets extends DslBase implements LabeledFacet
Constructor and Description |
---|
RangeFacets(String gap,
String start,
String end,
List<FieldCount> counts,
String label,
Integer before,
Integer after,
Integer between) |
Modifier and Type | Method and Description |
---|---|
Integer |
getAfter() |
Integer |
getBefore() |
Integer |
getBetween() |
List<FieldCount> |
getCounts() |
String |
getEnd() |
String |
getGap() |
String |
getLabel()
display name for this facet, defaults to the field name, can be overridden by SetFacetsRule
|
String |
getStart() |
void |
setLabel(String label) |
public String getGap()
public List<FieldCount> getCounts()
public String getStart()
public String getEnd()
public String getLabel()
getLabel
in interface LabeledFacet
public void setLabel(String label)
setLabel
in interface LabeledFacet
public Integer getBefore()
public Integer getAfter()
public Integer getBetween()