abstract class org.apache.cassandra.db.transform.BaseIterator<V, I extends org.apache.cassandra.utils.CloseableIterator<? extends V>, O extends V> extends org.apache.cassandra.db.transform.Stack implements java.lang.AutoCloseable, java.util.Iterator<O>
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.cassandra.db.transform.BaseIterator
super_class: org.apache.cassandra.db.transform.Stack
{
I input;
descriptor: Lorg/apache/cassandra/utils/CloseableIterator;
flags: (0x0000)
Signature: TI;
V next;
descriptor: Ljava/lang/Object;
flags: (0x0000)
Signature: TV;
org.apache.cassandra.db.transform.BaseIterator$Stop stop;
descriptor: Lorg/apache/cassandra/db/transform/BaseIterator$Stop;
flags: (0x0000)
org.apache.cassandra.db.transform.BaseIterator$Stop stopChild;
descriptor: Lorg/apache/cassandra/db/transform/BaseIterator$Stop;
flags: (0x0000)
void <init>(org.apache.cassandra.db.transform.BaseIterator<? extends V, ? extends I, ?>);
descriptor: (Lorg/apache/cassandra/db/transform/BaseIterator;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.apache.cassandra.db.transform.Stack.<init>:(Lorg/apache/cassandra/db/transform/Stack;)V
1: aload 0
aload 1
getfield org.apache.cassandra.db.transform.BaseIterator.input:Lorg/apache/cassandra/utils/CloseableIterator;
putfield org.apache.cassandra.db.transform.BaseIterator.input:Lorg/apache/cassandra/utils/CloseableIterator;
2: aload 0
aload 1
getfield org.apache.cassandra.db.transform.BaseIterator.next:Ljava/lang/Object;
putfield org.apache.cassandra.db.transform.BaseIterator.next:Ljava/lang/Object;
3: aload 0
aload 1
getfield org.apache.cassandra.db.transform.BaseIterator.stop:Lorg/apache/cassandra/db/transform/BaseIterator$Stop;
putfield org.apache.cassandra.db.transform.BaseIterator.stop:Lorg/apache/cassandra/db/transform/BaseIterator$Stop;
4: aload 0
aload 1
getfield org.apache.cassandra.db.transform.BaseIterator.stopChild:Lorg/apache/cassandra/db/transform/BaseIterator$Stop;
putfield org.apache.cassandra.db.transform.BaseIterator.stopChild:Lorg/apache/cassandra/db/transform/BaseIterator$Stop;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/db/transform/BaseIterator<TV;TI;TO;>;
0 6 1 copyFrom Lorg/apache/cassandra/db/transform/BaseIterator<+TV;+TI;*>;
Signature: (Lorg/apache/cassandra/db/transform/BaseIterator<+TV;+TI;*>;)V
MethodParameters:
Name Flags
copyFrom
void <init>();
descriptor: (Lorg/apache/cassandra/utils/CloseableIterator;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.apache.cassandra.db.transform.Stack.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.db.transform.BaseIterator.input:Lorg/apache/cassandra/utils/CloseableIterator;
2: aload 0
new org.apache.cassandra.db.transform.BaseIterator$Stop
dup
invokespecial org.apache.cassandra.db.transform.BaseIterator$Stop.<init>:()V
putfield org.apache.cassandra.db.transform.BaseIterator.stop:Lorg/apache/cassandra/db/transform/BaseIterator$Stop;
3: aload 0
aload 0
getfield org.apache.cassandra.db.transform.BaseIterator.stop:Lorg/apache/cassandra/db/transform/BaseIterator$Stop;
putfield org.apache.cassandra.db.transform.BaseIterator.stopChild:Lorg/apache/cassandra/db/transform/BaseIterator$Stop;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/db/transform/BaseIterator<TV;TI;TO;>;
0 5 1 input TI;
Signature: (TI;)V
MethodParameters:
Name Flags
input
protected abstract java.lang.Throwable runOnClose(int);
descriptor: (I)Ljava/lang/Throwable;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
length
protected abstract V applyOne(V, org.apache.cassandra.db.transform.Transformation);
descriptor: (Ljava/lang/Object;Lorg/apache/cassandra/db/transform/Transformation;)Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TV;Lorg/apache/cassandra/db/transform/Transformation;)TV;
MethodParameters:
Name Flags
value
transformation
public final void close();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
aload 0
getfield org.apache.cassandra.db.transform.BaseIterator.length:I
invokevirtual org.apache.cassandra.db.transform.BaseIterator.runOnClose:(I)Ljava/lang/Throwable;
astore 1
start local 1 1: aload 0
getfield org.apache.cassandra.db.transform.BaseIterator.next:Ljava/lang/Object;
instanceof java.lang.AutoCloseable
ifeq 6
2: aload 0
getfield org.apache.cassandra.db.transform.BaseIterator.next:Ljava/lang/Object;
checkcast java.lang.AutoCloseable
invokeinterface java.lang.AutoCloseable.close:()V
3: goto 6
4: StackMap locals: org.apache.cassandra.db.transform.BaseIterator java.lang.Throwable
StackMap stack: java.lang.Throwable
astore 2
start local 2 5: aload 1
aload 2
invokestatic org.apache.cassandra.utils.Throwables.merge:(Ljava/lang/Throwable;Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 1
end local 2 6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.transform.BaseIterator.input:Lorg/apache/cassandra/utils/CloseableIterator;
invokeinterface org.apache.cassandra.utils.CloseableIterator.close:()V
7: goto 10
8: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 9: aload 1
aload 2
invokestatic org.apache.cassandra.utils.Throwables.merge:(Ljava/lang/Throwable;Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 1
end local 2 10: StackMap locals:
StackMap stack:
aload 1
invokestatic org.apache.cassandra.utils.Throwables.maybeFail:(Ljava/lang/Throwable;)V
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/cassandra/db/transform/BaseIterator<TV;TI;TO;>;
1 12 1 fail Ljava/lang/Throwable;
5 6 2 t Ljava/lang/Throwable;
9 10 2 t Ljava/lang/Throwable;
Exception table:
from to target type
2 3 4 Class java.lang.Throwable
6 7 8 Class java.lang.Throwable
public final O next();
descriptor: ()Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.transform.BaseIterator.next:Ljava/lang/Object;
ifnonnull 2
aload 0
invokevirtual org.apache.cassandra.db.transform.BaseIterator.hasNext:()Z
ifne 2
1: new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.transform.BaseIterator.next:Ljava/lang/Object;
astore 1
start local 1 3: aload 0
aconst_null
putfield org.apache.cassandra.db.transform.BaseIterator.next:Ljava/lang/Object;
4: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/db/transform/BaseIterator<TV;TI;TO;>;
3 5 1 next TO;
Signature: ()TO;
protected final boolean hasMoreContents();
descriptor: ()Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.transform.BaseIterator.moreContents:[Lorg/apache/cassandra/db/transform/Stack$MoreContentsHolder;
arraylength
ifle 1
aload 0
invokevirtual org.apache.cassandra.db.transform.BaseIterator.tryGetMoreContents:()Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/transform/BaseIterator<TV;TI;TO;>;
private boolean tryGetMoreContents();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tDontInline cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/transform/BaseIterator<TV;TI;TO;>;
RuntimeInvisibleAnnotations:
DontInline()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
DontInline()
private V apply(V, );
descriptor: (Ljava/lang/Object;I)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: goto 2
1: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 0
getfield org.apache.cassandra.db.transform.BaseIterator.stack:[Lorg/apache/cassandra/db/transform/Transformation;
iload 2
iinc 2 1
aaload
invokevirtual org.apache.cassandra.db.transform.BaseIterator.applyOne:(Ljava/lang/Object;Lorg/apache/cassandra/db/transform/Transformation;)Ljava/lang/Object;
astore 1
2: StackMap locals:
StackMap stack:
aload 1
ifnull 3
iconst_1
goto 4
StackMap locals:
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: iload 2
aload 0
getfield org.apache.cassandra.db.transform.BaseIterator.length:I
if_icmpge 5
iconst_1
goto 6
StackMap locals:
StackMap stack: int
5: iconst_0
StackMap locals: org.apache.cassandra.db.transform.BaseIterator java.lang.Object int
StackMap stack: int int
6: iand
ifne 1
7: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/db/transform/BaseIterator<TV;TI;TO;>;
0 8 1 next TV;
0 8 2 from I
Signature: (TV;I)TV;
MethodParameters:
Name Flags
next
from
}
Signature: <V:Ljava/lang/Object;I::Lorg/apache/cassandra/utils/CloseableIterator<+TV;>;O:TV;>Lorg/apache/cassandra/db/transform/Stack;Ljava/lang/AutoCloseable;Ljava/util/Iterator<TO;>;
SourceFile: "BaseIterator.java"
NestMembers:
org.apache.cassandra.db.transform.BaseIterator$Stop
InnerClasses:
Stop = org.apache.cassandra.db.transform.BaseIterator$Stop of org.apache.cassandra.db.transform.BaseIterator