
com.groupbyinc.flux.common.apache.lucene.spatial.util.ShapeFieldCacheProvider.class Maven / Gradle / Ivy
???? 4 ? Mcom/groupbyinc/flux/common/apache/lucene/spatial/util/ShapeFieldCacheProvider ?Ljava/lang/Object; java/lang/Object ShapeFieldCacheProvider.java log Ljava/util/logging/Logger; sidx Ljava/util/WeakHashMap; ?Ljava/util/WeakHashMap;>; defaultSize I
shapeField Ljava/lang/String; (Ljava/lang/String;I)V ()V
getClass ()Ljava/lang/Class;
java/lang/Class getName ()Ljava/lang/String;
java/util/logging/Logger getLogger .(Ljava/lang/String;)Ljava/util/logging/Logger; ! "
# % java/util/WeakHashMap '
(
* ,
. this TLcom/groupbyinc/flux/common/apache/lucene/spatial/util/ShapeFieldCacheProvider; OLcom/groupbyinc/flux/common/apache/lucene/spatial/util/ShapeFieldCacheProvider; readShape b(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)Lorg/locationtech/spatial4j/shape/Shape; getCache ?(Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader;)Lcom/groupbyinc/flux/common/apache/lucene/spatial/util/ShapeFieldCache; java/io/IOException 7 get &(Ljava/lang/Object;)Ljava/lang/Object; 9 :
( ; Ecom/groupbyinc/flux/common/apache/lucene/spatial/util/ShapeFieldCache = java/lang/System ? currentTimeMillis ()J A B
@ C java/lang/StringBuilder E
F Building Cache [ H append -(Ljava/lang/String;)Ljava/lang/StringBuilder; J K
F L 9com/groupbyinc/flux/common/apache/lucene/index/LeafReader N maxDoc ()I P Q
O R (I)Ljava/lang/StringBuilder; J T
F U ] W toString Y
F Z fine (Ljava/lang/String;)V \ ]
^ (II)V `
> a terms J(Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/index/Terms; c d
O e 4com/groupbyinc/flux/common/apache/lucene/index/Terms g iterator <()Lcom/groupbyinc/flux/common/apache/lucene/index/TermsEnum; i j
h k 8com/groupbyinc/flux/common/apache/lucene/index/TermsEnum m next :()Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; o p
n q ;com/groupbyinc/flux/common/apache/lucene/index/PostingsEnum s 6com/groupbyinc/flux/common/apache/lucene/util/BytesRef u 3 4
w postings }(Lcom/groupbyinc/flux/common/apache/lucene/index/PostingsEnum;I)Lcom/groupbyinc/flux/common/apache/lucene/index/PostingsEnum; y z
n { nextDoc } Q
t ~ java/lang/Integer ? valueOf (I)Ljava/lang/Integer; ? ?
? ? &org/locationtech/spatial4j/shape/Shape ? intValue ? Q
? ???? add ,(ILorg/locationtech/spatial4j/shape/Shape;)V ? ?
> ? put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ? ?
( ? Cached: [ ? in ? (J)Ljava/lang/StringBuilder; J ?
F ? ms] ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; J ?
F ? docid Ljava/lang/Integer; shape TT; (Lorg/locationtech/spatial4j/shape/Shape; te :Lcom/groupbyinc/flux/common/apache/lucene/index/TermsEnum; term 8Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; reader ;Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader; idx LLcom/groupbyinc/flux/common/apache/lucene/spatial/util/ShapeFieldCache; GLcom/groupbyinc/flux/common/apache/lucene/spatial/util/ShapeFieldCache; startTime J count docs =Lcom/groupbyinc/flux/common/apache/lucene/index/PostingsEnum; 6Lcom/groupbyinc/flux/common/apache/lucene/index/Terms; elapsed Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable =(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)TT;
StackMapTable
Exceptions ?(Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader;)Lcom/groupbyinc/flux/common/apache/lucene/spatial/util/ShapeFieldCache;
SourceFile!
?
? ? (*? **? ? ? $? &*? (Y? )? +*+? -*? /? ? ( 0 2 ( (
? ( 0 1 ? . &