final class org.apache.lucene.index.FieldUpdatesBuffer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.index.FieldUpdatesBuffer
super_class: java.lang.Object
{
private static final long SELF_SHALLOW_SIZE;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final long STRING_SHALLOW_SIZE;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final org.apache.lucene.util.Counter bytesUsed;
descriptor: Lorg/apache/lucene/util/Counter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int numUpdates;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final org.apache.lucene.util.BytesRefArray termValues;
descriptor: Lorg/apache/lucene/util/BytesRefArray;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.apache.lucene.util.BytesRefArray$SortState termSortState;
descriptor: Lorg/apache/lucene/util/BytesRefArray$SortState;
flags: (0x0002) ACC_PRIVATE
private final org.apache.lucene.util.BytesRefArray byteValues;
descriptor: Lorg/apache/lucene/util/BytesRefArray;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int[] docsUpTo;
descriptor: [I
flags: (0x0002) ACC_PRIVATE
private long[] numericValues;
descriptor: [J
flags: (0x0002) ACC_PRIVATE
private org.apache.lucene.util.FixedBitSet hasValues;
descriptor: Lorg/apache/lucene/util/FixedBitSet;
flags: (0x0002) ACC_PRIVATE
private long maxNumeric;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long minNumeric;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private java.lang.String[] fields;
descriptor: [Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private final boolean isNumeric;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean finished;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
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=2, locals=0, args_size=0
0: ldc Lorg/apache/lucene/index/FieldUpdatesBuffer;
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.FieldUpdatesBuffer.$assertionsDisabled:Z
3: ldc Lorg/apache/lucene/index/FieldUpdatesBuffer;
invokestatic org.apache.lucene.util.RamUsageEstimator.shallowSizeOfInstance:(Ljava/lang/Class;)J
putstatic org.apache.lucene.index.FieldUpdatesBuffer.SELF_SHALLOW_SIZE:J
4: ldc Ljava/lang/String;
invokestatic org.apache.lucene.util.RamUsageEstimator.shallowSizeOfInstance:(Ljava/lang/Class;)J
putstatic org.apache.lucene.index.FieldUpdatesBuffer.STRING_SHALLOW_SIZE:J
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(org.apache.lucene.util.Counter, org.apache.lucene.index.DocValuesUpdate, int, boolean);
descriptor: (Lorg/apache/lucene/util/Counter;Lorg/apache/lucene/index/DocValuesUpdate;IZ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield org.apache.lucene.index.FieldUpdatesBuffer.numUpdates:I
2: aload 0
ldc -9223372036854775808
putfield org.apache.lucene.index.FieldUpdatesBuffer.maxNumeric:J
3: aload 0
ldc 9223372036854775807
putfield org.apache.lucene.index.FieldUpdatesBuffer.minNumeric:J
4: aload 0
iconst_0
putfield org.apache.lucene.index.FieldUpdatesBuffer.finished:Z
5: aload 0
aload 1
putfield org.apache.lucene.index.FieldUpdatesBuffer.bytesUsed:Lorg/apache/lucene/util/Counter;
6: aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.bytesUsed:Lorg/apache/lucene/util/Counter;
getstatic org.apache.lucene.index.FieldUpdatesBuffer.SELF_SHALLOW_SIZE:J
invokevirtual org.apache.lucene.util.Counter.addAndGet:(J)J
pop2
7: aload 0
new org.apache.lucene.util.BytesRefArray
dup
aload 1
invokespecial org.apache.lucene.util.BytesRefArray.<init>:(Lorg/apache/lucene/util/Counter;)V
putfield org.apache.lucene.index.FieldUpdatesBuffer.termValues:Lorg/apache/lucene/util/BytesRefArray;
8: aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.termValues:Lorg/apache/lucene/util/BytesRefArray;
aload 2
getfield org.apache.lucene.index.DocValuesUpdate.term:Lorg/apache/lucene/index/Term;
getfield org.apache.lucene.index.Term.bytes:Lorg/apache/lucene/util/BytesRef;
invokevirtual org.apache.lucene.util.BytesRefArray.append:(Lorg/apache/lucene/util/BytesRef;)I
pop
9: aload 0
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 2
getfield org.apache.lucene.index.DocValuesUpdate.term:Lorg/apache/lucene/index/Term;
getfield org.apache.lucene.index.Term.field:Ljava/lang/String;
aastore
putfield org.apache.lucene.index.FieldUpdatesBuffer.fields:[Ljava/lang/String;
10: aload 1
aload 2
getfield org.apache.lucene.index.DocValuesUpdate.term:Lorg/apache/lucene/index/Term;
getfield org.apache.lucene.index.Term.field:Ljava/lang/String;
invokestatic org.apache.lucene.index.FieldUpdatesBuffer.sizeOfString:(Ljava/lang/String;)J
invokevirtual org.apache.lucene.util.Counter.addAndGet:(J)J
pop2
11: aload 0
iconst_1
newarray 10
dup
iconst_0
iload 3
iastore
putfield org.apache.lucene.index.FieldUpdatesBuffer.docsUpTo:[I
12: aload 2
getfield org.apache.lucene.index.DocValuesUpdate.hasValue:Z
ifne 15
13: aload 0
new org.apache.lucene.util.FixedBitSet
dup
iconst_1
invokespecial org.apache.lucene.util.FixedBitSet.<init>:(I)V
putfield org.apache.lucene.index.FieldUpdatesBuffer.hasValues:Lorg/apache/lucene/util/FixedBitSet;
14: aload 1
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.hasValues:Lorg/apache/lucene/util/FixedBitSet;
invokevirtual org.apache.lucene.util.FixedBitSet.ramBytesUsed:()J
invokevirtual org.apache.lucene.util.Counter.addAndGet:(J)J
pop2
15: StackMap locals: org.apache.lucene.index.FieldUpdatesBuffer org.apache.lucene.util.Counter org.apache.lucene.index.DocValuesUpdate int int
StackMap stack:
aload 0
iload 4
putfield org.apache.lucene.index.FieldUpdatesBuffer.isNumeric:Z
16: aload 0
iload 4
ifeq 17
aconst_null
goto 18
StackMap locals:
StackMap stack: org.apache.lucene.index.FieldUpdatesBuffer
17: new org.apache.lucene.util.BytesRefArray
dup
aload 1
invokespecial org.apache.lucene.util.BytesRefArray.<init>:(Lorg/apache/lucene/util/Counter;)V
StackMap locals: org.apache.lucene.index.FieldUpdatesBuffer org.apache.lucene.util.Counter org.apache.lucene.index.DocValuesUpdate int int
StackMap stack: org.apache.lucene.index.FieldUpdatesBuffer org.apache.lucene.util.BytesRefArray
18: putfield org.apache.lucene.index.FieldUpdatesBuffer.byteValues:Lorg/apache/lucene/util/BytesRefArray;
19: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/apache/lucene/index/FieldUpdatesBuffer;
0 20 1 bytesUsed Lorg/apache/lucene/util/Counter;
0 20 2 initialValue Lorg/apache/lucene/index/DocValuesUpdate;
0 20 3 docUpTo I
0 20 4 isNumeric Z
MethodParameters:
Name Flags
bytesUsed
initialValue
docUpTo
isNumeric
private static long sizeOfString(java.lang.String);
descriptor: (Ljava/lang/String;)J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic org.apache.lucene.index.FieldUpdatesBuffer.STRING_SHALLOW_SIZE:J
aload 0
invokevirtual java.lang.String.length:()I
iconst_2
imul
i2l
ladd
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 string Ljava/lang/String;
MethodParameters:
Name Flags
string
void <init>(org.apache.lucene.util.Counter, org.apache.lucene.index.DocValuesUpdate$NumericDocValuesUpdate, int);
descriptor: (Lorg/apache/lucene/util/Counter;Lorg/apache/lucene/index/DocValuesUpdate$NumericDocValuesUpdate;I)V
flags: (0x0000)
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
iload 3
iconst_1
invokespecial org.apache.lucene.index.FieldUpdatesBuffer.<init>:(Lorg/apache/lucene/util/Counter;Lorg/apache/lucene/index/DocValuesUpdate;IZ)V
1: aload 2
invokevirtual org.apache.lucene.index.DocValuesUpdate$NumericDocValuesUpdate.hasValue:()Z
ifeq 5
2: aload 0
iconst_1
newarray 11
dup
iconst_0
aload 2
invokevirtual org.apache.lucene.index.DocValuesUpdate$NumericDocValuesUpdate.getValue:()J
lastore
putfield org.apache.lucene.index.FieldUpdatesBuffer.numericValues:[J
3: aload 0
aload 0
aload 2
invokevirtual org.apache.lucene.index.DocValuesUpdate$NumericDocValuesUpdate.getValue:()J
dup2_x1
putfield org.apache.lucene.index.FieldUpdatesBuffer.minNumeric:J
putfield org.apache.lucene.index.FieldUpdatesBuffer.maxNumeric:J
4: goto 6
5: StackMap locals: org.apache.lucene.index.FieldUpdatesBuffer org.apache.lucene.util.Counter org.apache.lucene.index.DocValuesUpdate$NumericDocValuesUpdate int
StackMap stack:
aload 0
iconst_1
newarray 11
putfield org.apache.lucene.index.FieldUpdatesBuffer.numericValues:[J
6: StackMap locals:
StackMap stack:
aload 1
ldc 8
invokevirtual org.apache.lucene.util.Counter.addAndGet:(J)J
pop2
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/lucene/index/FieldUpdatesBuffer;
0 8 1 bytesUsed Lorg/apache/lucene/util/Counter;
0 8 2 initialValue Lorg/apache/lucene/index/DocValuesUpdate$NumericDocValuesUpdate;
0 8 3 docUpTo I
MethodParameters:
Name Flags
bytesUsed
initialValue
docUpTo
void <init>(org.apache.lucene.util.Counter, org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate, int);
descriptor: (Lorg/apache/lucene/util/Counter;Lorg/apache/lucene/index/DocValuesUpdate$BinaryDocValuesUpdate;I)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 1
aload 2
iload 3
iconst_0
invokespecial org.apache.lucene.index.FieldUpdatesBuffer.<init>:(Lorg/apache/lucene/util/Counter;Lorg/apache/lucene/index/DocValuesUpdate;IZ)V
1: aload 2
invokevirtual org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate.hasValue:()Z
ifeq 3
2: aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.byteValues:Lorg/apache/lucene/util/BytesRefArray;
aload 2
invokevirtual org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate.getValue:()Lorg/apache/lucene/util/BytesRef;
invokevirtual org.apache.lucene.util.BytesRefArray.append:(Lorg/apache/lucene/util/BytesRef;)I
pop
3: StackMap locals: org.apache.lucene.index.FieldUpdatesBuffer org.apache.lucene.util.Counter org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate int
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/FieldUpdatesBuffer;
0 4 1 bytesUsed Lorg/apache/lucene/util/Counter;
0 4 2 initialValue Lorg/apache/lucene/index/DocValuesUpdate$BinaryDocValuesUpdate;
0 4 3 docUpTo I
MethodParameters:
Name Flags
bytesUsed
initialValue
docUpTo
long getMaxNumeric();
descriptor: ()J
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic org.apache.lucene.index.FieldUpdatesBuffer.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.isNumeric:Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.minNumeric:J
ldc 9223372036854775807
lcmp
ifne 3
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.maxNumeric:J
ldc -9223372036854775808
lcmp
ifne 3
2: lconst_0
lreturn
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.maxNumeric:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/FieldUpdatesBuffer;
long getMinNumeric();
descriptor: ()J
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic org.apache.lucene.index.FieldUpdatesBuffer.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.isNumeric:Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.minNumeric:J
ldc 9223372036854775807
lcmp
ifne 3
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.maxNumeric:J
ldc -9223372036854775808
lcmp
ifne 3
2: lconst_0
lreturn
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.minNumeric:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/FieldUpdatesBuffer;
void add(java.lang.String, int, int, boolean);
descriptor: (Ljava/lang/String;IIZ)V
flags: (0x0000)
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: getstatic org.apache.lucene.index.FieldUpdatesBuffer.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.finished:Z
ifeq 1
new java.lang.AssertionError
dup
ldc "buffer was finished already"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.fields:[Ljava/lang/String;
iconst_0
aaload
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.fields:[Ljava/lang/String;
arraylength
iconst_1
if_icmpeq 11
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.fields:[Ljava/lang/String;
arraylength
iload 3
if_icmpgt 8
3: aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.fields:[Ljava/lang/String;
iload 3
iconst_1
iadd
invokestatic org.apache.lucene.util.ArrayUtil.grow:([Ljava/lang/Object;I)[Ljava/lang/Object;
checkcast java.lang.String[]
astore 5
start local 5 4: aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.fields:[Ljava/lang/String;
arraylength
iconst_1
if_icmpne 6
5: aload 5
iconst_1
iload 3
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.fields:[Ljava/lang/String;
iconst_0
aaload
invokestatic java.util.Arrays.fill:([Ljava/lang/Object;IILjava/lang/Object;)V
6: StackMap locals: java.lang.String[]
StackMap stack:
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.bytesUsed:Lorg/apache/lucene/util/Counter;
aload 5
arraylength
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.fields:[Ljava/lang/String;
arraylength
isub
getstatic org.apache.lucene.util.RamUsageEstimator.NUM_BYTES_OBJECT_REF:I
imul
i2l
invokevirtual org.apache.lucene.util.Counter.addAndGet:(J)J
pop2
7: aload 0
aload 5
putfield org.apache.lucene.index.FieldUpdatesBuffer.fields:[Ljava/lang/String;
end local 5 8: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.fields:[Ljava/lang/String;
iconst_0
aaload
if_acmpeq 10
9: aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.bytesUsed:Lorg/apache/lucene/util/Counter;
aload 1
invokestatic org.apache.lucene.index.FieldUpdatesBuffer.sizeOfString:(Ljava/lang/String;)J
invokevirtual org.apache.lucene.util.Counter.addAndGet:(J)J
pop2
10: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.fields:[Ljava/lang/String;
iload 3
aload 1
aastore
11: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.docsUpTo:[I
iconst_0
iaload
iload 2
if_icmpne 12
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.docsUpTo:[I
arraylength
iconst_1
if_icmpeq 19
12: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.docsUpTo:[I
arraylength
iload 3
if_icmpgt 18
13: aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.docsUpTo:[I
iload 3
iconst_1
iadd
invokestatic org.apache.lucene.util.ArrayUtil.grow:([II)[I
astore 5
start local 5 14: aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.docsUpTo:[I
arraylength
iconst_1
if_icmpne 16
15: aload 5
iconst_1
iload 3
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.docsUpTo:[I
iconst_0
iaload
invokestatic java.util.Arrays.fill:([IIII)V
16: StackMap locals: int[]
StackMap stack:
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.bytesUsed:Lorg/apache/lucene/util/Counter;
aload 5
arraylength
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.docsUpTo:[I
arraylength
isub
iconst_4
imul
i2l
invokevirtual org.apache.lucene.util.Counter.addAndGet:(J)J
pop2
17: aload 0
aload 5
putfield org.apache.lucene.index.FieldUpdatesBuffer.docsUpTo:[I
end local 5 18: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.docsUpTo:[I
iload 3
iload 2
iastore
19: StackMap locals:
StackMap stack:
iload 4
ifeq 20
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.hasValues:Lorg/apache/lucene/util/FixedBitSet;
ifnull 31
20: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.hasValues:Lorg/apache/lucene/util/FixedBitSet;
ifnonnull 25
21: aload 0
new org.apache.lucene.util.FixedBitSet
dup
iload 3
iconst_1
iadd
invokespecial org.apache.lucene.util.FixedBitSet.<init>:(I)V
putfield org.apache.lucene.index.FieldUpdatesBuffer.hasValues:Lorg/apache/lucene/util/FixedBitSet;
22: aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.hasValues:Lorg/apache/lucene/util/FixedBitSet;
iconst_0
iload 3
invokevirtual org.apache.lucene.util.FixedBitSet.set:(II)V
23: aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.bytesUsed:Lorg/apache/lucene/util/Counter;
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.hasValues:Lorg/apache/lucene/util/FixedBitSet;
invokevirtual org.apache.lucene.util.FixedBitSet.ramBytesUsed:()J
invokevirtual org.apache.lucene.util.Counter.addAndGet:(J)J
pop2
24: goto 29
StackMap locals:
StackMap stack:
25: aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.hasValues:Lorg/apache/lucene/util/FixedBitSet;
invokevirtual org.apache.lucene.util.FixedBitSet.length:()I
iload 3
if_icmpgt 29
26: aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.hasValues:Lorg/apache/lucene/util/FixedBitSet;
iload 3
iconst_1
iadd
iconst_1
invokestatic org.apache.lucene.util.ArrayUtil.oversize:(II)I
invokestatic org.apache.lucene.util.FixedBitSet.ensureCapacity:(Lorg/apache/lucene/util/FixedBitSet;I)Lorg/apache/lucene/util/FixedBitSet;
astore 5
start local 5 27: aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.bytesUsed:Lorg/apache/lucene/util/Counter;
aload 5
invokevirtual org.apache.lucene.util.FixedBitSet.ramBytesUsed:()J
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.hasValues:Lorg/apache/lucene/util/FixedBitSet;
invokevirtual org.apache.lucene.util.FixedBitSet.ramBytesUsed:()J
lsub
invokevirtual org.apache.lucene.util.Counter.addAndGet:(J)J
pop2
28: aload 0
aload 5
putfield org.apache.lucene.index.FieldUpdatesBuffer.hasValues:Lorg/apache/lucene/util/FixedBitSet;
end local 5 29: StackMap locals:
StackMap stack:
iload 4
ifeq 31
30: aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.hasValues:Lorg/apache/lucene/util/FixedBitSet;
iload 3
invokevirtual org.apache.lucene.util.FixedBitSet.set:(I)V
31: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lorg/apache/lucene/index/FieldUpdatesBuffer;
0 32 1 field Ljava/lang/String;
0 32 2 docUpTo I
0 32 3 ord I
0 32 4 hasValue Z
4 8 5 array [Ljava/lang/String;
14 18 5 array [I
27 29 5 fixedBitSet Lorg/apache/lucene/util/FixedBitSet;
MethodParameters:
Name Flags
field
docUpTo
ord
hasValue
void addUpdate(org.apache.lucene.index.Term, long, int);
descriptor: (Lorg/apache/lucene/index/Term;JI)V
flags: (0x0000)
Code:
stack=5, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 4 0: getstatic org.apache.lucene.index.FieldUpdatesBuffer.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.isNumeric:Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.lucene.index.FieldUpdatesBuffer.append:(Lorg/apache/lucene/index/Term;)I
istore 5
start local 5 2: aload 1
getfield org.apache.lucene.index.Term.field:Ljava/lang/String;
astore 6
start local 6 3: aload 0
aload 6
iload 4
iload 5
iconst_1
invokevirtual org.apache.lucene.index.FieldUpdatesBuffer.add:(Ljava/lang/String;IIZ)V
4: aload 0
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.minNumeric:J
lload 2
invokestatic java.lang.Math.min:(JJ)J
putfield org.apache.lucene.index.FieldUpdatesBuffer.minNumeric:J
5: aload 0
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.maxNumeric:J
lload 2
invokestatic java.lang.Math.max:(JJ)J
putfield org.apache.lucene.index.FieldUpdatesBuffer.maxNumeric:J
6: aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.numericValues:[J
iconst_0
laload
lload 2
lcmp
ifne 7
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.numericValues:[J
arraylength
iconst_1
if_icmpeq 14
7: StackMap locals: int java.lang.String
StackMap stack:
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.numericValues:[J
arraylength
iload 5
if_icmpgt 13
8: aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.numericValues:[J
iload 5
iconst_1
iadd
invokestatic org.apache.lucene.util.ArrayUtil.grow:([JI)[J
astore 7
start local 7 9: aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.numericValues:[J
arraylength
iconst_1
if_icmpne 11
10: aload 7
iconst_1
iload 5
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.numericValues:[J
iconst_0
laload
invokestatic java.util.Arrays.fill:([JIIJ)V
11: StackMap locals: long[]
StackMap stack:
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.bytesUsed:Lorg/apache/lucene/util/Counter;
aload 7
arraylength
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.numericValues:[J
arraylength
isub
bipush 8
imul
i2l
invokevirtual org.apache.lucene.util.Counter.addAndGet:(J)J
pop2
12: aload 0
aload 7
putfield org.apache.lucene.index.FieldUpdatesBuffer.numericValues:[J
end local 7 13: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.numericValues:[J
iload 5
lload 2
lastore
14: StackMap locals:
StackMap stack:
return
end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/lucene/index/FieldUpdatesBuffer;
0 15 1 term Lorg/apache/lucene/index/Term;
0 15 2 value J
0 15 4 docUpTo I
2 15 5 ord I
3 15 6 field Ljava/lang/String;
9 13 7 array [J
MethodParameters:
Name Flags
term
value
docUpTo
void addNoValue(org.apache.lucene.index.Term, int);
descriptor: (Lorg/apache/lucene/index/Term;I)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.apache.lucene.index.FieldUpdatesBuffer.append:(Lorg/apache/lucene/index/Term;)I
istore 3
start local 3 1: aload 0
aload 1
getfield org.apache.lucene.index.Term.field:Ljava/lang/String;
iload 2
iload 3
iconst_0
invokevirtual org.apache.lucene.index.FieldUpdatesBuffer.add:(Ljava/lang/String;IIZ)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/index/FieldUpdatesBuffer;
0 3 1 term Lorg/apache/lucene/index/Term;
0 3 2 docUpTo I
1 3 3 ord I
MethodParameters:
Name Flags
term
docUpTo
void addUpdate(org.apache.lucene.index.Term, org.apache.lucene.util.BytesRef, int);
descriptor: (Lorg/apache/lucene/index/Term;Lorg/apache/lucene/util/BytesRef;I)V
flags: (0x0000)
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.apache.lucene.index.FieldUpdatesBuffer.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.isNumeric:Z
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.lucene.index.FieldUpdatesBuffer.append:(Lorg/apache/lucene/index/Term;)I
istore 4
start local 4 2: aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.byteValues:Lorg/apache/lucene/util/BytesRefArray;
aload 2
invokevirtual org.apache.lucene.util.BytesRefArray.append:(Lorg/apache/lucene/util/BytesRef;)I
pop
3: aload 0
aload 1
getfield org.apache.lucene.index.Term.field:Ljava/lang/String;
iload 3
iload 4
iconst_1
invokevirtual org.apache.lucene.index.FieldUpdatesBuffer.add:(Ljava/lang/String;IIZ)V
4: return
end local 4 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/FieldUpdatesBuffer;
0 5 1 term Lorg/apache/lucene/index/Term;
0 5 2 value Lorg/apache/lucene/util/BytesRef;
0 5 3 docUpTo I
2 5 4 ord I
MethodParameters:
Name Flags
term
value
docUpTo
private int append(org.apache.lucene.index.Term);
descriptor: (Lorg/apache/lucene/index/Term;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.termValues:Lorg/apache/lucene/util/BytesRefArray;
aload 1
getfield org.apache.lucene.index.Term.bytes:Lorg/apache/lucene/util/BytesRef;
invokevirtual org.apache.lucene.util.BytesRefArray.append:(Lorg/apache/lucene/util/BytesRef;)I
pop
1: aload 0
dup
getfield org.apache.lucene.index.FieldUpdatesBuffer.numUpdates:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.index.FieldUpdatesBuffer.numUpdates:I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/FieldUpdatesBuffer;
0 2 1 term Lorg/apache/lucene/index/Term;
MethodParameters:
Name Flags
term
void finish();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.finished:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "buffer was finished already"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.apache.lucene.index.FieldUpdatesBuffer.finished:Z
3: aload 0
invokevirtual org.apache.lucene.index.FieldUpdatesBuffer.hasSingleValue:()Z
ifeq 4
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.hasValues:Lorg/apache/lucene/util/FixedBitSet;
ifnonnull 4
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.fields:[Ljava/lang/String;
arraylength
iconst_1
if_icmpne 4
iconst_1
goto 5
StackMap locals:
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 1
start local 1 6: iload 1
ifeq 11
7: aload 0
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.termValues:Lorg/apache/lucene/util/BytesRefArray;
invokestatic java.util.Comparator.naturalOrder:()Ljava/util/Comparator;
8: aload 0
invokedynamic applyAsInt(Lorg/apache/lucene/index/FieldUpdatesBuffer;)Ljava/util/function/IntBinaryOperator;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(II)I
org/apache/lucene/index/FieldUpdatesBuffer.lambda$0(II)I (7)
(II)I
9: invokevirtual org.apache.lucene.util.BytesRefArray.sort:(Ljava/util/Comparator;Ljava/util/function/IntBinaryOperator;)Lorg/apache/lucene/util/BytesRefArray$SortState;
putfield org.apache.lucene.index.FieldUpdatesBuffer.termSortState:Lorg/apache/lucene/util/BytesRefArray$SortState;
10: aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.bytesUsed:Lorg/apache/lucene/util/Counter;
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.termSortState:Lorg/apache/lucene/util/BytesRefArray$SortState;
invokevirtual org.apache.lucene.util.BytesRefArray$SortState.ramBytesUsed:()J
invokevirtual org.apache.lucene.util.Counter.addAndGet:(J)J
pop2
11: StackMap locals: int
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/lucene/index/FieldUpdatesBuffer;
6 12 1 sortedTerms Z
org.apache.lucene.index.FieldUpdatesBuffer$BufferedUpdateIterator iterator();
descriptor: ()Lorg/apache/lucene/index/FieldUpdatesBuffer$BufferedUpdateIterator;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.finished:Z
ifne 2
1: new java.lang.IllegalStateException
dup
ldc "buffer is not finished yet"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new org.apache.lucene.index.FieldUpdatesBuffer$BufferedUpdateIterator
dup
aload 0
invokespecial org.apache.lucene.index.FieldUpdatesBuffer$BufferedUpdateIterator.<init>:(Lorg/apache/lucene/index/FieldUpdatesBuffer;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/index/FieldUpdatesBuffer;
boolean isNumeric();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.apache.lucene.index.FieldUpdatesBuffer.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.isNumeric:Z
ifne 1
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.byteValues:Lorg/apache/lucene/util/BytesRefArray;
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.isNumeric:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/FieldUpdatesBuffer;
boolean hasSingleValue();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.isNumeric:Z
ifeq 1
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.numericValues:[J
arraylength
iconst_1
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/FieldUpdatesBuffer;
long getNumericValue(int);
descriptor: (I)J
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.hasValues:Lorg/apache/lucene/util/FixedBitSet;
ifnull 2
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.hasValues:Lorg/apache/lucene/util/FixedBitSet;
iload 1
invokevirtual org.apache.lucene.util.FixedBitSet.get:(I)Z
ifne 2
1: lconst_0
lreturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.numericValues:[J
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.numericValues:[J
arraylength
iload 1
invokestatic org.apache.lucene.index.FieldUpdatesBuffer.getArrayIndex:(II)I
laload
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/index/FieldUpdatesBuffer;
0 3 1 idx I
MethodParameters:
Name Flags
idx
private static int getArrayIndex(int, int);
descriptor: (II)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.lucene.index.FieldUpdatesBuffer.$assertionsDisabled:Z
ifne 1
iload 0
iconst_1
if_icmpeq 1
iload 0
iload 1
if_icmpgt 1
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "illegal array index length: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 0
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " index: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 1
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:
iload 0
iconst_1
isub
iload 1
invokestatic java.lang.Math.min:(II)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 arrayLength I
0 2 1 index I
MethodParameters:
Name Flags
arrayLength
index
private int lambda$0(int, int);
descriptor: (II)I
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.docsUpTo:[I
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.docsUpTo:[I
arraylength
iload 2
invokestatic org.apache.lucene.index.FieldUpdatesBuffer.getArrayIndex:(II)I
iaload
1: aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.docsUpTo:[I
aload 0
getfield org.apache.lucene.index.FieldUpdatesBuffer.docsUpTo:[I
arraylength
iload 1
invokestatic org.apache.lucene.index.FieldUpdatesBuffer.getArrayIndex:(II)I
iaload
2: invokestatic java.lang.Integer.compare:(II)I
3: ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/FieldUpdatesBuffer;
0 4 1 i1 I
0 4 2 i2 I
}
SourceFile: "FieldUpdatesBuffer.java"
NestMembers:
org.apache.lucene.index.FieldUpdatesBuffer$BufferedUpdate org.apache.lucene.index.FieldUpdatesBuffer$BufferedUpdateIterator
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
final BinaryDocValuesUpdate = org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate of org.apache.lucene.index.DocValuesUpdate
final NumericDocValuesUpdate = org.apache.lucene.index.DocValuesUpdate$NumericDocValuesUpdate of org.apache.lucene.index.DocValuesUpdate
BufferedUpdate = org.apache.lucene.index.FieldUpdatesBuffer$BufferedUpdate of org.apache.lucene.index.FieldUpdatesBuffer
BufferedUpdateIterator = org.apache.lucene.index.FieldUpdatesBuffer$BufferedUpdateIterator of org.apache.lucene.index.FieldUpdatesBuffer
public final SortState = org.apache.lucene.util.BytesRefArray$SortState of org.apache.lucene.util.BytesRefArray