public class org.apache.cassandra.io.sstable.ReducingKeyIterator implements org.apache.cassandra.utils.CloseableIterator<org.apache.cassandra.db.DecoratedKey>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.io.sstable.ReducingKeyIterator
super_class: java.lang.Object
{
private final java.util.ArrayList<org.apache.cassandra.io.sstable.KeyIterator> iters;
descriptor: Ljava/util/ArrayList;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/ArrayList<Lorg/apache/cassandra/io/sstable/KeyIterator;>;
private org.apache.cassandra.utils.IMergeIterator<org.apache.cassandra.db.DecoratedKey, org.apache.cassandra.db.DecoratedKey> mi;
descriptor: Lorg/apache/cassandra/utils/IMergeIterator;
flags: (0x0002) ACC_PRIVATE
Signature: Lorg/apache/cassandra/utils/IMergeIterator<Lorg/apache/cassandra/db/DecoratedKey;Lorg/apache/cassandra/db/DecoratedKey;>;
public void <init>(java.util.Collection<org.apache.cassandra.io.sstable.format.SSTableReader>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
aload 1
invokeinterface java.util.Collection.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
putfield org.apache.cassandra.io.sstable.ReducingKeyIterator.iters:Ljava/util/ArrayList;
2: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: org.apache.cassandra.io.sstable.ReducingKeyIterator java.util.Collection top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 2
start local 2 4: aload 0
getfield org.apache.cassandra.io.sstable.ReducingKeyIterator.iters:Ljava/util/ArrayList;
new org.apache.cassandra.io.sstable.KeyIterator
dup
aload 2
getfield org.apache.cassandra.io.sstable.format.SSTableReader.descriptor:Lorg/apache/cassandra/io/sstable/Descriptor;
aload 2
getfield org.apache.cassandra.io.sstable.format.SSTableReader.metadata:Lorg/apache/cassandra/config/CFMetaData;
invokespecial org.apache.cassandra.io.sstable.KeyIterator.<init>:(Lorg/apache/cassandra/io/sstable/Descriptor;Lorg/apache/cassandra/config/CFMetaData;)V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/io/sstable/ReducingKeyIterator;
0 7 1 sstables Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
4 5 2 sstable Lorg/apache/cassandra/io/sstable/format/SSTableReader;
Signature: (Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;)V
MethodParameters:
Name Flags
sstables
private void maybeInit();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.io.sstable.ReducingKeyIterator.mi:Lorg/apache/cassandra/utils/IMergeIterator;
ifnonnull 2
1: aload 0
aload 0
getfield org.apache.cassandra.io.sstable.ReducingKeyIterator.iters:Ljava/util/ArrayList;
getstatic org.apache.cassandra.db.DecoratedKey.comparator:Ljava/util/Comparator;
new org.apache.cassandra.io.sstable.ReducingKeyIterator$1
dup
aload 0
invokespecial org.apache.cassandra.io.sstable.ReducingKeyIterator$1.<init>:(Lorg/apache/cassandra/io/sstable/ReducingKeyIterator;)V
invokestatic org.apache.cassandra.utils.MergeIterator.get:(Ljava/util/List;Ljava/util/Comparator;Lorg/apache/cassandra/utils/MergeIterator$Reducer;)Lorg/apache/cassandra/utils/MergeIterator;
putfield org.apache.cassandra.io.sstable.ReducingKeyIterator.mi:Lorg/apache/cassandra/utils/IMergeIterator;
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/io/sstable/ReducingKeyIterator;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.io.sstable.ReducingKeyIterator.mi:Lorg/apache/cassandra/utils/IMergeIterator;
ifnull 2
1: aload 0
getfield org.apache.cassandra.io.sstable.ReducingKeyIterator.mi:Lorg/apache/cassandra/utils/IMergeIterator;
invokeinterface org.apache.cassandra.utils.IMergeIterator.close:()V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/io/sstable/ReducingKeyIterator;
public long getTotalBytes();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.io.sstable.ReducingKeyIterator.maybeInit:()V
1: lconst_0
lstore 1
start local 1 2: aload 0
getfield org.apache.cassandra.io.sstable.ReducingKeyIterator.mi:Lorg/apache/cassandra/utils/IMergeIterator;
invokeinterface org.apache.cassandra.utils.IMergeIterator.iterators:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: org.apache.cassandra.io.sstable.ReducingKeyIterator long top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Iterator
astore 3
start local 3 4: lload 1
aload 3
checkcast org.apache.cassandra.io.sstable.KeyIterator
invokevirtual org.apache.cassandra.io.sstable.KeyIterator.getTotalBytes:()J
ladd
lstore 1
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: lload 1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/io/sstable/ReducingKeyIterator;
2 7 1 m J
4 5 3 iter Ljava/util/Iterator<Lorg/apache/cassandra/db/DecoratedKey;>;
public long getBytesRead();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.io.sstable.ReducingKeyIterator.maybeInit:()V
1: lconst_0
lstore 1
start local 1 2: aload 0
getfield org.apache.cassandra.io.sstable.ReducingKeyIterator.mi:Lorg/apache/cassandra/utils/IMergeIterator;
invokeinterface org.apache.cassandra.utils.IMergeIterator.iterators:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: org.apache.cassandra.io.sstable.ReducingKeyIterator long top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Iterator
astore 3
start local 3 4: lload 1
aload 3
checkcast org.apache.cassandra.io.sstable.KeyIterator
invokevirtual org.apache.cassandra.io.sstable.KeyIterator.getBytesRead:()J
ladd
lstore 1
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: lload 1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/io/sstable/ReducingKeyIterator;
2 7 1 m J
4 5 3 iter Ljava/util/Iterator<Lorg/apache/cassandra/db/DecoratedKey;>;
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.io.sstable.ReducingKeyIterator.maybeInit:()V
1: aload 0
getfield org.apache.cassandra.io.sstable.ReducingKeyIterator.mi:Lorg/apache/cassandra/utils/IMergeIterator;
invokeinterface org.apache.cassandra.utils.IMergeIterator.hasNext:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/io/sstable/ReducingKeyIterator;
public org.apache.cassandra.db.DecoratedKey next();
descriptor: ()Lorg/apache/cassandra/db/DecoratedKey;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.io.sstable.ReducingKeyIterator.maybeInit:()V
1: aload 0
getfield org.apache.cassandra.io.sstable.ReducingKeyIterator.mi:Lorg/apache/cassandra/utils/IMergeIterator;
invokeinterface org.apache.cassandra.utils.IMergeIterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.DecoratedKey
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/io/sstable/ReducingKeyIterator;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/sstable/ReducingKeyIterator;
public java.lang.Object next();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.apache.cassandra.io.sstable.ReducingKeyIterator.next:()Lorg/apache/cassandra/db/DecoratedKey;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lorg/apache/cassandra/utils/CloseableIterator<Lorg/apache/cassandra/db/DecoratedKey;>;
SourceFile: "ReducingKeyIterator.java"
NestMembers:
org.apache.cassandra.io.sstable.ReducingKeyIterator$1
InnerClasses:
org.apache.cassandra.io.sstable.ReducingKeyIterator$1
public abstract Reducer = org.apache.cassandra.utils.MergeIterator$Reducer of org.apache.cassandra.utils.MergeIterator