class org.apache.lucene.index.PointValuesWriter
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.lucene.index.PointValuesWriter
super_class: java.lang.Object
{
private final org.apache.lucene.index.FieldInfo fieldInfo;
descriptor: Lorg/apache/lucene/index/FieldInfo;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.lucene.util.ByteBlockPool bytes;
descriptor: Lorg/apache/lucene/util/ByteBlockPool;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.lucene.util.Counter iwBytesUsed;
descriptor: Lorg/apache/lucene/util/Counter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int[] docIDs;
descriptor: [I
flags: (0x0002) ACC_PRIVATE
private int numPoints;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int numDocs;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int lastDocID;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final int packedBytesLength;
descriptor: I
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/PointValuesWriter;
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.PointValuesWriter.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(org.apache.lucene.util.ByteBlockPool$Allocator, org.apache.lucene.util.Counter, org.apache.lucene.index.FieldInfo);
descriptor: (Lorg/apache/lucene/util/ByteBlockPool$Allocator;Lorg/apache/lucene/util/Counter;Lorg/apache/lucene/index/FieldInfo;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_m1
putfield org.apache.lucene.index.PointValuesWriter.lastDocID:I
2: aload 0
aload 3
putfield org.apache.lucene.index.PointValuesWriter.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
3: aload 0
aload 2
putfield org.apache.lucene.index.PointValuesWriter.iwBytesUsed:Lorg/apache/lucene/util/Counter;
4: aload 0
new org.apache.lucene.util.ByteBlockPool
dup
aload 1
invokespecial org.apache.lucene.util.ByteBlockPool.<init>:(Lorg/apache/lucene/util/ByteBlockPool$Allocator;)V
putfield org.apache.lucene.index.PointValuesWriter.bytes:Lorg/apache/lucene/util/ByteBlockPool;
5: aload 0
bipush 16
newarray 10
putfield org.apache.lucene.index.PointValuesWriter.docIDs:[I
6: aload 0
getfield org.apache.lucene.index.PointValuesWriter.iwBytesUsed:Lorg/apache/lucene/util/Counter;
ldc 64
invokevirtual org.apache.lucene.util.Counter.addAndGet:(J)J
pop2
7: aload 0
aload 3
invokevirtual org.apache.lucene.index.FieldInfo.getPointDimensionCount:()I
aload 3
invokevirtual org.apache.lucene.index.FieldInfo.getPointNumBytes:()I
imul
putfield org.apache.lucene.index.PointValuesWriter.packedBytesLength:I
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/lucene/index/PointValuesWriter;
0 9 1 allocator Lorg/apache/lucene/util/ByteBlockPool$Allocator;
0 9 2 bytesUsed Lorg/apache/lucene/util/Counter;
0 9 3 fieldInfo Lorg/apache/lucene/index/FieldInfo;
MethodParameters:
Name Flags
allocator
bytesUsed
fieldInfo
public void addPackedValue(int, org.apache.lucene.util.BytesRef);
descriptor: (ILorg/apache/lucene/util/BytesRef;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "field="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.lucene.index.PointValuesWriter.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
getfield org.apache.lucene.index.FieldInfo.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ": point value must not be null"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 2
getfield org.apache.lucene.util.BytesRef.length:I
aload 0
getfield org.apache.lucene.index.PointValuesWriter.packedBytesLength:I
if_icmpeq 4
3: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "field="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.lucene.index.PointValuesWriter.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
getfield org.apache.lucene.index.FieldInfo.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ": this field's value has length="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
getfield org.apache.lucene.util.BytesRef.length:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " but should be "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.PointValuesWriter.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
invokevirtual org.apache.lucene.index.FieldInfo.getPointDimensionCount:()I
aload 0
getfield org.apache.lucene.index.PointValuesWriter.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
invokevirtual org.apache.lucene.index.FieldInfo.getPointNumBytes:()I
imul
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.PointValuesWriter.docIDs:[I
arraylength
aload 0
getfield org.apache.lucene.index.PointValuesWriter.numPoints:I
if_icmpne 7
5: aload 0
aload 0
getfield org.apache.lucene.index.PointValuesWriter.docIDs:[I
aload 0
getfield org.apache.lucene.index.PointValuesWriter.numPoints:I
iconst_1
iadd
invokestatic org.apache.lucene.util.ArrayUtil.grow:([II)[I
putfield org.apache.lucene.index.PointValuesWriter.docIDs:[I
6: aload 0
getfield org.apache.lucene.index.PointValuesWriter.iwBytesUsed:Lorg/apache/lucene/util/Counter;
aload 0
getfield org.apache.lucene.index.PointValuesWriter.docIDs:[I
arraylength
aload 0
getfield org.apache.lucene.index.PointValuesWriter.numPoints:I
isub
iconst_4
imul
i2l
invokevirtual org.apache.lucene.util.Counter.addAndGet:(J)J
pop2
7: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.PointValuesWriter.bytes:Lorg/apache/lucene/util/ByteBlockPool;
aload 2
invokevirtual org.apache.lucene.util.ByteBlockPool.append:(Lorg/apache/lucene/util/BytesRef;)V
8: aload 0
getfield org.apache.lucene.index.PointValuesWriter.docIDs:[I
aload 0
getfield org.apache.lucene.index.PointValuesWriter.numPoints:I
iload 1
iastore
9: iload 1
aload 0
getfield org.apache.lucene.index.PointValuesWriter.lastDocID:I
if_icmpeq 12
10: aload 0
dup
getfield org.apache.lucene.index.PointValuesWriter.numDocs:I
iconst_1
iadd
putfield org.apache.lucene.index.PointValuesWriter.numDocs:I
11: aload 0
iload 1
putfield org.apache.lucene.index.PointValuesWriter.lastDocID:I
12: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.apache.lucene.index.PointValuesWriter.numPoints:I
iconst_1
iadd
putfield org.apache.lucene.index.PointValuesWriter.numPoints:I
13: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/lucene/index/PointValuesWriter;
0 14 1 docID I
0 14 2 value Lorg/apache/lucene/util/BytesRef;
MethodParameters:
Name Flags
docID
value
public void flush(org.apache.lucene.index.SegmentWriteState, org.apache.lucene.index.Sorter$DocMap, org.apache.lucene.codecs.PointsWriter);
descriptor: (Lorg/apache/lucene/index/SegmentWriteState;Lorg/apache/lucene/index/Sorter$DocMap;Lorg/apache/lucene/codecs/PointsWriter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new org.apache.lucene.index.PointValuesWriter$1
dup
aload 0
invokespecial org.apache.lucene.index.PointValuesWriter$1.<init>:(Lorg/apache/lucene/index/PointValuesWriter;)V
astore 4
start local 4 1: aload 2
ifnonnull 4
2: aload 4
astore 5
start local 5 3: goto 5
end local 5 4: StackMap locals: org.apache.lucene.index.PointValues
StackMap stack:
new org.apache.lucene.index.PointValuesWriter$MutableSortingPointValues
dup
aload 4
checkcast org.apache.lucene.codecs.MutablePointValues
aload 2
invokespecial org.apache.lucene.index.PointValuesWriter$MutableSortingPointValues.<init>:(Lorg/apache/lucene/codecs/MutablePointValues;Lorg/apache/lucene/index/Sorter$DocMap;)V
astore 5
start local 5 5: StackMap locals: org.apache.lucene.index.PointValues
StackMap stack:
new org.apache.lucene.index.PointValuesWriter$2
dup
aload 0
aload 5
invokespecial org.apache.lucene.index.PointValuesWriter$2.<init>:(Lorg/apache/lucene/index/PointValuesWriter;Lorg/apache/lucene/index/PointValues;)V
astore 6
start local 6 6: aload 3
aload 0
getfield org.apache.lucene.index.PointValuesWriter.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
aload 6
invokevirtual org.apache.lucene.codecs.PointsWriter.writeField:(Lorg/apache/lucene/index/FieldInfo;Lorg/apache/lucene/codecs/PointsReader;)V
7: return
end local 6 end local 5 end local 4 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/PointValuesWriter;
0 8 1 state Lorg/apache/lucene/index/SegmentWriteState;
0 8 2 sortMap Lorg/apache/lucene/index/Sorter$DocMap;
0 8 3 writer Lorg/apache/lucene/codecs/PointsWriter;
1 8 4 points Lorg/apache/lucene/index/PointValues;
3 4 5 values Lorg/apache/lucene/index/PointValues;
5 8 5 values Lorg/apache/lucene/index/PointValues;
6 8 6 reader Lorg/apache/lucene/codecs/PointsReader;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
state
sortMap
writer
}
SourceFile: "PointValuesWriter.java"
NestMembers:
org.apache.lucene.index.PointValuesWriter$1 org.apache.lucene.index.PointValuesWriter$2 org.apache.lucene.index.PointValuesWriter$MutableSortingPointValues org.apache.lucene.index.PointValuesWriter$MutableSortingPointValues$1
InnerClasses:
org.apache.lucene.index.PointValuesWriter$1
org.apache.lucene.index.PointValuesWriter$2
final MutableSortingPointValues = org.apache.lucene.index.PointValuesWriter$MutableSortingPointValues of org.apache.lucene.index.PointValuesWriter
abstract DocMap = org.apache.lucene.index.Sorter$DocMap of org.apache.lucene.index.Sorter
public abstract Allocator = org.apache.lucene.util.ByteBlockPool$Allocator of org.apache.lucene.util.ByteBlockPool