class org.apache.cassandra.cql3.functions.CastFcts$JavaFunctionWrapper<I, O> extends org.apache.cassandra.cql3.functions.CastFcts$CastFunction<I, O>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.cql3.functions.CastFcts$JavaFunctionWrapper
super_class: org.apache.cassandra.cql3.functions.CastFcts$CastFunction
{
private final java.util.function.Function<I, O> converter;
descriptor: Ljava/util/function/Function;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/function/Function<TI;TO;>;
public static <I, O> org.apache.cassandra.cql3.functions.CastFcts$JavaFunctionWrapper<I, O> create(org.apache.cassandra.db.marshal.AbstractType<I>, org.apache.cassandra.db.marshal.AbstractType<O>, java.util.function.Function<I, O>);
descriptor: (Lorg/apache/cassandra/db/marshal/AbstractType;Lorg/apache/cassandra/db/marshal/AbstractType;Ljava/util/function/Function;)Lorg/apache/cassandra/cql3/functions/CastFcts$JavaFunctionWrapper;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.apache.cassandra.cql3.functions.CastFcts$JavaFunctionWrapper
dup
aload 0
aload 1
aload 2
invokespecial org.apache.cassandra.cql3.functions.CastFcts$JavaFunctionWrapper.<init>:(Lorg/apache/cassandra/db/marshal/AbstractType;Lorg/apache/cassandra/db/marshal/AbstractType;Ljava/util/function/Function;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 inputType Lorg/apache/cassandra/db/marshal/AbstractType<TI;>;
0 1 1 outputType Lorg/apache/cassandra/db/marshal/AbstractType<TO;>;
0 1 2 converter Ljava/util/function/Function<TI;TO;>;
Signature: <I:Ljava/lang/Object;O:Ljava/lang/Object;>(Lorg/apache/cassandra/db/marshal/AbstractType<TI;>;Lorg/apache/cassandra/db/marshal/AbstractType<TO;>;Ljava/util/function/Function<TI;TO;>;)Lorg/apache/cassandra/cql3/functions/CastFcts$JavaFunctionWrapper<TI;TO;>;
MethodParameters:
Name Flags
inputType
outputType
converter
protected void <init>(org.apache.cassandra.db.marshal.AbstractType<I>, org.apache.cassandra.db.marshal.AbstractType<O>, java.util.function.Function<I, O>);
descriptor: (Lorg/apache/cassandra/db/marshal/AbstractType;Lorg/apache/cassandra/db/marshal/AbstractType;Ljava/util/function/Function;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokespecial org.apache.cassandra.cql3.functions.CastFcts$CastFunction.<init>:(Lorg/apache/cassandra/db/marshal/AbstractType;Lorg/apache/cassandra/db/marshal/AbstractType;)V
1: aload 0
aload 3
putfield org.apache.cassandra.cql3.functions.CastFcts$JavaFunctionWrapper.converter:Ljava/util/function/Function;
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/cql3/functions/CastFcts$JavaFunctionWrapper<TI;TO;>;
0 3 1 inputType Lorg/apache/cassandra/db/marshal/AbstractType<TI;>;
0 3 2 outputType Lorg/apache/cassandra/db/marshal/AbstractType<TO;>;
0 3 3 converter Ljava/util/function/Function<TI;TO;>;
Signature: (Lorg/apache/cassandra/db/marshal/AbstractType<TI;>;Lorg/apache/cassandra/db/marshal/AbstractType<TO;>;Ljava/util/function/Function<TI;TO;>;)V
MethodParameters:
Name Flags
inputType
outputType
converter
public final 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: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, 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
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.cql3.functions.CastFcts$JavaFunctionWrapper.outputType:()Lorg/apache/cassandra/db/marshal/AbstractType;
aload 0
getfield org.apache.cassandra.cql3.functions.CastFcts$JavaFunctionWrapper.converter:Ljava/util/function/Function;
aload 0
aload 3
invokevirtual org.apache.cassandra.cql3.functions.CastFcts$JavaFunctionWrapper.compose:(Ljava/nio/ByteBuffer;)Ljava/lang/Object;
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual org.apache.cassandra.db.marshal.AbstractType.decompose:(Ljava/lang/Object;)Ljava/nio/ByteBuffer;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/cql3/functions/CastFcts$JavaFunctionWrapper<TI;TO;>;
0 4 1 protocolVersion Lorg/apache/cassandra/transport/ProtocolVersion;
0 4 2 parameters Ljava/util/List<Ljava/nio/ByteBuffer;>;
1 4 3 bb Ljava/nio/ByteBuffer;
Signature: (Lorg/apache/cassandra/transport/ProtocolVersion;Ljava/util/List<Ljava/nio/ByteBuffer;>;)Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
protocolVersion
parameters
protected I compose(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.cassandra.cql3.functions.CastFcts$JavaFunctionWrapper.inputType:()Lorg/apache/cassandra/db/marshal/AbstractType;
aload 1
invokevirtual org.apache.cassandra.db.marshal.AbstractType.compose:(Ljava/nio/ByteBuffer;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/functions/CastFcts$JavaFunctionWrapper<TI;TO;>;
0 1 1 bb Ljava/nio/ByteBuffer;
Signature: (Ljava/nio/ByteBuffer;)TI;
MethodParameters:
Name Flags
bb
}
Signature: <I:Ljava/lang/Object;O:Ljava/lang/Object;>Lorg/apache/cassandra/cql3/functions/CastFcts$CastFunction<TI;TO;>;
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
private JavaFunctionWrapper = org.apache.cassandra.cql3.functions.CastFcts$JavaFunctionWrapper of org.apache.cassandra.cql3.functions.CastFcts