public class org.apache.cassandra.cql3.selection.Selectable$WritetimeOrTTL implements org.apache.cassandra.cql3.selection.Selectable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.cql3.selection.Selectable$WritetimeOrTTL
super_class: java.lang.Object
{
public final org.apache.cassandra.config.ColumnDefinition column;
descriptor: Lorg/apache/cassandra/config/ColumnDefinition;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final boolean isWritetime;
descriptor: Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public void <init>(org.apache.cassandra.config.ColumnDefinition, boolean);
descriptor: (Lorg/apache/cassandra/config/ColumnDefinition;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.cql3.selection.Selectable$WritetimeOrTTL.column:Lorg/apache/cassandra/config/ColumnDefinition;
2: aload 0
iload 2
putfield org.apache.cassandra.cql3.selection.Selectable$WritetimeOrTTL.isWritetime:Z
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/cql3/selection/Selectable$WritetimeOrTTL;
0 4 1 column Lorg/apache/cassandra/config/ColumnDefinition;
0 4 2 isWritetime Z
MethodParameters:
Name Flags
column
isWritetime
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
getfield org.apache.cassandra.cql3.selection.Selectable$WritetimeOrTTL.isWritetime:Z
ifeq 1
ldc "writetime"
goto 2
StackMap locals: org.apache.cassandra.cql3.selection.Selectable$WritetimeOrTTL
StackMap stack: new 0 new 0
1: ldc "ttl"
StackMap locals: org.apache.cassandra.cql3.selection.Selectable$WritetimeOrTTL
StackMap stack: new 0 new 0 java.lang.String
2: invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.cassandra.cql3.selection.Selectable$WritetimeOrTTL.column:Lorg/apache/cassandra/config/ColumnDefinition;
getfield org.apache.cassandra.config.ColumnDefinition.name:Lorg/apache/cassandra/cql3/ColumnIdentifier;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/cql3/selection/Selectable$WritetimeOrTTL;
public org.apache.cassandra.cql3.selection.Selector$Factory newSelectorFactory(org.apache.cassandra.config.CFMetaData, org.apache.cassandra.db.marshal.AbstractType<?>, java.util.List<org.apache.cassandra.config.ColumnDefinition>, org.apache.cassandra.cql3.VariableSpecifications);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/marshal/AbstractType;Ljava/util/List;Lorg/apache/cassandra/cql3/VariableSpecifications;)Lorg/apache/cassandra/cql3/selection/Selector$Factory;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield org.apache.cassandra.cql3.selection.Selectable$WritetimeOrTTL.column:Lorg/apache/cassandra/config/ColumnDefinition;
invokevirtual org.apache.cassandra.config.ColumnDefinition.isPrimaryKeyColumn:()Z
ifeq 9
1: new org.apache.cassandra.exceptions.InvalidRequestException
dup
2: ldc "Cannot use selection function %s on PRIMARY KEY part %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
3: aload 0
getfield org.apache.cassandra.cql3.selection.Selectable$WritetimeOrTTL.isWritetime:Z
ifeq 4
ldc "writeTime"
goto 5
StackMap locals: org.apache.cassandra.cql3.selection.Selectable$WritetimeOrTTL org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.marshal.AbstractType java.util.List org.apache.cassandra.cql3.VariableSpecifications
StackMap stack: new 1 new 1 java.lang.String java.lang.Object[] java.lang.Object[] int
4: ldc "ttl"
StackMap locals: org.apache.cassandra.cql3.selection.Selectable$WritetimeOrTTL org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.marshal.AbstractType java.util.List org.apache.cassandra.cql3.VariableSpecifications
StackMap stack: new 1 new 1 java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.String
5: aastore
dup
iconst_1
6: aload 0
getfield org.apache.cassandra.cql3.selection.Selectable$WritetimeOrTTL.column:Lorg/apache/cassandra/config/ColumnDefinition;
getfield org.apache.cassandra.config.ColumnDefinition.name:Lorg/apache/cassandra/cql3/ColumnIdentifier;
aastore
7: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
8: invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.selection.Selectable$WritetimeOrTTL.column:Lorg/apache/cassandra/config/ColumnDefinition;
getfield org.apache.cassandra.config.ColumnDefinition.type:Lorg/apache/cassandra/db/marshal/AbstractType;
invokevirtual org.apache.cassandra.db.marshal.AbstractType.isCollection:()Z
ifeq 15
10: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Cannot use selection function %s on collections"
iconst_1
anewarray java.lang.Object
dup
iconst_0
11: aload 0
getfield org.apache.cassandra.cql3.selection.Selectable$WritetimeOrTTL.isWritetime:Z
ifeq 12
ldc "writeTime"
goto 13
StackMap locals: org.apache.cassandra.cql3.selection.Selectable$WritetimeOrTTL org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.marshal.AbstractType java.util.List org.apache.cassandra.cql3.VariableSpecifications
StackMap stack: new 10 new 10 java.lang.String java.lang.Object[] java.lang.Object[] int
12: ldc "ttl"
StackMap locals: org.apache.cassandra.cql3.selection.Selectable$WritetimeOrTTL org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.marshal.AbstractType java.util.List org.apache.cassandra.cql3.VariableSpecifications
StackMap stack: new 10 new 10 java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.String
13: aastore
14: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.selection.Selectable$WritetimeOrTTL.column:Lorg/apache/cassandra/config/ColumnDefinition;
aload 0
aload 0
getfield org.apache.cassandra.cql3.selection.Selectable$WritetimeOrTTL.column:Lorg/apache/cassandra/config/ColumnDefinition;
aload 3
invokevirtual org.apache.cassandra.cql3.selection.Selectable$WritetimeOrTTL.addAndGetIndex:(Lorg/apache/cassandra/config/ColumnDefinition;Ljava/util/List;)I
aload 0
getfield org.apache.cassandra.cql3.selection.Selectable$WritetimeOrTTL.isWritetime:Z
invokestatic org.apache.cassandra.cql3.selection.WritetimeOrTTLSelector.newFactory:(Lorg/apache/cassandra/config/ColumnDefinition;IZ)Lorg/apache/cassandra/cql3/selection/Selector$Factory;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/cassandra/cql3/selection/Selectable$WritetimeOrTTL;
0 16 1 cfm Lorg/apache/cassandra/config/CFMetaData;
0 16 2 expectedType Lorg/apache/cassandra/db/marshal/AbstractType<*>;
0 16 3 defs Ljava/util/List<Lorg/apache/cassandra/config/ColumnDefinition;>;
0 16 4 boundNames Lorg/apache/cassandra/cql3/VariableSpecifications;
Signature: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/marshal/AbstractType<*>;Ljava/util/List<Lorg/apache/cassandra/config/ColumnDefinition;>;Lorg/apache/cassandra/cql3/VariableSpecifications;)Lorg/apache/cassandra/cql3/selection/Selector$Factory;
MethodParameters:
Name Flags
cfm
expectedType
defs
boundNames
public org.apache.cassandra.db.marshal.AbstractType<?> getExactTypeIfKnown(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/cassandra/db/marshal/AbstractType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.cql3.selection.Selectable$WritetimeOrTTL.isWritetime:Z
ifeq 1
getstatic org.apache.cassandra.db.marshal.LongType.instance:Lorg/apache/cassandra/db/marshal/LongType;
goto 2
StackMap locals:
StackMap stack:
1: getstatic org.apache.cassandra.db.marshal.Int32Type.instance:Lorg/apache/cassandra/db/marshal/Int32Type;
StackMap locals:
StackMap stack: org.apache.cassandra.db.marshal.AbstractType
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/cql3/selection/Selectable$WritetimeOrTTL;
0 3 1 keyspace Ljava/lang/String;
Signature: (Ljava/lang/String;)Lorg/apache/cassandra/db/marshal/AbstractType<*>;
MethodParameters:
Name Flags
keyspace
}
SourceFile: "Selectable.java"
NestHost: org.apache.cassandra.cql3.selection.Selectable
InnerClasses:
public WritetimeOrTTL = org.apache.cassandra.cql3.selection.Selectable$WritetimeOrTTL of org.apache.cassandra.cql3.selection.Selectable
public Raw = org.apache.cassandra.cql3.selection.Selectable$WritetimeOrTTL$Raw of org.apache.cassandra.cql3.selection.Selectable$WritetimeOrTTL
public abstract Factory = org.apache.cassandra.cql3.selection.Selector$Factory of org.apache.cassandra.cql3.selection.Selector