class org.apache.cassandra.cql3.functions.TimeFcts$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.TimeFcts$4
super_class: org.apache.cassandra.cql3.functions.NativeScalarFunction
{
private volatile boolean hasLoggedDeprecationWarning;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
void <init>(java.lang.String, 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;)V
flags: (0x0080) ACC_VARARGS
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: 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/TimeFcts$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
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=2, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.cassandra.cql3.functions.TimeFcts$4.hasLoggedDeprecationWarning:Z
ifne 3
1: aload 0
iconst_1
putfield org.apache.cassandra.cql3.functions.TimeFcts$4.hasLoggedDeprecationWarning:Z
2: getstatic org.apache.cassandra.cql3.functions.TimeFcts.logger:Lorg/slf4j/Logger;
ldc "The function 'dateof' is deprecated. Use the function 'toTimestamp' instead."
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;)V
3: StackMap locals:
StackMap stack:
aload 2
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.nio.ByteBuffer
astore 3
start local 3 4: aload 3
ifnonnull 6
5: aconst_null
areturn
6: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 3
invokestatic org.apache.cassandra.utils.UUIDGen.getUUID:(Ljava/nio/ByteBuffer;)Ljava/util/UUID;
invokestatic org.apache.cassandra.utils.UUIDGen.unixTimestamp:(Ljava/util/UUID;)J
lstore 4
start local 4 7: lload 4
invokestatic org.apache.cassandra.utils.ByteBufferUtil.bytes:(J)Ljava/nio/ByteBuffer;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/cql3/functions/TimeFcts$4;
0 8 1 protocolVersion Lorg/apache/cassandra/transport/ProtocolVersion;
0 8 2 parameters Ljava/util/List<Ljava/nio/ByteBuffer;>;
4 8 3 bb Ljava/nio/ByteBuffer;
7 8 4 timeInMillis J
Signature: (Lorg/apache/cassandra/transport/ProtocolVersion;Ljava/util/List<Ljava/nio/ByteBuffer;>;)Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
protocolVersion
parameters
}
SourceFile: "TimeFcts.java"
EnclosingMethod: org.apache.cassandra.cql3.functions.TimeFcts
NestHost: org.apache.cassandra.cql3.functions.TimeFcts
InnerClasses:
org.apache.cassandra.cql3.functions.TimeFcts$4