
com.groupbyinc.flux.common.lucene.uid.Versions.class Maven / Gradle / Ivy
???? 3 ? .com/groupbyinc/flux/common/lucene/uid/Versions java/lang/Object
Versions.java >com/groupbyinc/flux/common/lucene/uid/Versions$DocIdAndVersion DocIdAndVersion 0com/groupbyinc/flux/common/lucene/uid/Versions$1 Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader$CoreClosedListener 9com/groupbyinc/flux/common/apache/lucene/index/LeafReader
CoreClosedListener MATCH_ANY J???????? NOT_FOUND???????? NOT_SET???????? lookupStates $Ljava/util/concurrent/ConcurrentMap; ?Ljava/util/concurrent/ConcurrentMap;>; removeLookupState NLcom/groupbyinc/flux/common/apache/lucene/index/LeafReader$CoreClosedListener; $assertionsDisabled Z getLookupState ?(Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader;)Lcom/groupbyinc/flux/common/lucene/uid/PerThreadIDAndVersionLookup; java/io/IOException # getCoreCacheKey ()Ljava/lang/Object; % &
' ) "java/util/concurrent/ConcurrentMap + get &(Ljava/lang/Object;)Ljava/lang/Object; - . , / Bcom/groupbyinc/flux/common/apache/lucene/util/CloseableThreadLocal 1 ()V 3 4
2 5 putIfAbsent 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; 7 8 , 9 ; addCoreClosedListener Q(Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader$CoreClosedListener;)V = >
? - &
2 A Acom/groupbyinc/flux/common/lucene/uid/PerThreadIDAndVersionLookup C >(Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader;)V 3 E
D F set (Ljava/lang/Object;)V H I
2 J other ?Lcom/groupbyinc/flux/common/apache/lucene/util/CloseableThreadLocal; DLcom/groupbyinc/flux/common/apache/lucene/util/CloseableThreadLocal; reader ;Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader; key Ljava/lang/Object; ctl lookupState CLcom/groupbyinc/flux/common/lucene/uid/PerThreadIDAndVersionLookup;
5 this 0Lcom/groupbyinc/flux/common/lucene/uid/Versions; loadDocIdAndVersion ?(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;Lcom/groupbyinc/flux/common/apache/lucene/index/Term;)Lcom/groupbyinc/flux/common/lucene/uid/Versions$DocIdAndVersion; [ 3com/groupbyinc/flux/common/apache/lucene/index/Term ] field ()Ljava/lang/String; _ `
^ a _uid c java/lang/String e equals (Ljava/lang/Object;)Z g h
f i java/lang/AssertionError k
l 5 :com/groupbyinc/flux/common/apache/lucene/index/IndexReader n leaves ()Ljava/util/List; p q
o r java/util/List t isEmpty ()Z v w u x size ()I z { u | (I)Ljava/lang/Object; - ~ u @com/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext ? =()Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader; O ?
? ? ! "
? bytes :()Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; ? ?
^ ? getLiveDocs 6()Lcom/groupbyinc/flux/common/apache/lucene/util/Bits; ? ?
? lookup ?(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;Lcom/groupbyinc/flux/common/apache/lucene/util/Bits;Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;)Lcom/groupbyinc/flux/common/lucene/uid/Versions$DocIdAndVersion; ? ?
D ? context BLcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext; leaf result @Lcom/groupbyinc/flux/common/lucene/uid/Versions$DocIdAndVersion; i I