public abstract class org.apache.lucene.facet.taxonomy.TaxonomyReader implements java.io.Closeable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.lucene.facet.taxonomy.TaxonomyReader
super_class: java.lang.Object
{
public static final int ROOT_ORDINAL;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int INVALID_ORDINAL;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: -1
private volatile boolean closed;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final java.util.concurrent.atomic.AtomicInteger refCount;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
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/facet/taxonomy/TaxonomyReader;
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.facet.taxonomy.TaxonomyReader.$assertionsDisabled:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.apache.lucene.facet.taxonomy.TaxonomyReader.closed:Z
2: aload 0
new java.util.concurrent.atomic.AtomicInteger
dup
iconst_1
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:(I)V
putfield org.apache.lucene.facet.taxonomy.TaxonomyReader.refCount:Ljava/util/concurrent/atomic/AtomicInteger;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/facet/taxonomy/TaxonomyReader;
public static <T extends org.apache.lucene.facet.taxonomy.TaxonomyReader> T openIfChanged();
descriptor: (Lorg/apache/lucene/facet/taxonomy/TaxonomyReader;)Lorg/apache/lucene/facet/taxonomy/TaxonomyReader;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.lucene.facet.taxonomy.TaxonomyReader.doOpenIfChanged:()Lorg/apache/lucene/facet/taxonomy/TaxonomyReader;
astore 1
start local 1 1: getstatic org.apache.lucene.facet.taxonomy.TaxonomyReader.$assertionsDisabled:Z
ifne 2
aload 1
aload 0
if_acmpne 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: org.apache.lucene.facet.taxonomy.TaxonomyReader
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 oldTaxoReader TT;
1 3 1 newTaxoReader TT;
Exceptions:
throws java.io.IOException
Signature: <T:Lorg/apache/lucene/facet/taxonomy/TaxonomyReader;>(TT;)TT;
MethodParameters:
Name Flags
oldTaxoReader
protected abstract void doClose();
descriptor: ()V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
protected abstract org.apache.lucene.facet.taxonomy.TaxonomyReader doOpenIfChanged();
descriptor: ()Lorg/apache/lucene/facet/taxonomy/TaxonomyReader;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
protected final void ensureOpen();
descriptor: ()V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.lucene.facet.taxonomy.TaxonomyReader.getRefCount:()I
ifgt 2
1: new org.apache.lucene.store.AlreadyClosedException
dup
ldc "this TaxonomyReader is closed"
invokespecial org.apache.lucene.store.AlreadyClosedException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/facet/taxonomy/TaxonomyReader;
Exceptions:
throws org.apache.lucene.store.AlreadyClosedException
public final void close();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.facet.taxonomy.TaxonomyReader.closed:Z
ifne 9
1: aload 0
dup
astore 1
monitorenter
2: aload 0
getfield org.apache.lucene.facet.taxonomy.TaxonomyReader.closed:Z
ifne 5
3: aload 0
invokevirtual org.apache.lucene.facet.taxonomy.TaxonomyReader.decRef:()V
4: aload 0
iconst_1
putfield org.apache.lucene.facet.taxonomy.TaxonomyReader.closed:Z
5: StackMap locals: org.apache.lucene.facet.taxonomy.TaxonomyReader
StackMap stack:
aload 1
monitorexit
6: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
7: aload 1
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/lucene/facet/taxonomy/TaxonomyReader;
Exception table:
from to target type
2 6 7 any
7 8 7 any
Exceptions:
throws java.io.IOException
public final void decRef();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.lucene.facet.taxonomy.TaxonomyReader.ensureOpen:()V
1: aload 0
getfield org.apache.lucene.facet.taxonomy.TaxonomyReader.refCount:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.decrementAndGet:()I
istore 1
start local 1 2: iload 1
ifne 15
3: iconst_0
istore 2
start local 2 4: aload 0
invokevirtual org.apache.lucene.facet.taxonomy.TaxonomyReader.doClose:()V
5: aload 0
iconst_1
putfield org.apache.lucene.facet.taxonomy.TaxonomyReader.closed:Z
6: iconst_1
istore 2
7: goto 12
StackMap locals: org.apache.lucene.facet.taxonomy.TaxonomyReader int int
StackMap stack: java.lang.Throwable
8: astore 3
9: iload 2
ifne 11
10: aload 0
getfield org.apache.lucene.facet.taxonomy.TaxonomyReader.refCount:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
pop
11: StackMap locals: java.lang.Throwable
StackMap stack:
aload 3
athrow
12: StackMap locals:
StackMap stack:
iload 2
ifne 17
13: aload 0
getfield org.apache.lucene.facet.taxonomy.TaxonomyReader.refCount:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
pop
end local 2 14: goto 17
StackMap locals:
StackMap stack:
15: iload 1
ifge 17
16: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "too many decRef calls: refCount is "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " after decrement"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
17: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/apache/lucene/facet/taxonomy/TaxonomyReader;
2 18 1 rc I
4 14 2 success Z
Exception table:
from to target type
4 8 8 any
Exceptions:
throws java.io.IOException
public abstract org.apache.lucene.facet.taxonomy.ParallelTaxonomyArrays getParallelTaxonomyArrays();
descriptor: ()Lorg/apache/lucene/facet/taxonomy/ParallelTaxonomyArrays;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
public org.apache.lucene.facet.taxonomy.TaxonomyReader$ChildrenIterator getChildren(int);
descriptor: (I)Lorg/apache/lucene/facet/taxonomy/TaxonomyReader$ChildrenIterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.lucene.facet.taxonomy.TaxonomyReader.getParallelTaxonomyArrays:()Lorg/apache/lucene/facet/taxonomy/ParallelTaxonomyArrays;
astore 2
start local 2 1: iload 1
iflt 2
aload 2
invokevirtual org.apache.lucene.facet.taxonomy.ParallelTaxonomyArrays.children:()[I
iload 1
iaload
goto 3
StackMap locals: org.apache.lucene.facet.taxonomy.ParallelTaxonomyArrays
StackMap stack:
2: iconst_m1
StackMap locals:
StackMap stack: int
3: istore 3
start local 3 4: new org.apache.lucene.facet.taxonomy.TaxonomyReader$ChildrenIterator
dup
iload 3
aload 2
invokevirtual org.apache.lucene.facet.taxonomy.ParallelTaxonomyArrays.siblings:()[I
invokespecial org.apache.lucene.facet.taxonomy.TaxonomyReader$ChildrenIterator.<init>:(I[I)V
areturn
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/facet/taxonomy/TaxonomyReader;
0 5 1 ordinal I
1 5 2 arrays Lorg/apache/lucene/facet/taxonomy/ParallelTaxonomyArrays;
4 5 3 child I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
ordinal final
public abstract java.util.Map<java.lang.String, java.lang.String> getCommitUserData();
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 abstract int getOrdinal(org.apache.lucene.facet.taxonomy.FacetLabel);
descriptor: (Lorg/apache/lucene/facet/taxonomy/FacetLabel;)I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
categoryPath
public int getOrdinal(java.lang.String, java.lang.String[]);
descriptor: (Ljava/lang/String;[Ljava/lang/String;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
arraylength
iconst_1
iadd
anewarray java.lang.String
astore 3
start local 3 1: aload 3
iconst_0
aload 1
aastore
2: aload 2
iconst_0
aload 3
iconst_1
aload 2
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 0
new org.apache.lucene.facet.taxonomy.FacetLabel
dup
aload 3
invokespecial org.apache.lucene.facet.taxonomy.FacetLabel.<init>:([Ljava/lang/String;)V
invokevirtual org.apache.lucene.facet.taxonomy.TaxonomyReader.getOrdinal:(Lorg/apache/lucene/facet/taxonomy/FacetLabel;)I
ireturn
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/facet/taxonomy/TaxonomyReader;
0 4 1 dim Ljava/lang/String;
0 4 2 path [Ljava/lang/String;
1 4 3 fullPath [Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dim
path
public abstract org.apache.lucene.facet.taxonomy.FacetLabel getPath(int);
descriptor: (I)Lorg/apache/lucene/facet/taxonomy/FacetLabel;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
ordinal
public final int getRefCount();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.facet.taxonomy.TaxonomyReader.refCount:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/facet/taxonomy/TaxonomyReader;
public abstract int getSize();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public final void incRef();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.lucene.facet.taxonomy.TaxonomyReader.ensureOpen:()V
1: aload 0
getfield org.apache.lucene.facet.taxonomy.TaxonomyReader.refCount:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
pop
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/facet/taxonomy/TaxonomyReader;
public final boolean tryIncRef();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=1
start local 0 0: goto 3
start local 1 1: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.lucene.facet.taxonomy.TaxonomyReader.refCount:Ljava/util/concurrent/atomic/AtomicInteger;
iload 1
iload 1
iconst_1
iadd
invokevirtual java.util.concurrent.atomic.AtomicInteger.compareAndSet:(II)Z
ifeq 3
2: iconst_1
ireturn
end local 1 3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.facet.taxonomy.TaxonomyReader.refCount:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
dup
istore 1
start local 1 4: ifgt 1
5: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/facet/taxonomy/TaxonomyReader;
1 3 1 count I
4 6 1 count I
}
SourceFile: "TaxonomyReader.java"
NestMembers:
org.apache.lucene.facet.taxonomy.TaxonomyReader$ChildrenIterator
InnerClasses:
public ChildrenIterator = org.apache.lucene.facet.taxonomy.TaxonomyReader$ChildrenIterator of org.apache.lucene.facet.taxonomy.TaxonomyReader