Class DateRangeFacet
- java.lang.Object
-
- co.elasticsearch.enterprisesearch.client.model.response.search.facet.DateRangeFacet
-
-
Constructor Summary
Constructors Constructor Description DateRangeFacet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<FacetValue>getData()Get the raw FacetValues associated with this DateRangeFacetList<DateRange>getDateRanges()Get the date range values from this facetStringgetName()The facet nameFacetTypegetType()Type of facetDateRangeFacetsetData(List<DateRange> data)The date rangesDateRangeFacetsetName(String name)The facet name
-
-
-
Method Detail
-
getData
public List<FacetValue> getData()
Get the raw FacetValues associated with this DateRangeFacet
-
getDateRanges
public List<DateRange> getDateRanges()
Get the date range values from this facet- Returns:
- The list of Date Ranges
-
getName
public String getName()
The facet name
-
setName
public DateRangeFacet setName(String name)
The facet name- Parameters:
name- the name of the facet- Returns:
this.
-
setData
public DateRangeFacet setData(List<DateRange> data)
The date ranges- Parameters:
data- the date ranges- Returns:
this.
-
-