public class HeatmapFacetMap extends JsonFacetMap<HeatmapFacetMap>
JsonQueryRequest.withFacet(String, Map)
Modifier and Type | Class and Description |
---|---|
static class |
HeatmapFacetMap.HeatmapFormat |
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
HeatmapFacetMap(String fieldName) |
Modifier and Type | Method and Description |
---|---|
HeatmapFacetMap |
getThis() |
HeatmapFacetMap |
setDistErr(double distErr)
Indicates the maximum acceptable cell error distance.
|
HeatmapFacetMap |
setDistErrPct(double distErrPct)
A fraction of the heatmap region that is used to compute the cell size.
|
HeatmapFacetMap |
setGridLevel(int individualCellSize)
Indicates the size of each cell in the computed heatmap grid
If not set, defaults to being computed by
distErrPct or distErr |
HeatmapFacetMap |
setHeatmapFormat(HeatmapFacetMap.HeatmapFormat format)
Sets the format that the computed heatmap should be returned in.
|
HeatmapFacetMap |
setRegionQuery(String queryString)
Indicate the region to compute the heatmap facet on.
|
HeatmapFacetMap |
withSubFacet(String facetName,
JsonFacetMap map) |
withDomain, withStatSubFacet
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
public HeatmapFacetMap(String fieldName)
public HeatmapFacetMap getThis()
getThis
in class JsonFacetMap<HeatmapFacetMap>
public HeatmapFacetMap withSubFacet(String facetName, JsonFacetMap map)
withSubFacet
in class JsonFacetMap<HeatmapFacetMap>
public HeatmapFacetMap setRegionQuery(String queryString)
public HeatmapFacetMap setGridLevel(int individualCellSize)
distErrPct
or distErr
individualCellSize
- the forced size of each cell in the heatmap gridsetDistErr(double)
,
setDistErrPct(double)
public HeatmapFacetMap setDistErrPct(double distErrPct)
setGridLevel(int)
,
setDistErr(double)
public HeatmapFacetMap setDistErr(double distErr)
setGridLevel(int)
distErr
- a positive value representing the maximum acceptable cell error.setGridLevel(int)
,
setDistErrPct(double)
public HeatmapFacetMap setHeatmapFormat(HeatmapFacetMap.HeatmapFormat format)
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.