public class org.apache.cassandra.cql3.Attributes
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.cql3.Attributes
super_class: java.lang.Object
{
public static final int MAX_TTL;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 630720000
private final org.apache.cassandra.cql3.Term timestamp;
descriptor: Lorg/apache/cassandra/cql3/Term;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.cassandra.cql3.Term timeToLive;
descriptor: Lorg/apache/cassandra/cql3/Term;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static org.apache.cassandra.cql3.Attributes none();
descriptor: ()Lorg/apache/cassandra/cql3/Attributes;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new org.apache.cassandra.cql3.Attributes
dup
aconst_null
aconst_null
invokespecial org.apache.cassandra.cql3.Attributes.<init>:(Lorg/apache/cassandra/cql3/Term;Lorg/apache/cassandra/cql3/Term;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
private void <init>(org.apache.cassandra.cql3.Term, org.apache.cassandra.cql3.Term);
descriptor: (Lorg/apache/cassandra/cql3/Term;Lorg/apache/cassandra/cql3/Term;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.cql3.Attributes.timestamp:Lorg/apache/cassandra/cql3/Term;
2: aload 0
aload 2
putfield org.apache.cassandra.cql3.Attributes.timeToLive:Lorg/apache/cassandra/cql3/Term;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/cql3/Attributes;
0 4 1 timestamp Lorg/apache/cassandra/cql3/Term;
0 4 2 timeToLive Lorg/apache/cassandra/cql3/Term;
MethodParameters:
Name Flags
timestamp
timeToLive
public void addFunctionsTo(java.util.List<org.apache.cassandra.cql3.functions.Function>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.cql3.Attributes.timestamp:Lorg/apache/cassandra/cql3/Term;
ifnull 2
1: aload 0
getfield org.apache.cassandra.cql3.Attributes.timestamp:Lorg/apache/cassandra/cql3/Term;
aload 1
invokeinterface org.apache.cassandra.cql3.Term.addFunctionsTo:(Ljava/util/List;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.Attributes.timeToLive:Lorg/apache/cassandra/cql3/Term;
ifnull 4
3: aload 0
getfield org.apache.cassandra.cql3.Attributes.timeToLive:Lorg/apache/cassandra/cql3/Term;
aload 1
invokeinterface org.apache.cassandra.cql3.Term.addFunctionsTo:(Ljava/util/List;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/cql3/Attributes;
0 5 1 functions Ljava/util/List<Lorg/apache/cassandra/cql3/functions/Function;>;
Signature: (Ljava/util/List<Lorg/apache/cassandra/cql3/functions/Function;>;)V
MethodParameters:
Name Flags
functions
public boolean isTimestampSet();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.Attributes.timestamp:Lorg/apache/cassandra/cql3/Term;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/cql3/Attributes;
public boolean isTimeToLiveSet();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.Attributes.timeToLive:Lorg/apache/cassandra/cql3/Term;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/cql3/Attributes;
public long getTimestamp(long, org.apache.cassandra.cql3.QueryOptions);
descriptor: (JLorg/apache/cassandra/cql3/QueryOptions;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getfield org.apache.cassandra.cql3.Attributes.timestamp:Lorg/apache/cassandra/cql3/Term;
ifnonnull 2
1: lload 1
lreturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.Attributes.timestamp:Lorg/apache/cassandra/cql3/Term;
aload 3
invokeinterface org.apache.cassandra.cql3.Term.bindAndGet:(Lorg/apache/cassandra/cql3/QueryOptions;)Ljava/nio/ByteBuffer;
astore 4
start local 4 3: aload 4
ifnonnull 5
4: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Invalid null value of timestamp"
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 4
getstatic org.apache.cassandra.utils.ByteBufferUtil.UNSET_BYTE_BUFFER:Ljava/nio/ByteBuffer;
if_acmpne 7
6: lload 1
lreturn
7: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.db.marshal.LongType.instance:Lorg/apache/cassandra/db/marshal/LongType;
aload 4
invokevirtual org.apache.cassandra.db.marshal.LongType.validate:(Ljava/nio/ByteBuffer;)V
8: goto 11
9: StackMap locals:
StackMap stack: org.apache.cassandra.serializers.MarshalException
pop
10: new org.apache.cassandra.exceptions.InvalidRequestException
dup
new java.lang.StringBuilder
dup
ldc "Invalid timestamp value: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.db.marshal.LongType.instance:Lorg/apache/cassandra/db/marshal/LongType;
aload 4
invokevirtual org.apache.cassandra.db.marshal.LongType.compose:(Ljava/nio/ByteBuffer;)Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
lreturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/cassandra/cql3/Attributes;
0 12 1 now J
0 12 3 options Lorg/apache/cassandra/cql3/QueryOptions;
3 12 4 tval Ljava/nio/ByteBuffer;
Exception table:
from to target type
7 8 9 Class org.apache.cassandra.serializers.MarshalException
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
now
options
public int getTimeToLive(org.apache.cassandra.cql3.QueryOptions, org.apache.cassandra.config.CFMetaData);
descriptor: (Lorg/apache/cassandra/cql3/QueryOptions;Lorg/apache/cassandra/config/CFMetaData;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.cassandra.cql3.Attributes.timeToLive:Lorg/apache/cassandra/cql3/Term;
ifnonnull 3
1: aload 2
aload 2
getfield org.apache.cassandra.config.CFMetaData.params:Lorg/apache/cassandra/schema/TableParams;
getfield org.apache.cassandra.schema.TableParams.defaultTimeToLive:I
iconst_1
invokestatic org.apache.cassandra.db.ExpirationDateOverflowHandling.maybeApplyExpirationDateOverflowPolicy:(Lorg/apache/cassandra/config/CFMetaData;IZ)V
2: aload 2
getfield org.apache.cassandra.config.CFMetaData.params:Lorg/apache/cassandra/schema/TableParams;
getfield org.apache.cassandra.schema.TableParams.defaultTimeToLive:I
ireturn
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.Attributes.timeToLive:Lorg/apache/cassandra/cql3/Term;
aload 1
invokeinterface org.apache.cassandra.cql3.Term.bindAndGet:(Lorg/apache/cassandra/cql3/QueryOptions;)Ljava/nio/ByteBuffer;
astore 3
start local 3 4: aload 3
ifnonnull 6
5: iconst_0
ireturn
6: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 3
getstatic org.apache.cassandra.utils.ByteBufferUtil.UNSET_BYTE_BUFFER:Ljava/nio/ByteBuffer;
if_acmpne 8
7: aload 2
getfield org.apache.cassandra.config.CFMetaData.params:Lorg/apache/cassandra/schema/TableParams;
getfield org.apache.cassandra.schema.TableParams.defaultTimeToLive:I
ireturn
8: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.db.marshal.Int32Type.instance:Lorg/apache/cassandra/db/marshal/Int32Type;
aload 3
invokevirtual org.apache.cassandra.db.marshal.Int32Type.validate:(Ljava/nio/ByteBuffer;)V
9: goto 12
10: StackMap locals:
StackMap stack: org.apache.cassandra.serializers.MarshalException
pop
11: new org.apache.cassandra.exceptions.InvalidRequestException
dup
new java.lang.StringBuilder
dup
ldc "Invalid timestamp value: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.db.marshal.Int32Type.instance:Lorg/apache/cassandra/db/marshal/Int32Type;
aload 3
invokevirtual org.apache.cassandra.db.marshal.Int32Type.compose:(Ljava/nio/ByteBuffer;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 4
start local 4 13: iload 4
ifge 15
14: new org.apache.cassandra.exceptions.InvalidRequestException
dup
new java.lang.StringBuilder
dup
ldc "A TTL must be greater or equal to 0, but was "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals: int
StackMap stack:
iload 4
ldc 630720000
if_icmple 17
16: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "ttl is too large. requested (%d) maximum (%d)"
iconst_2
anewarray java.lang.Object
dup
iconst_0
iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
ldc 630720000
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
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
17: StackMap locals:
StackMap stack:
aload 2
getfield org.apache.cassandra.config.CFMetaData.params:Lorg/apache/cassandra/schema/TableParams;
getfield org.apache.cassandra.schema.TableParams.defaultTimeToLive:I
ifeq 19
iload 4
ifne 19
18: iconst_0
ireturn
19: StackMap locals:
StackMap stack:
aload 2
iload 4
iconst_0
invokestatic org.apache.cassandra.db.ExpirationDateOverflowHandling.maybeApplyExpirationDateOverflowPolicy:(Lorg/apache/cassandra/config/CFMetaData;IZ)V
20: iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/apache/cassandra/cql3/Attributes;
0 21 1 options Lorg/apache/cassandra/cql3/QueryOptions;
0 21 2 metadata Lorg/apache/cassandra/config/CFMetaData;
4 21 3 tval Ljava/nio/ByteBuffer;
13 21 4 ttl I
Exception table:
from to target type
8 9 10 Class org.apache.cassandra.serializers.MarshalException
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
options
metadata
public void collectMarkerSpecification(org.apache.cassandra.cql3.VariableSpecifications);
descriptor: (Lorg/apache/cassandra/cql3/VariableSpecifications;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.cql3.Attributes.timestamp:Lorg/apache/cassandra/cql3/Term;
ifnull 2
1: aload 0
getfield org.apache.cassandra.cql3.Attributes.timestamp:Lorg/apache/cassandra/cql3/Term;
aload 1
invokeinterface org.apache.cassandra.cql3.Term.collectMarkerSpecification:(Lorg/apache/cassandra/cql3/VariableSpecifications;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.Attributes.timeToLive:Lorg/apache/cassandra/cql3/Term;
ifnull 4
3: aload 0
getfield org.apache.cassandra.cql3.Attributes.timeToLive:Lorg/apache/cassandra/cql3/Term;
aload 1
invokeinterface org.apache.cassandra.cql3.Term.collectMarkerSpecification:(Lorg/apache/cassandra/cql3/VariableSpecifications;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/cql3/Attributes;
0 5 1 boundNames Lorg/apache/cassandra/cql3/VariableSpecifications;
MethodParameters:
Name Flags
boundNames
}
SourceFile: "Attributes.java"
NestMembers:
org.apache.cassandra.cql3.Attributes$Raw
InnerClasses:
public Raw = org.apache.cassandra.cql3.Attributes$Raw of org.apache.cassandra.cql3.Attributes