class org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound extends org.apache.cassandra.cql3.ColumnCondition$Bound
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound
super_class: org.apache.cassandra.cql3.ColumnCondition$Bound
{
public final java.nio.ByteBuffer collectionElement;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final java.nio.ByteBuffer value;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/cql3/ColumnCondition;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(org.apache.cassandra.cql3.ColumnCondition, org.apache.cassandra.cql3.QueryOptions);
descriptor: (Lorg/apache/cassandra/cql3/ColumnCondition;Lorg/apache/cassandra/cql3/QueryOptions;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
getfield org.apache.cassandra.cql3.ColumnCondition.column:Lorg/apache/cassandra/config/ColumnDefinition;
aload 1
getfield org.apache.cassandra.cql3.ColumnCondition.operator:Lorg/apache/cassandra/cql3/Operator;
invokespecial org.apache.cassandra.cql3.ColumnCondition$Bound.<init>:(Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/cql3/Operator;)V
1: getstatic org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound.$assertionsDisabled:Z
ifne 3
aload 0
getfield org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound.column:Lorg/apache/cassandra/config/ColumnDefinition;
getfield org.apache.cassandra.config.ColumnDefinition.type:Lorg/apache/cassandra/db/marshal/AbstractType;
instanceof org.apache.cassandra.db.marshal.CollectionType
ifeq 2
aload 1
getfield org.apache.cassandra.cql3.ColumnCondition.collectionElement:Lorg/apache/cassandra/cql3/Term;
ifnonnull 3
StackMap locals: org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound org.apache.cassandra.cql3.ColumnCondition org.apache.cassandra.cql3.QueryOptions
StackMap stack:
2: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound.$assertionsDisabled:Z
ifne 4
aload 1
getfield org.apache.cassandra.cql3.ColumnCondition.operator:Lorg/apache/cassandra/cql3/Operator;
getstatic org.apache.cassandra.cql3.Operator.IN:Lorg/apache/cassandra/cql3/Operator;
if_acmpne 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 1
getfield org.apache.cassandra.cql3.ColumnCondition.collectionElement:Lorg/apache/cassandra/cql3/Term;
aload 2
invokeinterface org.apache.cassandra.cql3.Term.bindAndGet:(Lorg/apache/cassandra/cql3/QueryOptions;)Ljava/nio/ByteBuffer;
putfield org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound.collectionElement:Ljava/nio/ByteBuffer;
5: aload 0
aload 1
getfield org.apache.cassandra.cql3.ColumnCondition.value:Lorg/apache/cassandra/cql3/Term;
aload 2
invokeinterface org.apache.cassandra.cql3.Term.bindAndGet:(Lorg/apache/cassandra/cql3/QueryOptions;)Ljava/nio/ByteBuffer;
putfield org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound.value:Ljava/nio/ByteBuffer;
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/cql3/ColumnCondition$ElementAccessBound;
0 7 1 condition Lorg/apache/cassandra/cql3/ColumnCondition;
0 7 2 options Lorg/apache/cassandra/cql3/QueryOptions;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
condition
options
public boolean appliesTo(org.apache.cassandra.db.rows.Row);
descriptor: (Lorg/apache/cassandra/db/rows/Row;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound.collectionElement:Ljava/nio/ByteBuffer;
ifnonnull 4
1: new org.apache.cassandra.exceptions.InvalidRequestException
dup
new java.lang.StringBuilder
dup
ldc "Invalid null value for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound.column:Lorg/apache/cassandra/config/ColumnDefinition;
getfield org.apache.cassandra.config.ColumnDefinition.type:Lorg/apache/cassandra/db/marshal/AbstractType;
instanceof org.apache.cassandra.db.marshal.MapType
ifeq 2
ldc "map"
goto 3
StackMap locals: org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound org.apache.cassandra.db.rows.Row
StackMap stack: new 1 new 1 java.lang.StringBuilder
2: ldc "list"
StackMap locals: org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound org.apache.cassandra.db.rows.Row
StackMap stack: new 1 new 1 java.lang.StringBuilder java.lang.String
3: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " element access"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound.column:Lorg/apache/cassandra/config/ColumnDefinition;
getfield org.apache.cassandra.config.ColumnDefinition.type:Lorg/apache/cassandra/db/marshal/AbstractType;
instanceof org.apache.cassandra.db.marshal.MapType
ifeq 12
5: aload 0
getfield org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound.column:Lorg/apache/cassandra/config/ColumnDefinition;
getfield org.apache.cassandra.config.ColumnDefinition.type:Lorg/apache/cassandra/db/marshal/AbstractType;
checkcast org.apache.cassandra.db.marshal.MapType
astore 2
start local 2 6: aload 0
getfield org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound.column:Lorg/apache/cassandra/config/ColumnDefinition;
getfield org.apache.cassandra.config.ColumnDefinition.type:Lorg/apache/cassandra/db/marshal/AbstractType;
invokevirtual org.apache.cassandra.db.marshal.AbstractType.isMultiCell:()Z
ifeq 9
7: aload 1
aload 0
getfield org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound.column:Lorg/apache/cassandra/config/ColumnDefinition;
aload 0
getfield org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound.collectionElement:Ljava/nio/ByteBuffer;
invokestatic org.apache.cassandra.db.rows.CellPath.create:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/rows/CellPath;
invokestatic org.apache.cassandra.cql3.ColumnCondition.getCell:(Lorg/apache/cassandra/db/rows/Row;Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/db/rows/CellPath;)Lorg/apache/cassandra/db/rows/Cell;
astore 3
start local 3 8: aload 0
aload 0
getfield org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound.value:Ljava/nio/ByteBuffer;
aload 3
aload 0
getfield org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound.column:Lorg/apache/cassandra/config/ColumnDefinition;
getfield org.apache.cassandra.config.ColumnDefinition.type:Lorg/apache/cassandra/db/marshal/AbstractType;
checkcast org.apache.cassandra.db.marshal.MapType
invokevirtual org.apache.cassandra.db.marshal.MapType.getValuesType:()Lorg/apache/cassandra/db/marshal/AbstractType;
aload 0
getfield org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound.operator:Lorg/apache/cassandra/cql3/Operator;
invokevirtual org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound.isSatisfiedByValue:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/db/rows/Cell;Lorg/apache/cassandra/db/marshal/AbstractType;Lorg/apache/cassandra/cql3/Operator;)Z
ireturn
end local 3 9: StackMap locals: org.apache.cassandra.db.marshal.MapType
StackMap stack:
aload 1
aload 0
getfield org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound.column:Lorg/apache/cassandra/config/ColumnDefinition;
invokestatic org.apache.cassandra.cql3.ColumnCondition.getCell:(Lorg/apache/cassandra/db/rows/Row;Lorg/apache/cassandra/config/ColumnDefinition;)Lorg/apache/cassandra/db/rows/Cell;
astore 3
start local 3 10: aload 2
invokevirtual org.apache.cassandra.db.marshal.MapType.getSerializer:()Lorg/apache/cassandra/serializers/MapSerializer;
aload 3
invokevirtual org.apache.cassandra.db.rows.Cell.value:()Ljava/nio/ByteBuffer;
aload 0
getfield org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound.collectionElement:Ljava/nio/ByteBuffer;
aload 2
invokevirtual org.apache.cassandra.db.marshal.MapType.getKeysType:()Lorg/apache/cassandra/db/marshal/AbstractType;
invokevirtual org.apache.cassandra.serializers.MapSerializer.getSerializedValue:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;Lorg/apache/cassandra/db/marshal/AbstractType;)Ljava/nio/ByteBuffer;
astore 4
start local 4 11: aload 0
aload 0
getfield org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound.operator:Lorg/apache/cassandra/cql3/Operator;
aload 2
invokevirtual org.apache.cassandra.db.marshal.MapType.getValuesType:()Lorg/apache/cassandra/db/marshal/AbstractType;
aload 0
getfield org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound.value:Ljava/nio/ByteBuffer;
aload 4
invokevirtual org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound.compareWithOperator:(Lorg/apache/cassandra/cql3/Operator;Lorg/apache/cassandra/db/marshal/AbstractType;Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)Z
ireturn
end local 4 end local 3 end local 2 12: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound.column:Lorg/apache/cassandra/config/ColumnDefinition;
getfield org.apache.cassandra.config.ColumnDefinition.type:Lorg/apache/cassandra/db/marshal/AbstractType;
checkcast org.apache.cassandra.db.marshal.ListType
astore 2
start local 2 13: aload 0
getfield org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound.column:Lorg/apache/cassandra/config/ColumnDefinition;
getfield org.apache.cassandra.config.ColumnDefinition.type:Lorg/apache/cassandra/db/marshal/AbstractType;
invokevirtual org.apache.cassandra.db.marshal.AbstractType.isMultiCell:()Z
ifeq 16
14: aload 1
aload 0
getfield org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound.column:Lorg/apache/cassandra/config/ColumnDefinition;
invokestatic org.apache.cassandra.cql3.ColumnCondition.getCells:(Lorg/apache/cassandra/db/rows/Row;Lorg/apache/cassandra/config/ColumnDefinition;)Ljava/util/Iterator;
aload 0
getfield org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound.collectionElement:Ljava/nio/ByteBuffer;
invokestatic org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound.getListIndex:(Ljava/nio/ByteBuffer;)I
invokestatic org.apache.cassandra.cql3.ColumnCondition.cellValueAtIndex:(Ljava/util/Iterator;I)Ljava/nio/ByteBuffer;
astore 3
start local 3 15: aload 0
aload 0
getfield org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound.operator:Lorg/apache/cassandra/cql3/Operator;
aload 0
getfield org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound.column:Lorg/apache/cassandra/config/ColumnDefinition;
getfield org.apache.cassandra.config.ColumnDefinition.type:Lorg/apache/cassandra/db/marshal/AbstractType;
checkcast org.apache.cassandra.db.marshal.ListType
invokevirtual org.apache.cassandra.db.marshal.ListType.getElementsType:()Lorg/apache/cassandra/db/marshal/AbstractType;
aload 0
getfield org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound.value:Ljava/nio/ByteBuffer;
aload 3
invokevirtual org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound.compareWithOperator:(Lorg/apache/cassandra/cql3/Operator;Lorg/apache/cassandra/db/marshal/AbstractType;Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)Z
ireturn
end local 3 16: StackMap locals: org.apache.cassandra.db.marshal.ListType
StackMap stack:
aload 1
aload 0
getfield org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound.column:Lorg/apache/cassandra/config/ColumnDefinition;
invokestatic org.apache.cassandra.cql3.ColumnCondition.getCell:(Lorg/apache/cassandra/db/rows/Row;Lorg/apache/cassandra/config/ColumnDefinition;)Lorg/apache/cassandra/db/rows/Cell;
astore 3
start local 3 17: aload 2
invokevirtual org.apache.cassandra.db.marshal.ListType.getSerializer:()Lorg/apache/cassandra/serializers/ListSerializer;
aload 3
invokevirtual org.apache.cassandra.db.rows.Cell.value:()Ljava/nio/ByteBuffer;
aload 0
getfield org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound.collectionElement:Ljava/nio/ByteBuffer;
invokestatic org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound.getListIndex:(Ljava/nio/ByteBuffer;)I
invokevirtual org.apache.cassandra.serializers.ListSerializer.getElement:(Ljava/nio/ByteBuffer;I)Ljava/nio/ByteBuffer;
astore 4
start local 4 18: aload 0
aload 0
getfield org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound.operator:Lorg/apache/cassandra/cql3/Operator;
aload 2
invokevirtual org.apache.cassandra.db.marshal.ListType.getElementsType:()Lorg/apache/cassandra/db/marshal/AbstractType;
aload 0
getfield org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound.value:Ljava/nio/ByteBuffer;
aload 4
invokevirtual org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound.compareWithOperator:(Lorg/apache/cassandra/cql3/Operator;Lorg/apache/cassandra/db/marshal/AbstractType;Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)Z
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/cassandra/cql3/ColumnCondition$ElementAccessBound;
0 19 1 row Lorg/apache/cassandra/db/rows/Row;
6 12 2 mapType Lorg/apache/cassandra/db/marshal/MapType;
8 9 3 cell Lorg/apache/cassandra/db/rows/Cell;
10 12 3 cell Lorg/apache/cassandra/db/rows/Cell;
11 12 4 mapElementValue Ljava/nio/ByteBuffer;
13 19 2 listType Lorg/apache/cassandra/db/marshal/ListType;
15 16 3 columnValue Ljava/nio/ByteBuffer;
17 19 3 cell Lorg/apache/cassandra/db/rows/Cell;
18 19 4 listElementValue Ljava/nio/ByteBuffer;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
row
static int getListIndex(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=2, args_size=1
start local 0 0: aload 0
invokestatic org.apache.cassandra.utils.ByteBufferUtil.toInt:(Ljava/nio/ByteBuffer;)I
istore 1
start local 1 1: iload 1
ifge 3
2: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Invalid negative list index %d"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 1
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
3: StackMap locals: int
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 collectionElement Ljava/nio/ByteBuffer;
1 4 1 idx I
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
collectionElement
public java.nio.ByteBuffer getCollectionElementValue();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound.collectionElement:Ljava/nio/ByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/ColumnCondition$ElementAccessBound;
}
SourceFile: "ColumnCondition.java"
NestHost: org.apache.cassandra.cql3.ColumnCondition
InnerClasses:
public abstract Bound = org.apache.cassandra.cql3.ColumnCondition$Bound of org.apache.cassandra.cql3.ColumnCondition
ElementAccessBound = org.apache.cassandra.cql3.ColumnCondition$ElementAccessBound of org.apache.cassandra.cql3.ColumnCondition