Class HeatmapJsonFacet
- java.lang.Object
- 
- org.apache.solr.client.solrj.response.json.HeatmapJsonFacet
 
- 
 public class HeatmapJsonFacet extends Object Represents the result of a "heatmap" JSON facet. Allows access to all top-level facet properties (e.g.minX,maxY, etc.) as well as the heatmap data itself in one of two forms.
- 
- 
Constructor SummaryConstructors Constructor Description HeatmapJsonFacet(NamedList<Object> heatmapNL)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<List<Integer>>getCountGrid()StringgetCountPng()intgetGridLevel()doublegetMaxX()doublegetMaxY()doublegetMinX()doublegetMinY()intgetNumColumns()intgetNumRows()static booleanisHeatmapFacet(NamedList<Object> potentialHeatmapValues)A NamedList is a proper "heatmap" response if it contains all expected properties We try to be rather strict in determining whetherpotentialHeatmapValuesis a "heatmap".
 
- 
- 
- 
Method Detail- 
getCountPngpublic String getCountPng() 
 - 
getGridLevelpublic int getGridLevel() 
 - 
getNumColumnspublic int getNumColumns() 
 - 
getNumRowspublic int getNumRows() 
 - 
getMinXpublic double getMinX() 
 - 
getMaxXpublic double getMaxX() 
 - 
getMinYpublic double getMinY() 
 - 
getMaxYpublic double getMaxY() 
 - 
isHeatmapFacetpublic 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 whetherpotentialHeatmapValuesis 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. 
 
- 
 
-