class org.apache.lucene.index.StoredFieldsConsumer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.lucene.index.StoredFieldsConsumer
super_class: java.lang.Object
{
final org.apache.lucene.codecs.Codec codec;
descriptor: Lorg/apache/lucene/codecs/Codec;
flags: (0x0010) ACC_FINAL
final org.apache.lucene.store.Directory directory;
descriptor: Lorg/apache/lucene/store/Directory;
flags: (0x0010) ACC_FINAL
final org.apache.lucene.index.SegmentInfo info;
descriptor: Lorg/apache/lucene/index/SegmentInfo;
flags: (0x0010) ACC_FINAL
org.apache.lucene.codecs.StoredFieldsWriter writer;
descriptor: Lorg/apache/lucene/codecs/StoredFieldsWriter;
flags: (0x0000)
org.apache.lucene.util.Accountable accountable;
descriptor: Lorg/apache/lucene/util/Accountable;
flags: (0x0000)
private int lastDoc;
descriptor: I
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=1, locals=0, args_size=0
0: ldc Lorg/apache/lucene/index/StoredFieldsConsumer;
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.StoredFieldsConsumer.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(org.apache.lucene.codecs.Codec, org.apache.lucene.store.Directory, org.apache.lucene.index.SegmentInfo);
descriptor: (Lorg/apache/lucene/codecs/Codec;Lorg/apache/lucene/store/Directory;Lorg/apache/lucene/index/SegmentInfo;)V
flags: (0x0000)
Code:
stack=2, 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
getstatic org.apache.lucene.util.Accountable.NULL_ACCOUNTABLE:Lorg/apache/lucene/util/Accountable;
putfield org.apache.lucene.index.StoredFieldsConsumer.accountable:Lorg/apache/lucene/util/Accountable;
2: aload 0
aload 1
putfield org.apache.lucene.index.StoredFieldsConsumer.codec:Lorg/apache/lucene/codecs/Codec;
3: aload 0
aload 2
putfield org.apache.lucene.index.StoredFieldsConsumer.directory:Lorg/apache/lucene/store/Directory;
4: aload 0
aload 3
putfield org.apache.lucene.index.StoredFieldsConsumer.info:Lorg/apache/lucene/index/SegmentInfo;
5: aload 0
iconst_m1
putfield org.apache.lucene.index.StoredFieldsConsumer.lastDoc:I
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/index/StoredFieldsConsumer;
0 7 1 codec Lorg/apache/lucene/codecs/Codec;
0 7 2 directory Lorg/apache/lucene/store/Directory;
0 7 3 info Lorg/apache/lucene/index/SegmentInfo;
MethodParameters:
Name Flags
codec
directory
info
protected void initStoredFieldsWriter();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.StoredFieldsConsumer.writer:Lorg/apache/lucene/codecs/StoredFieldsWriter;
ifnonnull 3
1: aload 0
aload 0
getfield org.apache.lucene.index.StoredFieldsConsumer.codec:Lorg/apache/lucene/codecs/Codec;
invokevirtual org.apache.lucene.codecs.Codec.storedFieldsFormat:()Lorg/apache/lucene/codecs/StoredFieldsFormat;
aload 0
getfield org.apache.lucene.index.StoredFieldsConsumer.directory:Lorg/apache/lucene/store/Directory;
aload 0
getfield org.apache.lucene.index.StoredFieldsConsumer.info:Lorg/apache/lucene/index/SegmentInfo;
getstatic org.apache.lucene.store.IOContext.DEFAULT:Lorg/apache/lucene/store/IOContext;
invokevirtual org.apache.lucene.codecs.StoredFieldsFormat.fieldsWriter:(Lorg/apache/lucene/store/Directory;Lorg/apache/lucene/index/SegmentInfo;Lorg/apache/lucene/store/IOContext;)Lorg/apache/lucene/codecs/StoredFieldsWriter;
putfield org.apache.lucene.index.StoredFieldsConsumer.writer:Lorg/apache/lucene/codecs/StoredFieldsWriter;
2: aload 0
aload 0
getfield org.apache.lucene.index.StoredFieldsConsumer.writer:Lorg/apache/lucene/codecs/StoredFieldsWriter;
putfield org.apache.lucene.index.StoredFieldsConsumer.accountable:Lorg/apache/lucene/util/Accountable;
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/StoredFieldsConsumer;
Exceptions:
throws java.io.IOException
void startDocument(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.lucene.index.StoredFieldsConsumer.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.lucene.index.StoredFieldsConsumer.lastDoc:I
iload 1
if_icmplt 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.lucene.index.StoredFieldsConsumer.initStoredFieldsWriter:()V
2: goto 5
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.StoredFieldsConsumer.writer:Lorg/apache/lucene/codecs/StoredFieldsWriter;
invokevirtual org.apache.lucene.codecs.StoredFieldsWriter.startDocument:()V
4: aload 0
getfield org.apache.lucene.index.StoredFieldsConsumer.writer:Lorg/apache/lucene/codecs/StoredFieldsWriter;
invokevirtual org.apache.lucene.codecs.StoredFieldsWriter.finishDocument:()V
5: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.apache.lucene.index.StoredFieldsConsumer.lastDoc:I
iconst_1
iadd
dup_x1
putfield org.apache.lucene.index.StoredFieldsConsumer.lastDoc:I
iload 1
if_icmplt 3
6: aload 0
getfield org.apache.lucene.index.StoredFieldsConsumer.writer:Lorg/apache/lucene/codecs/StoredFieldsWriter;
invokevirtual org.apache.lucene.codecs.StoredFieldsWriter.startDocument:()V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/lucene/index/StoredFieldsConsumer;
0 8 1 docID I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
docID
void writeField(org.apache.lucene.index.FieldInfo, org.apache.lucene.index.IndexableField);
descriptor: (Lorg/apache/lucene/index/FieldInfo;Lorg/apache/lucene/index/IndexableField;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.lucene.index.StoredFieldsConsumer.writer:Lorg/apache/lucene/codecs/StoredFieldsWriter;
aload 1
aload 2
invokevirtual org.apache.lucene.codecs.StoredFieldsWriter.writeField:(Lorg/apache/lucene/index/FieldInfo;Lorg/apache/lucene/index/IndexableField;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/StoredFieldsConsumer;
0 2 1 info Lorg/apache/lucene/index/FieldInfo;
0 2 2 field Lorg/apache/lucene/index/IndexableField;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
info
field
void finishDocument();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.StoredFieldsConsumer.writer:Lorg/apache/lucene/codecs/StoredFieldsWriter;
invokevirtual org.apache.lucene.codecs.StoredFieldsWriter.finishDocument:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/StoredFieldsConsumer;
Exceptions:
throws java.io.IOException
void finish(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: goto 4
1: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.apache.lucene.index.StoredFieldsConsumer.lastDoc:I
invokevirtual org.apache.lucene.index.StoredFieldsConsumer.startDocument:(I)V
2: aload 0
invokevirtual org.apache.lucene.index.StoredFieldsConsumer.finishDocument:()V
3: aload 0
dup
getfield org.apache.lucene.index.StoredFieldsConsumer.lastDoc:I
iconst_1
iadd
putfield org.apache.lucene.index.StoredFieldsConsumer.lastDoc:I
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.StoredFieldsConsumer.lastDoc:I
iload 1
iconst_1
isub
if_icmplt 1
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/index/StoredFieldsConsumer;
0 6 1 maxDoc I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
maxDoc
void flush(org.apache.lucene.index.SegmentWriteState, org.apache.lucene.index.Sorter$DocMap);
descriptor: (Lorg/apache/lucene/index/SegmentWriteState;Lorg/apache/lucene/index/Sorter$DocMap;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.lucene.index.StoredFieldsConsumer.writer:Lorg/apache/lucene/codecs/StoredFieldsWriter;
aload 1
getfield org.apache.lucene.index.SegmentWriteState.fieldInfos:Lorg/apache/lucene/index/FieldInfos;
aload 1
getfield org.apache.lucene.index.SegmentWriteState.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.maxDoc:()I
invokevirtual org.apache.lucene.codecs.StoredFieldsWriter.finish:(Lorg/apache/lucene/index/FieldInfos;I)V
1: goto 5
StackMap locals:
StackMap stack: java.lang.Throwable
2: astore 3
iconst_1
anewarray java.io.Closeable
dup
iconst_0
3: aload 0
getfield org.apache.lucene.index.StoredFieldsConsumer.writer:Lorg/apache/lucene/codecs/StoredFieldsWriter;
aastore
invokestatic org.apache.lucene.util.IOUtils.close:([Ljava/io/Closeable;)V
4: aload 3
athrow
5: StackMap locals:
StackMap stack:
iconst_1
anewarray java.io.Closeable
dup
iconst_0
6: aload 0
getfield org.apache.lucene.index.StoredFieldsConsumer.writer:Lorg/apache/lucene/codecs/StoredFieldsWriter;
aastore
invokestatic org.apache.lucene.util.IOUtils.close:([Ljava/io/Closeable;)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/lucene/index/StoredFieldsConsumer;
0 8 1 state Lorg/apache/lucene/index/SegmentWriteState;
0 8 2 sortMap Lorg/apache/lucene/index/Sorter$DocMap;
Exception table:
from to target type
0 2 2 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
state
sortMap
void abort();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: iconst_1
anewarray java.io.Closeable
dup
iconst_0
1: aload 0
getfield org.apache.lucene.index.StoredFieldsConsumer.writer:Lorg/apache/lucene/codecs/StoredFieldsWriter;
aastore
invokestatic org.apache.lucene.util.IOUtils.closeWhileHandlingException:([Ljava/io/Closeable;)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/StoredFieldsConsumer;
}
SourceFile: "StoredFieldsConsumer.java"
InnerClasses:
abstract DocMap = org.apache.lucene.index.Sorter$DocMap of org.apache.lucene.index.Sorter