class com.mongodb.internal.connection.DeleteMessage extends com.mongodb.internal.connection.LegacyMessage
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.internal.connection.DeleteMessage
super_class: com.mongodb.internal.connection.LegacyMessage
{
private final com.mongodb.bulk.DeleteRequest deleteRequest;
descriptor: Lcom/mongodb/bulk/DeleteRequest;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.lang.String, com.mongodb.bulk.DeleteRequest, com.mongodb.internal.connection.MessageSettings);
descriptor: (Ljava/lang/String;Lcom/mongodb/bulk/DeleteRequest;Lcom/mongodb/internal/connection/MessageSettings;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=4
start local 0 // com.mongodb.internal.connection.DeleteMessage this
start local 1 // java.lang.String collectionName
start local 2 // com.mongodb.bulk.DeleteRequest deleteRequest
start local 3 // com.mongodb.internal.connection.MessageSettings settings
0: .line 32
aload 0 /* this */
aload 1 /* collectionName */
getstatic com.mongodb.internal.connection.OpCode.OP_DELETE:Lcom/mongodb/internal/connection/OpCode;
aload 3 /* settings */
invokespecial com.mongodb.internal.connection.LegacyMessage.<init>:(Ljava/lang/String;Lcom/mongodb/internal/connection/OpCode;Lcom/mongodb/internal/connection/MessageSettings;)V
1: .line 33
aload 0 /* this */
aload 2 /* deleteRequest */
putfield com.mongodb.internal.connection.DeleteMessage.deleteRequest:Lcom/mongodb/bulk/DeleteRequest;
2: .line 34
return
end local 3 // com.mongodb.internal.connection.MessageSettings settings
end local 2 // com.mongodb.bulk.DeleteRequest deleteRequest
end local 1 // java.lang.String collectionName
end local 0 // com.mongodb.internal.connection.DeleteMessage this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/internal/connection/DeleteMessage;
0 3 1 collectionName Ljava/lang/String;
0 3 2 deleteRequest Lcom/mongodb/bulk/DeleteRequest;
0 3 3 settings Lcom/mongodb/internal/connection/MessageSettings;
MethodParameters:
Name Flags
collectionName final
deleteRequest 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 // com.mongodb.internal.connection.DeleteMessage this
start local 1 // org.bson.io.BsonOutput bsonOutput
0: .line 38
aload 1 /* bsonOutput */
iconst_0
invokeinterface org.bson.io.BsonOutput.writeInt32:(I)V
1: .line 39
aload 1 /* bsonOutput */
aload 0 /* this */
invokevirtual com.mongodb.internal.connection.DeleteMessage.getCollectionName:()Ljava/lang/String;
invokeinterface org.bson.io.BsonOutput.writeCString:(Ljava/lang/String;)V
2: .line 41
aload 0 /* this */
getfield com.mongodb.internal.connection.DeleteMessage.deleteRequest:Lcom/mongodb/bulk/DeleteRequest;
invokevirtual com.mongodb.bulk.DeleteRequest.isMulti:()Z
ifeq 5
3: .line 42
aload 1 /* bsonOutput */
iconst_0
invokeinterface org.bson.io.BsonOutput.writeInt32:(I)V
4: .line 43
goto 6
5: .line 44
StackMap locals:
StackMap stack:
aload 1 /* bsonOutput */
iconst_1
invokeinterface org.bson.io.BsonOutput.writeInt32:(I)V
6: .line 47
StackMap locals:
StackMap stack:
aload 1 /* bsonOutput */
invokeinterface org.bson.io.BsonOutput.getPosition:()I
istore 2 /* firstDocumentStartPosition */
start local 2 // int firstDocumentStartPosition
7: .line 49
aload 0 /* this */
aload 0 /* this */
getfield com.mongodb.internal.connection.DeleteMessage.deleteRequest:Lcom/mongodb/bulk/DeleteRequest;
invokevirtual com.mongodb.bulk.DeleteRequest.getFilter:()Lorg/bson/BsonDocument;
aload 1 /* bsonOutput */
new com.mongodb.internal.validator.NoOpFieldNameValidator
dup
invokespecial com.mongodb.internal.validator.NoOpFieldNameValidator.<init>:()V
invokevirtual com.mongodb.internal.connection.DeleteMessage.addDocument:(Lorg/bson/BsonDocument;Lorg/bson/io/BsonOutput;Lorg/bson/FieldNameValidator;)V
8: .line 50
new com.mongodb.internal.connection.RequestMessage$EncodingMetadata
dup
iload 2 /* firstDocumentStartPosition */
invokespecial com.mongodb.internal.connection.RequestMessage$EncodingMetadata.<init>:(I)V
areturn
end local 2 // int firstDocumentStartPosition
end local 1 // org.bson.io.BsonOutput bsonOutput
end local 0 // com.mongodb.internal.connection.DeleteMessage this
LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/mongodb/internal/connection/DeleteMessage;
0 9 1 bsonOutput Lorg/bson/io/BsonOutput;
7 9 2 firstDocumentStartPosition I
MethodParameters:
Name Flags
bsonOutput final
}
SourceFile: "DeleteMessage.java"
InnerClasses:
EncodingMetadata = com.mongodb.internal.connection.RequestMessage$EncodingMetadata of com.mongodb.internal.connection.RequestMessage