Class DateValue
- java.lang.Object
-
- co.elasticsearch.enterprisesearch.client.model.response.search.facet.value.DateValue
-
- All Implemented Interfaces:
FacetValue,FacetValueValue<OffsetDateTime>
public class DateValue extends Object implements FacetValueValue<OffsetDateTime>
Represents a Date value for a facet
-
-
Constructor Summary
Constructors Constructor Description DateValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetCount()The count of documents matching this facet valueOffsetDateTimegetValue()The DateTime of the facet valueDateValuesetCount(Long count)The count of documents matching this facet valueDateValuesetValue(OffsetDateTime value)The DateTime of the facet value
-
-
-
Method Detail
-
getValue
public OffsetDateTime getValue()
The DateTime of the facet value- Specified by:
getValuein interfaceFacetValueValue<OffsetDateTime>- Returns:
- The datetime for the facet value
-
getCount
public Long getCount()
The count of documents matching this facet value- Specified by:
getCountin interfaceFacetValue- Returns:
- the count of documents matching this value
-
setValue
public DateValue setValue(OffsetDateTime value)
The DateTime of the facet value- Parameters:
value- the datetime for the facet value- Returns:
this.
-
-