public class org.apache.cassandra.io.sstable.KeyIterator extends org.apache.cassandra.utils.AbstractIterator<org.apache.cassandra.db.DecoratedKey> 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.KeyIterator
super_class: org.apache.cassandra.utils.AbstractIterator
{
private final org.apache.cassandra.io.sstable.Descriptor desc;
descriptor: Lorg/apache/cassandra/io/sstable/Descriptor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.cassandra.io.sstable.KeyIterator$In in;
descriptor: Lorg/apache/cassandra/io/sstable/KeyIterator$In;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.cassandra.dht.IPartitioner partitioner;
descriptor: Lorg/apache/cassandra/dht/IPartitioner;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private long keyPosition;
descriptor: J
flags: (0x0002) ACC_PRIVATE
public void <init>(org.apache.cassandra.io.sstable.Descriptor, org.apache.cassandra.config.CFMetaData);
descriptor: (Lorg/apache/cassandra/io/sstable/Descriptor;Lorg/apache/cassandra/config/CFMetaData;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.apache.cassandra.utils.AbstractIterator.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.io.sstable.KeyIterator.desc:Lorg/apache/cassandra/io/sstable/Descriptor;
2: aload 0
new org.apache.cassandra.io.sstable.KeyIterator$In
dup
new java.io.File
dup
aload 1
getstatic org.apache.cassandra.io.sstable.Component.PRIMARY_INDEX:Lorg/apache/cassandra/io/sstable/Component;
invokevirtual org.apache.cassandra.io.sstable.Descriptor.filenameFor:(Lorg/apache/cassandra/io/sstable/Component;)Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokespecial org.apache.cassandra.io.sstable.KeyIterator$In.<init>:(Ljava/io/File;)V
putfield org.apache.cassandra.io.sstable.KeyIterator.in:Lorg/apache/cassandra/io/sstable/KeyIterator$In;
3: aload 0
aload 2
getfield org.apache.cassandra.config.CFMetaData.partitioner:Lorg/apache/cassandra/dht/IPartitioner;
putfield org.apache.cassandra.io.sstable.KeyIterator.partitioner:Lorg/apache/cassandra/dht/IPartitioner;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/io/sstable/KeyIterator;
0 5 1 desc Lorg/apache/cassandra/io/sstable/Descriptor;
0 5 2 metadata Lorg/apache/cassandra/config/CFMetaData;
MethodParameters:
Name Flags
desc
metadata
protected org.apache.cassandra.db.DecoratedKey computeNext();
descriptor: ()Lorg/apache/cassandra/db/DecoratedKey;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.io.sstable.KeyIterator.in:Lorg/apache/cassandra/io/sstable/KeyIterator$In;
invokevirtual org.apache.cassandra.io.sstable.KeyIterator$In.isEOF:()Z
ifeq 3
1: aload 0
invokevirtual org.apache.cassandra.io.sstable.KeyIterator.endOfData:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.DecoratedKey
2: areturn
3: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.apache.cassandra.io.sstable.KeyIterator.in:Lorg/apache/cassandra/io/sstable/KeyIterator$In;
invokevirtual org.apache.cassandra.io.sstable.KeyIterator$In.getFilePointer:()J
putfield org.apache.cassandra.io.sstable.KeyIterator.keyPosition:J
4: aload 0
getfield org.apache.cassandra.io.sstable.KeyIterator.partitioner:Lorg/apache/cassandra/dht/IPartitioner;
aload 0
getfield org.apache.cassandra.io.sstable.KeyIterator.in:Lorg/apache/cassandra/io/sstable/KeyIterator$In;
invokevirtual org.apache.cassandra.io.sstable.KeyIterator$In.get:()Lorg/apache/cassandra/io/util/DataInputPlus;
invokestatic org.apache.cassandra.utils.ByteBufferUtil.readWithShortLength:(Ljava/io/DataInput;)Ljava/nio/ByteBuffer;
invokeinterface org.apache.cassandra.dht.IPartitioner.decorateKey:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/DecoratedKey;
astore 1
start local 1 5: aload 0
getfield org.apache.cassandra.io.sstable.KeyIterator.in:Lorg/apache/cassandra/io/sstable/KeyIterator$In;
invokevirtual org.apache.cassandra.io.sstable.KeyIterator$In.get:()Lorg/apache/cassandra/io/util/DataInputPlus;
aload 0
getfield org.apache.cassandra.io.sstable.KeyIterator.desc:Lorg/apache/cassandra/io/sstable/Descriptor;
getfield org.apache.cassandra.io.sstable.Descriptor.version:Lorg/apache/cassandra/io/sstable/format/Version;
invokestatic org.apache.cassandra.db.RowIndexEntry$Serializer.skip:(Lorg/apache/cassandra/io/util/DataInputPlus;Lorg/apache/cassandra/io/sstable/format/Version;)V
6: aload 1
7: areturn
end local 1 8: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 9: new java.lang.RuntimeException
dup
aload 1
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/cassandra/io/sstable/KeyIterator;
5 8 1 key Lorg/apache/cassandra/db/DecoratedKey;
9 10 1 e Ljava/io/IOException;
Exception table:
from to target type
0 2 8 Class java.io.IOException
3 7 8 Class java.io.IOException
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.KeyIterator.in:Lorg/apache/cassandra/io/sstable/KeyIterator$In;
invokevirtual org.apache.cassandra.io.sstable.KeyIterator$In.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/io/sstable/KeyIterator;
public long getBytesRead();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.io.sstable.KeyIterator.in:Lorg/apache/cassandra/io/sstable/KeyIterator$In;
invokevirtual org.apache.cassandra.io.sstable.KeyIterator$In.getFilePointer:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/sstable/KeyIterator;
public long getTotalBytes();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.io.sstable.KeyIterator.in:Lorg/apache/cassandra/io/sstable/KeyIterator$In;
invokevirtual org.apache.cassandra.io.sstable.KeyIterator$In.length:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/sstable/KeyIterator;
public long getKeyPosition();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.io.sstable.KeyIterator.keyPosition:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/sstable/KeyIterator;
protected java.lang.Object computeNext();
descriptor: ()Ljava/lang/Object;
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.apache.cassandra.io.sstable.KeyIterator.computeNext:()Lorg/apache/cassandra/db/DecoratedKey;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/apache/cassandra/utils/AbstractIterator<Lorg/apache/cassandra/db/DecoratedKey;>;Lorg/apache/cassandra/utils/CloseableIterator<Lorg/apache/cassandra/db/DecoratedKey;>;
SourceFile: "KeyIterator.java"
NestMembers:
org.apache.cassandra.io.sstable.KeyIterator$In
InnerClasses:
public final Serializer = org.apache.cassandra.db.RowIndexEntry$Serializer of org.apache.cassandra.db.RowIndexEntry
private final In = org.apache.cassandra.io.sstable.KeyIterator$In of org.apache.cassandra.io.sstable.KeyIterator