public class com.mongodb.operation.ParallelCollectionScanOperation<T> implements com.mongodb.operation.AsyncReadOperation<java.util.List<com.mongodb.async.AsyncBatchCursor<T>>>, com.mongodb.operation.ReadOperation<java.util.List<com.mongodb.operation.BatchCursor<T>>>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.mongodb.operation.ParallelCollectionScanOperation
super_class: java.lang.Object
{
private final com.mongodb.MongoNamespace namespace;
descriptor: Lcom/mongodb/MongoNamespace;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int numCursors;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean retryReads;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int batchSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final org.bson.codecs.Decoder<T> decoder;
descriptor: Lorg/bson/codecs/Decoder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/bson/codecs/Decoder<TT;>;
public void <init>(com.mongodb.MongoNamespace, int, org.bson.codecs.Decoder<T>);
descriptor: (Lcom/mongodb/MongoNamespace;ILorg/bson/codecs/Decoder;)V
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 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield com.mongodb.operation.ParallelCollectionScanOperation.batchSize:I
2: aload 0
ldc "namespace"
aload 1
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.MongoNamespace
putfield com.mongodb.operation.ParallelCollectionScanOperation.namespace:Lcom/mongodb/MongoNamespace;
3: ldc "numCursors >= 1"
iload 2
iconst_1
if_icmplt 4
iconst_1
goto 5
StackMap locals: com.mongodb.operation.ParallelCollectionScanOperation com.mongodb.MongoNamespace int org.bson.codecs.Decoder
StackMap stack: java.lang.String
4: iconst_0
StackMap locals: com.mongodb.operation.ParallelCollectionScanOperation com.mongodb.MongoNamespace int org.bson.codecs.Decoder
StackMap stack: java.lang.String int
5: invokestatic com.mongodb.assertions.Assertions.isTrue:(Ljava/lang/String;Z)V
6: aload 0
iload 2
putfield com.mongodb.operation.ParallelCollectionScanOperation.numCursors:I
7: aload 0
ldc "decoder"
aload 3
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.bson.codecs.Decoder
putfield com.mongodb.operation.ParallelCollectionScanOperation.decoder:Lorg/bson/codecs/Decoder;
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/mongodb/operation/ParallelCollectionScanOperation<TT;>;
0 9 1 namespace Lcom/mongodb/MongoNamespace;
0 9 2 numCursors I
0 9 3 decoder Lorg/bson/codecs/Decoder<TT;>;
Signature: (Lcom/mongodb/MongoNamespace;ILorg/bson/codecs/Decoder<TT;>;)V
MethodParameters:
Name Flags
namespace final
numCursors final
decoder final
public int getNumCursors();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.operation.ParallelCollectionScanOperation.numCursors:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/ParallelCollectionScanOperation<TT;>;
public int getBatchSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.operation.ParallelCollectionScanOperation.batchSize:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/ParallelCollectionScanOperation<TT;>;
public com.mongodb.operation.ParallelCollectionScanOperation<T> batchSize(int);
descriptor: (I)Lcom/mongodb/operation/ParallelCollectionScanOperation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: ldc "batchSize >= 0"
iload 1
iflt 1
iconst_1
goto 2
StackMap locals:
StackMap stack: java.lang.String
1: iconst_0
StackMap locals: com.mongodb.operation.ParallelCollectionScanOperation int
StackMap stack: java.lang.String int
2: invokestatic com.mongodb.assertions.Assertions.isTrue:(Ljava/lang/String;Z)V
3: aload 0
iload 1
putfield com.mongodb.operation.ParallelCollectionScanOperation.batchSize:I
4: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/mongodb/operation/ParallelCollectionScanOperation<TT;>;
0 5 1 batchSize I
Signature: (I)Lcom/mongodb/operation/ParallelCollectionScanOperation<TT;>;
MethodParameters:
Name Flags
batchSize final
public com.mongodb.operation.ParallelCollectionScanOperation<T> retryReads(boolean);
descriptor: (Z)Lcom/mongodb/operation/ParallelCollectionScanOperation;
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.operation.ParallelCollectionScanOperation.retryReads:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/operation/ParallelCollectionScanOperation<TT;>;
0 2 1 retryReads Z
Signature: (Z)Lcom/mongodb/operation/ParallelCollectionScanOperation<TT;>;
MethodParameters:
Name Flags
retryReads final
public boolean getRetryReads();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.operation.ParallelCollectionScanOperation.retryReads:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/ParallelCollectionScanOperation<TT;>;
public java.util.List<com.mongodb.operation.BatchCursor<T>> execute(com.mongodb.binding.ReadBinding);
descriptor: (Lcom/mongodb/binding/ReadBinding;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield com.mongodb.operation.ParallelCollectionScanOperation.namespace:Lcom/mongodb/MongoNamespace;
invokevirtual com.mongodb.MongoNamespace.getDatabaseName:()Ljava/lang/String;
aload 0
aload 1
invokeinterface com.mongodb.binding.ReadBinding.getSessionContext:()Lcom/mongodb/session/SessionContext;
invokevirtual com.mongodb.operation.ParallelCollectionScanOperation.getCommandCreator:(Lcom/mongodb/session/SessionContext;)Lcom/mongodb/operation/CommandOperationHelper$CommandCreator;
1: aload 0
getfield com.mongodb.operation.ParallelCollectionScanOperation.decoder:Lorg/bson/codecs/Decoder;
ldc "firstBatch"
invokestatic com.mongodb.operation.CommandResultDocumentCodec.create:(Lorg/bson/codecs/Decoder;Ljava/lang/String;)Lorg/bson/codecs/Codec;
2: aload 0
invokevirtual com.mongodb.operation.ParallelCollectionScanOperation.transformer:()Lcom/mongodb/operation/CommandOperationHelper$CommandReadTransformer;
aload 0
getfield com.mongodb.operation.ParallelCollectionScanOperation.retryReads:Z
3: invokestatic com.mongodb.operation.CommandOperationHelper.executeCommand:(Lcom/mongodb/binding/ReadBinding;Ljava/lang/String;Lcom/mongodb/operation/CommandOperationHelper$CommandCreator;Lorg/bson/codecs/Decoder;Lcom/mongodb/operation/CommandOperationHelper$CommandReadTransformer;Z)Ljava/lang/Object;
checkcast java.util.List
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/operation/ParallelCollectionScanOperation<TT;>;
0 4 1 binding Lcom/mongodb/binding/ReadBinding;
Signature: (Lcom/mongodb/binding/ReadBinding;)Ljava/util/List<Lcom/mongodb/operation/BatchCursor<TT;>;>;
MethodParameters:
Name Flags
binding final
public void executeAsync(com.mongodb.binding.AsyncReadBinding, com.mongodb.async.SingleResultCallback<java.util.List<com.mongodb.async.AsyncBatchCursor<T>>>);
descriptor: (Lcom/mongodb/binding/AsyncReadBinding;Lcom/mongodb/async/SingleResultCallback;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
getfield com.mongodb.operation.ParallelCollectionScanOperation.namespace:Lcom/mongodb/MongoNamespace;
invokevirtual com.mongodb.MongoNamespace.getDatabaseName:()Ljava/lang/String;
aload 0
aload 1
invokeinterface com.mongodb.binding.AsyncReadBinding.getSessionContext:()Lcom/mongodb/session/SessionContext;
invokevirtual com.mongodb.operation.ParallelCollectionScanOperation.getCommandCreator:(Lcom/mongodb/session/SessionContext;)Lcom/mongodb/operation/CommandOperationHelper$CommandCreator;
1: aload 0
getfield com.mongodb.operation.ParallelCollectionScanOperation.decoder:Lorg/bson/codecs/Decoder;
ldc "firstBatch"
invokestatic com.mongodb.operation.CommandResultDocumentCodec.create:(Lorg/bson/codecs/Decoder;Ljava/lang/String;)Lorg/bson/codecs/Codec;
2: aload 0
invokevirtual com.mongodb.operation.ParallelCollectionScanOperation.asyncTransformer:()Lcom/mongodb/operation/CommandOperationHelper$CommandReadTransformerAsync;
aload 0
getfield com.mongodb.operation.ParallelCollectionScanOperation.retryReads:Z
aload 2
getstatic com.mongodb.operation.OperationHelper.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
invokestatic com.mongodb.internal.async.ErrorHandlingResultCallback.errorHandlingCallback:(Lcom/mongodb/async/SingleResultCallback;Lcom/mongodb/diagnostics/logging/Logger;)Lcom/mongodb/async/SingleResultCallback;
3: invokestatic com.mongodb.operation.CommandOperationHelper.executeCommandAsync:(Lcom/mongodb/binding/AsyncReadBinding;Ljava/lang/String;Lcom/mongodb/operation/CommandOperationHelper$CommandCreator;Lorg/bson/codecs/Decoder;Lcom/mongodb/operation/CommandOperationHelper$CommandReadTransformerAsync;ZLcom/mongodb/async/SingleResultCallback;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/mongodb/operation/ParallelCollectionScanOperation<TT;>;
0 5 1 binding Lcom/mongodb/binding/AsyncReadBinding;
0 5 2 callback Lcom/mongodb/async/SingleResultCallback<Ljava/util/List<Lcom/mongodb/async/AsyncBatchCursor<TT;>;>;>;
Signature: (Lcom/mongodb/binding/AsyncReadBinding;Lcom/mongodb/async/SingleResultCallback<Ljava/util/List<Lcom/mongodb/async/AsyncBatchCursor<TT;>;>;>;)V
MethodParameters:
Name Flags
binding final
callback final
private com.mongodb.operation.CommandOperationHelper$CommandReadTransformer<org.bson.BsonDocument, java.util.List<com.mongodb.operation.BatchCursor<T>>> transformer();
descriptor: ()Lcom/mongodb/operation/CommandOperationHelper$CommandReadTransformer;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.mongodb.operation.ParallelCollectionScanOperation$1
dup
aload 0
invokespecial com.mongodb.operation.ParallelCollectionScanOperation$1.<init>:(Lcom/mongodb/operation/ParallelCollectionScanOperation;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/ParallelCollectionScanOperation<TT;>;
Signature: ()Lcom/mongodb/operation/CommandOperationHelper$CommandReadTransformer<Lorg/bson/BsonDocument;Ljava/util/List<Lcom/mongodb/operation/BatchCursor<TT;>;>;>;
private com.mongodb.operation.CommandOperationHelper$CommandReadTransformerAsync<org.bson.BsonDocument, java.util.List<com.mongodb.async.AsyncBatchCursor<T>>> asyncTransformer();
descriptor: ()Lcom/mongodb/operation/CommandOperationHelper$CommandReadTransformerAsync;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.mongodb.operation.ParallelCollectionScanOperation$2
dup
aload 0
invokespecial com.mongodb.operation.ParallelCollectionScanOperation$2.<init>:(Lcom/mongodb/operation/ParallelCollectionScanOperation;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/ParallelCollectionScanOperation<TT;>;
Signature: ()Lcom/mongodb/operation/CommandOperationHelper$CommandReadTransformerAsync<Lorg/bson/BsonDocument;Ljava/util/List<Lcom/mongodb/async/AsyncBatchCursor<TT;>;>;>;
private org.bson.BsonArray getCursorDocuments(org.bson.BsonDocument);
descriptor: (Lorg/bson/BsonDocument;)Lorg/bson/BsonArray;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "cursors"
invokevirtual org.bson.BsonDocument.getArray:(Ljava/lang/Object;)Lorg/bson/BsonArray;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/ParallelCollectionScanOperation<TT;>;
0 1 1 result Lorg/bson/BsonDocument;
MethodParameters:
Name Flags
result final
private org.bson.BsonDocument getCursorDocument(org.bson.BsonDocument);
descriptor: (Lorg/bson/BsonDocument;)Lorg/bson/BsonDocument;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "cursor"
invokevirtual org.bson.BsonDocument.getDocument:(Ljava/lang/Object;)Lorg/bson/BsonDocument;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/ParallelCollectionScanOperation<TT;>;
0 1 1 cursorDocument Lorg/bson/BsonDocument;
MethodParameters:
Name Flags
cursorDocument final
private com.mongodb.connection.QueryResult<T> createQueryResult(org.bson.BsonDocument, com.mongodb.ServerAddress);
descriptor: (Lorg/bson/BsonDocument;Lcom/mongodb/ServerAddress;)Lcom/mongodb/connection/QueryResult;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokestatic com.mongodb.operation.OperationHelper.cursorDocumentToQueryResult:(Lorg/bson/BsonDocument;Lcom/mongodb/ServerAddress;)Lcom/mongodb/connection/QueryResult;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/ParallelCollectionScanOperation<TT;>;
0 1 1 cursorDocument Lorg/bson/BsonDocument;
0 1 2 serverAddress Lcom/mongodb/ServerAddress;
Signature: (Lorg/bson/BsonDocument;Lcom/mongodb/ServerAddress;)Lcom/mongodb/connection/QueryResult<TT;>;
MethodParameters:
Name Flags
cursorDocument final
serverAddress final
private com.mongodb.operation.CommandOperationHelper$CommandCreator getCommandCreator(com.mongodb.session.SessionContext);
descriptor: (Lcom/mongodb/session/SessionContext;)Lcom/mongodb/operation/CommandOperationHelper$CommandCreator;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.mongodb.operation.ParallelCollectionScanOperation$3
dup
aload 0
aload 1
invokespecial com.mongodb.operation.ParallelCollectionScanOperation$3.<init>:(Lcom/mongodb/operation/ParallelCollectionScanOperation;Lcom/mongodb/session/SessionContext;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/ParallelCollectionScanOperation<TT;>;
0 1 1 sessionContext Lcom/mongodb/session/SessionContext;
MethodParameters:
Name Flags
sessionContext final
private org.bson.BsonDocument getCommand(com.mongodb.session.SessionContext);
descriptor: (Lcom/mongodb/session/SessionContext;)Lorg/bson/BsonDocument;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: new org.bson.BsonDocument
dup
ldc "parallelCollectionScan"
new org.bson.BsonString
dup
aload 0
getfield com.mongodb.operation.ParallelCollectionScanOperation.namespace:Lcom/mongodb/MongoNamespace;
invokevirtual com.mongodb.MongoNamespace.getCollectionName:()Ljava/lang/String;
invokespecial org.bson.BsonString.<init>:(Ljava/lang/String;)V
invokespecial org.bson.BsonDocument.<init>:(Ljava/lang/String;Lorg/bson/BsonValue;)V
1: ldc "numCursors"
new org.bson.BsonInt32
dup
aload 0
invokevirtual com.mongodb.operation.ParallelCollectionScanOperation.getNumCursors:()I
invokespecial org.bson.BsonInt32.<init>:(I)V
invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
2: astore 2
start local 2 3: aload 1
aload 2
invokestatic com.mongodb.operation.OperationReadConcernHelper.appendReadConcernToCommand:(Lcom/mongodb/session/SessionContext;Lorg/bson/BsonDocument;)V
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/mongodb/operation/ParallelCollectionScanOperation<TT;>;
0 5 1 sessionContext Lcom/mongodb/session/SessionContext;
3 5 2 document Lorg/bson/BsonDocument;
MethodParameters:
Name Flags
sessionContext final
public java.lang.Object execute(com.mongodb.binding.ReadBinding);
descriptor: (Lcom/mongodb/binding/ReadBinding;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual com.mongodb.operation.ParallelCollectionScanOperation.execute:(Lcom/mongodb/binding/ReadBinding;)Ljava/util/List;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Lcom/mongodb/operation/AsyncReadOperation<Ljava/util/List<Lcom/mongodb/async/AsyncBatchCursor<TT;>;>;>;Lcom/mongodb/operation/ReadOperation<Ljava/util/List<Lcom/mongodb/operation/BatchCursor<TT;>;>;>;
SourceFile: "ParallelCollectionScanOperation.java"
NestMembers:
com.mongodb.operation.ParallelCollectionScanOperation$1 com.mongodb.operation.ParallelCollectionScanOperation$2 com.mongodb.operation.ParallelCollectionScanOperation$3
InnerClasses:
abstract CommandCreator = com.mongodb.operation.CommandOperationHelper$CommandCreator of com.mongodb.operation.CommandOperationHelper
abstract CommandReadTransformer = com.mongodb.operation.CommandOperationHelper$CommandReadTransformer of com.mongodb.operation.CommandOperationHelper
abstract CommandReadTransformerAsync = com.mongodb.operation.CommandOperationHelper$CommandReadTransformerAsync of com.mongodb.operation.CommandOperationHelper
com.mongodb.operation.ParallelCollectionScanOperation$1
com.mongodb.operation.ParallelCollectionScanOperation$2
com.mongodb.operation.ParallelCollectionScanOperation$3
RuntimeVisibleAnnotations:
java.lang.Deprecated()