public class com.mongodb.operation.UpdateOperation extends com.mongodb.operation.BaseWriteOperation
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.mongodb.operation.UpdateOperation
super_class: com.mongodb.operation.BaseWriteOperation
{
private final java.util.List<com.mongodb.bulk.UpdateRequest> updates;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lcom/mongodb/bulk/UpdateRequest;>;
public void <init>(com.mongodb.MongoNamespace, boolean, com.mongodb.WriteConcern, java.util.List<com.mongodb.bulk.UpdateRequest>);
descriptor: (Lcom/mongodb/MongoNamespace;ZLcom/mongodb/WriteConcern;Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
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
aload 3
iconst_0
aload 4
invokespecial com.mongodb.operation.UpdateOperation.<init>:(Lcom/mongodb/MongoNamespace;ZLcom/mongodb/WriteConcern;ZLjava/util/List;)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/UpdateOperation;
0 2 1 namespace Lcom/mongodb/MongoNamespace;
0 2 2 ordered Z
0 2 3 writeConcern Lcom/mongodb/WriteConcern;
0 2 4 updates Ljava/util/List<Lcom/mongodb/bulk/UpdateRequest;>;
Signature: (Lcom/mongodb/MongoNamespace;ZLcom/mongodb/WriteConcern;Ljava/util/List<Lcom/mongodb/bulk/UpdateRequest;>;)V
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
namespace final
ordered final
writeConcern final
updates final
public void <init>(com.mongodb.MongoNamespace, boolean, com.mongodb.WriteConcern, boolean, java.util.List<com.mongodb.bulk.UpdateRequest>);
descriptor: (Lcom/mongodb/MongoNamespace;ZLcom/mongodb/WriteConcern;ZLjava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, 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
aload 3
iload 4
invokespecial com.mongodb.operation.BaseWriteOperation.<init>:(Lcom/mongodb/MongoNamespace;ZLcom/mongodb/WriteConcern;Z)V
1: aload 0
ldc "update"
aload 5
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
putfield com.mongodb.operation.UpdateOperation.updates:Ljava/util/List;
2: ldc "updateRequests not empty"
aload 5
invokeinterface java.util.List.isEmpty:()Z
ifeq 3
iconst_0
goto 4
StackMap locals: com.mongodb.operation.UpdateOperation com.mongodb.MongoNamespace int com.mongodb.WriteConcern int java.util.List
StackMap stack: java.lang.String
3: iconst_1
StackMap locals: com.mongodb.operation.UpdateOperation com.mongodb.MongoNamespace int com.mongodb.WriteConcern int java.util.List
StackMap stack: java.lang.String int
4: invokestatic com.mongodb.assertions.Assertions.isTrueArgument:(Ljava/lang/String;Z)V
5: 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 6 0 this Lcom/mongodb/operation/UpdateOperation;
0 6 1 namespace Lcom/mongodb/MongoNamespace;
0 6 2 ordered Z
0 6 3 writeConcern Lcom/mongodb/WriteConcern;
0 6 4 retryWrites Z
0 6 5 updates Ljava/util/List<Lcom/mongodb/bulk/UpdateRequest;>;
Signature: (Lcom/mongodb/MongoNamespace;ZLcom/mongodb/WriteConcern;ZLjava/util/List<Lcom/mongodb/bulk/UpdateRequest;>;)V
MethodParameters:
Name Flags
namespace final
ordered final
writeConcern final
retryWrites final
updates final
public java.util.List<com.mongodb.bulk.UpdateRequest> getUpdateRequests();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.operation.UpdateOperation.updates:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/UpdateOperation;
Signature: ()Ljava/util/List<Lcom/mongodb/bulk/UpdateRequest;>;
protected java.util.List<? extends com.mongodb.bulk.WriteRequest> getWriteRequests();
descriptor: ()Ljava/util/List;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.mongodb.operation.UpdateOperation.getUpdateRequests:()Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/UpdateOperation;
Signature: ()Ljava/util/List<+Lcom/mongodb/bulk/WriteRequest;>;
protected com.mongodb.bulk.WriteRequest$Type getType();
descriptor: ()Lcom/mongodb/bulk/WriteRequest$Type;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic com.mongodb.bulk.WriteRequest$Type.UPDATE:Lcom/mongodb/bulk/WriteRequest$Type;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/UpdateOperation;
}
SourceFile: "UpdateOperation.java"
InnerClasses:
public final Type = com.mongodb.bulk.WriteRequest$Type of com.mongodb.bulk.WriteRequest
RuntimeVisibleAnnotations:
java.lang.Deprecated()