abstract class org.apache.cassandra.cql3.functions.CastFcts$CastFunction<I, O> extends org.apache.cassandra.cql3.functions.NativeScalarFunction
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.cassandra.cql3.functions.CastFcts$CastFunction
super_class: org.apache.cassandra.cql3.functions.NativeScalarFunction
{
public void <init>(org.apache.cassandra.db.marshal.AbstractType<I>, org.apache.cassandra.db.marshal.AbstractType<O>);
descriptor: (Lorg/apache/cassandra/db/marshal/AbstractType;Lorg/apache/cassandra/db/marshal/AbstractType;)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
aload 2
invokestatic org.apache.cassandra.cql3.functions.CastFcts.getFunctionName:(Lorg/apache/cassandra/db/marshal/AbstractType;)Ljava/lang/String;
aload 2
iconst_1
anewarray org.apache.cassandra.db.marshal.AbstractType
dup
iconst_0
aload 1
aastore
invokespecial org.apache.cassandra.cql3.functions.NativeScalarFunction.<init>:(Ljava/lang/String;Lorg/apache/cassandra/db/marshal/AbstractType;[Lorg/apache/cassandra/db/marshal/AbstractType;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/cql3/functions/CastFcts$CastFunction<TI;TO;>;
0 2 1 inputType Lorg/apache/cassandra/db/marshal/AbstractType<TI;>;
0 2 2 outputType Lorg/apache/cassandra/db/marshal/AbstractType<TO;>;
Signature: (Lorg/apache/cassandra/db/marshal/AbstractType<TI;>;Lorg/apache/cassandra/db/marshal/AbstractType<TO;>;)V
MethodParameters:
Name Flags
inputType
outputType
public java.lang.String columnName(java.util.List<java.lang.String>);
descriptor: (Ljava/util/List;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: ldc "cast(%s as %s)"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
aastore
dup
iconst_1
aload 0
invokevirtual org.apache.cassandra.cql3.functions.CastFcts$CastFunction.outputType:()Lorg/apache/cassandra/db/marshal/AbstractType;
invokevirtual org.apache.cassandra.db.marshal.AbstractType.asCQL3Type:()Lorg/apache/cassandra/cql3/CQL3Type;
invokestatic org.apache.cassandra.cql3.functions.CastFcts.toLowerCaseString:(Lorg/apache/cassandra/cql3/CQL3Type;)Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/functions/CastFcts$CastFunction<TI;TO;>;
0 1 1 columnNames Ljava/util/List<Ljava/lang/String;>;
Signature: (Ljava/util/List<Ljava/lang/String;>;)Ljava/lang/String;
MethodParameters:
Name Flags
columnNames
protected org.apache.cassandra.db.marshal.AbstractType<O> outputType();
descriptor: ()Lorg/apache/cassandra/db/marshal/AbstractType;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.functions.CastFcts$CastFunction.returnType:Lorg/apache/cassandra/db/marshal/AbstractType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/functions/CastFcts$CastFunction<TI;TO;>;
Signature: ()Lorg/apache/cassandra/db/marshal/AbstractType<TO;>;
protected org.apache.cassandra.db.marshal.AbstractType<I> inputType();
descriptor: ()Lorg/apache/cassandra/db/marshal/AbstractType;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.functions.CastFcts$CastFunction.argTypes:Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.cassandra.db.marshal.AbstractType
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/functions/CastFcts$CastFunction<TI;TO;>;
Signature: ()Lorg/apache/cassandra/db/marshal/AbstractType<TI;>;
}
Signature: <I:Ljava/lang/Object;O:Ljava/lang/Object;>Lorg/apache/cassandra/cql3/functions/NativeScalarFunction;
SourceFile: "CastFcts.java"
NestHost: org.apache.cassandra.cql3.functions.CastFcts
InnerClasses:
private abstract CastFunction = org.apache.cassandra.cql3.functions.CastFcts$CastFunction of org.apache.cassandra.cql3.functions.CastFcts