
com.groupbyinc.flux.common.apache.lucene.spatial.prefix.HeatmapFacetCounter.class Maven / Gradle / Ivy
???? 3f Kcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/HeatmapFacetCounter java/lang/Object HeatmapFacetCounter.java Scom/groupbyinc/flux/common/apache/lucene/spatial/prefix/HeatmapFacetCounter$Heatmap Heatmap Mcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/HeatmapFacetCounter$1 java/util/Map$Entry
java/util/Map
Entry [com/groupbyinc/flux/common/apache/lucene/spatial/prefix/PrefixTreeFacetCounter$FacetVisitor Ncom/groupbyinc/flux/common/apache/lucene/spatial/prefix/PrefixTreeFacetCounter FacetVisitor MAX_ROWS_OR_COLUMNS I $assertionsDisabled Z
calcFacetsS(Lcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/PrefixTreeStrategy;Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReaderContext;Lcom/groupbyinc/flux/common/apache/lucene/util/Bits;Lcom/groupbyinc/flux/common/spatial4j/core/shape/Shape;II)Lcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/HeatmapFacetCounter$Heatmap; java/io/IOException "java/lang/IllegalArgumentException java/lang/StringBuilder ! ()V # $
" %
maxCells ( ' append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ) *
" + (I)Ljava/lang/StringBuilder; ) -
" . ) should be <= 0 toString ()Ljava/lang/String; 2 3
" 4 (Ljava/lang/String;)V # 6
7 Jcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/PrefixTreeStrategy 9 getSpatialContext D()Lcom/groupbyinc/flux/common/spatial4j/core/context/SpatialContext; ; <
: = @com/groupbyinc/flux/common/spatial4j/core/context/SpatialContext ? getWorldBounds =()Lcom/groupbyinc/flux/common/spatial4j/core/shape/Rectangle; A B
@ C 5com/groupbyinc/flux/common/spatial4j/core/shape/Shape E getBoundingBox G B F H getGrid R()Lcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/tree/SpatialPrefixTree; J K
: L Ncom/groupbyinc/flux/common/apache/lucene/spatial/prefix/tree/SpatialPrefixTree N
O = 9com/groupbyinc/flux/common/spatial4j/core/shape/Rectangle Q getMinX ()D S T R U getMinY W T R X makePoint ;(DD)Lcom/groupbyinc/flux/common/spatial4j/core/shape/Point; Z [
@ \ getTreeCellIterator ?(Lcom/groupbyinc/flux/common/spatial4j/core/shape/Shape;I)Lcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/tree/CellIterator; ^ _
O ` Acom/groupbyinc/flux/common/apache/lucene/index/IndexReaderContext b 2com/groupbyinc/flux/common/apache/lucene/util/Bits d 5com/groupbyinc/flux/common/spatial4j/core/shape/Point f Icom/groupbyinc/flux/common/apache/lucene/spatial/prefix/tree/CellIterator h Acom/groupbyinc/flux/common/apache/lucene/spatial/prefix/tree/Cell j hasNext ()Z l m
i n next E()Lcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/tree/Cell; p q
i r t getLevel ()I v w k x java/lang/AssertionError z Cell not at target level: | -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ) ~
" (Ljava/lang/Object;)V # ?
{ ? getShape 9()Lcom/groupbyinc/flux/common/spatial4j/core/shape/Shape; ? ? k ? hasArea ? m R ?
{ % getWidth ? T R ? calcRowsOrCols (DDDDD)I ? ?
? getHeight ? T R ? Too many cells ( ? x ? ) for level ? shape ?@ getMaxX ? T R ? java/lang/Math ? abs (D)D ? ?
? ? getMaxY ? T R ?
makeRectangle A(DDDD)Lcom/groupbyinc/flux/common/spatial4j/core/shape/Rectangle; ? ?
@ ? @(IILcom/groupbyinc/flux/common/spatial4j/core/shape/Rectangle;)V # ?
? java/util/HashMap ?
? % m(Lcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/HeatmapFacetCounter$Heatmap;IDDD[ILjava/util/Map;)V # ?
? compute[(Lcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/PrefixTreeStrategy;Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReaderContext;Lcom/groupbyinc/flux/common/apache/lucene/util/Bits;Lcom/groupbyinc/flux/common/spatial4j/core/shape/Shape;ILcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/PrefixTreeFacetCounter$FacetVisitor;)V ? ?
? [I ? counts ? ? ? entrySet ()Ljava/util/Set; ? ? ?
java/util/Set ? iterator ()Ljava/util/Iterator; ? ? ? ? java/util/Iterator ? ? n ()Ljava/lang/Object; p ? ? ? getKey ? ? ? getValue ? ? ? java/lang/Integer ? intValue ? w
? ? intersectInterval (DDDIDD[I)V ? ?
? region ;Lcom/groupbyinc/flux/common/spatial4j/core/shape/Rectangle; ? ? ? getCrossesDateLine ? m R ? incrementRange ](Lcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/HeatmapFacetCounter$Heatmap;IIIII)V ? ?
?@f? round (D)J ? ?
? ? i startCol endCol leftColumns rightColumns rect count startRow endRow entry eLjava/util/Map$Entry; Ljava/util/Map$Entry; i$ Ljava/util/Iterator; strategy LLcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/PrefixTreeStrategy; context CLcom/groupbyinc/flux/common/apache/lucene/index/IndexReaderContext;
topAcceptDocs 4Lcom/groupbyinc/flux/common/apache/lucene/util/Bits;
inputShape 7Lcom/groupbyinc/flux/common/spatial4j/core/shape/Shape;
facetLevel maxCells inputRect grid PLcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/tree/SpatialPrefixTree; ctx BLcom/groupbyinc/flux/common/spatial4j/core/context/SpatialContext; cornerPt 7Lcom/groupbyinc/flux/common/spatial4j/core/shape/Point; cellIterator KLcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/tree/CellIterator;
cornerCell CLcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/tree/Cell;
cornerRect heatMinX D cellWidth worldRect columns heatMinY
cellHeight rows
halfCellWidth heatMaxX halfCellHeight heatMaxY heatmap ULcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/HeatmapFacetCounter$Heatmap; allCellsAncestorCount ancestors _Ljava/util/Map; Ljava/util/Map; pair heatMin heatMax heatCellLen heatLen cellMin cellMax out 0 min (II)I23
?4 6 r cBase c startColumn endColumn ceil= ?
?>A????? ??? ??? cellRange requestRange
requestMin
worldRange range intervals intervalsMax J
% this MLcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/HeatmapFacetCounter; java/lang/ClassQ desiredAssertionStatusS m
RT 7com/groupbyinc/flux/common/apache/lucene/util/ArrayUtilV MAX_ARRAY_LENGTHX WY sqrt[ ?
?\ Code LocalVariableTable LocalVariableTypeTable LineNumberTable
StackMapTable
Exceptions
SourceFile InnerClasses ! ^ ? - ? ? h? *? Y? "Y? &(? ,? /1? ,? ? /? 5? 8?-? *? >? DN-? I :*? M:? P:? V ? Y ? ]: ? a:
:
? o?
? s:??? u? 0? ? y ? ? {Y? "Y? &}? ,? ?? 5? ??? ? ? R:? u? ? ? ? ? {Y? ??? V 9
? ? 9? D:
? ? ? V ? ? ? ?6? Y 9? ? 9? ? ? Y ? ? ? ?6? u? ? ? ? {Y? ??? ? ? ?
h? =? Y? "Y? &?? ,? /?? ,? /?? ,? /?? ,? ?? 5? 8? ?o9?kc? ? ?? ? V 9
?kc9? ? g? ??? ? ? 9? $? ? ?? ? ? g? V c9 ?o9?kc9? ? g? ??? ? ? 9? Y
? ?? ?: ?
:!? ?Y? ?:"*+,-?
Y !"? ?? ?!.? &6## ? ??? ? ?#\.!.`O?#????
:#"? ? ? ? :$$? ? ?>$? ? ? :%%? ? ? R:&%? ? ? ٶ ?6'&? Y &? ? #? ?#.6(#.6) ? ? ? ? <
&? V &? ? #? ?#.6*#.6+ *+()'? ? ?&? ?
?? K ?
go? ?`6*
?*&? V &? ? #? ?#.6+#.6, +,()'? ?&? Y ?? Eo? ?`6**&? V &? ? #? ?#.6+#.6, +,()'? ??? ? _ ? +? ? #[ ? *a ? +? 7 ? *? ? +? ? ,? 5 ? * ? + ? ,? ? ? & ? '' ? ? (- ? ? )?, ? ? %?E ? ? $ G?
? M? T?
i? t?
w? ?U ? ?4
?+ ?$ ? ? )? G? ?b ?: +? 6?! l?"# q?$ ? !z?%' "?V( ? #` ?, ? ? %z?%&