class org.apache.cassandra.cql3.functions.BytesConversionFcts$4 extends org.apache.cassandra.cql3.functions.NativeScalarFunction
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.cql3.functions.BytesConversionFcts$4
super_class: org.apache.cassandra.cql3.functions.NativeScalarFunction
{
private final org.apache.cassandra.db.marshal.AbstractType val$toType;
descriptor: Lorg/apache/cassandra/db/marshal/AbstractType;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(java.lang.String, org.apache.cassandra.db.marshal.AbstractType, org.apache.cassandra.db.marshal.AbstractType[], org.apache.cassandra.db.marshal.AbstractType);
descriptor: (Ljava/lang/String;Lorg/apache/cassandra/db/marshal/AbstractType;[Lorg/apache/cassandra/db/marshal/AbstractType;Lorg/apache/cassandra/db/marshal/AbstractType;)V
flags: (0x0080) ACC_VARARGS
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 4
putfield org.apache.cassandra.cql3.functions.BytesConversionFcts$4.val$toType:Lorg/apache/cassandra/db/marshal/AbstractType;
aload 0
aload 1
aload 2
aload 3
invokespecial org.apache.cassandra.cql3.functions.NativeScalarFunction.<init>:(Ljava/lang/String;Lorg/apache/cassandra/db/marshal/AbstractType;[Lorg/apache/cassandra/db/marshal/AbstractType;)V
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/functions/BytesConversionFcts$4;
0 1 1 $anonymous0 Ljava/lang/String;
0 1 2 $anonymous1 Lorg/apache/cassandra/db/marshal/AbstractType<*>;
0 1 3 $anonymous2 [Lorg/apache/cassandra/db/marshal/AbstractType;
MethodParameters:
Name Flags
$anonymous0
$anonymous1
$anonymous2
val$toType final
public java.nio.ByteBuffer execute(org.apache.cassandra.transport.ProtocolVersion, java.util.List<java.nio.ByteBuffer>);
descriptor: (Lorg/apache/cassandra/transport/ProtocolVersion;Ljava/util/List;)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.nio.ByteBuffer
astore 3
start local 3 1: aload 3
ifnull 3
2: aload 0
getfield org.apache.cassandra.cql3.functions.BytesConversionFcts$4.val$toType:Lorg/apache/cassandra/db/marshal/AbstractType;
aload 3
invokevirtual org.apache.cassandra.db.marshal.AbstractType.validate:(Ljava/nio/ByteBuffer;)V
3: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 3
4: areturn
5: StackMap locals:
StackMap stack: org.apache.cassandra.serializers.MarshalException
pop
6: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "In call to function %s, value 0x%s is not a valid binary representation for type %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
7: aload 0
getfield org.apache.cassandra.cql3.functions.BytesConversionFcts$4.name:Lorg/apache/cassandra/cql3/functions/FunctionName;
aastore
dup
iconst_1
aload 3
invokestatic org.apache.cassandra.utils.ByteBufferUtil.bytesToHex:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
aastore
dup
iconst_2
aload 0
getfield org.apache.cassandra.cql3.functions.BytesConversionFcts$4.val$toType:Lorg/apache/cassandra/db/marshal/AbstractType;
invokevirtual org.apache.cassandra.db.marshal.AbstractType.asCQL3Type:()Lorg/apache/cassandra/cql3/CQL3Type;
aastore
8: 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
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/cassandra/cql3/functions/BytesConversionFcts$4;
0 9 1 protocolVersion Lorg/apache/cassandra/transport/ProtocolVersion;
0 9 2 parameters Ljava/util/List<Ljava/nio/ByteBuffer;>;
1 9 3 val Ljava/nio/ByteBuffer;
Exception table:
from to target type
1 4 5 Class org.apache.cassandra.serializers.MarshalException
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
Signature: (Lorg/apache/cassandra/transport/ProtocolVersion;Ljava/util/List<Ljava/nio/ByteBuffer;>;)Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
protocolVersion
parameters
}
SourceFile: "BytesConversionFcts.java"
EnclosingMethod: org.apache.cassandra.cql3.functions.BytesConversionFcts.makeFromBlobFunction:(Lorg/apache/cassandra/db/marshal/AbstractType;)Lorg/apache/cassandra/cql3/functions/Function;
NestHost: org.apache.cassandra.cql3.functions.BytesConversionFcts
InnerClasses:
org.apache.cassandra.cql3.functions.BytesConversionFcts$4