com.groupbyinc.flux.common.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.class Maven / Gradle / Ivy
???? 4: Scom/groupbyinc/flux/common/apache/lucene/spatial/prefix/RecursivePrefixTreeStrategy Jcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/PrefixTreeStrategy RecursivePrefixTreeStrategy.java prefixGridScanLevel I pruneLeafyBranches Z multiOverlappingIndexedShapes $assertionsDisabled e(Lcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/tree/SpatialPrefixTree;Ljava/lang/String;)V
Ncom/groupbyinc/flux/common/apache/lucene/spatial/prefix/tree/SpatialPrefixTree getMaxLevels ()I
this ULcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/RecursivePrefixTreeStrategy; grid PLcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/tree/SpatialPrefixTree; fieldName Ljava/lang/String; getPrefixGridScanLevel setPrefixGridScanLevel (I)V isMultiOverlappingIndexedShapes ()Z setMultiOverlappingIndexedShapes (Z)V isPruneLeafyBranches setPruneLeafyBranches toString ()Ljava/lang/String; java/lang/StringBuilder - java/lang/Object / getClass ()Ljava/lang/Class; 1 2
0 3 java/lang/Class 5
getSimpleName 7 ,
6 8 (Ljava/lang/String;)V :
. ; append (C)Ljava/lang/StringBuilder; = >
. ? SPG:( A -(Ljava/lang/String;)Ljava/lang/StringBuilder; = C
. D F + ,
H
pointsOnly J K ,pointsOnly M ,pruneLeafyBranches O ,prefixGridScanLevel: Q ()V S
. T V (I)Ljava/lang/StringBuilder; = X
. Y
. H ,!multiOverlappingIndexedShapes \ str Ljava/lang/StringBuilder; createCellIteratorToIndex j(Lcom/groupbyinc/flux/common/locationtech/spatial4j/shape/Shape;ILjava/util/Iterator;)Ljava/util/Iterator; isGridAlignedShape B(Lcom/groupbyinc/flux/common/locationtech/spatial4j/shape/Shape;)Z b c
d ` a
f java/util/ArrayList h $
i j getWorldCell E()Lcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/tree/Cell; l m
n recursiveTraverseAndPrune ?(Lcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/tree/Cell;Lcom/groupbyinc/flux/common/locationtech/spatial4j/shape/Shape;ILjava/util/List;)Z p q
r java/util/List t iterator ()Ljava/util/Iterator; v w u x shape ?Lcom/groupbyinc/flux/common/locationtech/spatial4j/shape/Shape; detailLevel reuse YLjava/util/Iterator; Ljava/util/Iterator; cells ULjava/util/List; Ljava/util/List; Gcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/tree/LegacyCell ? java/lang/IllegalStateException ? 6pruneLeafyBranches must be disabled for use with grid ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; = ?
. ?
? ; Acom/groupbyinc/flux/common/apache/lucene/spatial/prefix/tree/Cell ? getLevel ? ? ? setLeaf ? S ? ? isLeaf ? & ? ? add (Ljava/lang/Object;)Z ? ? u ? getNextLevelCells ?(Lcom/groupbyinc/flux/common/locationtech/spatial4j/shape/Shape;)Lcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/tree/CellIterator; ? ? ? ? Icom/groupbyinc/flux/common/apache/lucene/spatial/prefix/tree/CellIterator ? hasNext ? &
? ? next ? m
? ? getSubCellsSize ?
? ? size ? u ? remove (I)Ljava/lang/Object; ? ? u ? subCell CLcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/tree/Cell; cell result leaves subCells KLcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/tree/CellIterator; makeQuery }(Lcom/groupbyinc/flux/common/apache/lucene/spatial/query/SpatialArgs;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query; Bcom/groupbyinc/flux/common/apache/lucene/spatial/query/SpatialArgs ? getOperation K()Lcom/groupbyinc/flux/common/apache/lucene/spatial/query/SpatialOperation; ? ?
? ? getShape A()Lcom/groupbyinc/flux/common/locationtech/spatial4j/shape/Shape; ? ?
? ? ctx JLcom/groupbyinc/flux/common/locationtech/spatial4j/context/SpatialContext; ? ? ?
distErrPct D ? ? ? resolveDistErr N(Lcom/groupbyinc/flux/common/locationtech/spatial4j/context/SpatialContext;D)D ? ?
? ? getLevelForDistance (D)I ? ?
? Gcom/groupbyinc/flux/common/apache/lucene/spatial/query/SpatialOperation ?
Intersects ILcom/groupbyinc/flux/common/apache/lucene/spatial/query/SpatialOperation; ? ? ? ? makeGridShapeIntersectsQuery x(Lcom/groupbyinc/flux/common/locationtech/spatial4j/shape/Shape;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query; ? ?
? =com/groupbyinc/flux/common/locationtech/spatial4j/shape/Shape ? Qcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/IntersectsPrefixTreeQuery ? getFieldName ? ,
? ?(Lcom/groupbyinc/flux/common/locationtech/spatial4j/shape/Shape;Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/tree/SpatialPrefixTree;II)V ?
? ? IsWithin ? ? ? ? Mcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/WithinPrefixTreeQuery ??? ?(Lcom/groupbyinc/flux/common/locationtech/spatial4j/shape/Shape;Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/tree/SpatialPrefixTree;IID)V ?
? ? Contains ? ? ? ? Ocom/groupbyinc/flux/common/apache/lucene/spatial/prefix/ContainsPrefixTreeQuery ? ?(Lcom/groupbyinc/flux/common/locationtech/spatial4j/shape/Shape;Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/tree/SpatialPrefixTree;IZ)V ?
? ? Rcom/groupbyinc/flux/common/apache/lucene/spatial/query/UnsupportedSpatialOperation ? L(Lcom/groupbyinc/flux/common/apache/lucene/spatial/query/SpatialOperation;)V ?
? ? args DLcom/groupbyinc/flux/common/apache/lucene/spatial/query/SpatialArgs; op isPointShape c
java/lang/AssertionError
T isPointsOnly &
getTreeCellIterator ?(Lcom/groupbyinc/flux/common/locationtech/spatial4j/shape/Shape;I)Lcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/tree/CellIterator;
java/util/Iterator ()Ljava/lang/Object; ? ? 9com/groupbyinc/flux/common/apache/lucene/search/TermQuery 3com/groupbyinc/flux/common/apache/lucene/index/Term getTokenBytesWithLeaf r(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; ? M(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)V
! 8(Lcom/groupbyinc/flux/common/apache/lucene/index/Term;)V #
$ getGrid R()Lcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/tree/SpatialPrefixTree;&'
( prevLevel cellIterator gridShape desiredAssertionStatus. &
6/ Code LocalVariableTable LineNumberTable
StackMapTable LocalVariableTypeTable Signature ?(Lcom/groupbyinc/flux/common/locationtech/spatial4j/shape/Shape;ILjava/util/Iterator;)Ljava/util/Iterator; ?(Lcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/tree/Cell;Lcom/groupbyinc/flux/common/locationtech/spatial4j/shape/Shape;ILjava/util/List;)Z
SourceFile !
1 i *+,? *? *? *+? d? ? 2 ! 3 > 9 ; ? @ " 1 / *? ? 2 3 C # $ 1 > *? ? 2 3
O P % &