class com.mongodb.operation.QueryBatchCursor<T> implements com.mongodb.operation.AggregateResponseBatchCursor<T>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.operation.QueryBatchCursor
super_class: java.lang.Object
{
private static final org.bson.FieldNameValidator NO_OP_FIELD_NAME_VALIDATOR;
descriptor: Lorg/bson/FieldNameValidator;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String CURSOR;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "cursor"
private static final java.lang.String POST_BATCH_RESUME_TOKEN;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "postBatchResumeToken"
private static final java.lang.String OPERATION_TIME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "operationTime"
private final com.mongodb.MongoNamespace namespace;
descriptor: Lcom/mongodb/MongoNamespace;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.mongodb.ServerAddress serverAddress;
descriptor: Lcom/mongodb/ServerAddress;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int limit;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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;>;
private final long maxTimeMS;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int batchSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private com.mongodb.binding.ConnectionSource connectionSource;
descriptor: Lcom/mongodb/binding/ConnectionSource;
flags: (0x0002) ACC_PRIVATE
private com.mongodb.ServerCursor serverCursor;
descriptor: Lcom/mongodb/ServerCursor;
flags: (0x0002) ACC_PRIVATE
private java.util.List<T> nextBatch;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<TT;>;
private int count;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private volatile boolean closed;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private org.bson.BsonDocument postBatchResumeToken;
descriptor: Lorg/bson/BsonDocument;
flags: (0x0002) ACC_PRIVATE
private org.bson.BsonTimestamp operationTime;
descriptor: Lorg/bson/BsonTimestamp;
flags: (0x0002) ACC_PRIVATE
private boolean firstBatchEmpty;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.mongodb.internal.validator.NoOpFieldNameValidator
dup
invokespecial com.mongodb.internal.validator.NoOpFieldNameValidator.<init>:()V
putstatic com.mongodb.operation.QueryBatchCursor.NO_OP_FIELD_NAME_VALIDATOR:Lorg/bson/FieldNameValidator;
1: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(com.mongodb.connection.QueryResult<T>, int, int, org.bson.codecs.Decoder<T>);
descriptor: (Lcom/mongodb/connection/QueryResult;IILorg/bson/codecs/Decoder;)V
flags: (0x0000)
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
iload 2
iload 3
aload 4
aconst_null
invokespecial com.mongodb.operation.QueryBatchCursor.<init>:(Lcom/mongodb/connection/QueryResult;IILorg/bson/codecs/Decoder;Lcom/mongodb/binding/ConnectionSource;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/operation/QueryBatchCursor<TT;>;
0 2 1 firstQueryResult Lcom/mongodb/connection/QueryResult<TT;>;
0 2 2 limit I
0 2 3 batchSize I
0 2 4 decoder Lorg/bson/codecs/Decoder<TT;>;
Signature: (Lcom/mongodb/connection/QueryResult<TT;>;IILorg/bson/codecs/Decoder<TT;>;)V
MethodParameters:
Name Flags
firstQueryResult final
limit final
batchSize final
decoder final
void <init>(com.mongodb.connection.QueryResult<T>, int, int, org.bson.codecs.Decoder<T>, com.mongodb.binding.ConnectionSource);
descriptor: (Lcom/mongodb/connection/QueryResult;IILorg/bson/codecs/Decoder;Lcom/mongodb/binding/ConnectionSource;)V
flags: (0x0000)
Code:
stack=10, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
iload 2
iload 3
lconst_0
aload 4
aload 5
aconst_null
aconst_null
invokespecial com.mongodb.operation.QueryBatchCursor.<init>:(Lcom/mongodb/connection/QueryResult;IIJLorg/bson/codecs/Decoder;Lcom/mongodb/binding/ConnectionSource;Lcom/mongodb/connection/Connection;Lorg/bson/BsonDocument;)V
1: return
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 2 0 this Lcom/mongodb/operation/QueryBatchCursor<TT;>;
0 2 1 firstQueryResult Lcom/mongodb/connection/QueryResult<TT;>;
0 2 2 limit I
0 2 3 batchSize I
0 2 4 decoder Lorg/bson/codecs/Decoder<TT;>;
0 2 5 connectionSource Lcom/mongodb/binding/ConnectionSource;
Signature: (Lcom/mongodb/connection/QueryResult<TT;>;IILorg/bson/codecs/Decoder<TT;>;Lcom/mongodb/binding/ConnectionSource;)V
MethodParameters:
Name Flags
firstQueryResult final
limit final
batchSize final
decoder final
connectionSource final
void <init>(com.mongodb.connection.QueryResult<T>, int, int, org.bson.codecs.Decoder<T>, com.mongodb.binding.ConnectionSource, com.mongodb.connection.Connection);
descriptor: (Lcom/mongodb/connection/QueryResult;IILorg/bson/codecs/Decoder;Lcom/mongodb/binding/ConnectionSource;Lcom/mongodb/connection/Connection;)V
flags: (0x0000)
Code:
stack=10, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
iload 2
iload 3
lconst_0
aload 4
aload 5
aload 6
aconst_null
invokespecial com.mongodb.operation.QueryBatchCursor.<init>:(Lcom/mongodb/connection/QueryResult;IIJLorg/bson/codecs/Decoder;Lcom/mongodb/binding/ConnectionSource;Lcom/mongodb/connection/Connection;Lorg/bson/BsonDocument;)V
1: return
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 2 0 this Lcom/mongodb/operation/QueryBatchCursor<TT;>;
0 2 1 firstQueryResult Lcom/mongodb/connection/QueryResult<TT;>;
0 2 2 limit I
0 2 3 batchSize I
0 2 4 decoder Lorg/bson/codecs/Decoder<TT;>;
0 2 5 connectionSource Lcom/mongodb/binding/ConnectionSource;
0 2 6 connection Lcom/mongodb/connection/Connection;
Signature: (Lcom/mongodb/connection/QueryResult<TT;>;IILorg/bson/codecs/Decoder<TT;>;Lcom/mongodb/binding/ConnectionSource;Lcom/mongodb/connection/Connection;)V
MethodParameters:
Name Flags
firstQueryResult final
limit final
batchSize final
decoder final
connectionSource final
connection final
void <init>(com.mongodb.connection.QueryResult<T>, int, int, long, org.bson.codecs.Decoder<T>, com.mongodb.binding.ConnectionSource, com.mongodb.connection.Connection);
descriptor: (Lcom/mongodb/connection/QueryResult;IIJLorg/bson/codecs/Decoder;Lcom/mongodb/binding/ConnectionSource;Lcom/mongodb/connection/Connection;)V
flags: (0x0000)
Code:
stack=10, locals=9, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 6 start local 7 start local 8 0: aload 0
aload 1
iload 2
iload 3
lload 4
aload 6
aload 7
aload 8
aconst_null
invokespecial com.mongodb.operation.QueryBatchCursor.<init>:(Lcom/mongodb/connection/QueryResult;IIJLorg/bson/codecs/Decoder;Lcom/mongodb/binding/ConnectionSource;Lcom/mongodb/connection/Connection;Lorg/bson/BsonDocument;)V
1: return
end local 8 end local 7 end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/operation/QueryBatchCursor<TT;>;
0 2 1 firstQueryResult Lcom/mongodb/connection/QueryResult<TT;>;
0 2 2 limit I
0 2 3 batchSize I
0 2 4 maxTimeMS J
0 2 6 decoder Lorg/bson/codecs/Decoder<TT;>;
0 2 7 connectionSource Lcom/mongodb/binding/ConnectionSource;
0 2 8 connection Lcom/mongodb/connection/Connection;
Signature: (Lcom/mongodb/connection/QueryResult<TT;>;IIJLorg/bson/codecs/Decoder<TT;>;Lcom/mongodb/binding/ConnectionSource;Lcom/mongodb/connection/Connection;)V
MethodParameters:
Name Flags
firstQueryResult final
limit final
batchSize final
maxTimeMS final
decoder final
connectionSource final
connection final
void <init>(com.mongodb.connection.QueryResult<T>, int, int, long, org.bson.codecs.Decoder<T>, com.mongodb.binding.ConnectionSource, com.mongodb.connection.Connection, org.bson.BsonDocument);
descriptor: (Lcom/mongodb/connection/QueryResult;IIJLorg/bson/codecs/Decoder;Lcom/mongodb/binding/ConnectionSource;Lcom/mongodb/connection/Connection;Lorg/bson/BsonDocument;)V
flags: (0x0000)
Code:
stack=5, locals=10, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 6 start local 7 start local 8 start local 9 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: ldc "maxTimeMS >= 0"
lload 4
lconst_0
lcmp
iflt 2
iconst_1
goto 3
StackMap locals: com.mongodb.operation.QueryBatchCursor com.mongodb.connection.QueryResult int int long org.bson.codecs.Decoder com.mongodb.binding.ConnectionSource com.mongodb.connection.Connection org.bson.BsonDocument
StackMap stack: java.lang.String
2: iconst_0
StackMap locals: com.mongodb.operation.QueryBatchCursor com.mongodb.connection.QueryResult int int long org.bson.codecs.Decoder com.mongodb.binding.ConnectionSource com.mongodb.connection.Connection org.bson.BsonDocument
StackMap stack: java.lang.String int
3: invokestatic com.mongodb.assertions.Assertions.isTrueArgument:(Ljava/lang/String;Z)V
4: aload 0
lload 4
putfield com.mongodb.operation.QueryBatchCursor.maxTimeMS:J
5: aload 0
aload 1
invokevirtual com.mongodb.connection.QueryResult.getNamespace:()Lcom/mongodb/MongoNamespace;
putfield com.mongodb.operation.QueryBatchCursor.namespace:Lcom/mongodb/MongoNamespace;
6: aload 0
aload 1
invokevirtual com.mongodb.connection.QueryResult.getAddress:()Lcom/mongodb/ServerAddress;
putfield com.mongodb.operation.QueryBatchCursor.serverAddress:Lcom/mongodb/ServerAddress;
7: aload 0
iload 2
putfield com.mongodb.operation.QueryBatchCursor.limit:I
8: aload 0
iload 3
putfield com.mongodb.operation.QueryBatchCursor.batchSize:I
9: aload 0
ldc "decoder"
aload 6
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.bson.codecs.Decoder
putfield com.mongodb.operation.QueryBatchCursor.decoder:Lorg/bson/codecs/Decoder;
10: aload 9
ifnull 12
11: aload 0
aload 9
ldc "operationTime"
aconst_null
invokevirtual org.bson.BsonDocument.getTimestamp:(Ljava/lang/Object;Lorg/bson/BsonTimestamp;)Lorg/bson/BsonTimestamp;
putfield com.mongodb.operation.QueryBatchCursor.operationTime:Lorg/bson/BsonTimestamp;
12: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.mongodb.connection.QueryResult.getCursor:()Lcom/mongodb/ServerCursor;
ifnull 14
13: ldc "connectionSource"
aload 7
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
14: StackMap locals:
StackMap stack:
aload 7
ifnull 17
15: aload 0
aload 7
invokeinterface com.mongodb.binding.ConnectionSource.retain:()Lcom/mongodb/binding/ConnectionSource;
putfield com.mongodb.operation.QueryBatchCursor.connectionSource:Lcom/mongodb/binding/ConnectionSource;
16: goto 18
17: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield com.mongodb.operation.QueryBatchCursor.connectionSource:Lcom/mongodb/binding/ConnectionSource;
18: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.mongodb.operation.QueryBatchCursor.initFromQueryResult:(Lcom/mongodb/connection/QueryResult;)V
19: aload 0
aload 1
invokevirtual com.mongodb.connection.QueryResult.getResults:()Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
putfield com.mongodb.operation.QueryBatchCursor.firstBatchEmpty:Z
20: aload 0
invokevirtual com.mongodb.operation.QueryBatchCursor.limitReached:()Z
ifeq 22
21: aload 0
aload 8
invokevirtual com.mongodb.operation.QueryBatchCursor.killCursor:(Lcom/mongodb/connection/Connection;)V
22: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.operation.QueryBatchCursor.serverCursor:Lcom/mongodb/ServerCursor;
ifnonnull 25
aload 0
getfield com.mongodb.operation.QueryBatchCursor.connectionSource:Lcom/mongodb/binding/ConnectionSource;
ifnull 25
23: aload 0
getfield com.mongodb.operation.QueryBatchCursor.connectionSource:Lcom/mongodb/binding/ConnectionSource;
invokeinterface com.mongodb.binding.ConnectionSource.release:()V
24: aload 0
aconst_null
putfield com.mongodb.operation.QueryBatchCursor.connectionSource:Lcom/mongodb/binding/ConnectionSource;
25: StackMap locals:
StackMap stack:
return
end local 9 end local 8 end local 7 end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lcom/mongodb/operation/QueryBatchCursor<TT;>;
0 26 1 firstQueryResult Lcom/mongodb/connection/QueryResult<TT;>;
0 26 2 limit I
0 26 3 batchSize I
0 26 4 maxTimeMS J
0 26 6 decoder Lorg/bson/codecs/Decoder<TT;>;
0 26 7 connectionSource Lcom/mongodb/binding/ConnectionSource;
0 26 8 connection Lcom/mongodb/connection/Connection;
0 26 9 result Lorg/bson/BsonDocument;
Signature: (Lcom/mongodb/connection/QueryResult<TT;>;IIJLorg/bson/codecs/Decoder<TT;>;Lcom/mongodb/binding/ConnectionSource;Lcom/mongodb/connection/Connection;Lorg/bson/BsonDocument;)V
MethodParameters:
Name Flags
firstQueryResult final
limit final
batchSize final
maxTimeMS final
decoder final
connectionSource final
connection final
result final
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.operation.QueryBatchCursor.closed:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Cursor has been closed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.operation.QueryBatchCursor.nextBatch:Ljava/util/List;
ifnull 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.mongodb.operation.QueryBatchCursor.limitReached:()Z
ifeq 11
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.mongodb.operation.QueryBatchCursor.getMore:()V
7: aload 0
getfield com.mongodb.operation.QueryBatchCursor.closed:Z
ifeq 9
8: new java.lang.IllegalStateException
dup
ldc "Cursor has been closed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.operation.QueryBatchCursor.nextBatch:Ljava/util/List;
ifnull 11
10: iconst_1
ireturn
11: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.operation.QueryBatchCursor.serverCursor:Lcom/mongodb/ServerCursor;
ifnonnull 6
12: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/mongodb/operation/QueryBatchCursor<TT;>;
public java.util.List<T> next();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.mongodb.operation.QueryBatchCursor.closed:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Iterator has been closed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.mongodb.operation.QueryBatchCursor.hasNext:()Z
ifne 4
3: new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.operation.QueryBatchCursor.nextBatch:Ljava/util/List;
astore 1
start local 1 5: aload 0
aconst_null
putfield com.mongodb.operation.QueryBatchCursor.nextBatch:Ljava/util/List;
6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/mongodb/operation/QueryBatchCursor<TT;>;
5 7 1 retVal Ljava/util/List<TT;>;
Signature: ()Ljava/util/List<TT;>;
public void setBatchSize(int);
descriptor: (I)V
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.QueryBatchCursor.batchSize:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/operation/QueryBatchCursor<TT;>;
0 2 1 batchSize I
MethodParameters:
Name Flags
batchSize final
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.QueryBatchCursor.batchSize:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/QueryBatchCursor<TT;>;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
ldc "Not implemented yet!"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/QueryBatchCursor<TT;>;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.mongodb.operation.QueryBatchCursor.closed:Z
ifne 10
1: aload 0
iconst_1
putfield com.mongodb.operation.QueryBatchCursor.closed:Z
2: aload 0
invokevirtual com.mongodb.operation.QueryBatchCursor.killCursor:()V
3: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
4: astore 1
5: aload 0
getfield com.mongodb.operation.QueryBatchCursor.connectionSource:Lcom/mongodb/binding/ConnectionSource;
ifnull 7
6: aload 0
getfield com.mongodb.operation.QueryBatchCursor.connectionSource:Lcom/mongodb/binding/ConnectionSource;
invokeinterface com.mongodb.binding.ConnectionSource.release:()V
7: StackMap locals: java.lang.Throwable
StackMap stack:
aload 1
athrow
8: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.operation.QueryBatchCursor.connectionSource:Lcom/mongodb/binding/ConnectionSource;
ifnull 10
9: aload 0
getfield com.mongodb.operation.QueryBatchCursor.connectionSource:Lcom/mongodb/binding/ConnectionSource;
invokeinterface com.mongodb.binding.ConnectionSource.release:()V
10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/mongodb/operation/QueryBatchCursor<TT;>;
Exception table:
from to target type
2 4 4 any
public java.util.List<T> tryNext();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.operation.QueryBatchCursor.closed:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Cursor has been closed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.mongodb.operation.QueryBatchCursor.tryHasNext:()Z
ifne 4
3: aconst_null
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.mongodb.operation.QueryBatchCursor.next:()Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/mongodb/operation/QueryBatchCursor<TT;>;
Signature: ()Ljava/util/List<TT;>;
boolean tryHasNext();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.operation.QueryBatchCursor.nextBatch:Ljava/util/List;
ifnull 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.mongodb.operation.QueryBatchCursor.limitReached:()Z
ifeq 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.operation.QueryBatchCursor.serverCursor:Lcom/mongodb/ServerCursor;
ifnull 6
5: aload 0
invokevirtual com.mongodb.operation.QueryBatchCursor.getMore:()V
6: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.operation.QueryBatchCursor.nextBatch:Ljava/util/List;
ifnull 7
iconst_1
ireturn
StackMap locals:
StackMap stack:
7: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/mongodb/operation/QueryBatchCursor<TT;>;
public com.mongodb.ServerCursor getServerCursor();
descriptor: ()Lcom/mongodb/ServerCursor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.operation.QueryBatchCursor.closed:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Iterator has been closed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.operation.QueryBatchCursor.serverCursor:Lcom/mongodb/ServerCursor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/operation/QueryBatchCursor<TT;>;
public com.mongodb.ServerAddress getServerAddress();
descriptor: ()Lcom/mongodb/ServerAddress;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.operation.QueryBatchCursor.closed:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Iterator has been closed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.operation.QueryBatchCursor.serverAddress:Lcom/mongodb/ServerAddress;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/operation/QueryBatchCursor<TT;>;
public org.bson.BsonDocument getPostBatchResumeToken();
descriptor: ()Lorg/bson/BsonDocument;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.operation.QueryBatchCursor.postBatchResumeToken:Lorg/bson/BsonDocument;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/QueryBatchCursor<TT;>;
public org.bson.BsonTimestamp getOperationTime();
descriptor: ()Lorg/bson/BsonTimestamp;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.operation.QueryBatchCursor.operationTime:Lorg/bson/BsonTimestamp;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/QueryBatchCursor<TT;>;
public boolean isFirstBatchEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.operation.QueryBatchCursor.firstBatchEmpty:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/QueryBatchCursor<TT;>;
private void getMore();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=4, args_size=1
start local 0 0: aload 0
getfield com.mongodb.operation.QueryBatchCursor.connectionSource:Lcom/mongodb/binding/ConnectionSource;
invokeinterface com.mongodb.binding.ConnectionSource.getConnection:()Lcom/mongodb/connection/Connection;
astore 1
start local 1 1: aload 1
invokeinterface com.mongodb.connection.Connection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
invokestatic com.mongodb.internal.operation.ServerVersionHelper.serverIsAtLeastVersionThreeDotTwo:(Lcom/mongodb/connection/ConnectionDescription;)Z
ifeq 12
2: aload 0
aload 1
aload 0
getfield com.mongodb.operation.QueryBatchCursor.namespace:Lcom/mongodb/MongoNamespace;
invokevirtual com.mongodb.MongoNamespace.getDatabaseName:()Ljava/lang/String;
3: aload 0
invokevirtual com.mongodb.operation.QueryBatchCursor.asGetMoreCommandDocument:()Lorg/bson/BsonDocument;
4: getstatic com.mongodb.operation.QueryBatchCursor.NO_OP_FIELD_NAME_VALIDATOR:Lorg/bson/FieldNameValidator;
5: invokestatic com.mongodb.ReadPreference.primary:()Lcom/mongodb/ReadPreference;
6: aload 0
getfield com.mongodb.operation.QueryBatchCursor.decoder:Lorg/bson/codecs/Decoder;
ldc "nextBatch"
invokestatic com.mongodb.operation.CommandResultDocumentCodec.create:(Lorg/bson/codecs/Decoder;Ljava/lang/String;)Lorg/bson/codecs/Codec;
7: aload 0
getfield com.mongodb.operation.QueryBatchCursor.connectionSource:Lcom/mongodb/binding/ConnectionSource;
invokeinterface com.mongodb.binding.ConnectionSource.getSessionContext:()Lcom/mongodb/session/SessionContext;
8: invokeinterface com.mongodb.connection.Connection.command:(Ljava/lang/String;Lorg/bson/BsonDocument;Lorg/bson/FieldNameValidator;Lcom/mongodb/ReadPreference;Lorg/bson/codecs/Decoder;Lcom/mongodb/session/SessionContext;)Ljava/lang/Object;
checkcast org.bson.BsonDocument
invokevirtual com.mongodb.operation.QueryBatchCursor.initFromCommandResult:(Lorg/bson/BsonDocument;)V
9: goto 16
StackMap locals: com.mongodb.operation.QueryBatchCursor com.mongodb.connection.Connection
StackMap stack: com.mongodb.MongoCommandException
10: astore 2
start local 2 11: aload 2
aload 0
getfield com.mongodb.operation.QueryBatchCursor.serverCursor:Lcom/mongodb/ServerCursor;
invokestatic com.mongodb.operation.QueryHelper.translateCommandException:(Lcom/mongodb/MongoCommandException;Lcom/mongodb/ServerCursor;)Lcom/mongodb/MongoQueryException;
athrow
end local 2 12: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield com.mongodb.operation.QueryBatchCursor.namespace:Lcom/mongodb/MongoNamespace;
aload 0
getfield com.mongodb.operation.QueryBatchCursor.serverCursor:Lcom/mongodb/ServerCursor;
invokevirtual com.mongodb.ServerCursor.getId:()J
13: aload 0
getfield com.mongodb.operation.QueryBatchCursor.limit:I
aload 0
getfield com.mongodb.operation.QueryBatchCursor.batchSize:I
aload 0
getfield com.mongodb.operation.QueryBatchCursor.count:I
invokestatic com.mongodb.operation.CursorHelper.getNumberToReturn:(III)I
aload 0
getfield com.mongodb.operation.QueryBatchCursor.decoder:Lorg/bson/codecs/Decoder;
14: invokeinterface com.mongodb.connection.Connection.getMore:(Lcom/mongodb/MongoNamespace;JILorg/bson/codecs/Decoder;)Lcom/mongodb/connection/QueryResult;
astore 2
start local 2 15: aload 0
aload 2
invokevirtual com.mongodb.operation.QueryBatchCursor.initFromQueryResult:(Lcom/mongodb/connection/QueryResult;)V
end local 2 16: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.mongodb.operation.QueryBatchCursor.limitReached:()Z
ifeq 18
17: aload 0
aload 1
invokevirtual com.mongodb.operation.QueryBatchCursor.killCursor:(Lcom/mongodb/connection/Connection;)V
18: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.operation.QueryBatchCursor.serverCursor:Lcom/mongodb/ServerCursor;
ifnonnull 25
19: aload 0
getfield com.mongodb.operation.QueryBatchCursor.connectionSource:Lcom/mongodb/binding/ConnectionSource;
invokeinterface com.mongodb.binding.ConnectionSource.release:()V
20: aload 0
aconst_null
putfield com.mongodb.operation.QueryBatchCursor.connectionSource:Lcom/mongodb/binding/ConnectionSource;
21: goto 25
StackMap locals:
StackMap stack: java.lang.Throwable
22: astore 3
23: aload 1
invokeinterface com.mongodb.connection.Connection.release:()V
24: aload 3
athrow
25: StackMap locals:
StackMap stack:
aload 1
invokeinterface com.mongodb.connection.Connection.release:()V
26: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lcom/mongodb/operation/QueryBatchCursor<TT;>;
1 27 1 connection Lcom/mongodb/connection/Connection;
11 12 2 e Lcom/mongodb/MongoCommandException;
15 16 2 getMore Lcom/mongodb/connection/QueryResult<TT;>;
Exception table:
from to target type
2 9 10 Class com.mongodb.MongoCommandException
1 22 22 any
private org.bson.BsonDocument asGetMoreCommandDocument();
descriptor: ()Lorg/bson/BsonDocument;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=3, args_size=1
start local 0 0: new org.bson.BsonDocument
dup
ldc "getMore"
new org.bson.BsonInt64
dup
aload 0
getfield com.mongodb.operation.QueryBatchCursor.serverCursor:Lcom/mongodb/ServerCursor;
invokevirtual com.mongodb.ServerCursor.getId:()J
invokespecial org.bson.BsonInt64.<init>:(J)V
invokespecial org.bson.BsonDocument.<init>:(Ljava/lang/String;Lorg/bson/BsonValue;)V
1: ldc "collection"
new org.bson.BsonString
dup
aload 0
getfield com.mongodb.operation.QueryBatchCursor.namespace:Lcom/mongodb/MongoNamespace;
invokevirtual com.mongodb.MongoNamespace.getCollectionName:()Ljava/lang/String;
invokespecial org.bson.BsonString.<init>:(Ljava/lang/String;)V
invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
2: astore 1
start local 1 3: aload 0
getfield com.mongodb.operation.QueryBatchCursor.limit:I
aload 0
getfield com.mongodb.operation.QueryBatchCursor.batchSize:I
aload 0
getfield com.mongodb.operation.QueryBatchCursor.count:I
invokestatic com.mongodb.operation.CursorHelper.getNumberToReturn:(III)I
invokestatic java.lang.Math.abs:(I)I
istore 2
start local 2 4: iload 2
ifeq 6
5: aload 1
ldc "batchSize"
new org.bson.BsonInt32
dup
iload 2
invokespecial org.bson.BsonInt32.<init>:(I)V
invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
pop
6: StackMap locals: org.bson.BsonDocument int
StackMap stack:
aload 0
getfield com.mongodb.operation.QueryBatchCursor.maxTimeMS:J
lconst_0
lcmp
ifeq 8
7: aload 1
ldc "maxTimeMS"
new org.bson.BsonInt64
dup
aload 0
getfield com.mongodb.operation.QueryBatchCursor.maxTimeMS:J
invokespecial org.bson.BsonInt64.<init>:(J)V
invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
pop
8: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/mongodb/operation/QueryBatchCursor<TT;>;
3 9 1 document Lorg/bson/BsonDocument;
4 9 2 batchSizeForGetMoreCommand I
private void initFromQueryResult(com.mongodb.connection.QueryResult<T>);
descriptor: (Lcom/mongodb/connection/QueryResult;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.mongodb.connection.QueryResult.getCursor:()Lcom/mongodb/ServerCursor;
putfield com.mongodb.operation.QueryBatchCursor.serverCursor:Lcom/mongodb/ServerCursor;
1: aload 0
aload 1
invokevirtual com.mongodb.connection.QueryResult.getResults:()Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 2
aconst_null
goto 3
StackMap locals:
StackMap stack: com.mongodb.operation.QueryBatchCursor
2: aload 1
invokevirtual com.mongodb.connection.QueryResult.getResults:()Ljava/util/List;
StackMap locals: com.mongodb.operation.QueryBatchCursor com.mongodb.connection.QueryResult
StackMap stack: com.mongodb.operation.QueryBatchCursor java.util.List
3: putfield com.mongodb.operation.QueryBatchCursor.nextBatch:Ljava/util/List;
4: aload 0
dup
getfield com.mongodb.operation.QueryBatchCursor.count:I
aload 1
invokevirtual com.mongodb.connection.QueryResult.getResults:()Ljava/util/List;
invokeinterface java.util.List.size:()I
iadd
putfield com.mongodb.operation.QueryBatchCursor.count:I
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/mongodb/operation/QueryBatchCursor<TT;>;
0 6 1 queryResult Lcom/mongodb/connection/QueryResult<TT;>;
Signature: (Lcom/mongodb/connection/QueryResult<TT;>;)V
MethodParameters:
Name Flags
queryResult final
private void initFromCommandResult(org.bson.BsonDocument);
descriptor: (Lorg/bson/BsonDocument;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, 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;
1: aload 0
getfield com.mongodb.operation.QueryBatchCursor.connectionSource:Lcom/mongodb/binding/ConnectionSource;
invokeinterface com.mongodb.binding.ConnectionSource.getServerDescription:()Lcom/mongodb/connection/ServerDescription;
invokevirtual com.mongodb.connection.ServerDescription.getAddress:()Lcom/mongodb/ServerAddress;
2: invokestatic com.mongodb.operation.OperationHelper.getMoreCursorDocumentToQueryResult:(Lorg/bson/BsonDocument;Lcom/mongodb/ServerAddress;)Lcom/mongodb/connection/QueryResult;
astore 2
start local 2 3: aload 0
aload 0
aload 1
invokevirtual com.mongodb.operation.QueryBatchCursor.getPostBatchResumeTokenFromResponse:(Lorg/bson/BsonDocument;)Lorg/bson/BsonDocument;
putfield com.mongodb.operation.QueryBatchCursor.postBatchResumeToken:Lorg/bson/BsonDocument;
4: aload 0
aload 1
ldc "operationTime"
aconst_null
invokevirtual org.bson.BsonDocument.getTimestamp:(Ljava/lang/Object;Lorg/bson/BsonTimestamp;)Lorg/bson/BsonTimestamp;
putfield com.mongodb.operation.QueryBatchCursor.operationTime:Lorg/bson/BsonTimestamp;
5: aload 0
aload 2
invokevirtual com.mongodb.operation.QueryBatchCursor.initFromQueryResult:(Lcom/mongodb/connection/QueryResult;)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/mongodb/operation/QueryBatchCursor<TT;>;
0 7 1 getMoreCommandResultDocument Lorg/bson/BsonDocument;
3 7 2 queryResult Lcom/mongodb/connection/QueryResult<TT;>;
MethodParameters:
Name Flags
getMoreCommandResultDocument final
private boolean limitReached();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.operation.QueryBatchCursor.limit:I
invokestatic java.lang.Math.abs:(I)I
ifeq 1
aload 0
getfield com.mongodb.operation.QueryBatchCursor.count:I
aload 0
getfield com.mongodb.operation.QueryBatchCursor.limit:I
invokestatic java.lang.Math.abs:(I)I
if_icmplt 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 Lcom/mongodb/operation/QueryBatchCursor<TT;>;
private void killCursor();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield com.mongodb.operation.QueryBatchCursor.serverCursor:Lcom/mongodb/ServerCursor;
ifnull 10
1: aload 0
getfield com.mongodb.operation.QueryBatchCursor.connectionSource:Lcom/mongodb/binding/ConnectionSource;
invokeinterface com.mongodb.binding.ConnectionSource.getConnection:()Lcom/mongodb/connection/Connection;
astore 1
start local 1 2: aload 0
aload 1
invokevirtual com.mongodb.operation.QueryBatchCursor.killCursor:(Lcom/mongodb/connection/Connection;)V
3: goto 7
StackMap locals: com.mongodb.operation.QueryBatchCursor com.mongodb.connection.Connection
StackMap stack: java.lang.Throwable
4: astore 2
5: aload 1
invokeinterface com.mongodb.connection.Connection.release:()V
6: aload 2
athrow
7: StackMap locals:
StackMap stack:
aload 1
invokeinterface com.mongodb.connection.Connection.release:()V
end local 1 8: goto 10
StackMap locals: com.mongodb.operation.QueryBatchCursor
StackMap stack: com.mongodb.MongoException
9: pop
10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/mongodb/operation/QueryBatchCursor<TT;>;
2 8 1 connection Lcom/mongodb/connection/Connection;
Exception table:
from to target type
2 4 4 any
1 8 9 Class com.mongodb.MongoException
private void killCursor(com.mongodb.connection.Connection);
descriptor: (Lcom/mongodb/connection/Connection;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.mongodb.operation.QueryBatchCursor.serverCursor:Lcom/mongodb/ServerCursor;
ifnull 9
1: ldc "connection"
aload 1
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 1
invokeinterface com.mongodb.connection.Connection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
invokestatic com.mongodb.internal.operation.ServerVersionHelper.serverIsAtLeastVersionThreeDotTwo:(Lcom/mongodb/connection/ConnectionDescription;)Z
ifeq 7
3: aload 1
aload 0
getfield com.mongodb.operation.QueryBatchCursor.namespace:Lcom/mongodb/MongoNamespace;
invokevirtual com.mongodb.MongoNamespace.getDatabaseName:()Ljava/lang/String;
aload 0
invokevirtual com.mongodb.operation.QueryBatchCursor.asKillCursorsCommandDocument:()Lorg/bson/BsonDocument;
getstatic com.mongodb.operation.QueryBatchCursor.NO_OP_FIELD_NAME_VALIDATOR:Lorg/bson/FieldNameValidator;
4: invokestatic com.mongodb.ReadPreference.primary:()Lcom/mongodb/ReadPreference;
new org.bson.codecs.BsonDocumentCodec
dup
invokespecial org.bson.codecs.BsonDocumentCodec.<init>:()V
aload 0
getfield com.mongodb.operation.QueryBatchCursor.connectionSource:Lcom/mongodb/binding/ConnectionSource;
invokeinterface com.mongodb.binding.ConnectionSource.getSessionContext:()Lcom/mongodb/session/SessionContext;
5: invokeinterface com.mongodb.connection.Connection.command:(Ljava/lang/String;Lorg/bson/BsonDocument;Lorg/bson/FieldNameValidator;Lcom/mongodb/ReadPreference;Lorg/bson/codecs/Decoder;Lcom/mongodb/session/SessionContext;)Ljava/lang/Object;
pop
6: goto 8
7: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield com.mongodb.operation.QueryBatchCursor.namespace:Lcom/mongodb/MongoNamespace;
aload 0
getfield com.mongodb.operation.QueryBatchCursor.serverCursor:Lcom/mongodb/ServerCursor;
invokevirtual com.mongodb.ServerCursor.getId:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
invokeinterface com.mongodb.connection.Connection.killCursor:(Lcom/mongodb/MongoNamespace;Ljava/util/List;)V
8: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield com.mongodb.operation.QueryBatchCursor.serverCursor:Lcom/mongodb/ServerCursor;
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/mongodb/operation/QueryBatchCursor<TT;>;
0 10 1 connection Lcom/mongodb/connection/Connection;
MethodParameters:
Name Flags
connection final
private org.bson.BsonDocument asKillCursorsCommandDocument();
descriptor: ()Lorg/bson/BsonDocument;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=1, args_size=1
start local 0 0: new org.bson.BsonDocument
dup
ldc "killCursors"
new org.bson.BsonString
dup
aload 0
getfield com.mongodb.operation.QueryBatchCursor.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 "cursors"
new org.bson.BsonArray
dup
new org.bson.BsonInt64
dup
aload 0
getfield com.mongodb.operation.QueryBatchCursor.serverCursor:Lcom/mongodb/ServerCursor;
invokevirtual com.mongodb.ServerCursor.getId:()J
invokespecial org.bson.BsonInt64.<init>:(J)V
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
invokespecial org.bson.BsonArray.<init>:(Ljava/util/List;)V
invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/operation/QueryBatchCursor<TT;>;
private org.bson.BsonDocument getPostBatchResumeTokenFromResponse(org.bson.BsonDocument);
descriptor: (Lorg/bson/BsonDocument;)Lorg/bson/BsonDocument;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "cursor"
aconst_null
invokevirtual org.bson.BsonDocument.getDocument:(Ljava/lang/Object;Lorg/bson/BsonDocument;)Lorg/bson/BsonDocument;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
ldc "postBatchResumeToken"
aconst_null
invokevirtual org.bson.BsonDocument.getDocument:(Ljava/lang/Object;Lorg/bson/BsonDocument;)Lorg/bson/BsonDocument;
areturn
3: StackMap locals: org.bson.BsonDocument
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/operation/QueryBatchCursor<TT;>;
0 4 1 result Lorg/bson/BsonDocument;
1 4 2 cursor Lorg/bson/BsonDocument;
MethodParameters:
Name Flags
result final
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 com.mongodb.operation.QueryBatchCursor.next:()Ljava/util/List;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Lcom/mongodb/operation/AggregateResponseBatchCursor<TT;>;
SourceFile: "QueryBatchCursor.java"