
com.groupbyinc.flux.common.apache.lucene.index.BufferedUpdates.class Maven / Gradle / Ivy
???? 3 >com/groupbyinc/flux/common/apache/lucene/index/BufferedUpdates java/lang/Object BufferedUpdates.java 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 BYTES_PER_DEL_TERM I BYTES_PER_DEL_DOCID BYTES_PER_DEL_QUERY BYTES_PER_NUMERIC_FIELD_ENTRY BYTES_PER_NUMERIC_UPDATE_ENTRY BYTES_PER_BINARY_FIELD_ENTRY BYTES_PER_BINARY_UPDATE_ENTRY numTermDeletes +Ljava/util/concurrent/atomic/AtomicInteger; numNumericUpdates numBinaryUpdates terms Ljava/util/Map; YLjava/util/Map; queries [Ljava/util/Map; docIDs Ljava/util/List; %Ljava/util/List; numericUpdates ?Ljava/util/Map;>;
binaryUpdates ?Ljava/util/Map;>; MAX_INT Ljava/lang/Integer; bytesUsed (Ljava/util/concurrent/atomic/AtomicLong; VERBOSE_DELETES Z gen J ()V / 0
1 )java/util/concurrent/atomic/AtomicInteger 3
4 1 6 8 : java/util/HashMap <
= 1 ? A java/util/ArrayList C
D 1 F " H $ J &java/util/concurrent/atomic/AtomicLong L
M 1 ( ) O this @Lcom/groupbyinc/flux/common/apache/lucene/index/BufferedUpdates; toString ()Ljava/lang/String; java/lang/StringBuilder U
V 1 gen= X append -(Ljava/lang/String;)Ljava/lang/StringBuilder; Z [
V \ - . ^ (J)Ljava/lang/StringBuilder; Z `
V a S T
V c get ()I e f
4 g i (I)Ljava/lang/StringBuilder; Z k
V l deleted terms (unique count= n
java/util/Map p size r f q s ) u java/lang/String w deleted queries y java/util/List { | s deleted docIDs ~ numeric updates (unique count= ? binary updates (unique count= ? ()J e ?
M ? bytesUsed= ? s Ljava/lang/String; addQuery ;(Lcom/groupbyinc/flux/common/apache/lucene/search/Query;I)V java/lang/Integer ? valueOf (I)Ljava/lang/Integer; ? ?
? ? put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ? ? q ? ? addAndGet (J)J ? ?
M ? query 7Lcom/groupbyinc/flux/common/apache/lucene/search/Query; docIDUpto current addDocID (I)V add (Ljava/lang/Object;)Z ? ? | ? ? docID addTerm 9(Lcom/groupbyinc/flux/common/apache/lucene/index/Term;I)V &(Ljava/lang/Object;)Ljava/lang/Object; e ? q ? intValue ? f
? ? incrementAndGet ? f
4 ? ? 3com/groupbyinc/flux/common/apache/lucene/index/Term ? bytes 8Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; ? ? ? ? 6com/groupbyinc/flux/common/apache/lucene/util/BytesRef ? length ? ? ? field ? T
? ? ? f
x ? term 5Lcom/groupbyinc/flux/common/apache/lucene/index/Term; addNumericUpdate [(Lcom/groupbyinc/flux/common/apache/lucene/index/DocValuesUpdate$NumericDocValuesUpdate;I)V ? ? ? java/util/LinkedHashMap ?
? 1 ? ? ? ?
? ? ? ? remove ? ?
? ?
? ? ? sizeInBytes ? f
? update WLcom/groupbyinc/flux/common/apache/lucene/index/DocValuesUpdate$NumericDocValuesUpdate; fieldUpdates ?Ljava/util/LinkedHashMap; Ljava/util/LinkedHashMap; addBinaryUpdate Z(Lcom/groupbyinc/flux/common/apache/lucene/index/DocValuesUpdate$BinaryDocValuesUpdate;I)V ? ? ? ? ?
? VLcom/groupbyinc/flux/common/apache/lucene/index/DocValuesUpdate$BinaryDocValuesUpdate; ?Ljava/util/LinkedHashMap; clear ? 0 q ? | ? set ? ?
4 ? (J)V ? ?
M ? any ()Z ?com/groupbyinc/flux/common/apache/lucene/util/RamUsageEstimator ? NUM_BYTES_OBJECT_REF ? NUM_BYTES_OBJECT_HEADER ? NUM_BYTES_ARRAY_HEADER ???? &