class com.mongodb.client.internal.MapReduceIterableImpl<TDocument, TResult> extends com.mongodb.client.internal.MongoIterableImpl<TResult> implements com.mongodb.client.MapReduceIterable<TResult>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.client.internal.MapReduceIterableImpl
super_class: com.mongodb.client.internal.MongoIterableImpl
{
private final com.mongodb.internal.operation.SyncOperations<TDocument> operations;
descriptor: Lcom/mongodb/internal/operation/SyncOperations;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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<TResult> resultClass;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Class<TTResult;>;
private final java.lang.String mapFunction;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String reduceFunction;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean inline;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.String collectionName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String finalizeFunction;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private org.bson.conversions.Bson scope;
descriptor: Lorg/bson/conversions/Bson;
flags: (0x0002) ACC_PRIVATE
private org.bson.conversions.Bson filter;
descriptor: Lorg/bson/conversions/Bson;
flags: (0x0002) ACC_PRIVATE
private org.bson.conversions.Bson sort;
descriptor: Lorg/bson/conversions/Bson;
flags: (0x0002) ACC_PRIVATE
private int limit;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean jsMode;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean verbose;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private long maxTimeMS;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private com.mongodb.client.model.MapReduceAction action;
descriptor: Lcom/mongodb/client/model/MapReduceAction;
flags: (0x0002) ACC_PRIVATE
private java.lang.String databaseName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean sharded;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean nonAtomic;
descriptor: Z
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
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.lang.String, java.lang.String);
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/lang/String;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=11, 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
aload 9
aload 7
aload 6
iconst_0
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
iconst_1
putfield com.mongodb.client.internal.MapReduceIterableImpl.inline:Z
2: aload 0
iconst_1
putfield com.mongodb.client.internal.MapReduceIterableImpl.verbose:Z
3: aload 0
getstatic com.mongodb.client.model.MapReduceAction.REPLACE:Lcom/mongodb/client/model/MapReduceAction;
putfield com.mongodb.client.internal.MapReduceIterableImpl.action:Lcom/mongodb/client/model/MapReduceAction;
4: aload 0
new com.mongodb.internal.operation.SyncOperations
dup
aload 2
aload 3
aload 6
aload 5
aload 7
aload 8
5: iconst_0
iconst_0
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
6: putfield com.mongodb.client.internal.MapReduceIterableImpl.operations:Lcom/mongodb/internal/operation/SyncOperations;
7: 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.MapReduceIterableImpl.namespace:Lcom/mongodb/MongoNamespace;
8: 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.MapReduceIterableImpl.resultClass:Ljava/lang/Class;
9: aload 0
ldc "mapFunction"
aload 10
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
putfield com.mongodb.client.internal.MapReduceIterableImpl.mapFunction:Ljava/lang/String;
10: aload 0
ldc "reduceFunction"
aload 11
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
putfield com.mongodb.client.internal.MapReduceIterableImpl.reduceFunction:Ljava/lang/String;
11: 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 12 0 this Lcom/mongodb/client/internal/MapReduceIterableImpl<TTDocument;TTResult;>;
0 12 1 clientSession Lcom/mongodb/client/ClientSession;
0 12 2 namespace Lcom/mongodb/MongoNamespace;
0 12 3 documentClass Ljava/lang/Class<TTDocument;>;
0 12 4 resultClass Ljava/lang/Class<TTResult;>;
0 12 5 codecRegistry Lorg/bson/codecs/configuration/CodecRegistry;
0 12 6 readPreference Lcom/mongodb/ReadPreference;
0 12 7 readConcern Lcom/mongodb/ReadConcern;
0 12 8 writeConcern Lcom/mongodb/WriteConcern;
0 12 9 executor Lcom/mongodb/client/internal/OperationExecutor;
0 12 10 mapFunction Ljava/lang/String;
0 12 11 reduceFunction Ljava/lang/String;
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/lang/String;Ljava/lang/String;)V
RuntimeVisibleParameterAnnotations:
0:
com.mongodb.lang.Nullable()
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
MethodParameters:
Name Flags
clientSession final
namespace final
documentClass final
resultClass final
codecRegistry final
readPreference final
readConcern final
writeConcern final
executor final
mapFunction final
reduceFunction final
public void toCollection();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.inline:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "The options must specify a non-inline result"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.mongodb.client.internal.MapReduceIterableImpl.getExecutor:()Lcom/mongodb/client/internal/OperationExecutor;
aload 0
invokevirtual com.mongodb.client.internal.MapReduceIterableImpl.createMapReduceToCollectionOperation:()Lcom/mongodb/operation/WriteOperation;
aload 0
invokevirtual com.mongodb.client.internal.MapReduceIterableImpl.getReadConcern:()Lcom/mongodb/ReadConcern;
aload 0
invokevirtual com.mongodb.client.internal.MapReduceIterableImpl.getClientSession:()Lcom/mongodb/client/ClientSession;
invokeinterface com.mongodb.client.internal.OperationExecutor.execute:(Lcom/mongodb/operation/WriteOperation;Lcom/mongodb/ReadConcern;Lcom/mongodb/client/ClientSession;)Ljava/lang/Object;
pop
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/client/internal/MapReduceIterableImpl<TTDocument;TTResult;>;
public com.mongodb.client.MapReduceIterable<TResult> collectionName(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/mongodb/client/MapReduceIterable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "collectionName"
aload 1
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
putfield com.mongodb.client.internal.MapReduceIterableImpl.collectionName:Ljava/lang/String;
1: aload 0
iconst_0
putfield com.mongodb.client.internal.MapReduceIterableImpl.inline:Z
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/client/internal/MapReduceIterableImpl<TTDocument;TTResult;>;
0 3 1 collectionName Ljava/lang/String;
Signature: (Ljava/lang/String;)Lcom/mongodb/client/MapReduceIterable<TTResult;>;
MethodParameters:
Name Flags
collectionName final
public com.mongodb.client.MapReduceIterable<TResult> finalizeFunction(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/mongodb/client/MapReduceIterable;
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.MapReduceIterableImpl.finalizeFunction: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/MapReduceIterableImpl<TTDocument;TTResult;>;
0 2 1 finalizeFunction Ljava/lang/String;
Signature: (Ljava/lang/String;)Lcom/mongodb/client/MapReduceIterable<TTResult;>;
RuntimeVisibleParameterAnnotations:
0:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
finalizeFunction final
public com.mongodb.client.MapReduceIterable<TResult> scope(org.bson.conversions.Bson);
descriptor: (Lorg/bson/conversions/Bson;)Lcom/mongodb/client/MapReduceIterable;
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.MapReduceIterableImpl.scope: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/MapReduceIterableImpl<TTDocument;TTResult;>;
0 2 1 scope Lorg/bson/conversions/Bson;
Signature: (Lorg/bson/conversions/Bson;)Lcom/mongodb/client/MapReduceIterable<TTResult;>;
RuntimeVisibleParameterAnnotations:
0:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
scope final
public com.mongodb.client.MapReduceIterable<TResult> sort(org.bson.conversions.Bson);
descriptor: (Lorg/bson/conversions/Bson;)Lcom/mongodb/client/MapReduceIterable;
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.MapReduceIterableImpl.sort: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/MapReduceIterableImpl<TTDocument;TTResult;>;
0 2 1 sort Lorg/bson/conversions/Bson;
Signature: (Lorg/bson/conversions/Bson;)Lcom/mongodb/client/MapReduceIterable<TTResult;>;
RuntimeVisibleParameterAnnotations:
0:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
sort final
public com.mongodb.client.MapReduceIterable<TResult> filter(org.bson.conversions.Bson);
descriptor: (Lorg/bson/conversions/Bson;)Lcom/mongodb/client/MapReduceIterable;
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.MapReduceIterableImpl.filter: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/MapReduceIterableImpl<TTDocument;TTResult;>;
0 2 1 filter Lorg/bson/conversions/Bson;
Signature: (Lorg/bson/conversions/Bson;)Lcom/mongodb/client/MapReduceIterable<TTResult;>;
RuntimeVisibleParameterAnnotations:
0:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
filter final
public com.mongodb.client.MapReduceIterable<TResult> limit(int);
descriptor: (I)Lcom/mongodb/client/MapReduceIterable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.mongodb.client.internal.MapReduceIterableImpl.limit:I
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/internal/MapReduceIterableImpl<TTDocument;TTResult;>;
0 2 1 limit I
Signature: (I)Lcom/mongodb/client/MapReduceIterable<TTResult;>;
MethodParameters:
Name Flags
limit final
public com.mongodb.client.MapReduceIterable<TResult> jsMode(boolean);
descriptor: (Z)Lcom/mongodb/client/MapReduceIterable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.mongodb.client.internal.MapReduceIterableImpl.jsMode:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/internal/MapReduceIterableImpl<TTDocument;TTResult;>;
0 2 1 jsMode Z
Signature: (Z)Lcom/mongodb/client/MapReduceIterable<TTResult;>;
MethodParameters:
Name Flags
jsMode final
public com.mongodb.client.MapReduceIterable<TResult> verbose(boolean);
descriptor: (Z)Lcom/mongodb/client/MapReduceIterable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.mongodb.client.internal.MapReduceIterableImpl.verbose:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/internal/MapReduceIterableImpl<TTDocument;TTResult;>;
0 2 1 verbose Z
Signature: (Z)Lcom/mongodb/client/MapReduceIterable<TTResult;>;
MethodParameters:
Name Flags
verbose final
public com.mongodb.client.MapReduceIterable<TResult> maxTime(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Lcom/mongodb/client/MapReduceIterable;
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.MapReduceIterableImpl.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/MapReduceIterableImpl<TTDocument;TTResult;>;
0 3 1 maxTime J
0 3 3 timeUnit Ljava/util/concurrent/TimeUnit;
Signature: (JLjava/util/concurrent/TimeUnit;)Lcom/mongodb/client/MapReduceIterable<TTResult;>;
MethodParameters:
Name Flags
maxTime final
timeUnit final
public com.mongodb.client.MapReduceIterable<TResult> action(com.mongodb.client.model.MapReduceAction);
descriptor: (Lcom/mongodb/client/model/MapReduceAction;)Lcom/mongodb/client/MapReduceIterable;
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.MapReduceIterableImpl.action:Lcom/mongodb/client/model/MapReduceAction;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/internal/MapReduceIterableImpl<TTDocument;TTResult;>;
0 2 1 action Lcom/mongodb/client/model/MapReduceAction;
Signature: (Lcom/mongodb/client/model/MapReduceAction;)Lcom/mongodb/client/MapReduceIterable<TTResult;>;
MethodParameters:
Name Flags
action final
public com.mongodb.client.MapReduceIterable<TResult> databaseName(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/mongodb/client/MapReduceIterable;
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.MapReduceIterableImpl.databaseName: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/MapReduceIterableImpl<TTDocument;TTResult;>;
0 2 1 databaseName Ljava/lang/String;
Signature: (Ljava/lang/String;)Lcom/mongodb/client/MapReduceIterable<TTResult;>;
RuntimeVisibleParameterAnnotations:
0:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
databaseName final
public com.mongodb.client.MapReduceIterable<TResult> sharded(boolean);
descriptor: (Z)Lcom/mongodb/client/MapReduceIterable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.mongodb.client.internal.MapReduceIterableImpl.sharded:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/internal/MapReduceIterableImpl<TTDocument;TTResult;>;
0 2 1 sharded Z
Signature: (Z)Lcom/mongodb/client/MapReduceIterable<TTResult;>;
MethodParameters:
Name Flags
sharded final
public com.mongodb.client.MapReduceIterable<TResult> nonAtomic(boolean);
descriptor: (Z)Lcom/mongodb/client/MapReduceIterable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.mongodb.client.internal.MapReduceIterableImpl.nonAtomic:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/internal/MapReduceIterableImpl<TTDocument;TTResult;>;
0 2 1 nonAtomic Z
Signature: (Z)Lcom/mongodb/client/MapReduceIterable<TTResult;>;
MethodParameters:
Name Flags
nonAtomic final
public com.mongodb.client.MapReduceIterable<TResult> batchSize(int);
descriptor: (I)Lcom/mongodb/client/MapReduceIterable;
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/MapReduceIterableImpl<TTDocument;TTResult;>;
0 2 1 batchSize I
Signature: (I)Lcom/mongodb/client/MapReduceIterable<TTResult;>;
MethodParameters:
Name Flags
batchSize final
public com.mongodb.client.MapReduceIterable<TResult> bypassDocumentValidation(java.lang.Boolean);
descriptor: (Ljava/lang/Boolean;)Lcom/mongodb/client/MapReduceIterable;
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.MapReduceIterableImpl.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/MapReduceIterableImpl<TTDocument;TTResult;>;
0 2 1 bypassDocumentValidation Ljava/lang/Boolean;
Signature: (Ljava/lang/Boolean;)Lcom/mongodb/client/MapReduceIterable<TTResult;>;
RuntimeVisibleParameterAnnotations:
0:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
bypassDocumentValidation final
public com.mongodb.client.MapReduceIterable<TResult> collation(com.mongodb.client.model.Collation);
descriptor: (Lcom/mongodb/client/model/Collation;)Lcom/mongodb/client/MapReduceIterable;
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.MapReduceIterableImpl.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/MapReduceIterableImpl<TTDocument;TTResult;>;
0 2 1 collation Lcom/mongodb/client/model/Collation;
Signature: (Lcom/mongodb/client/model/Collation;)Lcom/mongodb/client/MapReduceIterable<TTResult;>;
RuntimeVisibleParameterAnnotations:
0:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
collation final
com.mongodb.ReadPreference getReadPreference();
descriptor: ()Lcom/mongodb/ReadPreference;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.inline:Z
ifeq 2
1: aload 0
invokespecial com.mongodb.client.internal.MongoIterableImpl.getReadPreference:()Lcom/mongodb/ReadPreference;
areturn
2: StackMap locals:
StackMap stack:
invokestatic com.mongodb.ReadPreference.primary:()Lcom/mongodb/ReadPreference;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/client/internal/MapReduceIterableImpl<TTDocument;TTResult;>;
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
getfield com.mongodb.client.internal.MapReduceIterableImpl.inline:Z
ifeq 5
1: aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.operations:Lcom/mongodb/internal/operation/SyncOperations;
aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.mapFunction:Ljava/lang/String;
aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.reduceFunction:Ljava/lang/String;
aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.finalizeFunction:Ljava/lang/String;
2: aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.resultClass:Ljava/lang/Class;
aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.filter:Lorg/bson/conversions/Bson;
aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.limit:I
aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.maxTimeMS:J
aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.jsMode:Z
aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.scope:Lorg/bson/conversions/Bson;
aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.sort:Lorg/bson/conversions/Bson;
aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.verbose:Z
aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.collation:Lcom/mongodb/client/model/Collation;
3: invokevirtual com.mongodb.internal.operation.SyncOperations.mapReduce:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;Lorg/bson/conversions/Bson;IJZLorg/bson/conversions/Bson;Lorg/bson/conversions/Bson;ZLcom/mongodb/client/model/Collation;)Lcom/mongodb/operation/ReadOperation;
astore 1
start local 1 4: new com.mongodb.client.internal.MapReduceIterableImpl$WrappedMapReduceReadOperation
dup
aload 1
invokespecial com.mongodb.client.internal.MapReduceIterableImpl$WrappedMapReduceReadOperation.<init>:(Lcom/mongodb/operation/ReadOperation;)V
areturn
end local 1 5: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.mongodb.client.internal.MapReduceIterableImpl.getExecutor:()Lcom/mongodb/client/internal/OperationExecutor;
aload 0
invokevirtual com.mongodb.client.internal.MapReduceIterableImpl.createMapReduceToCollectionOperation:()Lcom/mongodb/operation/WriteOperation;
aload 0
invokevirtual com.mongodb.client.internal.MapReduceIterableImpl.getReadConcern:()Lcom/mongodb/ReadConcern;
aload 0
invokevirtual com.mongodb.client.internal.MapReduceIterableImpl.getClientSession:()Lcom/mongodb/client/ClientSession;
invokeinterface com.mongodb.client.internal.OperationExecutor.execute:(Lcom/mongodb/operation/WriteOperation;Lcom/mongodb/ReadConcern;Lcom/mongodb/client/ClientSession;)Ljava/lang/Object;
pop
6: aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.databaseName:Ljava/lang/String;
ifnull 7
aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.databaseName:Ljava/lang/String;
goto 8
StackMap locals:
StackMap stack:
7: aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.namespace:Lcom/mongodb/MongoNamespace;
invokevirtual com.mongodb.MongoNamespace.getDatabaseName:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
8: astore 1
start local 1 9: new com.mongodb.client.model.FindOptions
dup
invokespecial com.mongodb.client.model.FindOptions.<init>:()V
aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.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 10: aload 0
invokevirtual com.mongodb.client.internal.MapReduceIterableImpl.getBatchSize:()Ljava/lang/Integer;
astore 3
start local 3 11: aload 3
ifnull 13
12: aload 2
aload 3
invokevirtual java.lang.Integer.intValue:()I
invokevirtual com.mongodb.client.model.FindOptions.batchSize:(I)Lcom/mongodb/client/model/FindOptions;
pop
13: StackMap locals: java.lang.String com.mongodb.client.model.FindOptions java.lang.Integer
StackMap stack:
aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.operations:Lcom/mongodb/internal/operation/SyncOperations;
new com.mongodb.MongoNamespace
dup
aload 1
aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.collectionName:Ljava/lang/String;
invokespecial com.mongodb.MongoNamespace.<init>:(Ljava/lang/String;Ljava/lang/String;)V
new org.bson.BsonDocument
dup
invokespecial org.bson.BsonDocument.<init>:()V
aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.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 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/mongodb/client/internal/MapReduceIterableImpl<TTDocument;TTResult;>;
4 5 1 operation Lcom/mongodb/operation/ReadOperation<Lcom/mongodb/operation/MapReduceBatchCursor<TTResult;>;>;
9 14 1 dbName Ljava/lang/String;
10 14 2 findOptions Lcom/mongodb/client/model/FindOptions;
11 14 3 batchSize Ljava/lang/Integer;
Signature: ()Lcom/mongodb/operation/ReadOperation<Lcom/mongodb/operation/BatchCursor<TTResult;>;>;
private com.mongodb.operation.WriteOperation<com.mongodb.operation.MapReduceStatistics> createMapReduceToCollectionOperation();
descriptor: ()Lcom/mongodb/operation/WriteOperation;
flags: (0x0002) ACC_PRIVATE
Code:
stack=19, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.operations:Lcom/mongodb/internal/operation/SyncOperations;
aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.databaseName:Ljava/lang/String;
aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.collectionName:Ljava/lang/String;
aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.mapFunction:Ljava/lang/String;
aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.reduceFunction:Ljava/lang/String;
aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.finalizeFunction:Ljava/lang/String;
aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.filter:Lorg/bson/conversions/Bson;
1: aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.limit:I
aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.maxTimeMS:J
aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.jsMode:Z
aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.scope:Lorg/bson/conversions/Bson;
aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.sort:Lorg/bson/conversions/Bson;
aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.verbose:Z
aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.action:Lcom/mongodb/client/model/MapReduceAction;
aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.nonAtomic:Z
aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.sharded:Z
aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.bypassDocumentValidation:Ljava/lang/Boolean;
aload 0
getfield com.mongodb.client.internal.MapReduceIterableImpl.collation:Lcom/mongodb/client/model/Collation;
2: invokevirtual com.mongodb.internal.operation.SyncOperations.mapReduceToCollection:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/bson/conversions/Bson;IJZLorg/bson/conversions/Bson;Lorg/bson/conversions/Bson;ZLcom/mongodb/client/model/MapReduceAction;ZZLjava/lang/Boolean;Lcom/mongodb/client/model/Collation;)Lcom/mongodb/operation/WriteOperation;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/client/internal/MapReduceIterableImpl<TTDocument;TTResult;>;
Signature: ()Lcom/mongodb/operation/WriteOperation<Lcom/mongodb/operation/MapReduceStatistics;>;
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.MapReduceIterableImpl.batchSize:(I)Lcom/mongodb/client/MapReduceIterable;
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/MapReduceIterable<TTResult;>;
SourceFile: "MapReduceIterableImpl.java"
NestMembers:
com.mongodb.client.internal.MapReduceIterableImpl$WrappedMapReduceReadOperation
InnerClasses:
WrappedMapReduceReadOperation = com.mongodb.client.internal.MapReduceIterableImpl$WrappedMapReduceReadOperation of com.mongodb.client.internal.MapReduceIterableImpl