final class org.apache.lucene.index.memory.MemoryIndex$Info
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.index.memory.MemoryIndex$Info
super_class: java.lang.Object
{
private org.apache.lucene.index.FieldInfo fieldInfo;
descriptor: Lorg/apache/lucene/index/FieldInfo;
flags: (0x0002) ACC_PRIVATE
private java.lang.Long norm;
descriptor: Ljava/lang/Long;
flags: (0x0002) ACC_PRIVATE
private org.apache.lucene.util.BytesRefHash terms;
descriptor: Lorg/apache/lucene/util/BytesRefHash;
flags: (0x0002) ACC_PRIVATE
private org.apache.lucene.index.memory.MemoryIndex$SliceByteStartArray sliceArray;
descriptor: Lorg/apache/lucene/index/memory/MemoryIndex$SliceByteStartArray;
flags: (0x0002) ACC_PRIVATE
private transient int[] sortedTerms;
descriptor: [I
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private int numTokens;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int numOverlapTokens;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private long sumTotalTermFreq;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private int maxTermFrequency;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int lastPosition;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int lastOffset;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private org.apache.lucene.index.memory.MemoryIndex$BinaryDocValuesProducer binaryProducer;
descriptor: Lorg/apache/lucene/index/memory/MemoryIndex$BinaryDocValuesProducer;
flags: (0x0002) ACC_PRIVATE
private org.apache.lucene.index.memory.MemoryIndex$NumericDocValuesProducer numericProducer;
descriptor: Lorg/apache/lucene/index/memory/MemoryIndex$NumericDocValuesProducer;
flags: (0x0002) ACC_PRIVATE
private boolean preparedDocValuesAndPointValues;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private org.apache.lucene.util.BytesRef[] pointValues;
descriptor: [Lorg/apache/lucene/util/BytesRef;
flags: (0x0002) ACC_PRIVATE
private byte[] minPackedValue;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private byte[] maxPackedValue;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private int pointValuesCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
final org.apache.lucene.index.memory.MemoryIndex this$0;
descriptor: Lorg/apache/lucene/index/memory/MemoryIndex;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
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/memory/MemoryIndex;
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.memory.MemoryIndex$Info.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(org.apache.lucene.index.memory.MemoryIndex, org.apache.lucene.index.FieldInfo, org.apache.lucene.util.ByteBlockPool);
descriptor: (Lorg/apache/lucene/index/memory/MemoryIndex;Lorg/apache/lucene/index/FieldInfo;Lorg/apache/lucene/util/ByteBlockPool;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
putfield org.apache.lucene.index.memory.MemoryIndex$Info.this$0:Lorg/apache/lucene/index/memory/MemoryIndex;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield org.apache.lucene.index.memory.MemoryIndex$Info.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
2: aload 0
new org.apache.lucene.index.memory.MemoryIndex$SliceByteStartArray
dup
bipush 16
invokespecial org.apache.lucene.index.memory.MemoryIndex$SliceByteStartArray.<init>:(I)V
putfield org.apache.lucene.index.memory.MemoryIndex$Info.sliceArray:Lorg/apache/lucene/index/memory/MemoryIndex$SliceByteStartArray;
3: aload 0
new org.apache.lucene.util.BytesRefHash
dup
aload 3
bipush 16
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex$Info.sliceArray:Lorg/apache/lucene/index/memory/MemoryIndex$SliceByteStartArray;
invokespecial org.apache.lucene.util.BytesRefHash.<init>:(Lorg/apache/lucene/util/ByteBlockPool;ILorg/apache/lucene/util/BytesRefHash$BytesStartArray;)V
putfield org.apache.lucene.index.memory.MemoryIndex$Info.terms:Lorg/apache/lucene/util/BytesRefHash;
4: aload 0
new org.apache.lucene.index.memory.MemoryIndex$BinaryDocValuesProducer
dup
invokespecial org.apache.lucene.index.memory.MemoryIndex$BinaryDocValuesProducer.<init>:()V
putfield org.apache.lucene.index.memory.MemoryIndex$Info.binaryProducer:Lorg/apache/lucene/index/memory/MemoryIndex$BinaryDocValuesProducer;
5: aload 0
new org.apache.lucene.index.memory.MemoryIndex$NumericDocValuesProducer
dup
invokespecial org.apache.lucene.index.memory.MemoryIndex$NumericDocValuesProducer.<init>:()V
putfield org.apache.lucene.index.memory.MemoryIndex$Info.numericProducer:Lorg/apache/lucene/index/memory/MemoryIndex$NumericDocValuesProducer;
6: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/index/memory/MemoryIndex$Info;
0 7 2 fieldInfo Lorg/apache/lucene/index/FieldInfo;
0 7 3 byteBlockPool Lorg/apache/lucene/util/ByteBlockPool;
MethodParameters:
Name Flags
this$0 final
fieldInfo
byteBlockPool
void freeze();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.lucene.index.memory.MemoryIndex$Info.sortTerms:()V
1: aload 0
invokevirtual org.apache.lucene.index.memory.MemoryIndex$Info.prepareDocValuesAndPointValues:()V
2: aload 0
invokevirtual org.apache.lucene.index.memory.MemoryIndex$Info.getNormDocValues:()Lorg/apache/lucene/index/NumericDocValues;
pop
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/memory/MemoryIndex$Info;
void sortTerms();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.memory.MemoryIndex$Info.sortedTerms:[I
ifnonnull 2
1: aload 0
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex$Info.terms:Lorg/apache/lucene/util/BytesRefHash;
invokevirtual org.apache.lucene.util.BytesRefHash.sort:()[I
putfield org.apache.lucene.index.memory.MemoryIndex$Info.sortedTerms:[I
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/index/memory/MemoryIndex$Info;
void prepareDocValuesAndPointValues();
descriptor: ()V
flags: (0x0000)
Code:
stack=7, locals=8, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.memory.MemoryIndex$Info.preparedDocValuesAndPointValues:Z
ifne 33
1: aload 0
getfield org.apache.lucene.index.memory.MemoryIndex$Info.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
invokevirtual org.apache.lucene.index.FieldInfo.getDocValuesType:()Lorg/apache/lucene/index/DocValuesType;
astore 1
start local 1 2: aload 1
getstatic org.apache.lucene.index.DocValuesType.NUMERIC:Lorg/apache/lucene/index/DocValuesType;
if_acmpeq 3
aload 1
getstatic org.apache.lucene.index.DocValuesType.SORTED_NUMERIC:Lorg/apache/lucene/index/DocValuesType;
if_acmpne 4
3: StackMap locals: org.apache.lucene.index.DocValuesType
StackMap stack:
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex$Info.numericProducer:Lorg/apache/lucene/index/memory/MemoryIndex$NumericDocValuesProducer;
invokevirtual org.apache.lucene.index.memory.MemoryIndex$NumericDocValuesProducer.prepareForUsage:()V
4: StackMap locals:
StackMap stack:
aload 1
getstatic org.apache.lucene.index.DocValuesType.BINARY:Lorg/apache/lucene/index/DocValuesType;
if_acmpeq 5
aload 1
getstatic org.apache.lucene.index.DocValuesType.SORTED:Lorg/apache/lucene/index/DocValuesType;
if_acmpeq 5
aload 1
getstatic org.apache.lucene.index.DocValuesType.SORTED_SET:Lorg/apache/lucene/index/DocValuesType;
if_acmpne 6
5: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex$Info.binaryProducer:Lorg/apache/lucene/index/memory/MemoryIndex$BinaryDocValuesProducer;
invokevirtual org.apache.lucene.index.memory.MemoryIndex$BinaryDocValuesProducer.prepareForUsage:()V
6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex$Info.pointValues:[Lorg/apache/lucene/util/BytesRef;
ifnull 32
7: getstatic org.apache.lucene.index.memory.MemoryIndex$Info.$assertionsDisabled:Z
ifne 8
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex$Info.pointValues:[Lorg/apache/lucene/util/BytesRef;
iconst_0
aaload
getfield org.apache.lucene.util.BytesRef.bytes:[B
arraylength
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex$Info.pointValues:[Lorg/apache/lucene/util/BytesRef;
iconst_0
aaload
getfield org.apache.lucene.util.BytesRef.length:I
if_icmpeq 8
new java.lang.AssertionError
dup
ldc "BytesRef should wrap a precise byte[], BytesRef.deepCopyOf() should take care of this"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex$Info.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
invokevirtual org.apache.lucene.index.FieldInfo.getPointDataDimensionCount:()I
istore 2
start local 2 9: aload 0
getfield org.apache.lucene.index.memory.MemoryIndex$Info.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
invokevirtual org.apache.lucene.index.FieldInfo.getPointNumBytes:()I
istore 3
start local 3 10: iload 2
iconst_1
if_icmpne 15
11: aload 0
getfield org.apache.lucene.index.memory.MemoryIndex$Info.pointValues:[Lorg/apache/lucene/util/BytesRef;
iconst_0
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex$Info.pointValuesCount:I
invokestatic java.util.Arrays.sort:([Ljava/lang/Object;II)V
12: aload 0
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex$Info.pointValues:[Lorg/apache/lucene/util/BytesRef;
iconst_0
aaload
getfield org.apache.lucene.util.BytesRef.bytes:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
putfield org.apache.lucene.index.memory.MemoryIndex$Info.minPackedValue:[B
13: aload 0
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex$Info.pointValues:[Lorg/apache/lucene/util/BytesRef;
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex$Info.pointValuesCount:I
iconst_1
isub
aaload
getfield org.apache.lucene.util.BytesRef.bytes:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
putfield org.apache.lucene.index.memory.MemoryIndex$Info.maxPackedValue:[B
14: goto 32
15: StackMap locals: int int
StackMap stack:
aload 0
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex$Info.pointValues:[Lorg/apache/lucene/util/BytesRef;
iconst_0
aaload
getfield org.apache.lucene.util.BytesRef.bytes:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
putfield org.apache.lucene.index.memory.MemoryIndex$Info.minPackedValue:[B
16: aload 0
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex$Info.pointValues:[Lorg/apache/lucene/util/BytesRef;
iconst_0
aaload
getfield org.apache.lucene.util.BytesRef.bytes:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
putfield org.apache.lucene.index.memory.MemoryIndex$Info.maxPackedValue:[B
17: iconst_0
istore 4
start local 4 18: goto 31
19: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex$Info.pointValues:[Lorg/apache/lucene/util/BytesRef;
iload 4
aaload
astore 5
start local 5 20: getstatic org.apache.lucene.index.memory.MemoryIndex$Info.$assertionsDisabled:Z
ifne 21
aload 5
getfield org.apache.lucene.util.BytesRef.bytes:[B
arraylength
aload 5
getfield org.apache.lucene.util.BytesRef.length:I
if_icmpeq 21
new java.lang.AssertionError
dup
ldc "BytesRef should wrap a precise byte[], BytesRef.deepCopyOf() should take care of this"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
21: StackMap locals: org.apache.lucene.util.BytesRef
StackMap stack:
iconst_0
istore 6
start local 6 22: goto 29
23: StackMap locals: int
StackMap stack:
iload 6
iload 3
imul
istore 7
start local 7 24: aload 5
getfield org.apache.lucene.util.BytesRef.bytes:[B
iload 7
iload 7
iload 3
iadd
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex$Info.minPackedValue:[B
iload 7
iload 7
iload 3
iadd
invokestatic org.apache.lucene.util.FutureArrays.compareUnsigned:([BII[BII)I
ifge 26
25: aload 5
getfield org.apache.lucene.util.BytesRef.bytes:[B
iload 7
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex$Info.minPackedValue:[B
iload 7
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
26: StackMap locals: int
StackMap stack:
aload 5
getfield org.apache.lucene.util.BytesRef.bytes:[B
iload 7
iload 7
iload 3
iadd
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex$Info.maxPackedValue:[B
iload 7
iload 7
iload 3
iadd
invokestatic org.apache.lucene.util.FutureArrays.compareUnsigned:([BII[BII)I
ifle 28
27: aload 5
getfield org.apache.lucene.util.BytesRef.bytes:[B
iload 7
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex$Info.maxPackedValue:[B
iload 7
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
end local 7 28: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
29: iload 6
iload 2
if_icmplt 23
end local 6 end local 5 30: iinc 4 1
StackMap locals:
StackMap stack:
31: iload 4
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex$Info.pointValuesCount:I
if_icmplt 19
end local 4 end local 3 end local 2 32: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.apache.lucene.index.memory.MemoryIndex$Info.preparedDocValuesAndPointValues:Z
end local 1 33: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lorg/apache/lucene/index/memory/MemoryIndex$Info;
2 33 1 dvType Lorg/apache/lucene/index/DocValuesType;
9 32 2 numDimensions I
10 32 3 numBytesPerDimension I
18 32 4 i I
20 30 5 pointValue Lorg/apache/lucene/util/BytesRef;
22 30 6 dim I
24 28 7 offset I
org.apache.lucene.index.NumericDocValues getNormDocValues();
descriptor: ()Lorg/apache/lucene/index/NumericDocValues;
flags: (0x0000)
Code:
stack=11, locals=4, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.memory.MemoryIndex$Info.norm:Ljava/lang/Long;
ifnonnull 6
1: new org.apache.lucene.index.FieldInvertState
dup
getstatic org.apache.lucene.util.Version.LATEST:Lorg/apache/lucene/util/Version;
getfield org.apache.lucene.util.Version.major:I
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex$Info.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
getfield org.apache.lucene.index.FieldInfo.name:Ljava/lang/String;
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex$Info.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
invokevirtual org.apache.lucene.index.FieldInfo.getIndexOptions:()Lorg/apache/lucene/index/IndexOptions;
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex$Info.lastPosition:I
2: aload 0
getfield org.apache.lucene.index.memory.MemoryIndex$Info.numTokens:I
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex$Info.numOverlapTokens:I
iconst_0
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex$Info.maxTermFrequency:I
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex$Info.terms:Lorg/apache/lucene/util/BytesRefHash;
invokevirtual org.apache.lucene.util.BytesRefHash.size:()I
3: invokespecial org.apache.lucene.index.FieldInvertState.<init>:(ILjava/lang/String;Lorg/apache/lucene/index/IndexOptions;IIIIII)V
astore 1
start local 1 4: aload 0
getfield org.apache.lucene.index.memory.MemoryIndex$Info.this$0:Lorg/apache/lucene/index/memory/MemoryIndex;
getfield org.apache.lucene.index.memory.MemoryIndex.normSimilarity:Lorg/apache/lucene/search/similarities/Similarity;
aload 1
invokevirtual org.apache.lucene.search.similarities.Similarity.computeNorm:(Lorg/apache/lucene/index/FieldInvertState;)J
lstore 2
start local 2 5: aload 0
lload 2
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
putfield org.apache.lucene.index.memory.MemoryIndex$Info.norm:Ljava/lang/Long;
end local 2 end local 1 6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex$Info.norm:Ljava/lang/Long;
invokevirtual java.lang.Long.longValue:()J
invokestatic org.apache.lucene.index.memory.MemoryIndex.numericDocValues:(J)Lorg/apache/lucene/index/NumericDocValues;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/index/memory/MemoryIndex$Info;
4 6 1 invertState Lorg/apache/lucene/index/FieldInvertState;
5 6 2 value J
}
SourceFile: "MemoryIndex.java"
NestHost: org.apache.lucene.index.memory.MemoryIndex
InnerClasses:
private final BinaryDocValuesProducer = org.apache.lucene.index.memory.MemoryIndex$BinaryDocValuesProducer of org.apache.lucene.index.memory.MemoryIndex
private final Info = org.apache.lucene.index.memory.MemoryIndex$Info of org.apache.lucene.index.memory.MemoryIndex
private final NumericDocValuesProducer = org.apache.lucene.index.memory.MemoryIndex$NumericDocValuesProducer of org.apache.lucene.index.memory.MemoryIndex
private final SliceByteStartArray = org.apache.lucene.index.memory.MemoryIndex$SliceByteStartArray of org.apache.lucene.index.memory.MemoryIndex
public abstract BytesStartArray = org.apache.lucene.util.BytesRefHash$BytesStartArray of org.apache.lucene.util.BytesRefHash