public abstract class org.apache.lucene.index.IndexCommit implements java.lang.Comparable<org.apache.lucene.index.IndexCommit>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.lucene.index.IndexCommit
super_class: java.lang.Object
{
public abstract java.lang.String getSegmentsFileName();
descriptor: ()Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.util.Collection<java.lang.String> getFileNames();
descriptor: ()Ljava/util/Collection;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
Signature: ()Ljava/util/Collection<Ljava/lang/String;>;
public abstract org.apache.lucene.store.Directory getDirectory();
descriptor: ()Lorg/apache/lucene/store/Directory;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract void delete();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract boolean isDeleted();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract int getSegmentCount();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/IndexCommit;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.apache.lucene.index.IndexCommit
ifeq 4
1: aload 1
checkcast org.apache.lucene.index.IndexCommit
astore 2
start local 2 2: aload 2
invokevirtual org.apache.lucene.index.IndexCommit.getDirectory:()Lorg/apache/lucene/store/Directory;
aload 0
invokevirtual org.apache.lucene.index.IndexCommit.getDirectory:()Lorg/apache/lucene/store/Directory;
if_acmpne 3
aload 2
invokevirtual org.apache.lucene.index.IndexCommit.getGeneration:()J
aload 0
invokevirtual org.apache.lucene.index.IndexCommit.getGeneration:()J
lcmp
ifne 3
iconst_1
ireturn
StackMap locals: org.apache.lucene.index.IndexCommit
StackMap stack:
3: iconst_0
ireturn
end local 2 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/IndexCommit;
0 5 1 other Ljava/lang/Object;
2 4 2 otherCommit Lorg/apache/lucene/index/IndexCommit;
MethodParameters:
Name Flags
other
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.lucene.index.IndexCommit.getDirectory:()Lorg/apache/lucene/store/Directory;
invokevirtual java.lang.Object.hashCode:()I
aload 0
invokevirtual org.apache.lucene.index.IndexCommit.getGeneration:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokevirtual java.lang.Long.hashCode:()I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/IndexCommit;
public abstract long getGeneration();
descriptor: ()J
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.util.Map<java.lang.String, java.lang.String> getUserData();
descriptor: ()Ljava/util/Map;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
public int compareTo(org.apache.lucene.index.IndexCommit);
descriptor: (Lorg/apache/lucene/index/IndexCommit;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.lucene.index.IndexCommit.getDirectory:()Lorg/apache/lucene/store/Directory;
aload 1
invokevirtual org.apache.lucene.index.IndexCommit.getDirectory:()Lorg/apache/lucene/store/Directory;
if_acmpeq 2
1: new java.lang.UnsupportedOperationException
dup
ldc "cannot compare IndexCommits from different Directory instances"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.lucene.index.IndexCommit.getGeneration:()J
lstore 2
start local 2 3: aload 1
invokevirtual org.apache.lucene.index.IndexCommit.getGeneration:()J
lstore 4
start local 4 4: lload 2
lload 4
invokestatic java.lang.Long.compare:(JJ)I
ireturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/index/IndexCommit;
0 5 1 commit Lorg/apache/lucene/index/IndexCommit;
3 5 2 gen J
4 5 4 comgen J
MethodParameters:
Name Flags
commit
org.apache.lucene.index.StandardDirectoryReader getReader();
descriptor: ()Lorg/apache/lucene/index/StandardDirectoryReader;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/IndexCommit;
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.apache.lucene.index.IndexCommit
invokevirtual org.apache.lucene.index.IndexCommit.compareTo:(Lorg/apache/lucene/index/IndexCommit;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/lang/Comparable<Lorg/apache/lucene/index/IndexCommit;>;
SourceFile: "IndexCommit.java"