Class JsonFacetMap<B extends JsonFacetMap<B>>
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<String,Object>
-
- org.apache.solr.client.solrj.request.json.JsonFacetMap<B>
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,Object>
- Direct Known Subclasses:
HeatmapFacetMap
,QueryFacetMap
,RangeFacetMap
,TermsFacetMap
public abstract class JsonFacetMap<B extends JsonFacetMap<B>> extends HashMap<String,Object>
A common parent for a small set of classes that allow easier composition of JSON facet objects. Designed for use withJsonQueryRequest.withFacet(String, Map)
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description JsonFacetMap(String facetType)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract B
getThis()
B
withDomain(DomainMap domain)
B
withStatSubFacet(String facetName, String statFacet)
B
withSubFacet(String facetName, JsonFacetMap map)
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
JsonFacetMap
public JsonFacetMap(String facetType)
-
-