public class org.apache.cassandra.streaming.StreamReader$StreamDeserializer extends com.google.common.collect.UnmodifiableIterator<org.apache.cassandra.db.rows.Unfiltered> implements org.apache.cassandra.db.rows.UnfilteredRowIterator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.streaming.StreamReader$StreamDeserializer
super_class: com.google.common.collect.UnmodifiableIterator
{
public static final int INITIAL_MEM_BUFFER_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final int MAX_MEM_BUFFER_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final int MAX_SPILL_FILE_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String BUFFER_FILE_PREFIX;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "buf"
public static final java.lang.String BUFFER_FILE_SUFFIX;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "dat"
private final org.apache.cassandra.config.CFMetaData metadata;
descriptor: Lorg/apache/cassandra/config/CFMetaData;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.cassandra.io.util.DataInputPlus in;
descriptor: Lorg/apache/cassandra/io/util/DataInputPlus;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.cassandra.db.SerializationHeader header;
descriptor: Lorg/apache/cassandra/db/SerializationHeader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.cassandra.db.rows.SerializationHelper helper;
descriptor: Lorg/apache/cassandra/db/rows/SerializationHelper;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.apache.cassandra.db.DecoratedKey key;
descriptor: Lorg/apache/cassandra/db/DecoratedKey;
flags: (0x0002) ACC_PRIVATE
private org.apache.cassandra.db.DeletionTime partitionLevelDeletion;
descriptor: Lorg/apache/cassandra/db/DeletionTime;
flags: (0x0002) ACC_PRIVATE
private org.apache.cassandra.io.sstable.SSTableSimpleIterator iterator;
descriptor: Lorg/apache/cassandra/io/sstable/SSTableSimpleIterator;
flags: (0x0002) ACC_PRIVATE
private org.apache.cassandra.db.rows.Row staticRow;
descriptor: Lorg/apache/cassandra/db/rows/Row;
flags: (0x0002) ACC_PRIVATE
private java.io.IOException exception;
descriptor: Ljava/io/IOException;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc "cassandra.streamdes.initial_mem_buffer_size"
ldc 32768
invokestatic java.lang.Integer.getInteger:(Ljava/lang/String;I)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
putstatic org.apache.cassandra.streaming.StreamReader$StreamDeserializer.INITIAL_MEM_BUFFER_SIZE:I
1: ldc "cassandra.streamdes.max_mem_buffer_size"
ldc 1048576
invokestatic java.lang.Integer.getInteger:(Ljava/lang/String;I)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
putstatic org.apache.cassandra.streaming.StreamReader$StreamDeserializer.MAX_MEM_BUFFER_SIZE:I
2: ldc "cassandra.streamdes.max_spill_file_size"
ldc 2147483647
invokestatic java.lang.Integer.getInteger:(Ljava/lang/String;I)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
putstatic org.apache.cassandra.streaming.StreamReader$StreamDeserializer.MAX_SPILL_FILE_SIZE:I
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.apache.cassandra.config.CFMetaData, java.io.InputStream, org.apache.cassandra.io.sstable.format.Version, org.apache.cassandra.db.SerializationHeader, long, java.util.UUID);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Ljava/io/InputStream;Lorg/apache/cassandra/io/sstable/format/Version;Lorg/apache/cassandra/db/SerializationHeader;JLjava/util/UUID;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=9, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 7 0: aload 0
invokespecial com.google.common.collect.UnmodifiableIterator.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.streaming.StreamReader$StreamDeserializer.metadata:Lorg/apache/cassandra/config/CFMetaData;
2: aload 3
invokevirtual org.apache.cassandra.io.sstable.format.Version.correspondingMessagingVersion:()I
bipush 10
if_icmpge 9
3: getstatic org.apache.cassandra.streaming.StreamReader.logger:Lorg/slf4j/Logger;
ldc "Initializing rewindable input stream for reading legacy sstable with {} bytes with following parameters: initial_mem_buffer_size={}, max_mem_buffer_size={}, max_spill_file_size={}."
iconst_4
anewarray java.lang.Object
dup
iconst_0
4: lload 5
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
getstatic org.apache.cassandra.streaming.StreamReader$StreamDeserializer.INITIAL_MEM_BUFFER_SIZE:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
getstatic org.apache.cassandra.streaming.StreamReader$StreamDeserializer.MAX_MEM_BUFFER_SIZE:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
getstatic org.apache.cassandra.streaming.StreamReader$StreamDeserializer.MAX_SPILL_FILE_SIZE:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
5: invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;[Ljava/lang/Object;)V
6: aload 1
lload 5
aload 7
invokestatic org.apache.cassandra.streaming.StreamReader$StreamDeserializer.getTempBufferFile:(Lorg/apache/cassandra/config/CFMetaData;JLjava/util/UUID;)Ljava/io/File;
astore 8
start local 8 7: aload 0
new org.apache.cassandra.io.util.RewindableDataInputStreamPlus
dup
aload 2
getstatic org.apache.cassandra.streaming.StreamReader$StreamDeserializer.INITIAL_MEM_BUFFER_SIZE:I
getstatic org.apache.cassandra.streaming.StreamReader$StreamDeserializer.MAX_MEM_BUFFER_SIZE:I
aload 8
getstatic org.apache.cassandra.streaming.StreamReader$StreamDeserializer.MAX_SPILL_FILE_SIZE:I
invokespecial org.apache.cassandra.io.util.RewindableDataInputStreamPlus.<init>:(Ljava/io/InputStream;IILjava/io/File;I)V
putfield org.apache.cassandra.streaming.StreamReader$StreamDeserializer.in:Lorg/apache/cassandra/io/util/DataInputPlus;
end local 8 8: goto 10
9: StackMap locals: org.apache.cassandra.streaming.StreamReader$StreamDeserializer org.apache.cassandra.config.CFMetaData java.io.InputStream org.apache.cassandra.io.sstable.format.Version org.apache.cassandra.db.SerializationHeader long java.util.UUID
StackMap stack:
aload 0
new org.apache.cassandra.io.util.DataInputPlus$DataInputStreamPlus
dup
aload 2
invokespecial org.apache.cassandra.io.util.DataInputPlus$DataInputStreamPlus.<init>:(Ljava/io/InputStream;)V
putfield org.apache.cassandra.streaming.StreamReader$StreamDeserializer.in:Lorg/apache/cassandra/io/util/DataInputPlus;
10: StackMap locals:
StackMap stack:
aload 0
new org.apache.cassandra.db.rows.SerializationHelper
dup
aload 1
aload 3
invokevirtual org.apache.cassandra.io.sstable.format.Version.correspondingMessagingVersion:()I
getstatic org.apache.cassandra.db.rows.SerializationHelper$Flag.PRESERVE_SIZE:Lorg/apache/cassandra/db/rows/SerializationHelper$Flag;
invokespecial org.apache.cassandra.db.rows.SerializationHelper.<init>:(Lorg/apache/cassandra/config/CFMetaData;ILorg/apache/cassandra/db/rows/SerializationHelper$Flag;)V
putfield org.apache.cassandra.streaming.StreamReader$StreamDeserializer.helper:Lorg/apache/cassandra/db/rows/SerializationHelper;
11: aload 0
aload 4
putfield org.apache.cassandra.streaming.StreamReader$StreamDeserializer.header:Lorg/apache/cassandra/db/SerializationHeader;
12: return
end local 7 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/cassandra/streaming/StreamReader$StreamDeserializer;
0 13 1 metadata Lorg/apache/cassandra/config/CFMetaData;
0 13 2 in Ljava/io/InputStream;
0 13 3 version Lorg/apache/cassandra/io/sstable/format/Version;
0 13 4 header Lorg/apache/cassandra/db/SerializationHeader;
0 13 5 totalSize J
0 13 7 sessionId Ljava/util/UUID;
7 8 8 bufferFile Ljava/io/File;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
metadata
in
version
header
totalSize
sessionId
public org.apache.cassandra.streaming.StreamReader$StreamDeserializer newPartition();
descriptor: ()Lorg/apache/cassandra/streaming/StreamReader$StreamDeserializer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield org.apache.cassandra.streaming.StreamReader$StreamDeserializer.metadata:Lorg/apache/cassandra/config/CFMetaData;
aload 0
getfield org.apache.cassandra.streaming.StreamReader$StreamDeserializer.in:Lorg/apache/cassandra/io/util/DataInputPlus;
invokestatic org.apache.cassandra.utils.ByteBufferUtil.readWithShortLength:(Ljava/io/DataInput;)Ljava/nio/ByteBuffer;
invokevirtual org.apache.cassandra.config.CFMetaData.decorateKey:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/DecoratedKey;
putfield org.apache.cassandra.streaming.StreamReader$StreamDeserializer.key:Lorg/apache/cassandra/db/DecoratedKey;
1: aload 0
getstatic org.apache.cassandra.db.DeletionTime.serializer:Lorg/apache/cassandra/db/DeletionTime$Serializer;
aload 0
getfield org.apache.cassandra.streaming.StreamReader$StreamDeserializer.in:Lorg/apache/cassandra/io/util/DataInputPlus;
invokevirtual org.apache.cassandra.db.DeletionTime$Serializer.deserialize:(Lorg/apache/cassandra/io/util/DataInputPlus;)Lorg/apache/cassandra/db/DeletionTime;
putfield org.apache.cassandra.streaming.StreamReader$StreamDeserializer.partitionLevelDeletion:Lorg/apache/cassandra/db/DeletionTime;
2: aload 0
aload 0
getfield org.apache.cassandra.streaming.StreamReader$StreamDeserializer.metadata:Lorg/apache/cassandra/config/CFMetaData;
aload 0
getfield org.apache.cassandra.streaming.StreamReader$StreamDeserializer.in:Lorg/apache/cassandra/io/util/DataInputPlus;
aload 0
getfield org.apache.cassandra.streaming.StreamReader$StreamDeserializer.header:Lorg/apache/cassandra/db/SerializationHeader;
aload 0
getfield org.apache.cassandra.streaming.StreamReader$StreamDeserializer.helper:Lorg/apache/cassandra/db/rows/SerializationHelper;
aload 0
getfield org.apache.cassandra.streaming.StreamReader$StreamDeserializer.partitionLevelDeletion:Lorg/apache/cassandra/db/DeletionTime;
invokestatic org.apache.cassandra.io.sstable.SSTableSimpleIterator.create:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/io/util/DataInputPlus;Lorg/apache/cassandra/db/SerializationHeader;Lorg/apache/cassandra/db/rows/SerializationHelper;Lorg/apache/cassandra/db/DeletionTime;)Lorg/apache/cassandra/io/sstable/SSTableSimpleIterator;
putfield org.apache.cassandra.streaming.StreamReader$StreamDeserializer.iterator:Lorg/apache/cassandra/io/sstable/SSTableSimpleIterator;
3: aload 0
aload 0
getfield org.apache.cassandra.streaming.StreamReader$StreamDeserializer.iterator:Lorg/apache/cassandra/io/sstable/SSTableSimpleIterator;
invokevirtual org.apache.cassandra.io.sstable.SSTableSimpleIterator.readStaticRow:()Lorg/apache/cassandra/db/rows/Row;
putfield org.apache.cassandra.streaming.StreamReader$StreamDeserializer.staticRow:Lorg/apache/cassandra/db/rows/Row;
4: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/streaming/StreamReader$StreamDeserializer;
Exceptions:
throws java.io.IOException
public org.apache.cassandra.config.CFMetaData metadata();
descriptor: ()Lorg/apache/cassandra/config/CFMetaData;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.streaming.StreamReader$StreamDeserializer.metadata:Lorg/apache/cassandra/config/CFMetaData;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/streaming/StreamReader$StreamDeserializer;
public org.apache.cassandra.db.PartitionColumns columns();
descriptor: ()Lorg/apache/cassandra/db/PartitionColumns;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.streaming.StreamReader$StreamDeserializer.metadata:Lorg/apache/cassandra/config/CFMetaData;
invokevirtual org.apache.cassandra.config.CFMetaData.partitionColumns:()Lorg/apache/cassandra/db/PartitionColumns;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/streaming/StreamReader$StreamDeserializer;
public boolean isReverseOrder();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/streaming/StreamReader$StreamDeserializer;
public org.apache.cassandra.db.DecoratedKey partitionKey();
descriptor: ()Lorg/apache/cassandra/db/DecoratedKey;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.streaming.StreamReader$StreamDeserializer.key:Lorg/apache/cassandra/db/DecoratedKey;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/streaming/StreamReader$StreamDeserializer;
public org.apache.cassandra.db.DeletionTime partitionLevelDeletion();
descriptor: ()Lorg/apache/cassandra/db/DeletionTime;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.streaming.StreamReader$StreamDeserializer.partitionLevelDeletion:Lorg/apache/cassandra/db/DeletionTime;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/streaming/StreamReader$StreamDeserializer;
public org.apache.cassandra.db.rows.Row staticRow();
descriptor: ()Lorg/apache/cassandra/db/rows/Row;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.streaming.StreamReader$StreamDeserializer.staticRow:Lorg/apache/cassandra/db/rows/Row;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/streaming/StreamReader$StreamDeserializer;
public org.apache.cassandra.db.rows.EncodingStats stats();
descriptor: ()Lorg/apache/cassandra/db/rows/EncodingStats;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.streaming.StreamReader$StreamDeserializer.header:Lorg/apache/cassandra/db/SerializationHeader;
invokevirtual org.apache.cassandra.db.SerializationHeader.stats:()Lorg/apache/cassandra/db/rows/EncodingStats;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/streaming/StreamReader$StreamDeserializer;
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.streaming.StreamReader$StreamDeserializer.iterator:Lorg/apache/cassandra/io/sstable/SSTableSimpleIterator;
invokevirtual org.apache.cassandra.io.sstable.SSTableSimpleIterator.hasNext:()Z
1: ireturn
2: StackMap locals:
StackMap stack: java.io.IOError
astore 1
start local 1 3: aload 1
invokevirtual java.io.IOError.getCause:()Ljava/lang/Throwable;
ifnull 6
aload 1
invokevirtual java.io.IOError.getCause:()Ljava/lang/Throwable;
instanceof java.io.IOException
ifeq 6
4: aload 0
aload 1
invokevirtual java.io.IOError.getCause:()Ljava/lang/Throwable;
checkcast java.io.IOException
putfield org.apache.cassandra.streaming.StreamReader$StreamDeserializer.exception:Ljava/io/IOException;
5: iconst_0
ireturn
6: StackMap locals: java.io.IOError
StackMap stack:
aload 1
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/streaming/StreamReader$StreamDeserializer;
3 7 1 e Ljava/io/IOError;
Exception table:
from to target type
0 1 2 Class java.io.IOError
public org.apache.cassandra.db.rows.Unfiltered next();
descriptor: ()Lorg/apache/cassandra/db/rows/Unfiltered;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.streaming.StreamReader$StreamDeserializer.iterator:Lorg/apache/cassandra/io/sstable/SSTableSimpleIterator;
invokevirtual org.apache.cassandra.io.sstable.SSTableSimpleIterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.rows.Unfiltered
astore 1
start local 1 1: aload 0
getfield org.apache.cassandra.streaming.StreamReader$StreamDeserializer.metadata:Lorg/apache/cassandra/config/CFMetaData;
invokevirtual org.apache.cassandra.config.CFMetaData.isCounter:()Z
ifeq 3
aload 1
invokeinterface org.apache.cassandra.db.rows.Unfiltered.kind:()Lorg/apache/cassandra/db/rows/Unfiltered$Kind;
getstatic org.apache.cassandra.db.rows.Unfiltered$Kind.ROW:Lorg/apache/cassandra/db/rows/Unfiltered$Kind;
if_acmpne 3
2: aload 0
aload 1
checkcast org.apache.cassandra.db.rows.Row
invokevirtual org.apache.cassandra.streaming.StreamReader$StreamDeserializer.maybeMarkLocalToBeCleared:(Lorg/apache/cassandra/db/rows/Row;)Lorg/apache/cassandra/db/rows/Row;
goto 4
3: StackMap locals: org.apache.cassandra.db.rows.Unfiltered
StackMap stack:
aload 1
4: StackMap locals:
StackMap stack: org.apache.cassandra.db.rows.Unfiltered
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/streaming/StreamReader$StreamDeserializer;
1 5 1 unfiltered Lorg/apache/cassandra/db/rows/Unfiltered;
private org.apache.cassandra.db.rows.Row maybeMarkLocalToBeCleared(org.apache.cassandra.db.rows.Row);
descriptor: (Lorg/apache/cassandra/db/rows/Row;)Lorg/apache/cassandra/db/rows/Row;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.streaming.StreamReader$StreamDeserializer.metadata:Lorg/apache/cassandra/config/CFMetaData;
invokevirtual org.apache.cassandra.config.CFMetaData.isCounter:()Z
ifeq 1
aload 1
invokeinterface org.apache.cassandra.db.rows.Row.markCounterLocalToBeCleared:()Lorg/apache/cassandra/db/rows/Row;
goto 2
StackMap locals:
StackMap stack:
1: aload 1
StackMap locals:
StackMap stack: org.apache.cassandra.db.rows.Row
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/streaming/StreamReader$StreamDeserializer;
0 3 1 row Lorg/apache/cassandra/db/rows/Row;
MethodParameters:
Name Flags
row
public void checkForExceptions();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.streaming.StreamReader$StreamDeserializer.exception:Ljava/io/IOException;
ifnull 2
1: aload 0
getfield org.apache.cassandra.streaming.StreamReader$StreamDeserializer.exception:Ljava/io/IOException;
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/streaming/StreamReader$StreamDeserializer;
Exceptions:
throws java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/streaming/StreamReader$StreamDeserializer;
public void cleanup();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.streaming.StreamReader$StreamDeserializer.in:Lorg/apache/cassandra/io/util/DataInputPlus;
instanceof org.apache.cassandra.io.util.RewindableDataInputStreamPlus
ifeq 5
1: aload 0
getfield org.apache.cassandra.streaming.StreamReader$StreamDeserializer.in:Lorg/apache/cassandra/io/util/DataInputPlus;
checkcast org.apache.cassandra.io.util.RewindableDataInputStreamPlus
iconst_0
invokevirtual org.apache.cassandra.io.util.RewindableDataInputStreamPlus.close:(Z)V
2: goto 5
3: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 4: getstatic org.apache.cassandra.streaming.StreamReader.logger:Lorg/slf4j/Logger;
ldc "Error while closing RewindableDataInputStreamPlus."
aload 1
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 1 5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/streaming/StreamReader$StreamDeserializer;
4 5 1 e Ljava/io/IOException;
Exception table:
from to target type
1 2 3 Class java.io.IOException
private static java.io.File getTempBufferFile(org.apache.cassandra.config.CFMetaData, long, java.util.UUID);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;JLjava/util/UUID;)Ljava/io/File;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=8, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
invokestatic org.apache.cassandra.db.Keyspace.open:(Ljava/lang/String;)Lorg/apache/cassandra/db/Keyspace;
aload 0
getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
invokevirtual org.apache.cassandra.db.Keyspace.getColumnFamilyStore:(Ljava/lang/String;)Lorg/apache/cassandra/db/ColumnFamilyStore;
astore 4
start local 4 1: aload 4
ifnonnull 3
2: new java.lang.RuntimeException
dup
ldc "CF %s.%s was dropped during streaming"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore
StackMap stack:
getstatic org.apache.cassandra.streaming.StreamReader$StreamDeserializer.MAX_SPILL_FILE_SIZE:I
i2l
lload 1
invokestatic java.lang.Math.min:(JJ)J
lstore 5
start local 5 4: aload 4
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getDirectories:()Lorg/apache/cassandra/db/Directories;
lload 5
invokevirtual org.apache.cassandra.db.Directories.getTemporaryWriteableDirectoryAsFile:(J)Ljava/io/File;
astore 7
start local 7 5: aload 7
ifnonnull 9
6: new java.io.IOException
dup
ldc "No sufficient disk space to stream legacy sstable from {}.{}. Required disk space: %s."
iconst_1
anewarray java.lang.Object
dup
iconst_0
7: lload 5
invokestatic org.apache.cassandra.utils.FBUtilities.prettyPrintMemory:(J)Ljava/lang/String;
aastore
8: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: long java.io.File
StackMap stack:
new java.io.File
dup
aload 7
ldc "%s-%s.%s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
ldc "buf"
aastore
dup
iconst_1
aload 3
aastore
dup
iconst_2
ldc "dat"
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
areturn
end local 7 end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 metadata Lorg/apache/cassandra/config/CFMetaData;
0 10 1 totalSize J
0 10 3 sessionId Ljava/util/UUID;
1 10 4 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
4 10 5 maxSize J
5 10 7 tmpDir Ljava/io/File;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
metadata
totalSize
sessionId
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.streaming.StreamReader$StreamDeserializer.next:()Lorg/apache/cassandra/db/rows/Unfiltered;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lcom/google/common/collect/UnmodifiableIterator<Lorg/apache/cassandra/db/rows/Unfiltered;>;Lorg/apache/cassandra/db/rows/UnfilteredRowIterator;
SourceFile: "StreamReader.java"
NestHost: org.apache.cassandra.streaming.StreamReader
InnerClasses:
public Serializer = org.apache.cassandra.db.DeletionTime$Serializer of org.apache.cassandra.db.DeletionTime
public final Flag = org.apache.cassandra.db.rows.SerializationHelper$Flag of org.apache.cassandra.db.rows.SerializationHelper
public final Kind = org.apache.cassandra.db.rows.Unfiltered$Kind of org.apache.cassandra.db.rows.Unfiltered
public DataInputStreamPlus = org.apache.cassandra.io.util.DataInputPlus$DataInputStreamPlus of org.apache.cassandra.io.util.DataInputPlus
public StreamDeserializer = org.apache.cassandra.streaming.StreamReader$StreamDeserializer of org.apache.cassandra.streaming.StreamReader