public class org.apache.cassandra.cql3.selection.Selectable$WithCast 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$WithCast
super_class: java.lang.Object
{
private final org.apache.cassandra.cql3.CQL3Type type;
descriptor: Lorg/apache/cassandra/cql3/CQL3Type;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.cassandra.cql3.selection.Selectable arg;
descriptor: Lorg/apache/cassandra/cql3/selection/Selectable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.apache.cassandra.cql3.selection.Selectable, org.apache.cassandra.cql3.CQL3Type);
descriptor: (Lorg/apache/cassandra/cql3/selection/Selectable;Lorg/apache/cassandra/cql3/CQL3Type;)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$WithCast.arg:Lorg/apache/cassandra/cql3/selection/Selectable;
2: aload 0
aload 2
putfield org.apache.cassandra.cql3.selection.Selectable$WithCast.type:Lorg/apache/cassandra/cql3/CQL3Type;
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$WithCast;
0 4 1 arg Lorg/apache/cassandra/cql3/selection/Selectable;
0 4 2 type Lorg/apache/cassandra/cql3/CQL3Type;
MethodParameters:
Name Flags
arg
type
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: ldc "cast(%s as %s)"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.cql3.selection.Selectable$WithCast.arg:Lorg/apache/cassandra/cql3/selection/Selectable;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.cql3.selection.Selectable$WithCast.type:Lorg/apache/cassandra/cql3/CQL3Type;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/selection/Selectable$WithCast;
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=8, locals=10, 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$WithCast.arg:Lorg/apache/cassandra/cql3/selection/Selectable;
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
astore 5
start local 5 1: aload 5
aconst_null
aload 1
aload 3
aload 4
invokestatic org.apache.cassandra.cql3.selection.SelectorFactories.createFactoriesAndCollectColumnDefinitions:(Ljava/util/List;Ljava/util/List;Lorg/apache/cassandra/config/CFMetaData;Ljava/util/List;Lorg/apache/cassandra/cql3/VariableSpecifications;)Lorg/apache/cassandra/cql3/selection/SelectorFactories;
astore 6
start local 6 2: aload 6
iconst_0
invokevirtual org.apache.cassandra.cql3.selection.SelectorFactories.get:(I)Lorg/apache/cassandra/cql3/selection/Selector$Factory;
astore 7
start local 7 3: aload 0
getfield org.apache.cassandra.cql3.selection.Selectable$WithCast.type:Lorg/apache/cassandra/cql3/CQL3Type;
invokeinterface org.apache.cassandra.cql3.CQL3Type.getType:()Lorg/apache/cassandra/db/marshal/AbstractType;
aload 7
invokevirtual org.apache.cassandra.cql3.selection.Selector$Factory.getReturnType:()Lorg/apache/cassandra/db/marshal/AbstractType;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 5
4: aload 7
areturn
5: StackMap locals: java.util.List org.apache.cassandra.cql3.selection.SelectorFactories org.apache.cassandra.cql3.selection.Selector$Factory
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.selection.Selectable$WithCast.type:Lorg/apache/cassandra/cql3/CQL3Type;
invokestatic org.apache.cassandra.cql3.functions.CastFcts.getFunctionName:(Lorg/apache/cassandra/cql3/CQL3Type;)Ljava/lang/String;
invokestatic org.apache.cassandra.cql3.functions.FunctionName.nativeFunction:(Ljava/lang/String;)Lorg/apache/cassandra/cql3/functions/FunctionName;
astore 8
start local 8 6: aload 1
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
aload 8
aload 5
aload 1
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
aload 1
getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
aconst_null
invokestatic org.apache.cassandra.cql3.functions.FunctionResolver.get:(Ljava/lang/String;Lorg/apache/cassandra/cql3/functions/FunctionName;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/db/marshal/AbstractType;)Lorg/apache/cassandra/cql3/functions/Function;
astore 9
start local 9 7: aload 9
ifnonnull 12
8: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "%s cannot be cast to %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
9: aload 3
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition
getfield org.apache.cassandra.config.ColumnDefinition.name:Lorg/apache/cassandra/cql3/ColumnIdentifier;
aastore
dup
iconst_1
10: aload 0
getfield org.apache.cassandra.cql3.selection.Selectable$WithCast.type:Lorg/apache/cassandra/cql3/CQL3Type;
aastore
11: 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
12: StackMap locals: org.apache.cassandra.cql3.functions.FunctionName org.apache.cassandra.cql3.functions.Function
StackMap stack:
aload 9
aload 6
invokestatic org.apache.cassandra.cql3.selection.AbstractFunctionSelector.newFactory:(Lorg/apache/cassandra/cql3/functions/Function;Lorg/apache/cassandra/cql3/selection/SelectorFactories;)Lorg/apache/cassandra/cql3/selection/Selector$Factory;
areturn
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 13 0 this Lorg/apache/cassandra/cql3/selection/Selectable$WithCast;
0 13 1 cfm Lorg/apache/cassandra/config/CFMetaData;
0 13 2 expectedType Lorg/apache/cassandra/db/marshal/AbstractType<*>;
0 13 3 defs Ljava/util/List<Lorg/apache/cassandra/config/ColumnDefinition;>;
0 13 4 boundNames Lorg/apache/cassandra/cql3/VariableSpecifications;
1 13 5 args Ljava/util/List<Lorg/apache/cassandra/cql3/selection/Selectable;>;
2 13 6 factories Lorg/apache/cassandra/cql3/selection/SelectorFactories;
3 13 7 factory Lorg/apache/cassandra/cql3/selection/Selector$Factory;
6 13 8 name Lorg/apache/cassandra/cql3/functions/FunctionName;
7 13 9 fun Lorg/apache/cassandra/cql3/functions/Function;
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$WithCast.type:Lorg/apache/cassandra/cql3/CQL3Type;
invokeinterface org.apache.cassandra.cql3.CQL3Type.getType:()Lorg/apache/cassandra/db/marshal/AbstractType;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/selection/Selectable$WithCast;
0 1 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 WithCast = org.apache.cassandra.cql3.selection.Selectable$WithCast of org.apache.cassandra.cql3.selection.Selectable
public Raw = org.apache.cassandra.cql3.selection.Selectable$WithCast$Raw of org.apache.cassandra.cql3.selection.Selectable$WithCast
public abstract Factory = org.apache.cassandra.cql3.selection.Selector$Factory of org.apache.cassandra.cql3.selection.Selector