public abstract class org.apache.cassandra.utils.MergeIterator<In, Out> extends org.apache.cassandra.utils.AbstractIterator<Out> implements org.apache.cassandra.utils.IMergeIterator<In, Out>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.cassandra.utils.MergeIterator
super_class: org.apache.cassandra.utils.AbstractIterator
{
protected final org.apache.cassandra.utils.MergeIterator$Reducer<In, Out> reducer;
descriptor: Lorg/apache/cassandra/utils/MergeIterator$Reducer;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Lorg/apache/cassandra/utils/MergeIterator$Reducer<TIn;TOut;>;
protected final java.util.List<? extends java.util.Iterator<In>> iterators;
descriptor: Ljava/util/List;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/List<+Ljava/util/Iterator<TIn;>;>;
protected void <init>(java.util.List<? extends java.util.Iterator<In>>, org.apache.cassandra.utils.MergeIterator$Reducer<In, Out>);
descriptor: (Ljava/util/List;Lorg/apache/cassandra/utils/MergeIterator$Reducer;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.apache.cassandra.utils.AbstractIterator.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.utils.MergeIterator.iterators:Ljava/util/List;
2: aload 0
aload 2
putfield org.apache.cassandra.utils.MergeIterator.reducer:Lorg/apache/cassandra/utils/MergeIterator$Reducer;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/utils/MergeIterator<TIn;TOut;>;
0 4 1 iters Ljava/util/List<+Ljava/util/Iterator<TIn;>;>;
0 4 2 reducer Lorg/apache/cassandra/utils/MergeIterator$Reducer<TIn;TOut;>;
Signature: (Ljava/util/List<+Ljava/util/Iterator<TIn;>;>;Lorg/apache/cassandra/utils/MergeIterator$Reducer<TIn;TOut;>;)V
MethodParameters:
Name Flags
iters
reducer
public static <In, Out> org.apache.cassandra.utils.MergeIterator<In, Out> get(java.util.List<? extends java.util.Iterator<In>>, java.util.Comparator<? super In>, org.apache.cassandra.utils.MergeIterator$Reducer<In, Out>);
descriptor: (Ljava/util/List;Ljava/util/Comparator;Lorg/apache/cassandra/utils/MergeIterator$Reducer;)Lorg/apache/cassandra/utils/MergeIterator;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokeinterface java.util.List.size:()I
iconst_1
if_icmpne 5
1: aload 2
invokevirtual org.apache.cassandra.utils.MergeIterator$Reducer.trivialReduceIsTrivial:()Z
ifeq 3
2: new org.apache.cassandra.utils.MergeIterator$TrivialOneToOne
dup
aload 0
aload 2
invokespecial org.apache.cassandra.utils.MergeIterator$TrivialOneToOne.<init>:(Ljava/util/List;Lorg/apache/cassandra/utils/MergeIterator$Reducer;)V
goto 4
3: StackMap locals:
StackMap stack:
new org.apache.cassandra.utils.MergeIterator$OneToOne
dup
aload 0
aload 2
invokespecial org.apache.cassandra.utils.MergeIterator$OneToOne.<init>:(Ljava/util/List;Lorg/apache/cassandra/utils/MergeIterator$Reducer;)V
4: StackMap locals:
StackMap stack: org.apache.cassandra.utils.MergeIterator
areturn
5: StackMap locals:
StackMap stack:
new org.apache.cassandra.utils.MergeIterator$ManyToOne
dup
aload 0
aload 1
aload 2
invokespecial org.apache.cassandra.utils.MergeIterator$ManyToOne.<init>:(Ljava/util/List;Ljava/util/Comparator;Lorg/apache/cassandra/utils/MergeIterator$Reducer;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 sources Ljava/util/List<+Ljava/util/Iterator<TIn;>;>;
0 6 1 comparator Ljava/util/Comparator<-TIn;>;
0 6 2 reducer Lorg/apache/cassandra/utils/MergeIterator$Reducer<TIn;TOut;>;
Signature: <In:Ljava/lang/Object;Out:Ljava/lang/Object;>(Ljava/util/List<+Ljava/util/Iterator<TIn;>;>;Ljava/util/Comparator<-TIn;>;Lorg/apache/cassandra/utils/MergeIterator$Reducer<TIn;TOut;>;)Lorg/apache/cassandra/utils/MergeIterator<TIn;TOut;>;
MethodParameters:
Name Flags
sources
comparator
reducer
public java.lang.Iterable<? extends java.util.Iterator<In>> iterators();
descriptor: ()Ljava/lang/Iterable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.MergeIterator.iterators:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/MergeIterator<TIn;TOut;>;
Signature: ()Ljava/lang/Iterable<+Ljava/util/Iterator<TIn;>;>;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.MergeIterator.iterators:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 7
StackMap locals: org.apache.cassandra.utils.MergeIterator top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Iterator
astore 1
start local 1 2: aload 1
instanceof java.lang.AutoCloseable
ifeq 7
3: aload 1
checkcast java.lang.AutoCloseable
invokeinterface java.lang.AutoCloseable.close:()V
4: goto 7
5: StackMap locals: org.apache.cassandra.utils.MergeIterator java.util.Iterator java.util.Iterator
StackMap stack: java.lang.Exception
astore 3
start local 3 6: new java.lang.RuntimeException
dup
aload 3
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 end local 1 7: StackMap locals: org.apache.cassandra.utils.MergeIterator top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
8: aload 0
getfield org.apache.cassandra.utils.MergeIterator.reducer:Lorg/apache/cassandra/utils/MergeIterator$Reducer;
invokevirtual org.apache.cassandra.utils.MergeIterator$Reducer.close:()V
9: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/cassandra/utils/MergeIterator<TIn;TOut;>;
2 7 1 iterator Ljava/util/Iterator<TIn;>;
6 7 3 e Ljava/lang/Exception;
Exception table:
from to target type
2 4 5 Class java.lang.Exception
}
Signature: <In:Ljava/lang/Object;Out:Ljava/lang/Object;>Lorg/apache/cassandra/utils/AbstractIterator<TOut;>;Lorg/apache/cassandra/utils/IMergeIterator<TIn;TOut;>;
SourceFile: "MergeIterator.java"
NestMembers:
org.apache.cassandra.utils.MergeIterator$Candidate org.apache.cassandra.utils.MergeIterator$ManyToOne org.apache.cassandra.utils.MergeIterator$OneToOne org.apache.cassandra.utils.MergeIterator$Reducer org.apache.cassandra.utils.MergeIterator$TrivialOneToOne
InnerClasses:
protected final Candidate = org.apache.cassandra.utils.MergeIterator$Candidate of org.apache.cassandra.utils.MergeIterator
final ManyToOne = org.apache.cassandra.utils.MergeIterator$ManyToOne of org.apache.cassandra.utils.MergeIterator
private OneToOne = org.apache.cassandra.utils.MergeIterator$OneToOne of org.apache.cassandra.utils.MergeIterator
public abstract Reducer = org.apache.cassandra.utils.MergeIterator$Reducer of org.apache.cassandra.utils.MergeIterator
private TrivialOneToOne = org.apache.cassandra.utils.MergeIterator$TrivialOneToOne of org.apache.cassandra.utils.MergeIterator