public class org.apache.cassandra.index.internal.composites.PartitionKeyIndex extends org.apache.cassandra.index.internal.CassandraIndex
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.index.internal.composites.PartitionKeyIndex
super_class: org.apache.cassandra.index.internal.CassandraIndex
{
private final boolean enforceStrictLiveness;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.apache.cassandra.db.ColumnFamilyStore, org.apache.cassandra.schema.IndexMetadata);
descriptor: (Lorg/apache/cassandra/db/ColumnFamilyStore;Lorg/apache/cassandra/schema/IndexMetadata;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.apache.cassandra.index.internal.CassandraIndex.<init>:(Lorg/apache/cassandra/db/ColumnFamilyStore;Lorg/apache/cassandra/schema/IndexMetadata;)V
1: aload 0
aload 1
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
invokevirtual org.apache.cassandra.config.CFMetaData.enforceStrictLiveness:()Z
putfield org.apache.cassandra.index.internal.composites.PartitionKeyIndex.enforceStrictLiveness:Z
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/index/internal/composites/PartitionKeyIndex;
0 3 1 baseCfs Lorg/apache/cassandra/db/ColumnFamilyStore;
0 3 2 indexDef Lorg/apache/cassandra/schema/IndexMetadata;
MethodParameters:
Name Flags
baseCfs
indexDef
public java.nio.ByteBuffer getIndexedValue(java.nio.ByteBuffer, org.apache.cassandra.db.Clustering, org.apache.cassandra.db.rows.CellPath, java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;Lorg/apache/cassandra/db/Clustering;Lorg/apache/cassandra/db/rows/CellPath;Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield org.apache.cassandra.index.internal.composites.PartitionKeyIndex.baseCfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
invokevirtual org.apache.cassandra.config.CFMetaData.getKeyValidator:()Lorg/apache/cassandra/db/marshal/AbstractType;
checkcast org.apache.cassandra.db.marshal.CompositeType
astore 5
start local 5 1: aload 5
aload 1
invokevirtual org.apache.cassandra.db.marshal.CompositeType.split:(Ljava/nio/ByteBuffer;)[Ljava/nio/ByteBuffer;
astore 6
start local 6 2: aload 6
aload 0
getfield org.apache.cassandra.index.internal.composites.PartitionKeyIndex.indexedColumn:Lorg/apache/cassandra/config/ColumnDefinition;
invokevirtual org.apache.cassandra.config.ColumnDefinition.position:()I
aaload
areturn
end local 6 end local 5 end local 4 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/index/internal/composites/PartitionKeyIndex;
0 3 1 partitionKey Ljava/nio/ByteBuffer;
0 3 2 clustering Lorg/apache/cassandra/db/Clustering;
0 3 3 path Lorg/apache/cassandra/db/rows/CellPath;
0 3 4 cellValue Ljava/nio/ByteBuffer;
1 3 5 keyComparator Lorg/apache/cassandra/db/marshal/CompositeType;
2 3 6 components [Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
partitionKey
clustering
path
cellValue
public org.apache.cassandra.db.CBuilder buildIndexClusteringPrefix(java.nio.ByteBuffer, org.apache.cassandra.db.ClusteringPrefix, org.apache.cassandra.db.rows.CellPath);
descriptor: (Ljava/nio/ByteBuffer;Lorg/apache/cassandra/db/ClusteringPrefix;Lorg/apache/cassandra/db/rows/CellPath;)Lorg/apache/cassandra/db/CBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual org.apache.cassandra.index.internal.composites.PartitionKeyIndex.getIndexComparator:()Lorg/apache/cassandra/db/ClusteringComparator;
invokestatic org.apache.cassandra.db.CBuilder.create:(Lorg/apache/cassandra/db/ClusteringComparator;)Lorg/apache/cassandra/db/CBuilder;
astore 4
start local 4 1: aload 4
aload 1
invokevirtual org.apache.cassandra.db.CBuilder.add:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/CBuilder;
pop
2: iconst_0
istore 5
start local 5 3: goto 6
4: StackMap locals: org.apache.cassandra.db.CBuilder int
StackMap stack:
aload 4
aload 2
iload 5
invokeinterface org.apache.cassandra.db.ClusteringPrefix.get:(I)Ljava/nio/ByteBuffer;
invokevirtual org.apache.cassandra.db.CBuilder.add:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/CBuilder;
pop
5: iinc 5 1
StackMap locals:
StackMap stack:
6: iload 5
aload 2
invokeinterface org.apache.cassandra.db.ClusteringPrefix.size:()I
if_icmplt 4
end local 5 7: aload 4
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/index/internal/composites/PartitionKeyIndex;
0 8 1 partitionKey Ljava/nio/ByteBuffer;
0 8 2 prefix Lorg/apache/cassandra/db/ClusteringPrefix;
0 8 3 path Lorg/apache/cassandra/db/rows/CellPath;
1 8 4 builder Lorg/apache/cassandra/db/CBuilder;
3 7 5 i I
MethodParameters:
Name Flags
partitionKey
prefix
path
public org.apache.cassandra.index.internal.IndexEntry decodeEntry(org.apache.cassandra.db.DecoratedKey, org.apache.cassandra.db.rows.Row);
descriptor: (Lorg/apache/cassandra/db/DecoratedKey;Lorg/apache/cassandra/db/rows/Row;)Lorg/apache/cassandra/index/internal/IndexEntry;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.cassandra.index.internal.composites.PartitionKeyIndex.baseCfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
invokevirtual org.apache.cassandra.config.CFMetaData.clusteringColumns:()Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 3
start local 3 1: aload 2
invokeinterface org.apache.cassandra.db.rows.Row.clustering:()Lorg/apache/cassandra/db/Clustering;
astore 4
start local 4 2: aload 0
getfield org.apache.cassandra.index.internal.composites.PartitionKeyIndex.baseCfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getComparator:()Lorg/apache/cassandra/db/ClusteringComparator;
invokestatic org.apache.cassandra.db.CBuilder.create:(Lorg/apache/cassandra/db/ClusteringComparator;)Lorg/apache/cassandra/db/CBuilder;
astore 5
start local 5 3: iconst_0
istore 6
start local 6 4: goto 7
5: StackMap locals: org.apache.cassandra.index.internal.composites.PartitionKeyIndex org.apache.cassandra.db.DecoratedKey org.apache.cassandra.db.rows.Row int org.apache.cassandra.db.Clustering org.apache.cassandra.db.CBuilder int
StackMap stack:
aload 5
aload 4
iload 6
iconst_1
iadd
invokeinterface org.apache.cassandra.db.Clustering.get:(I)Ljava/nio/ByteBuffer;
invokevirtual org.apache.cassandra.db.CBuilder.add:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/CBuilder;
pop
6: iinc 6 1
StackMap locals:
StackMap stack:
7: iload 6
iload 3
if_icmplt 5
end local 6 8: new org.apache.cassandra.index.internal.IndexEntry
dup
aload 1
9: aload 4
10: aload 2
invokeinterface org.apache.cassandra.db.rows.Row.primaryKeyLivenessInfo:()Lorg/apache/cassandra/db/LivenessInfo;
invokevirtual org.apache.cassandra.db.LivenessInfo.timestamp:()J
11: aload 4
iconst_0
invokeinterface org.apache.cassandra.db.Clustering.get:(I)Ljava/nio/ByteBuffer;
12: aload 5
invokevirtual org.apache.cassandra.db.CBuilder.build:()Lorg/apache/cassandra/db/Clustering;
13: invokespecial org.apache.cassandra.index.internal.IndexEntry.<init>:(Lorg/apache/cassandra/db/DecoratedKey;Lorg/apache/cassandra/db/Clustering;JLjava/nio/ByteBuffer;Lorg/apache/cassandra/db/Clustering;)V
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/cassandra/index/internal/composites/PartitionKeyIndex;
0 14 1 indexedValue Lorg/apache/cassandra/db/DecoratedKey;
0 14 2 indexEntry Lorg/apache/cassandra/db/rows/Row;
1 14 3 ckCount I
2 14 4 clustering Lorg/apache/cassandra/db/Clustering;
3 14 5 builder Lorg/apache/cassandra/db/CBuilder;
4 8 6 i I
MethodParameters:
Name Flags
indexedValue
indexEntry
public boolean isStale(org.apache.cassandra.db.rows.Row, java.nio.ByteBuffer, int);
descriptor: (Lorg/apache/cassandra/db/rows/Row;Ljava/nio/ByteBuffer;I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
iload 3
aload 0
getfield org.apache.cassandra.index.internal.composites.PartitionKeyIndex.enforceStrictLiveness:Z
invokeinterface org.apache.cassandra.db.rows.Row.hasLiveData:(IZ)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
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/index/internal/composites/PartitionKeyIndex;
0 3 1 data Lorg/apache/cassandra/db/rows/Row;
0 3 2 indexValue Ljava/nio/ByteBuffer;
0 3 3 nowInSec I
MethodParameters:
Name Flags
data
indexValue
nowInSec
}
SourceFile: "PartitionKeyIndex.java"