class com.mongodb.internal.connection.QueryMessage extends com.mongodb.internal.connection.BaseQueryMessage
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.internal.connection.QueryMessage
super_class: com.mongodb.internal.connection.BaseQueryMessage
{
private final org.bson.BsonDocument queryDocument;
descriptor: Lorg/bson/BsonDocument;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.bson.BsonDocument fields;
descriptor: Lorg/bson/BsonDocument;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.lang.String, int, int, org.bson.BsonDocument, org.bson.BsonDocument, com.mongodb.internal.connection.MessageSettings);
descriptor: (Ljava/lang/String;IILorg/bson/BsonDocument;Lorg/bson/BsonDocument;Lcom/mongodb/internal/connection/MessageSettings;)V
flags: (0x0000)
Code:
stack=5, 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
aload 6
invokespecial com.mongodb.internal.connection.BaseQueryMessage.<init>:(Ljava/lang/String;IILcom/mongodb/internal/connection/MessageSettings;)V
1: aload 0
aload 4
putfield com.mongodb.internal.connection.QueryMessage.queryDocument:Lorg/bson/BsonDocument;
2: aload 0
aload 5
putfield com.mongodb.internal.connection.QueryMessage.fields:Lorg/bson/BsonDocument;
3: 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 4 0 this Lcom/mongodb/internal/connection/QueryMessage;
0 4 1 collectionName Ljava/lang/String;
0 4 2 skip I
0 4 3 numberToReturn I
0 4 4 queryDocument Lorg/bson/BsonDocument;
0 4 5 fields Lorg/bson/BsonDocument;
0 4 6 settings Lcom/mongodb/internal/connection/MessageSettings;
MethodParameters:
Name Flags
collectionName final
skip final
numberToReturn final
queryDocument final
fields final
settings final
protected com.mongodb.internal.connection.RequestMessage$EncodingMetadata encodeMessageBodyWithMetadata(org.bson.io.BsonOutput);
descriptor: (Lorg/bson/io/BsonOutput;)Lcom/mongodb/internal/connection/RequestMessage$EncodingMetadata;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.mongodb.internal.connection.QueryMessage.writeQueryPrologue:(Lorg/bson/io/BsonOutput;)V
1: aload 1
invokeinterface org.bson.io.BsonOutput.getPosition:()I
istore 2
start local 2 2: aload 0
aload 0
getfield com.mongodb.internal.connection.QueryMessage.queryDocument:Lorg/bson/BsonDocument;
aload 1
new com.mongodb.internal.validator.NoOpFieldNameValidator
dup
invokespecial com.mongodb.internal.validator.NoOpFieldNameValidator.<init>:()V
invokevirtual com.mongodb.internal.connection.QueryMessage.addDocument:(Lorg/bson/BsonDocument;Lorg/bson/io/BsonOutput;Lorg/bson/FieldNameValidator;)V
3: aload 0
getfield com.mongodb.internal.connection.QueryMessage.fields:Lorg/bson/BsonDocument;
ifnull 5
4: aload 0
aload 0
getfield com.mongodb.internal.connection.QueryMessage.fields:Lorg/bson/BsonDocument;
aload 1
new com.mongodb.internal.validator.NoOpFieldNameValidator
dup
invokespecial com.mongodb.internal.validator.NoOpFieldNameValidator.<init>:()V
invokevirtual com.mongodb.internal.connection.QueryMessage.addDocument:(Lorg/bson/BsonDocument;Lorg/bson/io/BsonOutput;Lorg/bson/FieldNameValidator;)V
5: StackMap locals: int
StackMap stack:
new com.mongodb.internal.connection.RequestMessage$EncodingMetadata
dup
iload 2
invokespecial com.mongodb.internal.connection.RequestMessage$EncodingMetadata.<init>:(I)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/mongodb/internal/connection/QueryMessage;
0 6 1 bsonOutput Lorg/bson/io/BsonOutput;
2 6 2 firstDocumentStartPosition I
MethodParameters:
Name Flags
bsonOutput final
}
SourceFile: "QueryMessage.java"
InnerClasses:
EncodingMetadata = com.mongodb.internal.connection.RequestMessage$EncodingMetadata of com.mongodb.internal.connection.RequestMessage