class com.mongodb.client.internal.ChangeStreamIterableImpl<TResult> extends com.mongodb.client.internal.MongoIterableImpl<com.mongodb.client.model.changestream.ChangeStreamDocument<TResult>> implements com.mongodb.client.ChangeStreamIterable<TResult>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.client.internal.ChangeStreamIterableImpl
super_class: com.mongodb.client.internal.MongoIterableImpl
{
private final com.mongodb.MongoNamespace namespace;
descriptor: Lcom/mongodb/MongoNamespace;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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 org.bson.codecs.Codec<com.mongodb.client.model.changestream.ChangeStreamDocument<TResult>> codec;
descriptor: Lorg/bson/codecs/Codec;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/bson/codecs/Codec<Lcom/mongodb/client/model/changestream/ChangeStreamDocument<TTResult;>;>;
private final com.mongodb.client.model.changestream.ChangeStreamLevel changeStreamLevel;
descriptor: Lcom/mongodb/client/model/changestream/ChangeStreamLevel;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private com.mongodb.client.model.changestream.FullDocument fullDocument;
descriptor: Lcom/mongodb/client/model/changestream/FullDocument;
flags: (0x0002) ACC_PRIVATE
private org.bson.BsonDocument resumeToken;
descriptor: Lorg/bson/BsonDocument;
flags: (0x0002) ACC_PRIVATE
private org.bson.BsonDocument startAfter;
descriptor: Lorg/bson/BsonDocument;
flags: (0x0002) ACC_PRIVATE
private long maxAwaitTimeMS;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private com.mongodb.client.model.Collation collation;
descriptor: Lcom/mongodb/client/model/Collation;
flags: (0x0002) ACC_PRIVATE
private org.bson.BsonTimestamp startAtOperationTime;
descriptor: Lorg/bson/BsonTimestamp;
flags: (0x0002) ACC_PRIVATE
void <init>(com.mongodb.client.ClientSession, java.lang.String, org.bson.codecs.configuration.CodecRegistry, com.mongodb.ReadPreference, com.mongodb.ReadConcern, com.mongodb.client.internal.OperationExecutor, java.util.List<? extends org.bson.conversions.Bson>, java.lang.Class<TResult>, com.mongodb.client.model.changestream.ChangeStreamLevel, );
descriptor: (Lcom/mongodb/client/ClientSession;Ljava/lang/String;Lorg/bson/codecs/configuration/CodecRegistry;Lcom/mongodb/ReadPreference;Lcom/mongodb/ReadConcern;Lcom/mongodb/client/internal/OperationExecutor;Ljava/util/List;Ljava/lang/Class;Lcom/mongodb/client/model/changestream/ChangeStreamLevel;Z)V
flags: (0x0000)
Code:
stack=11, locals=11, args_size=11
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 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
aload 7
1: aload 8
aload 9
iload 10
invokespecial com.mongodb.client.internal.ChangeStreamIterableImpl.<init>:(Lcom/mongodb/client/ClientSession;Lcom/mongodb/MongoNamespace;Lorg/bson/codecs/configuration/CodecRegistry;Lcom/mongodb/ReadPreference;Lcom/mongodb/ReadConcern;Lcom/mongodb/client/internal/OperationExecutor;Ljava/util/List;Ljava/lang/Class;Lcom/mongodb/client/model/changestream/ChangeStreamLevel;Z)V
2: return
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/ChangeStreamIterableImpl<TTResult;>;
0 3 1 clientSession Lcom/mongodb/client/ClientSession;
0 3 2 databaseName Ljava/lang/String;
0 3 3 codecRegistry Lorg/bson/codecs/configuration/CodecRegistry;
0 3 4 readPreference Lcom/mongodb/ReadPreference;
0 3 5 readConcern Lcom/mongodb/ReadConcern;
0 3 6 executor Lcom/mongodb/client/internal/OperationExecutor;
0 3 7 pipeline Ljava/util/List<+Lorg/bson/conversions/Bson;>;
0 3 8 resultClass Ljava/lang/Class<TTResult;>;
0 3 9 changeStreamLevel Lcom/mongodb/client/model/changestream/ChangeStreamLevel;
0 3 10 retryReads Z
Signature: (Lcom/mongodb/client/ClientSession;Ljava/lang/String;Lorg/bson/codecs/configuration/CodecRegistry;Lcom/mongodb/ReadPreference;Lcom/mongodb/ReadConcern;Lcom/mongodb/client/internal/OperationExecutor;Ljava/util/List<+Lorg/bson/conversions/Bson;>;Ljava/lang/Class<TTResult;>;Lcom/mongodb/client/model/changestream/ChangeStreamLevel;Z)V
RuntimeVisibleParameterAnnotations:
0:
com.mongodb.lang.Nullable()
1:
2:
3:
4:
5:
6:
7:
8:
9:
MethodParameters:
Name Flags
clientSession final
databaseName final
codecRegistry final
readPreference final
readConcern final
executor final
pipeline final
resultClass final
changeStreamLevel final
retryReads final
void <init>(com.mongodb.client.ClientSession, com.mongodb.MongoNamespace, org.bson.codecs.configuration.CodecRegistry, com.mongodb.ReadPreference, com.mongodb.ReadConcern, com.mongodb.client.internal.OperationExecutor, java.util.List<? extends org.bson.conversions.Bson>, java.lang.Class<TResult>, com.mongodb.client.model.changestream.ChangeStreamLevel, );
descriptor: (Lcom/mongodb/client/ClientSession;Lcom/mongodb/MongoNamespace;Lorg/bson/codecs/configuration/CodecRegistry;Lcom/mongodb/ReadPreference;Lcom/mongodb/ReadConcern;Lcom/mongodb/client/internal/OperationExecutor;Ljava/util/List;Ljava/lang/Class;Lcom/mongodb/client/model/changestream/ChangeStreamLevel;Z)V
flags: (0x0000)
Code:
stack=6, locals=11, args_size=11
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 0: aload 0
aload 1
aload 6
aload 5
aload 4
iload 10
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
getstatic com.mongodb.client.model.changestream.FullDocument.DEFAULT:Lcom/mongodb/client/model/changestream/FullDocument;
putfield com.mongodb.client.internal.ChangeStreamIterableImpl.fullDocument:Lcom/mongodb/client/model/changestream/FullDocument;
2: 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.ChangeStreamIterableImpl.namespace:Lcom/mongodb/MongoNamespace;
3: aload 0
ldc "codecRegistry"
aload 3
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.ChangeStreamIterableImpl.codecRegistry:Lorg/bson/codecs/configuration/CodecRegistry;
4: aload 0
ldc "pipeline"
aload 7
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
putfield com.mongodb.client.internal.ChangeStreamIterableImpl.pipeline:Ljava/util/List;
5: aload 0
ldc "resultClass"
aload 8
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Class
aload 3
invokestatic com.mongodb.client.model.changestream.ChangeStreamDocument.createCodec:(Ljava/lang/Class;Lorg/bson/codecs/configuration/CodecRegistry;)Lorg/bson/codecs/Codec;
putfield com.mongodb.client.internal.ChangeStreamIterableImpl.codec:Lorg/bson/codecs/Codec;
6: aload 0
ldc "changeStreamLevel"
aload 9
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.client.model.changestream.ChangeStreamLevel
putfield com.mongodb.client.internal.ChangeStreamIterableImpl.changeStreamLevel:Lcom/mongodb/client/model/changestream/ChangeStreamLevel;
7: return
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 8 0 this Lcom/mongodb/client/internal/ChangeStreamIterableImpl<TTResult;>;
0 8 1 clientSession Lcom/mongodb/client/ClientSession;
0 8 2 namespace Lcom/mongodb/MongoNamespace;
0 8 3 codecRegistry Lorg/bson/codecs/configuration/CodecRegistry;
0 8 4 readPreference Lcom/mongodb/ReadPreference;
0 8 5 readConcern Lcom/mongodb/ReadConcern;
0 8 6 executor Lcom/mongodb/client/internal/OperationExecutor;
0 8 7 pipeline Ljava/util/List<+Lorg/bson/conversions/Bson;>;
0 8 8 resultClass Ljava/lang/Class<TTResult;>;
0 8 9 changeStreamLevel Lcom/mongodb/client/model/changestream/ChangeStreamLevel;
0 8 10 retryReads Z
Signature: (Lcom/mongodb/client/ClientSession;Lcom/mongodb/MongoNamespace;Lorg/bson/codecs/configuration/CodecRegistry;Lcom/mongodb/ReadPreference;Lcom/mongodb/ReadConcern;Lcom/mongodb/client/internal/OperationExecutor;Ljava/util/List<+Lorg/bson/conversions/Bson;>;Ljava/lang/Class<TTResult;>;Lcom/mongodb/client/model/changestream/ChangeStreamLevel;Z)V
RuntimeVisibleParameterAnnotations:
0:
com.mongodb.lang.Nullable()
1:
2:
3:
4:
5:
6:
7:
8:
9:
MethodParameters:
Name Flags
clientSession final
namespace final
codecRegistry final
readPreference final
readConcern final
executor final
pipeline final
resultClass final
changeStreamLevel final
retryReads final
public com.mongodb.client.ChangeStreamIterable<TResult> fullDocument(com.mongodb.client.model.changestream.FullDocument);
descriptor: (Lcom/mongodb/client/model/changestream/FullDocument;)Lcom/mongodb/client/ChangeStreamIterable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "fullDocument"
aload 1
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.client.model.changestream.FullDocument
putfield com.mongodb.client.internal.ChangeStreamIterableImpl.fullDocument:Lcom/mongodb/client/model/changestream/FullDocument;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/internal/ChangeStreamIterableImpl<TTResult;>;
0 2 1 fullDocument Lcom/mongodb/client/model/changestream/FullDocument;
Signature: (Lcom/mongodb/client/model/changestream/FullDocument;)Lcom/mongodb/client/ChangeStreamIterable<TTResult;>;
MethodParameters:
Name Flags
fullDocument final
public com.mongodb.client.ChangeStreamIterable<TResult> resumeAfter(org.bson.BsonDocument);
descriptor: (Lorg/bson/BsonDocument;)Lcom/mongodb/client/ChangeStreamIterable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "resumeAfter"
aload 1
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.bson.BsonDocument
putfield com.mongodb.client.internal.ChangeStreamIterableImpl.resumeToken:Lorg/bson/BsonDocument;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/internal/ChangeStreamIterableImpl<TTResult;>;
0 2 1 resumeAfter Lorg/bson/BsonDocument;
Signature: (Lorg/bson/BsonDocument;)Lcom/mongodb/client/ChangeStreamIterable<TTResult;>;
MethodParameters:
Name Flags
resumeAfter final
public com.mongodb.client.ChangeStreamIterable<TResult> batchSize(int);
descriptor: (I)Lcom/mongodb/client/ChangeStreamIterable;
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/ChangeStreamIterableImpl<TTResult;>;
0 2 1 batchSize I
Signature: (I)Lcom/mongodb/client/ChangeStreamIterable<TTResult;>;
MethodParameters:
Name Flags
batchSize final
public com.mongodb.client.ChangeStreamIterable<TResult> maxAwaitTime(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Lcom/mongodb/client/ChangeStreamIterable;
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.ChangeStreamIterableImpl.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/ChangeStreamIterableImpl<TTResult;>;
0 3 1 maxAwaitTime J
0 3 3 timeUnit Ljava/util/concurrent/TimeUnit;
Signature: (JLjava/util/concurrent/TimeUnit;)Lcom/mongodb/client/ChangeStreamIterable<TTResult;>;
MethodParameters:
Name Flags
maxAwaitTime final
timeUnit final
public com.mongodb.client.ChangeStreamIterable<TResult> collation(com.mongodb.client.model.Collation);
descriptor: (Lcom/mongodb/client/model/Collation;)Lcom/mongodb/client/ChangeStreamIterable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "collation"
aload 1
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.client.model.Collation
putfield com.mongodb.client.internal.ChangeStreamIterableImpl.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/ChangeStreamIterableImpl<TTResult;>;
0 2 1 collation Lcom/mongodb/client/model/Collation;
Signature: (Lcom/mongodb/client/model/Collation;)Lcom/mongodb/client/ChangeStreamIterable<TTResult;>;
RuntimeVisibleParameterAnnotations:
0:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
collation final
public <TDocument> com.mongodb.client.MongoIterable<TDocument> withDocumentClass(java.lang.Class<TDocument>);
descriptor: (Ljava/lang/Class;)Lcom/mongodb/client/MongoIterable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=2, args_size=2
start local 0 start local 1 0: new com.mongodb.client.internal.ChangeStreamIterableImpl$1
dup
aload 0
aload 0
invokevirtual com.mongodb.client.internal.ChangeStreamIterableImpl.getClientSession:()Lcom/mongodb/client/ClientSession;
aload 0
invokevirtual com.mongodb.client.internal.ChangeStreamIterableImpl.getExecutor:()Lcom/mongodb/client/internal/OperationExecutor;
aload 0
invokevirtual com.mongodb.client.internal.ChangeStreamIterableImpl.getReadConcern:()Lcom/mongodb/ReadConcern;
aload 0
invokevirtual com.mongodb.client.internal.ChangeStreamIterableImpl.getReadPreference:()Lcom/mongodb/ReadPreference;
aload 0
invokevirtual com.mongodb.client.internal.ChangeStreamIterableImpl.getRetryReads:()Z
aload 1
invokespecial com.mongodb.client.internal.ChangeStreamIterableImpl$1.<init>:(Lcom/mongodb/client/internal/ChangeStreamIterableImpl;Lcom/mongodb/client/ClientSession;Lcom/mongodb/client/internal/OperationExecutor;Lcom/mongodb/ReadConcern;Lcom/mongodb/ReadPreference;ZLjava/lang/Class;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/internal/ChangeStreamIterableImpl<TTResult;>;
0 1 1 clazz Ljava/lang/Class<TTDocument;>;
Signature: <TDocument:Ljava/lang/Object;>(Ljava/lang/Class<TTDocument;>;)Lcom/mongodb/client/MongoIterable<TTDocument;>;
MethodParameters:
Name Flags
clazz final
public com.mongodb.client.ChangeStreamIterable<TResult> startAtOperationTime(org.bson.BsonTimestamp);
descriptor: (Lorg/bson/BsonTimestamp;)Lcom/mongodb/client/ChangeStreamIterable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "startAtOperationTime"
aload 1
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.bson.BsonTimestamp
putfield com.mongodb.client.internal.ChangeStreamIterableImpl.startAtOperationTime:Lorg/bson/BsonTimestamp;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/internal/ChangeStreamIterableImpl<TTResult;>;
0 2 1 startAtOperationTime Lorg/bson/BsonTimestamp;
Signature: (Lorg/bson/BsonTimestamp;)Lcom/mongodb/client/ChangeStreamIterable<TTResult;>;
MethodParameters:
Name Flags
startAtOperationTime final
public com.mongodb.client.internal.ChangeStreamIterableImpl<TResult> startAfter(org.bson.BsonDocument);
descriptor: (Lorg/bson/BsonDocument;)Lcom/mongodb/client/internal/ChangeStreamIterableImpl;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "startAfter"
aload 1
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.bson.BsonDocument
putfield com.mongodb.client.internal.ChangeStreamIterableImpl.startAfter:Lorg/bson/BsonDocument;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/internal/ChangeStreamIterableImpl<TTResult;>;
0 2 1 startAfter Lorg/bson/BsonDocument;
Signature: (Lorg/bson/BsonDocument;)Lcom/mongodb/client/internal/ChangeStreamIterableImpl<TTResult;>;
MethodParameters:
Name Flags
startAfter final
public com.mongodb.client.MongoCursor<com.mongodb.client.model.changestream.ChangeStreamDocument<TResult>> iterator();
descriptor: ()Lcom/mongodb/client/MongoCursor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.mongodb.client.internal.ChangeStreamIterableImpl.cursor:()Lcom/mongodb/client/MongoChangeStreamCursor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/internal/ChangeStreamIterableImpl<TTResult;>;
Signature: ()Lcom/mongodb/client/MongoCursor<Lcom/mongodb/client/model/changestream/ChangeStreamDocument<TTResult;>;>;
public com.mongodb.client.MongoChangeStreamCursor<com.mongodb.client.model.changestream.ChangeStreamDocument<TResult>> cursor();
descriptor: ()Lcom/mongodb/client/MongoChangeStreamCursor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new com.mongodb.client.internal.MongoChangeStreamCursorImpl
dup
aload 0
invokevirtual com.mongodb.client.internal.ChangeStreamIterableImpl.execute:()Lcom/mongodb/operation/BatchCursor;
aload 0
getfield com.mongodb.client.internal.ChangeStreamIterableImpl.codec:Lorg/bson/codecs/Codec;
aload 0
invokevirtual com.mongodb.client.internal.ChangeStreamIterableImpl.initialResumeToken:()Lorg/bson/BsonDocument;
invokespecial com.mongodb.client.internal.MongoChangeStreamCursorImpl.<init>:(Lcom/mongodb/operation/BatchCursor;Lorg/bson/codecs/Decoder;Lorg/bson/BsonDocument;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/internal/ChangeStreamIterableImpl<TTResult;>;
Signature: ()Lcom/mongodb/client/MongoChangeStreamCursor<Lcom/mongodb/client/model/changestream/ChangeStreamDocument<TTResult;>;>;
public com.mongodb.client.model.changestream.ChangeStreamDocument<TResult> first();
descriptor: ()Lcom/mongodb/client/model/changestream/ChangeStreamDocument;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual com.mongodb.client.internal.ChangeStreamIterableImpl.cursor:()Lcom/mongodb/client/MongoChangeStreamCursor;
astore 1
start local 1 1: aload 1
invokeinterface com.mongodb.client.MongoChangeStreamCursor.hasNext:()Z
ifne 4
2: aload 1
invokeinterface com.mongodb.client.MongoChangeStreamCursor.close:()V
3: aconst_null
areturn
4: StackMap locals: com.mongodb.client.MongoChangeStreamCursor
StackMap stack:
aload 1
invokeinterface com.mongodb.client.MongoChangeStreamCursor.next:()Ljava/lang/Object;
checkcast com.mongodb.client.model.changestream.ChangeStreamDocument
astore 3
5: aload 1
invokeinterface com.mongodb.client.MongoChangeStreamCursor.close:()V
6: aload 3
areturn
7: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
8: aload 1
invokeinterface com.mongodb.client.MongoChangeStreamCursor.close:()V
9: aload 2
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/mongodb/client/internal/ChangeStreamIterableImpl<TTResult;>;
1 10 1 cursor Lcom/mongodb/client/MongoChangeStreamCursor<Lcom/mongodb/client/model/changestream/ChangeStreamDocument<TTResult;>;>;
Exception table:
from to target type
1 2 7 any
4 5 7 any
Signature: ()Lcom/mongodb/client/model/changestream/ChangeStreamDocument<TTResult;>;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
public com.mongodb.operation.ReadOperation<com.mongodb.operation.BatchCursor<com.mongodb.client.model.changestream.ChangeStreamDocument<TResult>>> asReadOperation();
descriptor: ()Lcom/mongodb/operation/ReadOperation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/internal/ChangeStreamIterableImpl<TTResult;>;
Signature: ()Lcom/mongodb/operation/ReadOperation<Lcom/mongodb/operation/BatchCursor<Lcom/mongodb/client/model/changestream/ChangeStreamDocument<TTResult;>;>;>;
private com.mongodb.operation.ReadOperation<com.mongodb.operation.BatchCursor<org.bson.RawBsonDocument>> createChangeStreamOperation();
descriptor: ()Lcom/mongodb/operation/ReadOperation;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=1, args_size=1
start local 0 0: new com.mongodb.operation.ChangeStreamOperation
dup
aload 0
getfield com.mongodb.client.internal.ChangeStreamIterableImpl.namespace:Lcom/mongodb/MongoNamespace;
aload 0
getfield com.mongodb.client.internal.ChangeStreamIterableImpl.fullDocument:Lcom/mongodb/client/model/changestream/FullDocument;
aload 0
aload 0
getfield com.mongodb.client.internal.ChangeStreamIterableImpl.pipeline:Ljava/util/List;
invokevirtual com.mongodb.client.internal.ChangeStreamIterableImpl.createBsonDocumentList:(Ljava/util/List;)Ljava/util/List;
1: new org.bson.codecs.RawBsonDocumentCodec
dup
invokespecial org.bson.codecs.RawBsonDocumentCodec.<init>:()V
aload 0
getfield com.mongodb.client.internal.ChangeStreamIterableImpl.changeStreamLevel:Lcom/mongodb/client/model/changestream/ChangeStreamLevel;
2: invokespecial com.mongodb.operation.ChangeStreamOperation.<init>:(Lcom/mongodb/MongoNamespace;Lcom/mongodb/client/model/changestream/FullDocument;Ljava/util/List;Lorg/bson/codecs/Decoder;Lcom/mongodb/client/model/changestream/ChangeStreamLevel;)V
3: aload 0
invokevirtual com.mongodb.client.internal.ChangeStreamIterableImpl.getBatchSize:()Ljava/lang/Integer;
invokevirtual com.mongodb.operation.ChangeStreamOperation.batchSize:(Ljava/lang/Integer;)Lcom/mongodb/operation/ChangeStreamOperation;
4: aload 0
getfield com.mongodb.client.internal.ChangeStreamIterableImpl.collation:Lcom/mongodb/client/model/Collation;
invokevirtual com.mongodb.operation.ChangeStreamOperation.collation:(Lcom/mongodb/client/model/Collation;)Lcom/mongodb/operation/ChangeStreamOperation;
5: aload 0
getfield com.mongodb.client.internal.ChangeStreamIterableImpl.maxAwaitTimeMS:J
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual com.mongodb.operation.ChangeStreamOperation.maxAwaitTime:(JLjava/util/concurrent/TimeUnit;)Lcom/mongodb/operation/ChangeStreamOperation;
6: aload 0
getfield com.mongodb.client.internal.ChangeStreamIterableImpl.resumeToken:Lorg/bson/BsonDocument;
invokevirtual com.mongodb.operation.ChangeStreamOperation.resumeAfter:(Lorg/bson/BsonDocument;)Lcom/mongodb/operation/ChangeStreamOperation;
7: aload 0
getfield com.mongodb.client.internal.ChangeStreamIterableImpl.startAtOperationTime:Lorg/bson/BsonTimestamp;
invokevirtual com.mongodb.operation.ChangeStreamOperation.startAtOperationTime:(Lorg/bson/BsonTimestamp;)Lcom/mongodb/operation/ChangeStreamOperation;
8: aload 0
getfield com.mongodb.client.internal.ChangeStreamIterableImpl.startAfter:Lorg/bson/BsonDocument;
invokevirtual com.mongodb.operation.ChangeStreamOperation.startAfter:(Lorg/bson/BsonDocument;)Lcom/mongodb/operation/ChangeStreamOperation;
9: aload 0
invokevirtual com.mongodb.client.internal.ChangeStreamIterableImpl.getRetryReads:()Z
invokevirtual com.mongodb.operation.ChangeStreamOperation.retryReads:(Z)Lcom/mongodb/operation/ChangeStreamOperation;
10: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/mongodb/client/internal/ChangeStreamIterableImpl<TTResult;>;
Signature: ()Lcom/mongodb/operation/ReadOperation<Lcom/mongodb/operation/BatchCursor<Lorg/bson/RawBsonDocument;>;>;
private java.util.List<org.bson.BsonDocument> createBsonDocumentList(java.util.List<? extends org.bson.conversions.Bson>);
descriptor: (Ljava/util/List;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
aload 1
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 2
start local 2 1: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: com.mongodb.client.internal.ChangeStreamIterableImpl java.util.List java.util.List top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.bson.conversions.Bson
astore 3
start local 3 3: aload 3
ifnonnull 5
4: new java.lang.IllegalArgumentException
dup
ldc "pipeline cannot contain a null value"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: com.mongodb.client.internal.ChangeStreamIterableImpl java.util.List java.util.List org.bson.conversions.Bson java.util.Iterator
StackMap stack:
aload 2
aload 3
ldc Lorg/bson/BsonDocument;
aload 0
getfield com.mongodb.client.internal.ChangeStreamIterableImpl.codecRegistry:Lorg/bson/codecs/configuration/CodecRegistry;
invokeinterface org.bson.conversions.Bson.toBsonDocument:(Ljava/lang/Class;Lorg/bson/codecs/configuration/CodecRegistry;)Lorg/bson/BsonDocument;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 6: StackMap locals: com.mongodb.client.internal.ChangeStreamIterableImpl java.util.List java.util.List top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/mongodb/client/internal/ChangeStreamIterableImpl<TTResult;>;
0 8 1 pipeline Ljava/util/List<+Lorg/bson/conversions/Bson;>;
1 8 2 aggregateList Ljava/util/List<Lorg/bson/BsonDocument;>;
3 6 3 obj Lorg/bson/conversions/Bson;
Signature: (Ljava/util/List<+Lorg/bson/conversions/Bson;>;)Ljava/util/List<Lorg/bson/BsonDocument;>;
MethodParameters:
Name Flags
pipeline final
private com.mongodb.operation.BatchCursor<org.bson.RawBsonDocument> execute();
descriptor: ()Lcom/mongodb/operation/BatchCursor;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.mongodb.client.internal.ChangeStreamIterableImpl.getExecutor:()Lcom/mongodb/client/internal/OperationExecutor;
aload 0
invokevirtual com.mongodb.client.internal.ChangeStreamIterableImpl.createChangeStreamOperation:()Lcom/mongodb/operation/ReadOperation;
aload 0
invokevirtual com.mongodb.client.internal.ChangeStreamIterableImpl.getReadPreference:()Lcom/mongodb/ReadPreference;
aload 0
invokevirtual com.mongodb.client.internal.ChangeStreamIterableImpl.getReadConcern:()Lcom/mongodb/ReadConcern;
aload 0
invokevirtual com.mongodb.client.internal.ChangeStreamIterableImpl.getClientSession:()Lcom/mongodb/client/ClientSession;
invokeinterface com.mongodb.client.internal.OperationExecutor.execute:(Lcom/mongodb/operation/ReadOperation;Lcom/mongodb/ReadPreference;Lcom/mongodb/ReadConcern;Lcom/mongodb/client/ClientSession;)Ljava/lang/Object;
checkcast com.mongodb.operation.BatchCursor
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/internal/ChangeStreamIterableImpl<TTResult;>;
Signature: ()Lcom/mongodb/operation/BatchCursor<Lorg/bson/RawBsonDocument;>;
private org.bson.BsonDocument initialResumeToken();
descriptor: ()Lorg/bson/BsonDocument;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.client.internal.ChangeStreamIterableImpl.startAfter:Lorg/bson/BsonDocument;
ifnull 1
aload 0
getfield com.mongodb.client.internal.ChangeStreamIterableImpl.startAfter:Lorg/bson/BsonDocument;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield com.mongodb.client.internal.ChangeStreamIterableImpl.resumeToken:Lorg/bson/BsonDocument;
StackMap locals:
StackMap stack: org.bson.BsonDocument
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/client/internal/ChangeStreamIterableImpl<TTResult;>;
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.ChangeStreamIterableImpl.batchSize:(I)Lcom/mongodb/client/ChangeStreamIterable;
areturn
LocalVariableTable:
Start End Slot Name Signature
public com.mongodb.client.ChangeStreamIterable startAfter(org.bson.BsonDocument);
descriptor: (Lorg/bson/BsonDocument;)Lcom/mongodb/client/ChangeStreamIterable;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual com.mongodb.client.internal.ChangeStreamIterableImpl.startAfter:(Lorg/bson/BsonDocument;)Lcom/mongodb/client/internal/ChangeStreamIterableImpl;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.util.Iterator iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.mongodb.client.internal.ChangeStreamIterableImpl.iterator:()Lcom/mongodb/client/MongoCursor;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object first();
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.client.internal.ChangeStreamIterableImpl.first:()Lcom/mongodb/client/model/changestream/ChangeStreamDocument;
areturn
LocalVariableTable:
Start End Slot Name Signature
public com.mongodb.client.MongoCursor cursor();
descriptor: ()Lcom/mongodb/client/MongoCursor;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.mongodb.client.internal.ChangeStreamIterableImpl.cursor:()Lcom/mongodb/client/MongoChangeStreamCursor;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <TResult:Ljava/lang/Object;>Lcom/mongodb/client/internal/MongoIterableImpl<Lcom/mongodb/client/model/changestream/ChangeStreamDocument<TTResult;>;>;Lcom/mongodb/client/ChangeStreamIterable<TTResult;>;
SourceFile: "ChangeStreamIterableImpl.java"
NestMembers:
com.mongodb.client.internal.ChangeStreamIterableImpl$1
InnerClasses:
com.mongodb.client.internal.ChangeStreamIterableImpl$1