
com.groupbyinc.flux.common.apache.lucene.index.BufferedUpdatesStream.class Maven / Gradle / Ivy
???? 3 Dcom/groupbyinc/flux/common/apache/lucene/index/BufferedUpdatesStream java/lang/Object 9com/groupbyinc/flux/common/apache/lucene/util/Accountable BufferedUpdatesStream.java Rcom/groupbyinc/flux/common/apache/lucene/index/BufferedUpdatesStream$QueryAndLimit
QueryAndLimit Qcom/groupbyinc/flux/common/apache/lucene/index/BufferedUpdatesStream$SegmentQueue SegmentQueue Qcom/groupbyinc/flux/common/apache/lucene/index/BufferedUpdatesStream$SegmentState SegmentState Wcom/groupbyinc/flux/common/apache/lucene/index/BufferedUpdatesStream$ApplyDeletesResult ApplyDeletesResult Fcom/groupbyinc/flux/common/apache/lucene/index/BufferedUpdatesStream$1 Ecom/groupbyinc/flux/common/apache/lucene/index/IndexWriter$ReaderPool :com/groupbyinc/flux/common/apache/lucene/index/IndexWriter
ReaderPool Ncom/groupbyinc/flux/common/apache/lucene/index/DocValuesFieldUpdates$Container Dcom/groupbyinc/flux/common/apache/lucene/index/DocValuesFieldUpdates Container Ccom/groupbyinc/flux/common/apache/lucene/index/TermsEnum$SeekStatus 8com/groupbyinc/flux/common/apache/lucene/index/TermsEnum "
SeekStatus Ucom/groupbyinc/flux/common/apache/lucene/index/DocValuesUpdate$NumericDocValuesUpdate % >com/groupbyinc/flux/common/apache/lucene/index/DocValuesUpdate ' NumericDocValuesUpdate Tcom/groupbyinc/flux/common/apache/lucene/index/DocValuesUpdate$BinaryDocValuesUpdate * BinaryDocValuesUpdate updates Ljava/util/List; XLjava/util/List; nextGen J lastDeleteTerm 8Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;
infoStream :Lcom/groupbyinc/flux/common/apache/lucene/util/InfoStream; bytesUsed (Ljava/util/concurrent/atomic/AtomicLong; numTerms +Ljava/util/concurrent/atomic/AtomicInteger; sortSegInfoByDelGen Ljava/util/Comparator; ZLjava/util/Comparator; $assertionsDisabled Z =(Lcom/groupbyinc/flux/common/apache/lucene/util/InfoStream;)V ()V ? A
B java/util/ArrayList D
E B - . G 0 1 I &java/util/concurrent/atomic/AtomicLong K
L B 6 7 N )java/util/concurrent/atomic/AtomicInteger P
Q B 8 9 S 4 5 U this FLcom/groupbyinc/flux/common/apache/lucene/index/BufferedUpdatesStream; push I(Lcom/groupbyinc/flux/common/apache/lucene/index/FrozenBufferedUpdates;)J Dcom/groupbyinc/flux/common/apache/lucene/index/FrozenBufferedUpdates [ setDelGen (J)V ] ^
\ _ = > a any ()Z c d
\ e java/lang/AssertionError g
h B checkDeleteStats j d
k delGen ()J m n
\ o java/util/List q isEmpty s d r t size ()I v w r x get (I)Ljava/lang/Object; z { r | Delete packets must be in order ~ (Ljava/lang/Object;)V ? ?
h ? add (Ljava/lang/Object;)Z ? ? r ? numTermDeletes I ? ? \ ? addAndGet (I)I ? ?
Q ? 6 ? \ ? (J)J ? ?
L ? BD ? 8com/groupbyinc/flux/common/apache/lucene/util/InfoStream ? isEnabled (Ljava/lang/String;)Z ? ?
? ? java/lang/StringBuilder ?
? B
push deletes ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? ?
? ? segmentPrivate?= ? isSegmentPrivate ? > \ ? (Z)Ljava/lang/StringBuilder; ? ?
? ? delGen= ? (J)Ljava/lang/StringBuilder; ? ?
? ?
packetCount= ? (I)Ljava/lang/StringBuilder; ? ?
? ? totBytesUsed= ? z n
L ? toString ()Ljava/lang/String; ? ?
? ? message '(Ljava/lang/String;Ljava/lang/String;)V ? ?
? ? packet FLcom/groupbyinc/flux/common/apache/lucene/index/FrozenBufferedUpdates; clear ? A r ? set (I)V ? ?
Q ? ? ^
L ? z w
Q ? ramBytesUsed getChildResources ()Ljava/util/Collection; java/util/Collections ? emptyList ()Ljava/util/List; ? ?
? ? applyDeletesAndUpdates ?(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriter$ReaderPool;Ljava/util/List;)Lcom/groupbyinc/flux/common/apache/lucene/index/BufferedUpdatesStream$ApplyDeletesResult; java/io/IOException ? java/lang/System ? currentTimeMillis ? n
? ? (ZJLjava/util/List;)V ? ?
? java/util/Locale ? ROOT Ljava/util/Locale; ? ? ? ? /applyDeletes: open segment readers took %d msec ? java/lang/Long ? valueOf (J)Ljava/lang/Long; ? ?
? ? java/lang/String ? format K(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; ? ?
? ? T[Lcom/groupbyinc/flux/common/apache/lucene/index/BufferedUpdatesStream$SegmentState; ?
e #applyDeletes: no segments; skipping ? closeSegmentStates ?(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriter$ReaderPool;[Lcom/groupbyinc/flux/common/apache/lucene/index/BufferedUpdatesStream$SegmentState;ZJ)Lcom/groupbyinc/flux/common/apache/lucene/index/BufferedUpdatesStream$ApplyDeletesResult;
applyDeletes: infos= sortByDelGen "(Ljava/util/List;)Ljava/util/List;
?com/groupbyinc/flux/common/apache/lucene/index/CoalescedUpdates @com/groupbyinc/flux/common/apache/lucene/index/SegmentCommitInfo
getBufferedDeletesGen n
B update I(Lcom/groupbyinc/flux/common/apache/lucene/index/FrozenBufferedUpdates;)V
QPacket and Segments deletegen can only match on a segment private del packet gen= openSegmentStates ?(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriter$ReaderPool;Ljava/util/List;)[Lcom/groupbyinc/flux/common/apache/lucene/index/BufferedUpdatesStream$SegmentState;
infoIsLive E(Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentCommitInfo;)Z
B queriesIterable ()Ljava/lang/Iterable;"#
$ applyQueryDeletes j(Ljava/lang/Iterable;Lcom/groupbyinc/flux/common/apache/lucene/index/BufferedUpdatesStream$SegmentState;)J&'
( numericDVUpdates* . + applyDocValuesUpdates ?(Ljava/lang/Iterable;Lcom/groupbyinc/flux/common/apache/lucene/index/BufferedUpdatesStream$SegmentState;Lcom/groupbyinc/flux/common/apache/lucene/index/DocValuesFieldUpdates$Container;)V-.
/ binaryDVUpdates1 . 2
\$ X[Lcom/groupbyinc/flux/common/apache/lucene/index/DocValuesUpdate$NumericDocValuesUpdate;*5 \6 java/util/Arrays8 asList %([Ljava/lang/Object;)Ljava/util/List;:;
9< W[Lcom/groupbyinc/flux/common/apache/lucene/index/DocValuesUpdate$BinaryDocValuesUpdate;1> \?
e rld BLcom/groupbyinc/flux/common/apache/lucene/index/ReadersAndUpdates;BC D info