public class Facets extends DslCloneable
Using Facets with Group
is not supported in this release
Constructor and Description |
---|
Facets(List<FacetField> fields,
List<FacetRange> ranges) |
Modifier and Type | Method and Description |
---|---|
void |
addOrReplaceFacetFieldForFieldName(FacetField facetField) |
void |
addOrReplaceFacetRangeForFieldName(FacetRange facetRange) |
Facets |
clone() |
Optional<FacetField> |
getFacetFieldByFieldName(String fieldName) |
Optional<FacetRange> |
getFacetRangeByFieldName(String fieldName) |
List<FacetField> |
getFields() |
List<FacetRange> |
getRanges() |
void |
setFields(Collection<? extends FacetField> fields) |
void |
setRanges(List<? extends FacetRange> ranges) |
clone, deepClone
public Facets(List<FacetField> fields, List<FacetRange> ranges)
public List<FacetField> getFields()
public void setFields(Collection<? extends FacetField> fields)
public List<FacetRange> getRanges()
public void setRanges(List<? extends FacetRange> ranges)
public Optional<FacetField> getFacetFieldByFieldName(String fieldName)
public Optional<FacetRange> getFacetRangeByFieldName(String fieldName)
public void addOrReplaceFacetFieldForFieldName(FacetField facetField)
public void addOrReplaceFacetRangeForFieldName(FacetRange facetRange)
public Facets clone()
clone
in class DslCloneable