final class org.apache.lucene.index.PendingSoftDeletes extends org.apache.lucene.index.PendingDeletes
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.index.PendingSoftDeletes
super_class: org.apache.lucene.index.PendingDeletes
{
private final java.lang.String field;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private long dvGeneration;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private final org.apache.lucene.index.PendingDeletes hardDeletes;
descriptor: Lorg/apache/lucene/index/PendingDeletes;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/lucene/index/PendingSoftDeletes;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.lucene.index.PendingSoftDeletes.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.String, org.apache.lucene.index.SegmentCommitInfo);
descriptor: (Ljava/lang/String;Lorg/apache/lucene/index/SegmentCommitInfo;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
aconst_null
aload 2
iconst_1
invokevirtual org.apache.lucene.index.SegmentCommitInfo.getDelCount:(Z)I
ifne 1
iconst_1
goto 2
StackMap locals: uninitialized-this java.lang.String org.apache.lucene.index.SegmentCommitInfo
StackMap stack: uninitialized-this org.apache.lucene.index.SegmentCommitInfo null
1: iconst_0
StackMap locals: uninitialized-this java.lang.String org.apache.lucene.index.SegmentCommitInfo
StackMap stack: uninitialized-this org.apache.lucene.index.SegmentCommitInfo null int
2: invokespecial org.apache.lucene.index.PendingDeletes.<init>:(Lorg/apache/lucene/index/SegmentCommitInfo;Lorg/apache/lucene/util/Bits;Z)V
3: aload 0
ldc -2
putfield org.apache.lucene.index.PendingSoftDeletes.dvGeneration:J
4: aload 0
aload 1
putfield org.apache.lucene.index.PendingSoftDeletes.field:Ljava/lang/String;
5: aload 0
new org.apache.lucene.index.PendingDeletes
dup
aload 2
invokespecial org.apache.lucene.index.PendingDeletes.<init>:(Lorg/apache/lucene/index/SegmentCommitInfo;)V
putfield org.apache.lucene.index.PendingSoftDeletes.hardDeletes:Lorg/apache/lucene/index/PendingDeletes;
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/index/PendingSoftDeletes;
0 7 1 field Ljava/lang/String;
0 7 2 info Lorg/apache/lucene/index/SegmentCommitInfo;
MethodParameters:
Name Flags
field
info
void <init>(java.lang.String, org.apache.lucene.index.SegmentReader, org.apache.lucene.index.SegmentCommitInfo);
descriptor: (Ljava/lang/String;Lorg/apache/lucene/index/SegmentReader;Lorg/apache/lucene/index/SegmentCommitInfo;)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
aload 3
invokespecial org.apache.lucene.index.PendingDeletes.<init>:(Lorg/apache/lucene/index/SegmentReader;Lorg/apache/lucene/index/SegmentCommitInfo;)V
1: aload 0
ldc -2
putfield org.apache.lucene.index.PendingSoftDeletes.dvGeneration:J
2: aload 0
aload 1
putfield org.apache.lucene.index.PendingSoftDeletes.field:Ljava/lang/String;
3: aload 0
new org.apache.lucene.index.PendingDeletes
dup
aload 2
aload 3
invokespecial org.apache.lucene.index.PendingDeletes.<init>:(Lorg/apache/lucene/index/SegmentReader;Lorg/apache/lucene/index/SegmentCommitInfo;)V
putfield org.apache.lucene.index.PendingSoftDeletes.hardDeletes:Lorg/apache/lucene/index/PendingDeletes;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/index/PendingSoftDeletes;
0 5 1 field Ljava/lang/String;
0 5 2 reader Lorg/apache/lucene/index/SegmentReader;
0 5 3 info Lorg/apache/lucene/index/SegmentCommitInfo;
MethodParameters:
Name Flags
field
reader
info
boolean delete(int);
descriptor: (I)Z
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.lucene.index.PendingSoftDeletes.getMutableBits:()Lorg/apache/lucene/util/FixedBitSet;
astore 2
start local 2 1: aload 0
getfield org.apache.lucene.index.PendingSoftDeletes.hardDeletes:Lorg/apache/lucene/index/PendingDeletes;
iload 1
invokevirtual org.apache.lucene.index.PendingDeletes.delete:(I)Z
ifeq 8
2: aload 2
iload 1
invokevirtual org.apache.lucene.util.FixedBitSet.get:(I)Z
ifeq 5
3: aload 2
iload 1
invokevirtual org.apache.lucene.util.FixedBitSet.clear:(I)V
4: getstatic org.apache.lucene.index.PendingSoftDeletes.$assertionsDisabled:Z
ifne 7
aload 0
getfield org.apache.lucene.index.PendingSoftDeletes.hardDeletes:Lorg/apache/lucene/index/PendingDeletes;
iload 1
invokevirtual org.apache.lucene.index.PendingDeletes.delete:(I)Z
ifeq 7
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals: org.apache.lucene.util.FixedBitSet
StackMap stack:
aload 0
dup
getfield org.apache.lucene.index.PendingSoftDeletes.pendingDeleteCount:I
iconst_1
isub
putfield org.apache.lucene.index.PendingSoftDeletes.pendingDeleteCount:I
6: getstatic org.apache.lucene.index.PendingSoftDeletes.$assertionsDisabled:Z
ifne 7
aload 0
invokevirtual org.apache.lucene.index.PendingSoftDeletes.assertPendingDeletes:()Z
ifne 7
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
7: StackMap locals:
StackMap stack:
iconst_1
ireturn
8: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/lucene/index/PendingSoftDeletes;
0 9 1 docID I
1 9 2 mutableBits Lorg/apache/lucene/util/FixedBitSet;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
docID
protected int numPendingDeletes();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.lucene.index.PendingDeletes.numPendingDeletes:()I
aload 0
getfield org.apache.lucene.index.PendingSoftDeletes.hardDeletes:Lorg/apache/lucene/index/PendingDeletes;
invokevirtual org.apache.lucene.index.PendingDeletes.numPendingDeletes:()I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/PendingSoftDeletes;
void onNewReader(org.apache.lucene.index.CodecReader, org.apache.lucene.index.SegmentCommitInfo);
descriptor: (Lorg/apache/lucene/index/CodecReader;Lorg/apache/lucene/index/SegmentCommitInfo;)V
flags: (0x0000)
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.apache.lucene.index.PendingDeletes.onNewReader:(Lorg/apache/lucene/index/CodecReader;Lorg/apache/lucene/index/SegmentCommitInfo;)V
1: aload 0
getfield org.apache.lucene.index.PendingSoftDeletes.hardDeletes:Lorg/apache/lucene/index/PendingDeletes;
aload 1
aload 2
invokevirtual org.apache.lucene.index.PendingDeletes.onNewReader:(Lorg/apache/lucene/index/CodecReader;Lorg/apache/lucene/index/SegmentCommitInfo;)V
2: aload 0
getfield org.apache.lucene.index.PendingSoftDeletes.dvGeneration:J
aload 2
invokevirtual org.apache.lucene.index.SegmentCommitInfo.getDocValuesGen:()J
lcmp
ifge 11
3: aload 0
getfield org.apache.lucene.index.PendingSoftDeletes.field:Ljava/lang/String;
aload 1
invokestatic org.apache.lucene.search.DocValuesFieldExistsQuery.getDocValuesDocIdSetIterator:(Ljava/lang/String;Lorg/apache/lucene/index/LeafReader;)Lorg/apache/lucene/search/DocIdSetIterator;
astore 3
start local 3 4: aload 3
ifnull 8
5: getstatic org.apache.lucene.index.PendingSoftDeletes.$assertionsDisabled:Z
ifne 6
aload 2
getfield org.apache.lucene.index.SegmentCommitInfo.info:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.maxDoc:()I
ifgt 6
new java.lang.AssertionError
dup
ldc "maxDoc is 0"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
6: StackMap locals: org.apache.lucene.search.DocIdSetIterator
StackMap stack:
aload 3
aload 0
invokevirtual org.apache.lucene.index.PendingSoftDeletes.getMutableBits:()Lorg/apache/lucene/util/FixedBitSet;
invokestatic org.apache.lucene.index.PendingSoftDeletes.applySoftDeletes:(Lorg/apache/lucene/search/DocIdSetIterator;Lorg/apache/lucene/util/FixedBitSet;)I
istore 4
start local 4 7: getstatic org.apache.lucene.index.PendingSoftDeletes.$assertionsDisabled:Z
ifne 9
iload 4
ifge 9
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc " illegal pending delete count: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 4 8: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 9: StackMap locals: int
StackMap stack:
getstatic org.apache.lucene.index.PendingSoftDeletes.$assertionsDisabled:Z
ifne 10
aload 2
invokevirtual org.apache.lucene.index.SegmentCommitInfo.getSoftDelCount:()I
iload 4
if_icmpeq 10
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "softDeleteCount doesn't match "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual org.apache.lucene.index.SegmentCommitInfo.getSoftDelCount:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " != "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
10: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual org.apache.lucene.index.SegmentCommitInfo.getDocValuesGen:()J
putfield org.apache.lucene.index.PendingSoftDeletes.dvGeneration:J
end local 4 end local 3 11: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.index.PendingSoftDeletes.$assertionsDisabled:Z
ifne 12
aload 0
invokevirtual org.apache.lucene.index.PendingSoftDeletes.getDelCount:()I
aload 2
getfield org.apache.lucene.index.SegmentCommitInfo.info:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.maxDoc:()I
if_icmple 12
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
aload 0
invokevirtual org.apache.lucene.index.PendingSoftDeletes.getDelCount:()I
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " > "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
getfield org.apache.lucene.index.SegmentCommitInfo.info:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.maxDoc:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/lucene/index/PendingSoftDeletes;
0 13 1 reader Lorg/apache/lucene/index/CodecReader;
0 13 2 info Lorg/apache/lucene/index/SegmentCommitInfo;
4 11 3 iterator Lorg/apache/lucene/search/DocIdSetIterator;
7 8 4 newDelCount I
9 11 4 newDelCount I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
reader
info
boolean writeLiveDocs(org.apache.lucene.store.Directory);
descriptor: (Lorg/apache/lucene/store/Directory;)Z
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.index.PendingSoftDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
aload 0
getfield org.apache.lucene.index.PendingSoftDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
invokevirtual org.apache.lucene.index.SegmentCommitInfo.getSoftDelCount:()I
aload 0
getfield org.apache.lucene.index.PendingSoftDeletes.pendingDeleteCount:I
iadd
invokevirtual org.apache.lucene.index.SegmentCommitInfo.setSoftDelCount:(I)V
1: aload 0
invokespecial org.apache.lucene.index.PendingDeletes.dropChanges:()V
2: aload 0
getfield org.apache.lucene.index.PendingSoftDeletes.hardDeletes:Lorg/apache/lucene/index/PendingDeletes;
aload 1
invokevirtual org.apache.lucene.index.PendingDeletes.writeLiveDocs:(Lorg/apache/lucene/store/Directory;)Z
ifeq 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/index/PendingSoftDeletes;
0 5 1 dir Lorg/apache/lucene/store/Directory;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dir
void dropChanges();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.PendingSoftDeletes.hardDeletes:Lorg/apache/lucene/index/PendingDeletes;
invokevirtual org.apache.lucene.index.PendingDeletes.dropChanges:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/PendingSoftDeletes;
static int applySoftDeletes(org.apache.lucene.search.DocIdSetIterator, org.apache.lucene.util.FixedBitSet);
descriptor: (Lorg/apache/lucene/search/DocIdSetIterator;Lorg/apache/lucene/util/FixedBitSet;)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: getstatic org.apache.lucene.index.PendingSoftDeletes.$assertionsDisabled:Z
ifne 1
aload 0
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 2: aload 0
instanceof org.apache.lucene.index.DocValuesFieldUpdates$Iterator
ifeq 4
3: aload 0
checkcast org.apache.lucene.index.DocValuesFieldUpdates$Iterator
goto 5
StackMap locals: int
StackMap stack:
4: aconst_null
5: StackMap locals:
StackMap stack: org.apache.lucene.index.DocValuesFieldUpdates$Iterator
astore 4
start local 4 6: goto 15
start local 3 7: StackMap locals: int org.apache.lucene.index.DocValuesFieldUpdates$Iterator
StackMap stack:
aload 4
ifnull 8
aload 4
invokevirtual org.apache.lucene.index.DocValuesFieldUpdates$Iterator.hasValue:()Z
ifeq 12
8: StackMap locals:
StackMap stack:
aload 1
iload 3
invokevirtual org.apache.lucene.util.FixedBitSet.get:(I)Z
ifeq 15
9: aload 1
iload 3
invokevirtual org.apache.lucene.util.FixedBitSet.clear:(I)V
10: iinc 2 1
11: goto 15
12: StackMap locals:
StackMap stack:
aload 1
iload 3
invokevirtual org.apache.lucene.util.FixedBitSet.get:(I)Z
ifne 15
13: aload 1
iload 3
invokevirtual org.apache.lucene.util.FixedBitSet.set:(I)V
14: iinc 2 -1
end local 3 15: StackMap locals: org.apache.lucene.search.DocIdSetIterator org.apache.lucene.util.FixedBitSet int top org.apache.lucene.index.DocValuesFieldUpdates$Iterator
StackMap stack:
aload 0
invokevirtual org.apache.lucene.search.DocIdSetIterator.nextDoc:()I
dup
istore 3
start local 3 16: ldc 2147483647
if_icmpne 7
17: iload 2
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 iterator Lorg/apache/lucene/search/DocIdSetIterator;
0 18 1 bits Lorg/apache/lucene/util/FixedBitSet;
2 18 2 newDeletes I
7 15 3 docID I
16 18 3 docID I
6 18 4 hasValue Lorg/apache/lucene/index/DocValuesFieldUpdates$Iterator;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
iterator
bits
void onDocValuesUpdate(org.apache.lucene.index.FieldInfo, org.apache.lucene.index.DocValuesFieldUpdates$Iterator);
descriptor: (Lorg/apache/lucene/index/FieldInfo;Lorg/apache/lucene/index/DocValuesFieldUpdates$Iterator;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.lucene.index.PendingSoftDeletes.field:Ljava/lang/String;
aload 1
getfield org.apache.lucene.index.FieldInfo.name:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
1: aload 0
dup
getfield org.apache.lucene.index.PendingSoftDeletes.pendingDeleteCount:I
aload 2
aload 0
invokevirtual org.apache.lucene.index.PendingSoftDeletes.getMutableBits:()Lorg/apache/lucene/util/FixedBitSet;
invokestatic org.apache.lucene.index.PendingSoftDeletes.applySoftDeletes:(Lorg/apache/lucene/search/DocIdSetIterator;Lorg/apache/lucene/util/FixedBitSet;)I
iadd
putfield org.apache.lucene.index.PendingSoftDeletes.pendingDeleteCount:I
2: getstatic org.apache.lucene.index.PendingSoftDeletes.$assertionsDisabled:Z
ifne 3
aload 0
invokevirtual org.apache.lucene.index.PendingSoftDeletes.assertPendingDeletes:()Z
ifne 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.PendingSoftDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
aload 0
getfield org.apache.lucene.index.PendingSoftDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
invokevirtual org.apache.lucene.index.SegmentCommitInfo.getSoftDelCount:()I
aload 0
getfield org.apache.lucene.index.PendingSoftDeletes.pendingDeleteCount:I
iadd
invokevirtual org.apache.lucene.index.SegmentCommitInfo.setSoftDelCount:(I)V
4: aload 0
invokespecial org.apache.lucene.index.PendingDeletes.dropChanges:()V
5: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.index.PendingSoftDeletes.$assertionsDisabled:Z
ifne 6
aload 0
getfield org.apache.lucene.index.PendingSoftDeletes.dvGeneration:J
aload 1
invokevirtual org.apache.lucene.index.FieldInfo.getDocValuesGen:()J
lcmp
iflt 6
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "we have seen this generation update already: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.lucene.index.PendingSoftDeletes.dvGeneration:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " vs. "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual org.apache.lucene.index.FieldInfo.getDocValuesGen:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
6: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.index.PendingSoftDeletes.$assertionsDisabled:Z
ifne 7
aload 0
getfield org.apache.lucene.index.PendingSoftDeletes.dvGeneration:J
ldc -2
lcmp
ifne 7
new java.lang.AssertionError
dup
ldc "docValues generation is still uninitialized"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.lucene.index.FieldInfo.getDocValuesGen:()J
putfield org.apache.lucene.index.PendingSoftDeletes.dvGeneration:J
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/lucene/index/PendingSoftDeletes;
0 9 1 info Lorg/apache/lucene/index/FieldInfo;
0 9 2 iterator Lorg/apache/lucene/index/DocValuesFieldUpdates$Iterator;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
info
iterator
private boolean assertPendingDeletes();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: getstatic org.apache.lucene.index.PendingSoftDeletes.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.lucene.index.PendingSoftDeletes.pendingDeleteCount:I
aload 0
getfield org.apache.lucene.index.PendingSoftDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
invokevirtual org.apache.lucene.index.SegmentCommitInfo.getSoftDelCount:()I
iadd
ifge 1
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc " illegal pending delete count: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.lucene.index.PendingSoftDeletes.pendingDeleteCount:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.PendingSoftDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
invokevirtual org.apache.lucene.index.SegmentCommitInfo.getSoftDelCount:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.index.PendingSoftDeletes.$assertionsDisabled:Z
ifne 2
aload 0
getfield org.apache.lucene.index.PendingSoftDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
getfield org.apache.lucene.index.SegmentCommitInfo.info:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.maxDoc:()I
aload 0
invokevirtual org.apache.lucene.index.PendingSoftDeletes.getDelCount:()I
if_icmpge 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/index/PendingSoftDeletes;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
ldc "PendingSoftDeletes(seg="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.PendingSoftDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
2: aload 1
ldc " numPendingDeletes="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.PendingSoftDeletes.pendingDeleteCount:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
3: aload 1
ldc " field="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.PendingSoftDeletes.field:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 1
ldc " dvGeneration="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.PendingSoftDeletes.dvGeneration:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
pop
5: aload 1
ldc " hardDeletes="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.PendingSoftDeletes.hardDeletes:Lorg/apache/lucene/index/PendingDeletes;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
6: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/index/PendingSoftDeletes;
1 7 1 sb Ljava/lang/StringBuilder;
int numDeletesToMerge(org.apache.lucene.index.MergePolicy, org.apache.lucene.util.IOSupplier<org.apache.lucene.index.CodecReader>);
descriptor: (Lorg/apache/lucene/index/MergePolicy;Lorg/apache/lucene/util/IOSupplier;)I
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual org.apache.lucene.index.PendingSoftDeletes.ensureInitialized:(Lorg/apache/lucene/util/IOSupplier;)V
1: aload 0
aload 1
aload 2
invokespecial org.apache.lucene.index.PendingDeletes.numDeletesToMerge:(Lorg/apache/lucene/index/MergePolicy;Lorg/apache/lucene/util/IOSupplier;)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/PendingSoftDeletes;
0 2 1 policy Lorg/apache/lucene/index/MergePolicy;
0 2 2 readerIOSupplier Lorg/apache/lucene/util/IOSupplier<Lorg/apache/lucene/index/CodecReader;>;
Exceptions:
throws java.io.IOException
Signature: (Lorg/apache/lucene/index/MergePolicy;Lorg/apache/lucene/util/IOSupplier<Lorg/apache/lucene/index/CodecReader;>;)I
MethodParameters:
Name Flags
policy
readerIOSupplier
private void ensureInitialized(org.apache.lucene.util.IOSupplier<org.apache.lucene.index.CodecReader>);
descriptor: (Lorg/apache/lucene/util/IOSupplier;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.index.PendingSoftDeletes.dvGeneration:J
ldc -2
lcmp
ifne 9
1: aload 0
invokevirtual org.apache.lucene.index.PendingSoftDeletes.readFieldInfos:()Lorg/apache/lucene/index/FieldInfos;
astore 2
start local 2 2: aload 2
aload 0
getfield org.apache.lucene.index.PendingSoftDeletes.field:Ljava/lang/String;
invokevirtual org.apache.lucene.index.FieldInfos.fieldInfo:(Ljava/lang/String;)Lorg/apache/lucene/index/FieldInfo;
astore 3
start local 3 3: aload 3
ifnull 6
aload 3
invokevirtual org.apache.lucene.index.FieldInfo.getDocValuesType:()Lorg/apache/lucene/index/DocValuesType;
getstatic org.apache.lucene.index.DocValuesType.NONE:Lorg/apache/lucene/index/DocValuesType;
if_acmpeq 6
4: aload 0
aload 1
invokeinterface org.apache.lucene.util.IOSupplier.get:()Ljava/lang/Object;
checkcast org.apache.lucene.index.CodecReader
aload 0
getfield org.apache.lucene.index.PendingSoftDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
invokevirtual org.apache.lucene.index.PendingSoftDeletes.onNewReader:(Lorg/apache/lucene/index/CodecReader;Lorg/apache/lucene/index/SegmentCommitInfo;)V
5: goto 9
6: StackMap locals: org.apache.lucene.index.FieldInfos org.apache.lucene.index.FieldInfo
StackMap stack:
aload 0
aload 3
ifnonnull 7
ldc -1
goto 8
StackMap locals:
StackMap stack: org.apache.lucene.index.PendingSoftDeletes
7: aload 3
invokevirtual org.apache.lucene.index.FieldInfo.getDocValuesGen:()J
StackMap locals: org.apache.lucene.index.PendingSoftDeletes org.apache.lucene.util.IOSupplier org.apache.lucene.index.FieldInfos org.apache.lucene.index.FieldInfo
StackMap stack: org.apache.lucene.index.PendingSoftDeletes long
8: putfield org.apache.lucene.index.PendingSoftDeletes.dvGeneration:J
end local 3 end local 2 9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/lucene/index/PendingSoftDeletes;
0 10 1 readerIOSupplier Lorg/apache/lucene/util/IOSupplier<Lorg/apache/lucene/index/CodecReader;>;
2 9 2 fieldInfos Lorg/apache/lucene/index/FieldInfos;
3 9 3 fieldInfo Lorg/apache/lucene/index/FieldInfo;
Exceptions:
throws java.io.IOException
Signature: (Lorg/apache/lucene/util/IOSupplier<Lorg/apache/lucene/index/CodecReader;>;)V
MethodParameters:
Name Flags
readerIOSupplier
boolean isFullyDeleted(org.apache.lucene.util.IOSupplier<org.apache.lucene.index.CodecReader>);
descriptor: (Lorg/apache/lucene/util/IOSupplier;)Z
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.lucene.index.PendingSoftDeletes.ensureInitialized:(Lorg/apache/lucene/util/IOSupplier;)V
1: aload 0
aload 1
invokespecial org.apache.lucene.index.PendingDeletes.isFullyDeleted:(Lorg/apache/lucene/util/IOSupplier;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/PendingSoftDeletes;
0 2 1 readerIOSupplier Lorg/apache/lucene/util/IOSupplier<Lorg/apache/lucene/index/CodecReader;>;
Exceptions:
throws java.io.IOException
Signature: (Lorg/apache/lucene/util/IOSupplier<Lorg/apache/lucene/index/CodecReader;>;)Z
MethodParameters:
Name Flags
readerIOSupplier
private org.apache.lucene.index.FieldInfos readFieldInfos();
descriptor: ()Lorg/apache/lucene/index/FieldInfos;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.PendingSoftDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
getfield org.apache.lucene.index.SegmentCommitInfo.info:Lorg/apache/lucene/index/SegmentInfo;
astore 1
start local 1 1: aload 1
getfield org.apache.lucene.index.SegmentInfo.dir:Lorg/apache/lucene/store/Directory;
astore 2
start local 2 2: aload 0
getfield org.apache.lucene.index.PendingSoftDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
invokevirtual org.apache.lucene.index.SegmentCommitInfo.hasFieldUpdates:()Z
ifne 15
3: aload 1
invokevirtual org.apache.lucene.index.SegmentInfo.getUseCompoundFile:()Z
ifeq 6
4: aload 1
invokevirtual org.apache.lucene.index.SegmentInfo.getCodec:()Lorg/apache/lucene/codecs/Codec;
invokevirtual org.apache.lucene.codecs.Codec.compoundFormat:()Lorg/apache/lucene/codecs/CompoundFormat;
aload 1
getfield org.apache.lucene.index.SegmentInfo.dir:Lorg/apache/lucene/store/Directory;
aload 1
getstatic org.apache.lucene.store.IOContext.READONCE:Lorg/apache/lucene/store/IOContext;
invokevirtual org.apache.lucene.codecs.CompoundFormat.getCompoundReader:(Lorg/apache/lucene/store/Directory;Lorg/apache/lucene/index/SegmentInfo;Lorg/apache/lucene/store/IOContext;)Lorg/apache/lucene/codecs/CompoundDirectory;
dup
astore 2
astore 3
start local 3 5: goto 8
end local 3 6: StackMap locals: org.apache.lucene.index.SegmentInfo org.apache.lucene.store.Directory
StackMap stack:
aconst_null
astore 3
start local 3 7: aload 1
getfield org.apache.lucene.index.SegmentInfo.dir:Lorg/apache/lucene/store/Directory;
astore 2
8: StackMap locals: java.io.Closeable
StackMap stack:
aload 1
invokevirtual org.apache.lucene.index.SegmentInfo.getCodec:()Lorg/apache/lucene/codecs/Codec;
invokevirtual org.apache.lucene.codecs.Codec.fieldInfosFormat:()Lorg/apache/lucene/codecs/FieldInfosFormat;
aload 2
aload 1
ldc ""
getstatic org.apache.lucene.store.IOContext.READONCE:Lorg/apache/lucene/store/IOContext;
invokevirtual org.apache.lucene.codecs.FieldInfosFormat.read:(Lorg/apache/lucene/store/Directory;Lorg/apache/lucene/index/SegmentInfo;Ljava/lang/String;Lorg/apache/lucene/store/IOContext;)Lorg/apache/lucene/index/FieldInfos;
astore 5
9: iconst_1
anewarray java.io.Closeable
dup
iconst_0
10: aload 3
aastore
invokestatic org.apache.lucene.util.IOUtils.close:([Ljava/io/Closeable;)V
11: aload 5
areturn
12: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
iconst_1
anewarray java.io.Closeable
dup
iconst_0
13: aload 3
aastore
invokestatic org.apache.lucene.util.IOUtils.close:([Ljava/io/Closeable;)V
14: aload 4
athrow
end local 3 15: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.lucene.index.SegmentInfo.getCodec:()Lorg/apache/lucene/codecs/Codec;
invokevirtual org.apache.lucene.codecs.Codec.fieldInfosFormat:()Lorg/apache/lucene/codecs/FieldInfosFormat;
astore 3
start local 3 16: aload 0
getfield org.apache.lucene.index.PendingSoftDeletes.info:Lorg/apache/lucene/index/SegmentCommitInfo;
invokevirtual org.apache.lucene.index.SegmentCommitInfo.getFieldInfosGen:()J
bipush 36
invokestatic java.lang.Long.toString:(JI)Ljava/lang/String;
astore 4
start local 4 17: aload 3
aload 2
aload 1
aload 4
getstatic org.apache.lucene.store.IOContext.READONCE:Lorg/apache/lucene/store/IOContext;
invokevirtual org.apache.lucene.codecs.FieldInfosFormat.read:(Lorg/apache/lucene/store/Directory;Lorg/apache/lucene/index/SegmentInfo;Ljava/lang/String;Lorg/apache/lucene/store/IOContext;)Lorg/apache/lucene/index/FieldInfos;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/apache/lucene/index/PendingSoftDeletes;
1 18 1 segInfo Lorg/apache/lucene/index/SegmentInfo;
2 18 2 dir Lorg/apache/lucene/store/Directory;
5 6 3 toClose Ljava/io/Closeable;
7 15 3 toClose Ljava/io/Closeable;
16 18 3 fisFormat Lorg/apache/lucene/codecs/FieldInfosFormat;
17 18 4 segmentSuffix Ljava/lang/String;
Exception table:
from to target type
8 9 12 any
Exceptions:
throws java.io.IOException
org.apache.lucene.util.Bits getHardLiveDocs();
descriptor: ()Lorg/apache/lucene/util/Bits;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.PendingSoftDeletes.hardDeletes:Lorg/apache/lucene/index/PendingDeletes;
invokevirtual org.apache.lucene.index.PendingDeletes.getLiveDocs:()Lorg/apache/lucene/util/Bits;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/PendingSoftDeletes;
boolean mustInitOnDelete();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.PendingSoftDeletes.liveDocsInitialized:Z
ifeq 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/PendingSoftDeletes;
static int countSoftDeletes(org.apache.lucene.search.DocIdSetIterator, org.apache.lucene.util.Bits);
descriptor: (Lorg/apache/lucene/search/DocIdSetIterator;Lorg/apache/lucene/util/Bits;)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 0
ifnull 7
2: goto 5
start local 3 3: StackMap locals: int int
StackMap stack:
aload 1
ifnull 4
aload 1
iload 3
invokeinterface org.apache.lucene.util.Bits.get:(I)Z
ifeq 5
4: StackMap locals:
StackMap stack:
iinc 2 1
end local 3 5: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.lucene.search.DocIdSetIterator.nextDoc:()I
dup
istore 3
start local 3 6: ldc 2147483647
if_icmpne 3
end local 3 7: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 softDeletedDocs Lorg/apache/lucene/search/DocIdSetIterator;
0 8 1 hardDeletes Lorg/apache/lucene/util/Bits;
1 8 2 count I
3 5 3 doc I
6 7 3 doc I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
softDeletedDocs
hardDeletes
}
SourceFile: "PendingSoftDeletes.java"
InnerClasses:
abstract Iterator = org.apache.lucene.index.DocValuesFieldUpdates$Iterator of org.apache.lucene.index.DocValuesFieldUpdates