com.groupbyinc.flux.common.lucene.uid.VersionsAndSeqNoResolver.class Maven / Gradle / Ivy
???? 43 >com/groupbyinc/flux/common/lucene/uid/VersionsAndSeqNoResolver java/lang/Object VersionsAndSeqNoResolver.java Lcom/groupbyinc/flux/common/lucene/uid/VersionsAndSeqNoResolver$DocIdAndSeqNo
DocIdAndSeqNo Ncom/groupbyinc/flux/common/lucene/uid/VersionsAndSeqNoResolver$DocIdAndVersion DocIdAndVersion Ccom/groupbyinc/flux/common/apache/lucene/index/IndexReader$CacheKey :com/groupbyinc/flux/common/apache/lucene/index/IndexReader CacheKey Icom/groupbyinc/flux/common/apache/lucene/index/IndexReader$ClosedListener ClosedListener Fcom/groupbyinc/flux/common/apache/lucene/index/IndexReader$CacheHelper CacheHelper %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup lookupStates $Ljava/util/concurrent/ConcurrentMap; ?Ljava/util/concurrent/ConcurrentMap;>; removeLookupState KLcom/groupbyinc/flux/common/apache/lucene/index/IndexReader$ClosedListener; $assertionsDisabled Z getLookupState ?(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;Ljava/lang/String;)[Lcom/groupbyinc/flux/common/lucene/uid/PerThreadIDVersionAndSeqNoLookup; java/io/IOException % getReaderCacheHelper J()Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader$CacheHelper; ' (
) + getKey G()Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader$CacheKey; - . / "java/util/concurrent/ConcurrentMap 1 get &(Ljava/lang/Object;)Ljava/lang/Object; 3 4 2 5 Bcom/groupbyinc/flux/common/apache/lucene/util/CloseableThreadLocal 7 ()V 9 :
8 ; putIfAbsent 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; = > 2 ? A addClosedListener N(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader$ClosedListener;)V C D E ()Ljava/lang/Object; 3 G
8 H I[Lcom/groupbyinc/flux/common/lucene/uid/PerThreadIDVersionAndSeqNoLookup; J leaves ()Ljava/util/List; L M
N java/util/List P size ()I R S Q T Fcom/groupbyinc/flux/common/lucene/uid/PerThreadIDVersionAndSeqNoLookup V iterator ()Ljava/util/Iterator; X Y Q Z java/util/Iterator \ hasNext ()Z ^ _ ] ` next b G ] c @com/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext e ord I g h f i reader =()Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader; k l
f m P(Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader;Ljava/lang/String;)V 9 o
W p set (Ljava/lang/Object;)V r s
8 t java/lang/AssertionError v java/lang/StringBuilder x
y ; Mismatched numbers of leaves: { append -(Ljava/lang/String;)Ljava/lang/StringBuilder; } ~
y (I)Ljava/lang/StringBuilder; } ?
y ? != ? toString ()Ljava/lang/String; ? ?
y ? 9 s
w ? uidField Ljava/lang/String; ? ? W ? java/util/Objects ? equals '(Ljava/lang/Object;Ljava/lang/Object;)Z ? ?
? ? 5Index does not consistently use the same uid field: [ ? ] != [ ? ] ? other ?Lcom/groupbyinc/flux/common/apache/lucene/util/CloseableThreadLocal<[Lcom/groupbyinc/flux/common/lucene/uid/PerThreadIDVersionAndSeqNoLookup;>; DLcom/groupbyinc/flux/common/apache/lucene/util/CloseableThreadLocal; leaf BLcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;