Class JsonFacetMap<B extends JsonFacetMap<B>>
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,Object>
- Direct Known Subclasses:
HeatmapFacetMap,QueryFacetMap,RangeFacetMap,TermsFacetMap
A common parent for a small set of classes that allow easier composition of JSON facet objects.
Designed for use with JsonQueryRequest.withFacet(String, Map)
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract BgetThis()withDomain(DomainMap domain) withStatSubFacet(String facetName, String statFacet) 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, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Constructor Details
-
JsonFacetMap
-
-
Method Details
-
getThis
-
withDomain
-
withSubFacet
-
withStatSubFacet
-