Class TextValue
- java.lang.Object
-
- co.elasticsearch.enterprisesearch.client.model.response.search.facet.value.TextValue
-
- All Implemented Interfaces:
FacetValue,FacetValueValue<String>
public class TextValue extends Object implements FacetValueValue<String>
Represents a value of the text facet
-
-
Constructor Summary
Constructors Constructor Description TextValue()
-
-
-
Method Detail
-
getValue
public String getValue()
The facet value- Specified by:
getValuein interfaceFacetValueValue<String>- Returns:
- the value of the facet
-
getCount
public Long getCount()
The count of the facet value- Specified by:
getCountin interfaceFacetValue- Returns:
- he count of the documents matching the value
-
setValue
public TextValue setValue(String value)
The facet value- Parameters:
value- the value of the facet- Returns:
this.
-
-