public abstract class org.apache.cassandra.cql3.functions.BytesConversionFcts
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.cassandra.cql3.functions.BytesConversionFcts
super_class: java.lang.Object
{
public static final org.apache.cassandra.cql3.functions.Function VarcharAsBlobFct;
descriptor: Lorg/apache/cassandra/cql3/functions/Function;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.apache.cassandra.cql3.functions.Function BlobAsVarcharFct;
descriptor: Lorg/apache/cassandra/cql3/functions/Function;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=8, locals=0, args_size=0
0: new org.apache.cassandra.cql3.functions.BytesConversionFcts$1
dup
ldc "varcharasblob"
getstatic org.apache.cassandra.db.marshal.BytesType.instance:Lorg/apache/cassandra/db/marshal/BytesType;
iconst_1
anewarray org.apache.cassandra.db.marshal.AbstractType
dup
iconst_0
getstatic org.apache.cassandra.db.marshal.UTF8Type.instance:Lorg/apache/cassandra/db/marshal/UTF8Type;
aastore
invokespecial org.apache.cassandra.cql3.functions.BytesConversionFcts$1.<init>:(Ljava/lang/String;Lorg/apache/cassandra/db/marshal/AbstractType;[Lorg/apache/cassandra/db/marshal/AbstractType;)V
putstatic org.apache.cassandra.cql3.functions.BytesConversionFcts.VarcharAsBlobFct:Lorg/apache/cassandra/cql3/functions/Function;
1: new org.apache.cassandra.cql3.functions.BytesConversionFcts$2
dup
ldc "blobasvarchar"
getstatic org.apache.cassandra.db.marshal.UTF8Type.instance:Lorg/apache/cassandra/db/marshal/UTF8Type;
iconst_1
anewarray org.apache.cassandra.db.marshal.AbstractType
dup
iconst_0
getstatic org.apache.cassandra.db.marshal.BytesType.instance:Lorg/apache/cassandra/db/marshal/BytesType;
aastore
invokespecial org.apache.cassandra.cql3.functions.BytesConversionFcts$2.<init>:(Ljava/lang/String;Lorg/apache/cassandra/db/marshal/AbstractType;[Lorg/apache/cassandra/db/marshal/AbstractType;)V
putstatic org.apache.cassandra.cql3.functions.BytesConversionFcts.BlobAsVarcharFct:Lorg/apache/cassandra/cql3/functions/Function;
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/functions/BytesConversionFcts;
public static java.util.Collection<org.apache.cassandra.cql3.functions.Function> all();
descriptor: ()Ljava/util/Collection;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=0
0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 0
start local 0 1: invokestatic org.apache.cassandra.cql3.CQL3Type$Native.values:()[Lorg/apache/cassandra/cql3/CQL3Type$Native;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 7
StackMap locals: java.util.Collection top int int org.apache.cassandra.cql3.CQL3Type[]
StackMap stack:
2: aload 4
iload 2
aaload
astore 1
start local 1 3: aload 1
getstatic org.apache.cassandra.cql3.CQL3Type$Native.VARCHAR:Lorg/apache/cassandra/cql3/CQL3Type$Native;
if_acmpeq 6
aload 1
getstatic org.apache.cassandra.cql3.CQL3Type$Native.BLOB:Lorg/apache/cassandra/cql3/CQL3Type$Native;
if_acmpeq 6
4: aload 0
aload 1
invokeinterface org.apache.cassandra.cql3.CQL3Type.getType:()Lorg/apache/cassandra/db/marshal/AbstractType;
invokestatic org.apache.cassandra.cql3.functions.BytesConversionFcts.makeToBlobFunction:(Lorg/apache/cassandra/db/marshal/AbstractType;)Lorg/apache/cassandra/cql3/functions/Function;
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
5: aload 0
aload 1
invokeinterface org.apache.cassandra.cql3.CQL3Type.getType:()Lorg/apache/cassandra/db/marshal/AbstractType;
invokestatic org.apache.cassandra.cql3.functions.BytesConversionFcts.makeFromBlobFunction:(Lorg/apache/cassandra/db/marshal/AbstractType;)Lorg/apache/cassandra/cql3/functions/Function;
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
end local 1 6: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
iload 3
if_icmplt 2
8: aload 0
getstatic org.apache.cassandra.cql3.functions.BytesConversionFcts.VarcharAsBlobFct:Lorg/apache/cassandra/cql3/functions/Function;
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
9: aload 0
getstatic org.apache.cassandra.cql3.functions.BytesConversionFcts.BlobAsVarcharFct:Lorg/apache/cassandra/cql3/functions/Function;
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
10: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 11 0 functions Ljava/util/Collection<Lorg/apache/cassandra/cql3/functions/Function;>;
3 6 1 type Lorg/apache/cassandra/cql3/CQL3Type;
Signature: ()Ljava/util/Collection<Lorg/apache/cassandra/cql3/functions/Function;>;
public static org.apache.cassandra.cql3.functions.Function makeToBlobFunction(org.apache.cassandra.db.marshal.AbstractType<?>);
descriptor: (Lorg/apache/cassandra/db/marshal/AbstractType;)Lorg/apache/cassandra/cql3/functions/Function;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
invokevirtual org.apache.cassandra.db.marshal.AbstractType.asCQL3Type:()Lorg/apache/cassandra/cql3/CQL3Type;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "asblob"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
start local 1 1: new org.apache.cassandra.cql3.functions.BytesConversionFcts$3
dup
aload 1
getstatic org.apache.cassandra.db.marshal.BytesType.instance:Lorg/apache/cassandra/db/marshal/BytesType;
iconst_1
anewarray org.apache.cassandra.db.marshal.AbstractType
dup
iconst_0
aload 0
aastore
invokespecial org.apache.cassandra.cql3.functions.BytesConversionFcts$3.<init>:(Ljava/lang/String;Lorg/apache/cassandra/db/marshal/AbstractType;[Lorg/apache/cassandra/db/marshal/AbstractType;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 fromType Lorg/apache/cassandra/db/marshal/AbstractType<*>;
1 2 1 name Ljava/lang/String;
Signature: (Lorg/apache/cassandra/db/marshal/AbstractType<*>;)Lorg/apache/cassandra/cql3/functions/Function;
MethodParameters:
Name Flags
fromType
public static org.apache.cassandra.cql3.functions.Function makeFromBlobFunction(org.apache.cassandra.db.marshal.AbstractType<?>);
descriptor: (Lorg/apache/cassandra/db/marshal/AbstractType;)Lorg/apache/cassandra/cql3/functions/Function;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "blobas"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.apache.cassandra.db.marshal.AbstractType.asCQL3Type:()Lorg/apache/cassandra/cql3/CQL3Type;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
start local 1 1: new org.apache.cassandra.cql3.functions.BytesConversionFcts$4
dup
aload 1
aload 0
iconst_1
anewarray org.apache.cassandra.db.marshal.AbstractType
dup
iconst_0
getstatic org.apache.cassandra.db.marshal.BytesType.instance:Lorg/apache/cassandra/db/marshal/BytesType;
aastore
aload 0
invokespecial org.apache.cassandra.cql3.functions.BytesConversionFcts$4.<init>:(Ljava/lang/String;Lorg/apache/cassandra/db/marshal/AbstractType;[Lorg/apache/cassandra/db/marshal/AbstractType;Lorg/apache/cassandra/db/marshal/AbstractType;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 toType Lorg/apache/cassandra/db/marshal/AbstractType<*>;
1 2 1 name Ljava/lang/String;
Signature: (Lorg/apache/cassandra/db/marshal/AbstractType<*>;)Lorg/apache/cassandra/cql3/functions/Function;
MethodParameters:
Name Flags
toType final
}
SourceFile: "BytesConversionFcts.java"
NestMembers:
org.apache.cassandra.cql3.functions.BytesConversionFcts$1 org.apache.cassandra.cql3.functions.BytesConversionFcts$2 org.apache.cassandra.cql3.functions.BytesConversionFcts$3 org.apache.cassandra.cql3.functions.BytesConversionFcts$4
InnerClasses:
public final Native = org.apache.cassandra.cql3.CQL3Type$Native of org.apache.cassandra.cql3.CQL3Type
org.apache.cassandra.cql3.functions.BytesConversionFcts$1
org.apache.cassandra.cql3.functions.BytesConversionFcts$2
org.apache.cassandra.cql3.functions.BytesConversionFcts$3
org.apache.cassandra.cql3.functions.BytesConversionFcts$4