public class HeatmapJsonFacet extends Object
minX
, maxY
, etc.) as well as the heatmap data
itself in one of two forms.Constructor and Description |
---|
HeatmapJsonFacet(NamedList<Object> heatmapNL) |
Modifier and Type | Method and Description |
---|---|
List<List<Integer>> |
getCountGrid() |
String |
getCountPng() |
int |
getGridLevel() |
double |
getMaxX() |
double |
getMaxY() |
double |
getMinX() |
double |
getMinY() |
int |
getNumColumns() |
int |
getNumRows() |
static boolean |
isHeatmapFacet(NamedList<Object> potentialHeatmapValues)
A NamedList is a proper "heatmap" response if it contains all expected properties
We try to be rather strict in determining whether
potentialHeatmapValues is a "heatmap". |
public String getCountPng()
public int getGridLevel()
public int getNumColumns()
public int getNumRows()
public double getMinX()
public double getMaxX()
public double getMinY()
public double getMaxY()
public static boolean isHeatmapFacet(NamedList<Object> potentialHeatmapValues)
potentialHeatmapValues
is a "heatmap". Users can name
subfacets arbitrarily, so having some names match those expected in a "heatmap" response could just be coincidence.
Heatmap facets do not support subfacets.
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.