class com.mongodb.client.internal.AggregateIterableImpl<TDocument, TResult> extends com.mongodb.client.internal.MongoIterableImpl<TResult> implements com.mongodb.client.AggregateIterable<TResult>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.client.internal.AggregateIterableImpl
super_class: com.mongodb.client.internal.MongoIterableImpl
{
private com.mongodb.internal.operation.SyncOperations<TDocument> operations;
descriptor: Lcom/mongodb/internal/operation/SyncOperations;
flags: (0x0002) ACC_PRIVATE
Signature: Lcom/mongodb/internal/operation/SyncOperations<TTDocument;>;
private final com.mongodb.MongoNamespace namespace;
descriptor: Lcom/mongodb/MongoNamespace;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Class<TDocument> documentClass;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Class<TTDocument;>;
private final java.lang.Class<TResult> resultClass;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Class<TTResult;>;
private final org.bson.codecs.configuration.CodecRegistry codecRegistry;
descriptor: Lorg/bson/codecs/configuration/CodecRegistry;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<? extends org.bson.conversions.Bson> pipeline;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<+Lorg/bson/conversions/Bson;>;
private final com.mongodb.client.model.AggregationLevel aggregationLevel;
descriptor: Lcom/mongodb/client/model/AggregationLevel;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.Boolean allowDiskUse;
descriptor: Ljava/lang/Boolean;
flags: (0x0002) ACC_PRIVATE
private long maxTimeMS;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long maxAwaitTimeMS;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private java.lang.Boolean useCursor;
descriptor: Ljava/lang/Boolean;
flags: (0x0002) ACC_PRIVATE
private java.lang.Boolean bypassDocumentValidation;
descriptor: Ljava/lang/Boolean;
flags: (0x0002) ACC_PRIVATE
private com.mongodb.client.model.Collation collation;
descriptor: Lcom/mongodb/client/model/Collation;
flags: (0x0002) ACC_PRIVATE
private java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private org.bson.conversions.Bson hint;
descriptor: Lorg/bson/conversions/Bson;
flags: (0x0002) ACC_PRIVATE
void <init>(com.mongodb.client.ClientSession, java.lang.String, java.lang.Class<TDocument>, java.lang.Class<TResult>, org.bson.codecs.configuration.CodecRegistry, com.mongodb.ReadPreference, com.mongodb.ReadConcern, com.mongodb.WriteConcern, com.mongodb.client.internal.OperationExecutor, java.util.List<? extends org.bson.conversions.Bson>, com.mongodb.client.model.AggregationLevel);
descriptor: (Lcom/mongodb/client/ClientSession;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Class;Lorg/bson/codecs/configuration/CodecRegistry;Lcom/mongodb/ReadPreference;Lcom/mongodb/ReadConcern;Lcom/mongodb/WriteConcern;Lcom/mongodb/client/internal/OperationExecutor;Ljava/util/List;Lcom/mongodb/client/model/AggregationLevel;)V
flags: (0x0000)
Code:
stack=13, locals=12, args_size=12
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 start local 11 0: aload 0
aload 1
new com.mongodb.MongoNamespace
dup
aload 2
ldc "ignored"
invokespecial com.mongodb.MongoNamespace.<init>:(Ljava/lang/String;Ljava/lang/String;)V
aload 3
aload 4
aload 5
aload 6
1: aload 7
aload 8
aload 9
aload 10
aload 11
iconst_1
invokespecial com.mongodb.client.internal.AggregateIterableImpl.<init>:(Lcom/mongodb/client/ClientSession;Lcom/mongodb/MongoNamespace;Ljava/lang/Class;Ljava/lang/Class;Lorg/bson/codecs/configuration/CodecRegistry;Lcom/mongodb/ReadPreference;Lcom/mongodb/ReadConcern;Lcom/mongodb/WriteConcern;Lcom/mongodb/client/internal/OperationExecutor;Ljava/util/List;Lcom/mongodb/client/model/AggregationLevel;Z)V
2: return
end local 11 end local 10 end local 9 end local 8 end local 7 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 Lcom/mongodb/client/internal/AggregateIterableImpl<TTDocument;TTResult;>;
0 3 1 clientSession Lcom/mongodb/client/ClientSession;
0 3 2 databaseName Ljava/lang/String;
0 3 3 documentClass Ljava/lang/Class<TTDocument;>;
0 3 4 resultClass Ljava/lang/Class<TTResult;>;
0 3 5 codecRegistry Lorg/bson/codecs/configuration/CodecRegistry;
0 3 6 readPreference Lcom/mongodb/ReadPreference;
0 3 7 readConcern Lcom/mongodb/ReadConcern;
0 3 8 writeConcern Lcom/mongodb/WriteConcern;
0 3 9 executor Lcom/mongodb/client/internal/OperationExecutor;
0 3 10 pipeline Ljava/util/List<+Lorg/bson/conversions/Bson;>;
0 3 11 aggregationLevel Lcom/mongodb/client/model/AggregationLevel;
Signature: (Lcom/mongodb/client/ClientSession;Ljava/lang/String;Ljava/lang/Class<TTDocument;>;Ljava/lang/Class<TTResult;>;Lorg/bson/codecs/configuration/CodecRegistry;Lcom/mongodb/ReadPreference;Lcom/mongodb/ReadConcern;Lcom/mongodb/WriteConcern;Lcom/mongodb/client/internal/OperationExecutor;Ljava/util/List<+Lorg/bson/conversions/Bson;>;Lcom/mongodb/client/model/AggregationLevel;)V
RuntimeVisibleParameterAnnotations:
0:
com.mongodb.lang.Nullable()
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
MethodParameters:
Name Flags
clientSession final
databaseName final
documentClass final
resultClass final
codecRegistry final
readPreference final
readConcern final
writeConcern final
executor final
pipeline final
aggregationLevel final
void <init>(com.mongodb.client.ClientSession, java.lang.String, java.lang.Class<TDocument>, java.lang.Class<TResult>, org.bson.codecs.configuration.CodecRegistry, com.mongodb.ReadPreference, com.mongodb.ReadConcern, com.mongodb.WriteConcern, com.mongodb.client.internal.OperationExecutor, java.util.List<? extends org.bson.conversions.Bson>, com.mongodb.client.model.AggregationLevel, );
descriptor: (Lcom/mongodb/client/ClientSession;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Class;Lorg/bson/codecs/configuration/CodecRegistry;Lcom/mongodb/ReadPreference;Lcom/mongodb/ReadConcern;Lcom/mongodb/WriteConcern;Lcom/mongodb/client/internal/OperationExecutor;Ljava/util/List;Lcom/mongodb/client/model/AggregationLevel;Z)V
flags: (0x0000)
Code:
stack=13, locals=13, args_size=13
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 start local 11 start local 12 0: aload 0
aload 1
new com.mongodb.MongoNamespace
dup
aload 2
ldc "ignored"
invokespecial com.mongodb.MongoNamespace.<init>:(Ljava/lang/String;Ljava/lang/String;)V
aload 3
aload 4
aload 5
aload 6
1: aload 7
aload 8
aload 9
aload 10
aload 11
iload 12
invokespecial com.mongodb.client.internal.AggregateIterableImpl.<init>:(Lcom/mongodb/client/ClientSession;Lcom/mongodb/MongoNamespace;Ljava/lang/Class;Ljava/lang/Class;Lorg/bson/codecs/configuration/CodecRegistry;Lcom/mongodb/ReadPreference;Lcom/mongodb/ReadConcern;Lcom/mongodb/WriteConcern;Lcom/mongodb/client/internal/OperationExecutor;Ljava/util/List;Lcom/mongodb/client/model/AggregationLevel;Z)V
2: return
end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 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 Lcom/mongodb/client/internal/AggregateIterableImpl<TTDocument;TTResult;>;
0 3 1 clientSession Lcom/mongodb/client/ClientSession;
0 3 2 databaseName Ljava/lang/String;
0 3 3 documentClass Ljava/lang/Class<TTDocument;>;
0 3 4 resultClass Ljava/lang/Class<TTResult;>;
0 3 5 codecRegistry Lorg/bson/codecs/configuration/CodecRegistry;
0 3 6 readPreference Lcom/mongodb/ReadPreference;
0 3 7 readConcern Lcom/mongodb/ReadConcern;
0 3 8 writeConcern Lcom/mongodb/WriteConcern;
0 3 9 executor Lcom/mongodb/client/internal/OperationExecutor;
0 3 10 pipeline Ljava/util/List<+Lorg/bson/conversions/Bson;>;
0 3 11 aggregationLevel Lcom/mongodb/client/model/AggregationLevel;
0 3 12 retryReads Z
Signature: (Lcom/mongodb/client/ClientSession;Ljava/lang/String;Ljava/lang/Class<TTDocument;>;Ljava/lang/Class<TTResult;>;Lorg/bson/codecs/configuration/CodecRegistry;Lcom/mongodb/ReadPreference;Lcom/mongodb/ReadConcern;Lcom/mongodb/WriteConcern;Lcom/mongodb/client/internal/OperationExecutor;Ljava/util/List<+Lorg/bson/conversions/Bson;>;Lcom/mongodb/client/model/AggregationLevel;Z)V
RuntimeVisibleParameterAnnotations:
0:
com.mongodb.lang.Nullable()
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
MethodParameters:
Name Flags
clientSession final
databaseName final
documentClass final
resultClass final
codecRegistry final
readPreference final
readConcern final
writeConcern final
executor final
pipeline final
aggregationLevel final
retryReads final
void <init>(com.mongodb.client.ClientSession, com.mongodb.MongoNamespace, java.lang.Class<TDocument>, java.lang.Class<TResult>, org.bson.codecs.configuration.CodecRegistry, com.mongodb.ReadPreference, com.mongodb.ReadConcern, com.mongodb.WriteConcern, com.mongodb.client.internal.OperationExecutor, java.util.List<? extends org.bson.conversions.Bson>, com.mongodb.client.model.AggregationLevel, );
descriptor: (Lcom/mongodb/client/ClientSession;Lcom/mongodb/MongoNamespace;Ljava/lang/Class;Ljava/lang/Class;Lorg/bson/codecs/configuration/CodecRegistry;Lcom/mongodb/ReadPreference;Lcom/mongodb/ReadConcern;Lcom/mongodb/WriteConcern;Lcom/mongodb/client/internal/OperationExecutor;Ljava/util/List;Lcom/mongodb/client/model/AggregationLevel;Z)V
flags: (0x0000)
Code:
stack=11, locals=13, args_size=13
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 start local 11 start local 12 0: aload 0
aload 1
aload 9
aload 7
aload 6
iload 12
invokespecial com.mongodb.client.internal.MongoIterableImpl.<init>:(Lcom/mongodb/client/ClientSession;Lcom/mongodb/client/internal/OperationExecutor;Lcom/mongodb/ReadConcern;Lcom/mongodb/ReadPreference;Z)V
1: aload 0
new com.mongodb.internal.operation.SyncOperations
dup
aload 2
aload 3
aload 6
aload 5
aload 7
aload 8
2: iconst_1
iload 12
invokespecial com.mongodb.internal.operation.SyncOperations.<init>:(Lcom/mongodb/MongoNamespace;Ljava/lang/Class;Lcom/mongodb/ReadPreference;Lorg/bson/codecs/configuration/CodecRegistry;Lcom/mongodb/ReadConcern;Lcom/mongodb/WriteConcern;ZZ)V
3: putfield com.mongodb.client.internal.AggregateIterableImpl.operations:Lcom/mongodb/internal/operation/SyncOperations;
4: aload 0
ldc "namespace"
aload 2
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.MongoNamespace
putfield com.mongodb.client.internal.AggregateIterableImpl.namespace:Lcom/mongodb/MongoNamespace;
5: aload 0
ldc "documentClass"
aload 3
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Class
putfield com.mongodb.client.internal.AggregateIterableImpl.documentClass:Ljava/lang/Class;
6: aload 0
ldc "resultClass"
aload 4
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Class
putfield com.mongodb.client.internal.AggregateIterableImpl.resultClass:Ljava/lang/Class;
7: aload 0
ldc "codecRegistry"
aload 5
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.bson.codecs.configuration.CodecRegistry
putfield com.mongodb.client.internal.AggregateIterableImpl.codecRegistry:Lorg/bson/codecs/configuration/CodecRegistry;
8: aload 0
ldc "pipeline"
aload 10
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
putfield com.mongodb.client.internal.AggregateIterableImpl.pipeline:Ljava/util/List;
9: aload 0
ldc "aggregationLevel"
aload 11
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.client.model.AggregationLevel
putfield com.mongodb.client.internal.AggregateIterableImpl.aggregationLevel:Lcom/mongodb/client/model/AggregationLevel;
10: return
end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 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 11 0 this Lcom/mongodb/client/internal/AggregateIterableImpl<TTDocument;TTResult;>;
0 11 1 clientSession Lcom/mongodb/client/ClientSession;
0 11 2 namespace Lcom/mongodb/MongoNamespace;
0 11 3 documentClass Ljava/lang/Class<TTDocument;>;
0 11 4 resultClass Ljava/lang/Class<TTResult;>;
0 11 5 codecRegistry Lorg/bson/codecs/configuration/CodecRegistry;
0 11 6 readPreference Lcom/mongodb/ReadPreference;
0 11 7 readConcern Lcom/mongodb/ReadConcern;
0 11 8 writeConcern Lcom/mongodb/WriteConcern;
0 11 9 executor Lcom/mongodb/client/internal/OperationExecutor;
0 11 10 pipeline Ljava/util/List<+Lorg/bson/conversions/Bson;>;
0 11 11 aggregationLevel Lcom/mongodb/client/model/AggregationLevel;
0 11 12 retryReads Z
Signature: (Lcom/mongodb/client/ClientSession;Lcom/mongodb/MongoNamespace;Ljava/lang/Class<TTDocument;>;Ljava/lang/Class<TTResult;>;Lorg/bson/codecs/configuration/CodecRegistry;Lcom/mongodb/ReadPreference;Lcom/mongodb/ReadConcern;Lcom/mongodb/WriteConcern;Lcom/mongodb/client/internal/OperationExecutor;Ljava/util/List<+Lorg/bson/conversions/Bson;>;Lcom/mongodb/client/model/AggregationLevel;Z)V
RuntimeVisibleParameterAnnotations:
0:
com.mongodb.lang.Nullable()
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
MethodParameters:
Name Flags
clientSession final
namespace final
documentClass final
resultClass final
codecRegistry final
readPreference final
readConcern final
writeConcern final
executor final
pipeline final
aggregationLevel final
retryReads final
public void toCollection();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.mongodb.client.internal.AggregateIterableImpl.getOutNamespace:()Lcom/mongodb/MongoNamespace;
ifnonnull 2
1: new java.lang.IllegalStateException
dup
ldc "The last stage of the aggregation pipeline must be $out or $merge"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.mongodb.client.internal.AggregateIterableImpl.getExecutor:()Lcom/mongodb/client/internal/OperationExecutor;
aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.operations:Lcom/mongodb/internal/operation/SyncOperations;
aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.pipeline:Ljava/util/List;
aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.maxTimeMS:J
aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.allowDiskUse:Ljava/lang/Boolean;
aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.bypassDocumentValidation:Ljava/lang/Boolean;
aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.collation:Lcom/mongodb/client/model/Collation;
aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.hint:Lorg/bson/conversions/Bson;
3: aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.comment:Ljava/lang/String;
aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.aggregationLevel:Lcom/mongodb/client/model/AggregationLevel;
4: invokevirtual com.mongodb.internal.operation.SyncOperations.aggregateToCollection:(Ljava/util/List;JLjava/lang/Boolean;Ljava/lang/Boolean;Lcom/mongodb/client/model/Collation;Lorg/bson/conversions/Bson;Ljava/lang/String;Lcom/mongodb/client/model/AggregationLevel;)Lcom/mongodb/operation/WriteOperation;
5: aload 0
invokevirtual com.mongodb.client.internal.AggregateIterableImpl.getReadConcern:()Lcom/mongodb/ReadConcern;
aload 0
invokevirtual com.mongodb.client.internal.AggregateIterableImpl.getClientSession:()Lcom/mongodb/client/ClientSession;
6: invokeinterface com.mongodb.client.internal.OperationExecutor.execute:(Lcom/mongodb/operation/WriteOperation;Lcom/mongodb/ReadConcern;Lcom/mongodb/client/ClientSession;)Ljava/lang/Object;
pop
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/mongodb/client/internal/AggregateIterableImpl<TTDocument;TTResult;>;
public com.mongodb.client.AggregateIterable<TResult> allowDiskUse(java.lang.Boolean);
descriptor: (Ljava/lang/Boolean;)Lcom/mongodb/client/AggregateIterable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.mongodb.client.internal.AggregateIterableImpl.allowDiskUse:Ljava/lang/Boolean;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/internal/AggregateIterableImpl<TTDocument;TTResult;>;
0 2 1 allowDiskUse Ljava/lang/Boolean;
Signature: (Ljava/lang/Boolean;)Lcom/mongodb/client/AggregateIterable<TTResult;>;
RuntimeVisibleParameterAnnotations:
0:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
allowDiskUse final
public com.mongodb.client.AggregateIterable<TResult> batchSize(int);
descriptor: (I)Lcom/mongodb/client/AggregateIterable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokespecial com.mongodb.client.internal.MongoIterableImpl.batchSize:(I)Lcom/mongodb/client/MongoIterable;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/internal/AggregateIterableImpl<TTDocument;TTResult;>;
0 2 1 batchSize I
Signature: (I)Lcom/mongodb/client/AggregateIterable<TTResult;>;
MethodParameters:
Name Flags
batchSize final
public com.mongodb.client.AggregateIterable<TResult> maxTime(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Lcom/mongodb/client/AggregateIterable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 3 0: ldc "timeUnit"
aload 3
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
lload 1
aload 3
invokevirtual java.util.concurrent.TimeUnit.convert:(JLjava/util/concurrent/TimeUnit;)J
putfield com.mongodb.client.internal.AggregateIterableImpl.maxTimeMS:J
2: aload 0
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/client/internal/AggregateIterableImpl<TTDocument;TTResult;>;
0 3 1 maxTime J
0 3 3 timeUnit Ljava/util/concurrent/TimeUnit;
Signature: (JLjava/util/concurrent/TimeUnit;)Lcom/mongodb/client/AggregateIterable<TTResult;>;
MethodParameters:
Name Flags
maxTime final
timeUnit final
public com.mongodb.client.AggregateIterable<TResult> useCursor(java.lang.Boolean);
descriptor: (Ljava/lang/Boolean;)Lcom/mongodb/client/AggregateIterable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.mongodb.client.internal.AggregateIterableImpl.useCursor:Ljava/lang/Boolean;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/internal/AggregateIterableImpl<TTDocument;TTResult;>;
0 2 1 useCursor Ljava/lang/Boolean;
Signature: (Ljava/lang/Boolean;)Lcom/mongodb/client/AggregateIterable<TTResult;>;
RuntimeVisibleParameterAnnotations:
0:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
useCursor final
public com.mongodb.client.AggregateIterable<TResult> maxAwaitTime(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Lcom/mongodb/client/AggregateIterable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 3 0: ldc "timeUnit"
aload 3
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
lload 1
aload 3
invokevirtual java.util.concurrent.TimeUnit.convert:(JLjava/util/concurrent/TimeUnit;)J
putfield com.mongodb.client.internal.AggregateIterableImpl.maxAwaitTimeMS:J
2: aload 0
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/client/internal/AggregateIterableImpl<TTDocument;TTResult;>;
0 3 1 maxAwaitTime J
0 3 3 timeUnit Ljava/util/concurrent/TimeUnit;
Signature: (JLjava/util/concurrent/TimeUnit;)Lcom/mongodb/client/AggregateIterable<TTResult;>;
MethodParameters:
Name Flags
maxAwaitTime final
timeUnit final
public com.mongodb.client.AggregateIterable<TResult> bypassDocumentValidation(java.lang.Boolean);
descriptor: (Ljava/lang/Boolean;)Lcom/mongodb/client/AggregateIterable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.mongodb.client.internal.AggregateIterableImpl.bypassDocumentValidation:Ljava/lang/Boolean;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/internal/AggregateIterableImpl<TTDocument;TTResult;>;
0 2 1 bypassDocumentValidation Ljava/lang/Boolean;
Signature: (Ljava/lang/Boolean;)Lcom/mongodb/client/AggregateIterable<TTResult;>;
RuntimeVisibleParameterAnnotations:
0:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
bypassDocumentValidation final
public com.mongodb.client.AggregateIterable<TResult> collation(com.mongodb.client.model.Collation);
descriptor: (Lcom/mongodb/client/model/Collation;)Lcom/mongodb/client/AggregateIterable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.mongodb.client.internal.AggregateIterableImpl.collation:Lcom/mongodb/client/model/Collation;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/internal/AggregateIterableImpl<TTDocument;TTResult;>;
0 2 1 collation Lcom/mongodb/client/model/Collation;
Signature: (Lcom/mongodb/client/model/Collation;)Lcom/mongodb/client/AggregateIterable<TTResult;>;
RuntimeVisibleParameterAnnotations:
0:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
collation final
public com.mongodb.client.AggregateIterable<TResult> comment(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/mongodb/client/AggregateIterable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.mongodb.client.internal.AggregateIterableImpl.comment:Ljava/lang/String;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/internal/AggregateIterableImpl<TTDocument;TTResult;>;
0 2 1 comment Ljava/lang/String;
Signature: (Ljava/lang/String;)Lcom/mongodb/client/AggregateIterable<TTResult;>;
RuntimeVisibleParameterAnnotations:
0:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
comment final
public com.mongodb.client.AggregateIterable<TResult> hint(org.bson.conversions.Bson);
descriptor: (Lorg/bson/conversions/Bson;)Lcom/mongodb/client/AggregateIterable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.mongodb.client.internal.AggregateIterableImpl.hint:Lorg/bson/conversions/Bson;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/internal/AggregateIterableImpl<TTDocument;TTResult;>;
0 2 1 hint Lorg/bson/conversions/Bson;
Signature: (Lorg/bson/conversions/Bson;)Lcom/mongodb/client/AggregateIterable<TTResult;>;
RuntimeVisibleParameterAnnotations:
0:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
hint final
public com.mongodb.operation.ReadOperation<com.mongodb.operation.BatchCursor<TResult>> asReadOperation();
descriptor: ()Lcom/mongodb/operation/ReadOperation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=14, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual com.mongodb.client.internal.AggregateIterableImpl.getOutNamespace:()Lcom/mongodb/MongoNamespace;
astore 1
start local 1 1: aload 1
ifnull 12
2: aload 0
invokevirtual com.mongodb.client.internal.AggregateIterableImpl.getExecutor:()Lcom/mongodb/client/internal/OperationExecutor;
aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.operations:Lcom/mongodb/internal/operation/SyncOperations;
aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.pipeline:Ljava/util/List;
aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.maxTimeMS:J
aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.allowDiskUse:Ljava/lang/Boolean;
aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.bypassDocumentValidation:Ljava/lang/Boolean;
aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.collation:Lcom/mongodb/client/model/Collation;
3: aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.hint:Lorg/bson/conversions/Bson;
aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.comment:Ljava/lang/String;
aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.aggregationLevel:Lcom/mongodb/client/model/AggregationLevel;
4: invokevirtual com.mongodb.internal.operation.SyncOperations.aggregateToCollection:(Ljava/util/List;JLjava/lang/Boolean;Ljava/lang/Boolean;Lcom/mongodb/client/model/Collation;Lorg/bson/conversions/Bson;Ljava/lang/String;Lcom/mongodb/client/model/AggregationLevel;)Lcom/mongodb/operation/WriteOperation;
5: aload 0
invokevirtual com.mongodb.client.internal.AggregateIterableImpl.getReadConcern:()Lcom/mongodb/ReadConcern;
aload 0
invokevirtual com.mongodb.client.internal.AggregateIterableImpl.getClientSession:()Lcom/mongodb/client/ClientSession;
6: invokeinterface com.mongodb.client.internal.OperationExecutor.execute:(Lcom/mongodb/operation/WriteOperation;Lcom/mongodb/ReadConcern;Lcom/mongodb/client/ClientSession;)Ljava/lang/Object;
pop
7: new com.mongodb.client.model.FindOptions
dup
invokespecial com.mongodb.client.model.FindOptions.<init>:()V
aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.collation:Lcom/mongodb/client/model/Collation;
invokevirtual com.mongodb.client.model.FindOptions.collation:(Lcom/mongodb/client/model/Collation;)Lcom/mongodb/client/model/FindOptions;
astore 2
start local 2 8: aload 0
invokevirtual com.mongodb.client.internal.AggregateIterableImpl.getBatchSize:()Ljava/lang/Integer;
astore 3
start local 3 9: aload 3
ifnull 11
10: aload 2
aload 3
invokevirtual java.lang.Integer.intValue:()I
invokevirtual com.mongodb.client.model.FindOptions.batchSize:(I)Lcom/mongodb/client/model/FindOptions;
pop
11: StackMap locals: com.mongodb.MongoNamespace com.mongodb.client.model.FindOptions java.lang.Integer
StackMap stack:
aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.operations:Lcom/mongodb/internal/operation/SyncOperations;
aload 1
new org.bson.BsonDocument
dup
invokespecial org.bson.BsonDocument.<init>:()V
aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.resultClass:Ljava/lang/Class;
aload 2
invokevirtual com.mongodb.internal.operation.SyncOperations.find:(Lcom/mongodb/MongoNamespace;Lorg/bson/conversions/Bson;Ljava/lang/Class;Lcom/mongodb/client/model/FindOptions;)Lcom/mongodb/operation/ReadOperation;
areturn
end local 3 end local 2 12: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.operations:Lcom/mongodb/internal/operation/SyncOperations;
aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.pipeline:Ljava/util/List;
aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.resultClass:Ljava/lang/Class;
aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.maxTimeMS:J
aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.maxAwaitTimeMS:J
aload 0
invokevirtual com.mongodb.client.internal.AggregateIterableImpl.getBatchSize:()Ljava/lang/Integer;
aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.collation:Lcom/mongodb/client/model/Collation;
13: aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.hint:Lorg/bson/conversions/Bson;
aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.comment:Ljava/lang/String;
aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.allowDiskUse:Ljava/lang/Boolean;
aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.useCursor:Ljava/lang/Boolean;
aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.aggregationLevel:Lcom/mongodb/client/model/AggregationLevel;
14: invokevirtual com.mongodb.internal.operation.SyncOperations.aggregate:(Ljava/util/List;Ljava/lang/Class;JJLjava/lang/Integer;Lcom/mongodb/client/model/Collation;Lorg/bson/conversions/Bson;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Lcom/mongodb/client/model/AggregationLevel;)Lcom/mongodb/operation/ReadOperation;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/mongodb/client/internal/AggregateIterableImpl<TTDocument;TTResult;>;
1 15 1 outNamespace Lcom/mongodb/MongoNamespace;
8 12 2 findOptions Lcom/mongodb/client/model/FindOptions;
9 12 3 batchSize Ljava/lang/Integer;
Signature: ()Lcom/mongodb/operation/ReadOperation<Lcom/mongodb/operation/BatchCursor<TTResult;>;>;
private com.mongodb.MongoNamespace getOutNamespace();
descriptor: ()Lcom/mongodb/MongoNamespace;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=5, args_size=1
start local 0 0: aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.pipeline:Ljava/util/List;
invokeinterface java.util.List.size:()I
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
ldc "last stage"
aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.pipeline:Ljava/util/List;
aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.pipeline:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.bson.conversions.Bson
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.bson.conversions.Bson
astore 1
start local 1 3: aload 1
aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.documentClass:Ljava/lang/Class;
aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.codecRegistry:Lorg/bson/codecs/configuration/CodecRegistry;
invokeinterface org.bson.conversions.Bson.toBsonDocument:(Ljava/lang/Class;Lorg/bson/codecs/configuration/CodecRegistry;)Lorg/bson/BsonDocument;
astore 2
start local 2 4: aload 2
ldc "$out"
invokevirtual org.bson.BsonDocument.containsKey:(Ljava/lang/Object;)Z
ifeq 6
5: new com.mongodb.MongoNamespace
dup
aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.namespace:Lcom/mongodb/MongoNamespace;
invokevirtual com.mongodb.MongoNamespace.getDatabaseName:()Ljava/lang/String;
aload 2
ldc "$out"
invokevirtual org.bson.BsonDocument.getString:(Ljava/lang/Object;)Lorg/bson/BsonString;
invokevirtual org.bson.BsonString.getValue:()Ljava/lang/String;
invokespecial com.mongodb.MongoNamespace.<init>:(Ljava/lang/String;Ljava/lang/String;)V
areturn
6: StackMap locals: org.bson.conversions.Bson org.bson.BsonDocument
StackMap stack:
aload 2
ldc "$merge"
invokevirtual org.bson.BsonDocument.containsKey:(Ljava/lang/Object;)Z
ifeq 15
7: aload 2
ldc "$merge"
invokevirtual org.bson.BsonDocument.getDocument:(Ljava/lang/Object;)Lorg/bson/BsonDocument;
astore 3
start local 3 8: aload 3
ldc "into"
invokevirtual org.bson.BsonDocument.isDocument:(Ljava/lang/Object;)Z
ifeq 13
9: aload 3
ldc "into"
invokevirtual org.bson.BsonDocument.getDocument:(Ljava/lang/Object;)Lorg/bson/BsonDocument;
astore 4
start local 4 10: new com.mongodb.MongoNamespace
dup
aload 4
ldc "db"
new org.bson.BsonString
dup
aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.namespace:Lcom/mongodb/MongoNamespace;
invokevirtual com.mongodb.MongoNamespace.getDatabaseName:()Ljava/lang/String;
invokespecial org.bson.BsonString.<init>:(Ljava/lang/String;)V
invokevirtual org.bson.BsonDocument.getString:(Ljava/lang/Object;Lorg/bson/BsonString;)Lorg/bson/BsonString;
invokevirtual org.bson.BsonString.getValue:()Ljava/lang/String;
11: aload 4
ldc "coll"
invokevirtual org.bson.BsonDocument.getString:(Ljava/lang/Object;)Lorg/bson/BsonString;
invokevirtual org.bson.BsonString.getValue:()Ljava/lang/String;
12: invokespecial com.mongodb.MongoNamespace.<init>:(Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 4 13: StackMap locals: org.bson.BsonDocument
StackMap stack:
aload 3
ldc "into"
invokevirtual org.bson.BsonDocument.isString:(Ljava/lang/Object;)Z
ifeq 15
14: new com.mongodb.MongoNamespace
dup
aload 0
getfield com.mongodb.client.internal.AggregateIterableImpl.namespace:Lcom/mongodb/MongoNamespace;
invokevirtual com.mongodb.MongoNamespace.getDatabaseName:()Ljava/lang/String;
aload 3
ldc "into"
invokevirtual org.bson.BsonDocument.getString:(Ljava/lang/Object;)Lorg/bson/BsonString;
invokevirtual org.bson.BsonString.getValue:()Ljava/lang/String;
invokespecial com.mongodb.MongoNamespace.<init>:(Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 3 15: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/mongodb/client/internal/AggregateIterableImpl<TTDocument;TTResult;>;
3 16 1 lastStage Lorg/bson/conversions/Bson;
4 16 2 lastStageDocument Lorg/bson/BsonDocument;
8 15 3 mergeDocument Lorg/bson/BsonDocument;
10 13 4 intoDocument Lorg/bson/BsonDocument;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
public com.mongodb.client.MongoIterable batchSize(int);
descriptor: (I)Lcom/mongodb/client/MongoIterable;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
invokevirtual com.mongodb.client.internal.AggregateIterableImpl.batchSize:(I)Lcom/mongodb/client/AggregateIterable;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <TDocument:Ljava/lang/Object;TResult:Ljava/lang/Object;>Lcom/mongodb/client/internal/MongoIterableImpl<TTResult;>;Lcom/mongodb/client/AggregateIterable<TTResult;>;
SourceFile: "AggregateIterableImpl.java"