public class org.apache.cassandra.io.sstable.Descriptor
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.io.sstable.Descriptor
super_class: java.lang.Object
{
public static java.lang.String TMP_EXT;
descriptor: Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
public final java.io.File directory;
descriptor: Ljava/io/File;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final org.apache.cassandra.io.sstable.format.Version version;
descriptor: Lorg/apache/cassandra/io/sstable/format/Version;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final java.lang.String ksname;
descriptor: Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final java.lang.String cfname;
descriptor: Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final int generation;
descriptor: I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final org.apache.cassandra.io.sstable.format.SSTableFormat$Type formatType;
descriptor: Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final org.apache.cassandra.io.sstable.Component digestComponent;
descriptor: Lorg/apache/cassandra/io/sstable/Component;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
private final int hashCode;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final java.lang.String LEGACY_COMP_IN_PROG_REGEX_STR;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "^compactions_in_progress(\\-[\\d,a-f]{32})?$"
private static final java.util.regex.Pattern LEGACY_COMP_IN_PROG_REGEX;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String LEGACY_TMP_REGEX_STR;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "^((.*)\\-(.*)\\-)?tmp(link)?\\-((?:l|k).)\\-(\\d)*\\-(.*)$"
private static final java.util.regex.Pattern LEGACY_TMP_REGEX;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, 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/cassandra/io/sstable/Descriptor;
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.cassandra.io.sstable.Descriptor.$assertionsDisabled:Z
3: ldc ".tmp"
putstatic org.apache.cassandra.io.sstable.Descriptor.TMP_EXT:Ljava/lang/String;
4: ldc "^compactions_in_progress(\\-[\\d,a-f]{32})?$"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic org.apache.cassandra.io.sstable.Descriptor.LEGACY_COMP_IN_PROG_REGEX:Ljava/util/regex/Pattern;
5: ldc "^((.*)\\-(.*)\\-)?tmp(link)?\\-((?:l|k).)\\-(\\d)*\\-(.*)$"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic org.apache.cassandra.io.sstable.Descriptor.LEGACY_TMP_REGEX:Ljava/util/regex/Pattern;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.io.File, java.lang.String, java.lang.String, int);
descriptor: (Ljava/io/File;Ljava/lang/String;Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokestatic org.apache.cassandra.io.sstable.format.SSTableFormat$Type.current:()Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;
getfield org.apache.cassandra.io.sstable.format.SSTableFormat$Type.info:Lorg/apache/cassandra/io/sstable/format/SSTableFormat;
invokeinterface org.apache.cassandra.io.sstable.format.SSTableFormat.getLatestVersion:()Lorg/apache/cassandra/io/sstable/format/Version;
aload 1
aload 2
aload 3
iload 4
invokestatic org.apache.cassandra.io.sstable.format.SSTableFormat$Type.current:()Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;
aconst_null
invokespecial org.apache.cassandra.io.sstable.Descriptor.<init>:(Lorg/apache/cassandra/io/sstable/format/Version;Ljava/io/File;Ljava/lang/String;Ljava/lang/String;ILorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;Lorg/apache/cassandra/io/sstable/Component;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/io/sstable/Descriptor;
0 2 1 directory Ljava/io/File;
0 2 2 ksname Ljava/lang/String;
0 2 3 cfname Ljava/lang/String;
0 2 4 generation I
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
com.google.common.annotations.VisibleForTesting()
MethodParameters:
Name Flags
directory
ksname
cfname
generation
public void <init>(java.io.File, java.lang.String, java.lang.String, int, org.apache.cassandra.io.sstable.format.SSTableFormat$Type);
descriptor: (Ljava/io/File;Ljava/lang/String;Ljava/lang/String;ILorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 5
getfield org.apache.cassandra.io.sstable.format.SSTableFormat$Type.info:Lorg/apache/cassandra/io/sstable/format/SSTableFormat;
invokeinterface org.apache.cassandra.io.sstable.format.SSTableFormat.getLatestVersion:()Lorg/apache/cassandra/io/sstable/format/Version;
aload 1
aload 2
aload 3
iload 4
aload 5
aload 5
getfield org.apache.cassandra.io.sstable.format.SSTableFormat$Type.info:Lorg/apache/cassandra/io/sstable/format/SSTableFormat;
invokeinterface org.apache.cassandra.io.sstable.format.SSTableFormat.getLatestVersion:()Lorg/apache/cassandra/io/sstable/format/Version;
invokevirtual org.apache.cassandra.io.sstable.format.Version.uncompressedChecksumType:()Lorg/apache/cassandra/utils/ChecksumType;
invokestatic org.apache.cassandra.io.sstable.Component.digestFor:(Lorg/apache/cassandra/utils/ChecksumType;)Lorg/apache/cassandra/io/sstable/Component;
invokespecial org.apache.cassandra.io.sstable.Descriptor.<init>:(Lorg/apache/cassandra/io/sstable/format/Version;Ljava/io/File;Ljava/lang/String;Ljava/lang/String;ILorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;Lorg/apache/cassandra/io/sstable/Component;)V
1: return
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 2 0 this Lorg/apache/cassandra/io/sstable/Descriptor;
0 2 1 directory Ljava/io/File;
0 2 2 ksname Ljava/lang/String;
0 2 3 cfname Ljava/lang/String;
0 2 4 generation I
0 2 5 formatType Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;
MethodParameters:
Name Flags
directory
ksname
cfname
generation
formatType
public void <init>(java.lang.String, java.io.File, java.lang.String, java.lang.String, int, org.apache.cassandra.io.sstable.format.SSTableFormat$Type);
descriptor: (Ljava/lang/String;Ljava/io/File;Ljava/lang/String;Ljava/lang/String;ILorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 6
getfield org.apache.cassandra.io.sstable.format.SSTableFormat$Type.info:Lorg/apache/cassandra/io/sstable/format/SSTableFormat;
aload 1
invokeinterface org.apache.cassandra.io.sstable.format.SSTableFormat.getVersion:(Ljava/lang/String;)Lorg/apache/cassandra/io/sstable/format/Version;
aload 2
aload 3
aload 4
iload 5
aload 6
aload 6
getfield org.apache.cassandra.io.sstable.format.SSTableFormat$Type.info:Lorg/apache/cassandra/io/sstable/format/SSTableFormat;
invokeinterface org.apache.cassandra.io.sstable.format.SSTableFormat.getLatestVersion:()Lorg/apache/cassandra/io/sstable/format/Version;
invokevirtual org.apache.cassandra.io.sstable.format.Version.uncompressedChecksumType:()Lorg/apache/cassandra/utils/ChecksumType;
invokestatic org.apache.cassandra.io.sstable.Component.digestFor:(Lorg/apache/cassandra/utils/ChecksumType;)Lorg/apache/cassandra/io/sstable/Component;
invokespecial org.apache.cassandra.io.sstable.Descriptor.<init>:(Lorg/apache/cassandra/io/sstable/format/Version;Ljava/io/File;Ljava/lang/String;Ljava/lang/String;ILorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;Lorg/apache/cassandra/io/sstable/Component;)V
1: return
end local 6 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 2 0 this Lorg/apache/cassandra/io/sstable/Descriptor;
0 2 1 version Ljava/lang/String;
0 2 2 directory Ljava/io/File;
0 2 3 ksname Ljava/lang/String;
0 2 4 cfname Ljava/lang/String;
0 2 5 generation I
0 2 6 formatType Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
com.google.common.annotations.VisibleForTesting()
MethodParameters:
Name Flags
version
directory
ksname
cfname
generation
formatType
public void <init>(org.apache.cassandra.io.sstable.format.Version, java.io.File, java.lang.String, java.lang.String, int, org.apache.cassandra.io.sstable.format.SSTableFormat$Type, org.apache.cassandra.io.sstable.Component);
descriptor: (Lorg/apache/cassandra/io/sstable/format/Version;Ljava/io/File;Ljava/lang/String;Ljava/lang/String;ILorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;Lorg/apache/cassandra/io/sstable/Component;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: getstatic org.apache.cassandra.io.sstable.Descriptor.$assertionsDisabled:Z
ifne 3
aload 1
ifnull 2
aload 2
ifnull 2
aload 3
ifnull 2
aload 4
ifnull 2
aload 6
getfield org.apache.cassandra.io.sstable.format.SSTableFormat$Type.info:Lorg/apache/cassandra/io/sstable/format/SSTableFormat;
invokeinterface org.apache.cassandra.io.sstable.format.SSTableFormat.getLatestVersion:()Lorg/apache/cassandra/io/sstable/format/Version;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 3
StackMap locals: org.apache.cassandra.io.sstable.Descriptor org.apache.cassandra.io.sstable.format.Version java.io.File java.lang.String java.lang.String int org.apache.cassandra.io.sstable.format.SSTableFormat$Type org.apache.cassandra.io.sstable.Component
StackMap stack:
2: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.cassandra.io.sstable.Descriptor.version:Lorg/apache/cassandra/io/sstable/format/Version;
4: aload 0
aload 2
invokevirtual java.io.File.getCanonicalFile:()Ljava/io/File;
putfield org.apache.cassandra.io.sstable.Descriptor.directory:Ljava/io/File;
5: goto 8
6: StackMap locals:
StackMap stack: java.io.IOException
astore 8
start local 8 7: new java.io.IOError
dup
aload 8
invokespecial java.io.IOError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 8 8: StackMap locals:
StackMap stack:
aload 0
aload 3
putfield org.apache.cassandra.io.sstable.Descriptor.ksname:Ljava/lang/String;
9: aload 0
aload 4
putfield org.apache.cassandra.io.sstable.Descriptor.cfname:Ljava/lang/String;
10: aload 0
iload 5
putfield org.apache.cassandra.io.sstable.Descriptor.generation:I
11: aload 0
aload 6
putfield org.apache.cassandra.io.sstable.Descriptor.formatType:Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;
12: aload 0
aload 7
putfield org.apache.cassandra.io.sstable.Descriptor.digestComponent:Lorg/apache/cassandra/io/sstable/Component;
13: aload 0
bipush 6
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.io.sstable.Descriptor.directory:Ljava/io/File;
aastore
dup
iconst_2
iload 5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
aload 3
aastore
dup
iconst_4
aload 4
aastore
dup
iconst_5
aload 6
aastore
invokestatic com.google.common.base.Objects.hashCode:([Ljava/lang/Object;)I
putfield org.apache.cassandra.io.sstable.Descriptor.hashCode:I
14: return
end local 7 end local 6 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 15 0 this Lorg/apache/cassandra/io/sstable/Descriptor;
0 15 1 version Lorg/apache/cassandra/io/sstable/format/Version;
0 15 2 directory Ljava/io/File;
0 15 3 ksname Ljava/lang/String;
0 15 4 cfname Ljava/lang/String;
0 15 5 generation I
0 15 6 formatType Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;
0 15 7 digestComponent Lorg/apache/cassandra/io/sstable/Component;
7 8 8 e Ljava/io/IOException;
Exception table:
from to target type
4 5 6 Class java.io.IOException
MethodParameters:
Name Flags
version
directory
ksname
cfname
generation
formatType
digestComponent
public org.apache.cassandra.io.sstable.Descriptor withGeneration(int);
descriptor: (I)Lorg/apache/cassandra/io/sstable/Descriptor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=2, args_size=2
start local 0 start local 1 0: new org.apache.cassandra.io.sstable.Descriptor
dup
aload 0
getfield org.apache.cassandra.io.sstable.Descriptor.version:Lorg/apache/cassandra/io/sstable/format/Version;
aload 0
getfield org.apache.cassandra.io.sstable.Descriptor.directory:Ljava/io/File;
aload 0
getfield org.apache.cassandra.io.sstable.Descriptor.ksname:Ljava/lang/String;
aload 0
getfield org.apache.cassandra.io.sstable.Descriptor.cfname:Ljava/lang/String;
iload 1
aload 0
getfield org.apache.cassandra.io.sstable.Descriptor.formatType:Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;
aload 0
getfield org.apache.cassandra.io.sstable.Descriptor.digestComponent:Lorg/apache/cassandra/io/sstable/Component;
invokespecial org.apache.cassandra.io.sstable.Descriptor.<init>:(Lorg/apache/cassandra/io/sstable/format/Version;Ljava/io/File;Ljava/lang/String;Ljava/lang/String;ILorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;Lorg/apache/cassandra/io/sstable/Component;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/sstable/Descriptor;
0 1 1 newGeneration I
MethodParameters:
Name Flags
newGeneration
public org.apache.cassandra.io.sstable.Descriptor withFormatType(org.apache.cassandra.io.sstable.format.SSTableFormat$Type);
descriptor: (Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;)Lorg/apache/cassandra/io/sstable/Descriptor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=2, args_size=2
start local 0 start local 1 0: new org.apache.cassandra.io.sstable.Descriptor
dup
aload 1
getfield org.apache.cassandra.io.sstable.format.SSTableFormat$Type.info:Lorg/apache/cassandra/io/sstable/format/SSTableFormat;
invokeinterface org.apache.cassandra.io.sstable.format.SSTableFormat.getLatestVersion:()Lorg/apache/cassandra/io/sstable/format/Version;
aload 0
getfield org.apache.cassandra.io.sstable.Descriptor.directory:Ljava/io/File;
aload 0
getfield org.apache.cassandra.io.sstable.Descriptor.ksname:Ljava/lang/String;
aload 0
getfield org.apache.cassandra.io.sstable.Descriptor.cfname:Ljava/lang/String;
aload 0
getfield org.apache.cassandra.io.sstable.Descriptor.generation:I
aload 1
aload 0
getfield org.apache.cassandra.io.sstable.Descriptor.digestComponent:Lorg/apache/cassandra/io/sstable/Component;
invokespecial org.apache.cassandra.io.sstable.Descriptor.<init>:(Lorg/apache/cassandra/io/sstable/format/Version;Ljava/io/File;Ljava/lang/String;Ljava/lang/String;ILorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;Lorg/apache/cassandra/io/sstable/Component;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/sstable/Descriptor;
0 1 1 newType Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;
MethodParameters:
Name Flags
newType
public org.apache.cassandra.io.sstable.Descriptor withDigestComponent(org.apache.cassandra.io.sstable.Component);
descriptor: (Lorg/apache/cassandra/io/sstable/Component;)Lorg/apache/cassandra/io/sstable/Descriptor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=2, args_size=2
start local 0 start local 1 0: new org.apache.cassandra.io.sstable.Descriptor
dup
aload 0
getfield org.apache.cassandra.io.sstable.Descriptor.version:Lorg/apache/cassandra/io/sstable/format/Version;
aload 0
getfield org.apache.cassandra.io.sstable.Descriptor.directory:Ljava/io/File;
aload 0
getfield org.apache.cassandra.io.sstable.Descriptor.ksname:Ljava/lang/String;
aload 0
getfield org.apache.cassandra.io.sstable.Descriptor.cfname:Ljava/lang/String;
aload 0
getfield org.apache.cassandra.io.sstable.Descriptor.generation:I
aload 0
getfield org.apache.cassandra.io.sstable.Descriptor.formatType:Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;
aload 1
invokespecial org.apache.cassandra.io.sstable.Descriptor.<init>:(Lorg/apache/cassandra/io/sstable/format/Version;Ljava/io/File;Ljava/lang/String;Ljava/lang/String;ILorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;Lorg/apache/cassandra/io/sstable/Component;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/sstable/Descriptor;
0 1 1 newDigestComponent Lorg/apache/cassandra/io/sstable/Component;
MethodParameters:
Name Flags
newDigestComponent
public java.lang.String tmpFilenameFor(org.apache.cassandra.io.sstable.Component);
descriptor: (Lorg/apache/cassandra/io/sstable/Component;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
aload 0
aload 1
invokevirtual org.apache.cassandra.io.sstable.Descriptor.filenameFor:(Lorg/apache/cassandra/io/sstable/Component;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic org.apache.cassandra.io.sstable.Descriptor.TMP_EXT:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/sstable/Descriptor;
0 1 1 component Lorg/apache/cassandra/io/sstable/Component;
MethodParameters:
Name Flags
component
public java.lang.String filenameFor(org.apache.cassandra.io.sstable.Component);
descriptor: (Lorg/apache/cassandra/io/sstable/Component;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
aload 0
invokevirtual org.apache.cassandra.io.sstable.Descriptor.baseFilename:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 45
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 1
invokevirtual org.apache.cassandra.io.sstable.Component.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/sstable/Descriptor;
0 1 1 component Lorg/apache/cassandra/io/sstable/Component;
MethodParameters:
Name Flags
component
public java.lang.String baseFilename();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
getfield org.apache.cassandra.io.sstable.Descriptor.directory:Ljava/io/File;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
getstatic java.io.File.separatorChar:C
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
2: aload 0
aload 1
invokevirtual org.apache.cassandra.io.sstable.Descriptor.appendFileName:(Ljava/lang/StringBuilder;)V
3: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/io/sstable/Descriptor;
1 4 1 buff Ljava/lang/StringBuilder;
private void appendFileName(java.lang.StringBuilder);
descriptor: (Ljava/lang/StringBuilder;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.io.sstable.Descriptor.version:Lorg/apache/cassandra/io/sstable/format/Version;
invokevirtual org.apache.cassandra.io.sstable.format.Version.hasNewFileName:()Z
ifne 3
1: aload 1
aload 0
getfield org.apache.cassandra.io.sstable.Descriptor.ksname:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 45
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
2: aload 1
aload 0
getfield org.apache.cassandra.io.sstable.Descriptor.cfname:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 45
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
3: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.apache.cassandra.io.sstable.Descriptor.version:Lorg/apache/cassandra/io/sstable/format/Version;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
bipush 45
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
4: aload 1
aload 0
getfield org.apache.cassandra.io.sstable.Descriptor.generation:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
5: aload 0
getfield org.apache.cassandra.io.sstable.Descriptor.formatType:Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;
getstatic org.apache.cassandra.io.sstable.format.SSTableFormat$Type.LEGACY:Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;
if_acmpeq 7
6: aload 1
bipush 45
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.cassandra.io.sstable.Descriptor.formatType:Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;
getfield org.apache.cassandra.io.sstable.format.SSTableFormat$Type.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/io/sstable/Descriptor;
0 8 1 buff Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
buff
public java.lang.String relativeFilenameFor(org.apache.cassandra.io.sstable.Component);
descriptor: (Lorg/apache/cassandra/io/sstable/Component;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 1: aload 0
aload 2
invokevirtual org.apache.cassandra.io.sstable.Descriptor.appendFileName:(Ljava/lang/StringBuilder;)V
2: aload 2
bipush 45
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 1
invokevirtual org.apache.cassandra.io.sstable.Component.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/io/sstable/Descriptor;
0 4 1 component Lorg/apache/cassandra/io/sstable/Component;
1 4 2 buff Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
component
public org.apache.cassandra.io.sstable.format.SSTableFormat getFormat();
descriptor: ()Lorg/apache/cassandra/io/sstable/format/SSTableFormat;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.io.sstable.Descriptor.formatType:Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;
getfield org.apache.cassandra.io.sstable.format.SSTableFormat$Type.info:Lorg/apache/cassandra/io/sstable/format/SSTableFormat;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/sstable/Descriptor;
public java.util.List<java.io.File> getTemporaryFiles();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
getfield org.apache.cassandra.io.sstable.Descriptor.directory:Ljava/io/File;
invokedynamic accept()Ljava/io/FilenameFilter;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/io/File;Ljava/lang/String;)Z
org/apache/cassandra/io/sstable/Descriptor.lambda$0(Ljava/io/File;Ljava/lang/String;)Z (6)
(Ljava/io/File;Ljava/lang/String;)Z
invokevirtual java.io.File.listFiles:(Ljava/io/FilenameFilter;)[Ljava/io/File;
astore 2
start local 2 2: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 6
StackMap locals: org.apache.cassandra.io.sstable.Descriptor java.util.List java.io.File[] top int int java.io.File[]
StackMap stack:
3: aload 6
iload 4
aaload
astore 3
start local 3 4: aload 1
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 5: iinc 4 1
StackMap locals:
StackMap stack:
6: iload 4
iload 5
if_icmplt 3
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/io/sstable/Descriptor;
1 8 1 ret Ljava/util/List<Ljava/io/File;>;
2 8 2 tmpFiles [Ljava/io/File;
4 5 3 tmpFile Ljava/io/File;
Signature: ()Ljava/util/List<Ljava/io/File;>;
public static boolean isLegacyFile(java.io.File);
descriptor: (Ljava/io/File;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.io.File.isDirectory:()Z
ifeq 6
1: aload 0
invokevirtual java.io.File.getParentFile:()Ljava/io/File;
ifnull 5
2: aload 0
invokevirtual java.io.File.getParentFile:()Ljava/io/File;
invokevirtual java.io.File.getName:()Ljava/lang/String;
ldc "system"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 5
3: getstatic org.apache.cassandra.io.sstable.Descriptor.LEGACY_COMP_IN_PROG_REGEX:Ljava/util/regex/Pattern;
aload 0
invokevirtual java.io.File.getName:()Ljava/lang/String;
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
invokevirtual java.util.regex.Matcher.matches:()Z
ifeq 5
4: iconst_1
ireturn
StackMap locals:
StackMap stack:
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.io.sstable.Descriptor.LEGACY_TMP_REGEX:Ljava/util/regex/Pattern;
aload 0
invokevirtual java.io.File.getName:()Ljava/lang/String;
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
invokevirtual java.util.regex.Matcher.matches:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 file Ljava/io/File;
MethodParameters:
Name Flags
file
public static boolean isValidFile(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc ".db"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 1
getstatic org.apache.cassandra.io.sstable.Descriptor.LEGACY_TMP_REGEX:Ljava/util/regex/Pattern;
aload 0
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
invokevirtual java.util.regex.Matcher.matches:()Z
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 fileName Ljava/lang/String;
MethodParameters:
Name Flags
fileName
public static org.apache.cassandra.io.sstable.Descriptor fromFilename(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/cassandra/io/sstable/Descriptor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokestatic org.apache.cassandra.io.sstable.Descriptor.fromFilename:(Ljava/lang/String;Z)Lorg/apache/cassandra/io/sstable/Descriptor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 filename Ljava/lang/String;
MethodParameters:
Name Flags
filename
public static org.apache.cassandra.io.sstable.Descriptor fromFilename(java.lang.String, org.apache.cassandra.io.sstable.format.SSTableFormat$Type);
descriptor: (Ljava/lang/String;Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;)Lorg/apache/cassandra/io/sstable/Descriptor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic org.apache.cassandra.io.sstable.Descriptor.fromFilename:(Ljava/lang/String;)Lorg/apache/cassandra/io/sstable/Descriptor;
aload 1
invokevirtual org.apache.cassandra.io.sstable.Descriptor.withFormatType:(Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;)Lorg/apache/cassandra/io/sstable/Descriptor;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 filename Ljava/lang/String;
0 1 1 formatType Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;
MethodParameters:
Name Flags
filename
formatType
public static org.apache.cassandra.io.sstable.Descriptor fromFilename(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Lorg/apache/cassandra/io/sstable/Descriptor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new java.io.File
dup
aload 0
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.getAbsoluteFile:()Ljava/io/File;
astore 2
start local 2 1: aload 2
invokevirtual java.io.File.getParentFile:()Ljava/io/File;
aload 2
invokevirtual java.io.File.getName:()Ljava/lang/String;
iload 1
invokestatic org.apache.cassandra.io.sstable.Descriptor.fromFilename:(Ljava/io/File;Ljava/lang/String;Z)Lorg/apache/cassandra/utils/Pair;
getfield org.apache.cassandra.utils.Pair.left:Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.Descriptor
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 filename Ljava/lang/String;
0 2 1 skipComponent Z
1 2 2 file Ljava/io/File;
MethodParameters:
Name Flags
filename
skipComponent
public static org.apache.cassandra.utils.Pair<org.apache.cassandra.io.sstable.Descriptor, java.lang.String> fromFilename(java.io.File, java.lang.String);
descriptor: (Ljava/io/File;Ljava/lang/String;)Lorg/apache/cassandra/utils/Pair;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokestatic org.apache.cassandra.io.sstable.Descriptor.fromFilename:(Ljava/io/File;Ljava/lang/String;Z)Lorg/apache/cassandra/utils/Pair;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 directory Ljava/io/File;
0 1 1 name Ljava/lang/String;
Signature: (Ljava/io/File;Ljava/lang/String;)Lorg/apache/cassandra/utils/Pair<Lorg/apache/cassandra/io/sstable/Descriptor;Ljava/lang/String;>;
MethodParameters:
Name Flags
directory
name
public static org.apache.cassandra.utils.Pair<org.apache.cassandra.io.sstable.Descriptor, java.lang.String> fromFilename(java.io.File, java.lang.String, boolean);
descriptor: (Ljava/io/File;Ljava/lang/String;Z)Lorg/apache/cassandra/utils/Pair;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=15, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ifnull 1
aload 0
goto 2
StackMap locals:
StackMap stack:
1: new java.io.File
dup
ldc "."
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
StackMap locals:
StackMap stack: java.io.File
2: astore 3
start local 3 3: new java.util.StringTokenizer
dup
aload 1
bipush 45
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 4
start local 4 4: new java.util.ArrayDeque
dup
invokespecial java.util.ArrayDeque.<init>:()V
astore 6
start local 6 5: goto 7
6: StackMap locals: java.io.File java.lang.String int java.io.File java.util.StringTokenizer top java.util.Deque
StackMap stack:
aload 6
aload 4
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokeinterface java.util.Deque.push:(Ljava/lang/Object;)V
7: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 6
8: iload 2
ifeq 9
aconst_null
goto 10
StackMap locals:
StackMap stack:
9: aload 6
invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
checkcast java.lang.String
StackMap locals:
StackMap stack: java.lang.String
10: astore 7
start local 7 11: aload 6
invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 12: getstatic org.apache.cassandra.io.sstable.format.SSTableFormat$Type.LEGACY:Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;
astore 8
start local 8 13: getstatic com.google.common.base.CharMatcher.DIGIT:Lcom/google/common/base/CharMatcher;
aload 5
invokevirtual com.google.common.base.CharMatcher.matchesAllOf:(Ljava/lang/CharSequence;)Z
ifne 16
14: aload 5
invokestatic org.apache.cassandra.io.sstable.format.SSTableFormat$Type.validate:(Ljava/lang/String;)Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;
astore 8
15: aload 6
invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
16: StackMap locals: java.io.File java.lang.String int java.io.File java.util.StringTokenizer java.lang.String java.util.Deque java.lang.String org.apache.cassandra.io.sstable.format.SSTableFormat$Type
StackMap stack:
aload 5
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 9
start local 9 17: aload 6
invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
18: aload 5
invokestatic org.apache.cassandra.io.sstable.format.Version.validate:(Ljava/lang/String;)Z
ifne 20
19: new java.lang.UnsupportedOperationException
dup
new java.lang.StringBuilder
dup
ldc "SSTable "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " is too old to open. Upgrade to 2.0 first, and run upgradesstables"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals: int
StackMap stack:
aload 8
getfield org.apache.cassandra.io.sstable.format.SSTableFormat$Type.info:Lorg/apache/cassandra/io/sstable/format/SSTableFormat;
aload 5
invokeinterface org.apache.cassandra.io.sstable.format.SSTableFormat.getVersion:(Ljava/lang/String;)Lorg/apache/cassandra/io/sstable/format/Version;
astore 10
start local 10 21: aload 10
invokevirtual org.apache.cassandra.io.sstable.format.Version.hasNewFileName:()Z
ifeq 35
22: aload 3
astore 13
start local 13 23: ldc ""
astore 14
start local 14 24: aload 13
invokevirtual java.io.File.getName:()Ljava/lang/String;
ldc "."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 27
25: aload 13
invokevirtual java.io.File.getName:()Ljava/lang/String;
astore 14
26: aload 13
invokevirtual java.io.File.getParentFile:()Ljava/io/File;
astore 13
27: StackMap locals: java.io.File java.lang.String int java.io.File java.util.StringTokenizer java.lang.String java.util.Deque java.lang.String org.apache.cassandra.io.sstable.format.SSTableFormat$Type int org.apache.cassandra.io.sstable.format.Version top top java.io.File java.lang.String
StackMap stack:
aload 13
invokevirtual java.io.File.getName:()Ljava/lang/String;
ldc "backups"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 30
28: aload 13
invokevirtual java.io.File.getParentFile:()Ljava/io/File;
astore 13
29: goto 32
30: StackMap locals:
StackMap stack:
aload 13
invokevirtual java.io.File.getParentFile:()Ljava/io/File;
invokevirtual java.io.File.getName:()Ljava/lang/String;
ldc "snapshots"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 32
31: aload 13
invokevirtual java.io.File.getParentFile:()Ljava/io/File;
invokevirtual java.io.File.getParentFile:()Ljava/io/File;
astore 13
32: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 13
invokevirtual java.io.File.getName:()Ljava/lang/String;
ldc "-"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
iconst_0
aaload
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 14
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 12
start local 12 33: aload 13
invokevirtual java.io.File.getParentFile:()Ljava/io/File;
invokevirtual java.io.File.getName:()Ljava/lang/String;
astore 11
end local 14 end local 13 start local 11 34: goto 37
end local 12 end local 11 35: StackMap locals: java.io.File java.lang.String int java.io.File java.util.StringTokenizer java.lang.String java.util.Deque java.lang.String org.apache.cassandra.io.sstable.format.SSTableFormat$Type int org.apache.cassandra.io.sstable.format.Version
StackMap stack:
aload 6
invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
checkcast java.lang.String
astore 12
start local 12 36: aload 6
invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
checkcast java.lang.String
astore 11
start local 11 37: StackMap locals: java.lang.String java.lang.String
StackMap stack:
getstatic org.apache.cassandra.io.sstable.Descriptor.$assertionsDisabled:Z
ifne 38
aload 6
invokeinterface java.util.Deque.isEmpty:()Z
ifne 38
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Invalid file name "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " in "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
38: StackMap locals:
StackMap stack:
new org.apache.cassandra.io.sstable.Descriptor
dup
aload 10
aload 3
aload 11
aload 12
iload 9
aload 8
39: aload 10
invokevirtual org.apache.cassandra.io.sstable.format.Version.uncompressedChecksumType:()Lorg/apache/cassandra/utils/ChecksumType;
invokestatic org.apache.cassandra.io.sstable.Component.digestFor:(Lorg/apache/cassandra/utils/ChecksumType;)Lorg/apache/cassandra/io/sstable/Component;
40: invokespecial org.apache.cassandra.io.sstable.Descriptor.<init>:(Lorg/apache/cassandra/io/sstable/format/Version;Ljava/io/File;Ljava/lang/String;Ljava/lang/String;ILorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;Lorg/apache/cassandra/io/sstable/Component;)V
41: aload 7
42: invokestatic org.apache.cassandra.utils.Pair.create:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/cassandra/utils/Pair;
areturn
end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 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 43 0 directory Ljava/io/File;
0 43 1 name Ljava/lang/String;
0 43 2 skipComponent Z
3 43 3 parentDirectory Ljava/io/File;
4 43 4 st Ljava/util/StringTokenizer;
12 43 5 nexttok Ljava/lang/String;
5 43 6 tokenStack Ljava/util/Deque<Ljava/lang/String;>;
11 43 7 component Ljava/lang/String;
13 43 8 fmt Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;
17 43 9 generation I
21 43 10 version Lorg/apache/cassandra/io/sstable/format/Version;
34 35 11 ksname Ljava/lang/String;
37 43 11 ksname Ljava/lang/String;
33 35 12 cfname Ljava/lang/String;
36 43 12 cfname Ljava/lang/String;
23 34 13 cfDirectory Ljava/io/File;
24 34 14 indexName Ljava/lang/String;
Signature: (Ljava/io/File;Ljava/lang/String;Z)Lorg/apache/cassandra/utils/Pair<Lorg/apache/cassandra/io/sstable/Descriptor;Ljava/lang/String;>;
MethodParameters:
Name Flags
directory
name
skipComponent
public org.apache.cassandra.io.sstable.metadata.IMetadataSerializer getMetadataSerializer();
descriptor: ()Lorg/apache/cassandra/io/sstable/metadata/IMetadataSerializer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.io.sstable.Descriptor.version:Lorg/apache/cassandra/io/sstable/format/Version;
invokevirtual org.apache.cassandra.io.sstable.format.Version.hasNewStatsFile:()Z
ifeq 2
1: new org.apache.cassandra.io.sstable.metadata.MetadataSerializer
dup
invokespecial org.apache.cassandra.io.sstable.metadata.MetadataSerializer.<init>:()V
areturn
2: StackMap locals:
StackMap stack:
new org.apache.cassandra.io.sstable.metadata.LegacyMetadataSerializer
dup
invokespecial org.apache.cassandra.io.sstable.metadata.LegacyMetadataSerializer.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/io/sstable/Descriptor;
public boolean isCompatible();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.io.sstable.Descriptor.version:Lorg/apache/cassandra/io/sstable/format/Version;
invokevirtual org.apache.cassandra.io.sstable.format.Version.isCompatible:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/sstable/Descriptor;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.io.sstable.Descriptor.baseFilename:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/sstable/Descriptor;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof org.apache.cassandra.io.sstable.Descriptor
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.cassandra.io.sstable.Descriptor
astore 2
start local 2 5: aload 2
getfield org.apache.cassandra.io.sstable.Descriptor.directory:Ljava/io/File;
aload 0
getfield org.apache.cassandra.io.sstable.Descriptor.directory:Ljava/io/File;
invokevirtual java.io.File.equals:(Ljava/lang/Object;)Z
ifeq 11
6: aload 2
getfield org.apache.cassandra.io.sstable.Descriptor.generation:I
aload 0
getfield org.apache.cassandra.io.sstable.Descriptor.generation:I
if_icmpne 11
7: aload 2
getfield org.apache.cassandra.io.sstable.Descriptor.ksname:Ljava/lang/String;
aload 0
getfield org.apache.cassandra.io.sstable.Descriptor.ksname:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
8: aload 2
getfield org.apache.cassandra.io.sstable.Descriptor.cfname:Ljava/lang/String;
aload 0
getfield org.apache.cassandra.io.sstable.Descriptor.cfname:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
9: aload 2
getfield org.apache.cassandra.io.sstable.Descriptor.formatType:Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;
aload 0
getfield org.apache.cassandra.io.sstable.Descriptor.formatType:Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;
if_acmpne 11
10: iconst_1
ireturn
StackMap locals: org.apache.cassandra.io.sstable.Descriptor
StackMap stack:
11: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/cassandra/io/sstable/Descriptor;
0 12 1 o Ljava/lang/Object;
5 12 2 that Lorg/apache/cassandra/io/sstable/Descriptor;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.io.sstable.Descriptor.hashCode:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/sstable/Descriptor;
private static boolean lambda$0(java.io.File, java.lang.String);
descriptor: (Ljava/io/File;Ljava/lang/String;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getstatic org.apache.cassandra.io.sstable.Descriptor.TMP_EXT:Ljava/lang/String;
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 dir Ljava/io/File;
0 1 1 name Ljava/lang/String;
}
SourceFile: "Descriptor.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Type = org.apache.cassandra.io.sstable.format.SSTableFormat$Type of org.apache.cassandra.io.sstable.format.SSTableFormat