class org.apache.cassandra.db.view.TableViews$1 implements java.util.Iterator<java.util.Collection<org.apache.cassandra.db.Mutation>>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.db.view.TableViews$1
super_class: java.lang.Object
{
java.util.Collection<org.apache.cassandra.db.Mutation> next;
descriptor: Ljava/util/Collection;
flags: (0x0000)
Signature: Ljava/util/Collection<Lorg/apache/cassandra/db/Mutation;>;
final org.apache.cassandra.db.view.TableViews this$0;
descriptor: Lorg/apache/cassandra/db/view/TableViews;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final com.google.common.collect.PeekingIterator val$updatesIter;
descriptor: Lcom/google/common/collect/PeekingIterator;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final org.apache.cassandra.db.view.TableViews$DeletionTracker val$existingsDeletion;
descriptor: Lorg/apache/cassandra/db/view/TableViews$DeletionTracker;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.util.List val$generators;
descriptor: Ljava/util/List;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final int val$nowInSec;
descriptor: I
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.apache.cassandra.db.view.TableViews, java.util.Collection, com.google.common.collect.PeekingIterator, org.apache.cassandra.db.view.TableViews$DeletionTracker, java.util.List, int);
descriptor: (Lorg/apache/cassandra/db/view/TableViews;Ljava/util/Collection;Lcom/google/common/collect/PeekingIterator;Lorg/apache/cassandra/db/view/TableViews$DeletionTracker;Ljava/util/List;I)V
flags: (0x0000)
Code:
stack=2, locals=7, args_size=7
start local 0 0: aload 0
aload 1
putfield org.apache.cassandra.db.view.TableViews$1.this$0:Lorg/apache/cassandra/db/view/TableViews;
aload 0
aload 3
putfield org.apache.cassandra.db.view.TableViews$1.val$updatesIter:Lcom/google/common/collect/PeekingIterator;
aload 0
aload 4
putfield org.apache.cassandra.db.view.TableViews$1.val$existingsDeletion:Lorg/apache/cassandra/db/view/TableViews$DeletionTracker;
aload 0
aload 5
putfield org.apache.cassandra.db.view.TableViews$1.val$generators:Ljava/util/List;
aload 0
iload 6
putfield org.apache.cassandra.db.view.TableViews$1.val$nowInSec:I
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
invokeinterface java.util.Collection.isEmpty:()Z
ifeq 3
2: aload 0
invokevirtual org.apache.cassandra.db.view.TableViews$1.buildNext:()Ljava/util/Collection;
goto 4
3: StackMap locals: org.apache.cassandra.db.view.TableViews$1 org.apache.cassandra.db.view.TableViews java.util.Collection com.google.common.collect.PeekingIterator org.apache.cassandra.db.view.TableViews$DeletionTracker java.util.List int
StackMap stack: org.apache.cassandra.db.view.TableViews$1
aload 2
StackMap locals: org.apache.cassandra.db.view.TableViews$1 org.apache.cassandra.db.view.TableViews java.util.Collection com.google.common.collect.PeekingIterator org.apache.cassandra.db.view.TableViews$DeletionTracker java.util.List int
StackMap stack: org.apache.cassandra.db.view.TableViews$1 java.util.Collection
4: putfield org.apache.cassandra.db.view.TableViews$1.next:Ljava/util/Collection;
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/db/view/TableViews$1;
MethodParameters:
Name Flags
this$0 final
val$firstBuild final
val$updatesIter final
val$existingsDeletion final
val$generators final
val$nowInSec final
private java.util.Collection<org.apache.cassandra.db.Mutation> buildNext();
descriptor: ()Ljava/util/Collection;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=1
start local 0 0: goto 13
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.view.TableViews$1.val$updatesIter:Lcom/google/common/collect/PeekingIterator;
invokeinterface com.google.common.collect.PeekingIterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.rows.Unfiltered
astore 1
start local 1 2: aload 1
invokeinterface org.apache.cassandra.db.rows.Unfiltered.isRangeTombstoneMarker:()Z
ifeq 4
3: goto 13
4: StackMap locals: org.apache.cassandra.db.rows.Unfiltered
StackMap stack:
aload 1
checkcast org.apache.cassandra.db.rows.Row
astore 2
start local 2 5: aload 2
invokeinterface org.apache.cassandra.db.rows.Row.clustering:()Lorg/apache/cassandra/db/Clustering;
aload 0
getfield org.apache.cassandra.db.view.TableViews$1.val$existingsDeletion:Lorg/apache/cassandra/db/view/TableViews$DeletionTracker;
invokevirtual org.apache.cassandra.db.view.TableViews$DeletionTracker.currentDeletion:()Lorg/apache/cassandra/db/DeletionTime;
invokestatic org.apache.cassandra.db.view.TableViews.emptyRow:(Lorg/apache/cassandra/db/Clustering;Lorg/apache/cassandra/db/DeletionTime;)Lorg/apache/cassandra/db/rows/Row;
6: aload 2
7: aload 0
getfield org.apache.cassandra.db.view.TableViews$1.val$generators:Ljava/util/List;
8: aload 0
getfield org.apache.cassandra.db.view.TableViews$1.val$nowInSec:I
9: invokestatic org.apache.cassandra.db.view.TableViews.addToViewUpdateGenerators:(Lorg/apache/cassandra/db/rows/Row;Lorg/apache/cassandra/db/rows/Row;Ljava/util/Collection;I)V
10: aload 0
getfield org.apache.cassandra.db.view.TableViews$1.this$0:Lorg/apache/cassandra/db/view/TableViews;
aload 0
getfield org.apache.cassandra.db.view.TableViews$1.this$0:Lorg/apache/cassandra/db/view/TableViews;
getfield org.apache.cassandra.db.view.TableViews.baseTableMetadata:Lorg/apache/cassandra/config/CFMetaData;
aload 0
getfield org.apache.cassandra.db.view.TableViews$1.val$generators:Ljava/util/List;
invokevirtual org.apache.cassandra.db.view.TableViews.buildMutations:(Lorg/apache/cassandra/config/CFMetaData;Ljava/util/List;)Ljava/util/Collection;
astore 3
start local 3 11: aload 3
invokeinterface java.util.Collection.isEmpty:()Z
ifne 13
12: aload 3
areturn
end local 3 end local 2 end local 1 13: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.view.TableViews$1.val$updatesIter:Lcom/google/common/collect/PeekingIterator;
invokeinterface com.google.common.collect.PeekingIterator.hasNext:()Z
ifne 1
14: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/cassandra/db/view/TableViews$1;
2 13 1 update Lorg/apache/cassandra/db/rows/Unfiltered;
5 13 2 updateRow Lorg/apache/cassandra/db/rows/Row;
11 13 3 mutations Ljava/util/Collection<Lorg/apache/cassandra/db/Mutation;>;
Signature: ()Ljava/util/Collection<Lorg/apache/cassandra/db/Mutation;>;
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.view.TableViews$1.next:Ljava/util/Collection;
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/db/view/TableViews$1;
public java.util.Collection<org.apache.cassandra.db.Mutation> next();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.view.TableViews$1.next:Ljava/util/Collection;
astore 1
start local 1 1: aload 0
aload 0
invokevirtual org.apache.cassandra.db.view.TableViews$1.buildNext:()Ljava/util/Collection;
putfield org.apache.cassandra.db.view.TableViews$1.next:Ljava/util/Collection;
2: getstatic org.apache.cassandra.db.view.TableViews.$assertionsDisabled:Z
ifne 3
aload 1
invokeinterface java.util.Collection.isEmpty:()Z
ifeq 3
new java.lang.AssertionError
dup
ldc "Expected mutations to be non-empty"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
3: StackMap locals: java.util.Collection
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/db/view/TableViews$1;
1 4 1 mutations Ljava/util/Collection<Lorg/apache/cassandra/db/Mutation;>;
Signature: ()Ljava/util/Collection<Lorg/apache/cassandra/db/Mutation;>;
public java.lang.Object next();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.apache.cassandra.db.view.TableViews$1.next:()Ljava/util/Collection;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/util/Iterator<Ljava/util/Collection<Lorg/apache/cassandra/db/Mutation;>;>;
SourceFile: "TableViews.java"
EnclosingMethod: org.apache.cassandra.db.view.TableViews.generateViewUpdates:(Ljava/util/Collection;Lorg/apache/cassandra/db/rows/UnfilteredRowIterator;Lorg/apache/cassandra/db/rows/UnfilteredRowIterator;IZ)Ljava/util/Iterator;
NestHost: org.apache.cassandra.db.view.TableViews
InnerClasses:
org.apache.cassandra.db.view.TableViews$1
private DeletionTracker = org.apache.cassandra.db.view.TableViews$DeletionTracker of org.apache.cassandra.db.view.TableViews