public class com.mongodb.operation.FindAndDeleteOperation<T> extends com.mongodb.operation.BaseFindAndModifyOperation<T>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.mongodb.operation.FindAndDeleteOperation
super_class: com.mongodb.operation.BaseFindAndModifyOperation
{
private org.bson.BsonDocument filter;
descriptor: Lorg/bson/BsonDocument;
flags: (0x0002) ACC_PRIVATE
private org.bson.BsonDocument projection;
descriptor: Lorg/bson/BsonDocument;
flags: (0x0002) ACC_PRIVATE
private org.bson.BsonDocument sort;
descriptor: Lorg/bson/BsonDocument;
flags: (0x0002) ACC_PRIVATE
private long maxTimeMS;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private com.mongodb.client.model.Collation collation;
descriptor: Lcom/mongodb/client/model/Collation;
flags: (0x0002) ACC_PRIVATE
public void <init>(com.mongodb.MongoNamespace, org.bson.codecs.Decoder<T>);
descriptor: (Lcom/mongodb/MongoNamespace;Lorg/bson/codecs/Decoder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
getstatic com.mongodb.WriteConcern.ACKNOWLEDGED:Lcom/mongodb/WriteConcern;
iconst_0
aload 2
invokespecial com.mongodb.operation.FindAndDeleteOperation.<init>:(Lcom/mongodb/MongoNamespace;Lcom/mongodb/WriteConcern;ZLorg/bson/codecs/Decoder;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/operation/FindAndDeleteOperation<TT;>;
0 2 1 namespace Lcom/mongodb/MongoNamespace;
0 2 2 decoder Lorg/bson/codecs/Decoder<TT;>;
Signature: (Lcom/mongodb/MongoNamespace;Lorg/bson/codecs/Decoder<TT;>;)V
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
namespace final
decoder final
public void <init>(com.mongodb.MongoNamespace, com.mongodb.WriteConcern, org.bson.codecs.Decoder<T>);
descriptor: (Lcom/mongodb/MongoNamespace;Lcom/mongodb/WriteConcern;Lorg/bson/codecs/Decoder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
iconst_0
aload 3
invokespecial com.mongodb.operation.FindAndDeleteOperation.<init>:(Lcom/mongodb/MongoNamespace;Lcom/mongodb/WriteConcern;ZLorg/bson/codecs/Decoder;)V
1: return
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/FindAndDeleteOperation<TT;>;
0 2 1 namespace Lcom/mongodb/MongoNamespace;
0 2 2 writeConcern Lcom/mongodb/WriteConcern;
0 2 3 decoder Lorg/bson/codecs/Decoder<TT;>;
Signature: (Lcom/mongodb/MongoNamespace;Lcom/mongodb/WriteConcern;Lorg/bson/codecs/Decoder<TT;>;)V
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
namespace final
writeConcern final
decoder final
public void <init>(com.mongodb.MongoNamespace, com.mongodb.WriteConcern, boolean, org.bson.codecs.Decoder<T>);
descriptor: (Lcom/mongodb/MongoNamespace;Lcom/mongodb/WriteConcern;ZLorg/bson/codecs/Decoder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, 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
aload 2
iload 3
aload 4
invokespecial com.mongodb.operation.BaseFindAndModifyOperation.<init>:(Lcom/mongodb/MongoNamespace;Lcom/mongodb/WriteConcern;ZLorg/bson/codecs/Decoder;)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/FindAndDeleteOperation<TT;>;
0 2 1 namespace Lcom/mongodb/MongoNamespace;
0 2 2 writeConcern Lcom/mongodb/WriteConcern;
0 2 3 retryWrites Z
0 2 4 decoder Lorg/bson/codecs/Decoder<TT;>;
Signature: (Lcom/mongodb/MongoNamespace;Lcom/mongodb/WriteConcern;ZLorg/bson/codecs/Decoder<TT;>;)V
MethodParameters:
Name Flags
namespace final
writeConcern final
retryWrites final
decoder final
public org.bson.BsonDocument getFilter();
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.FindAndDeleteOperation.filter:Lorg/bson/BsonDocument;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/FindAndDeleteOperation<TT;>;
public com.mongodb.operation.FindAndDeleteOperation<T> filter(org.bson.BsonDocument);
descriptor: (Lorg/bson/BsonDocument;)Lcom/mongodb/operation/FindAndDeleteOperation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.mongodb.operation.FindAndDeleteOperation.filter: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/operation/FindAndDeleteOperation<TT;>;
0 2 1 filter Lorg/bson/BsonDocument;
Signature: (Lorg/bson/BsonDocument;)Lcom/mongodb/operation/FindAndDeleteOperation<TT;>;
MethodParameters:
Name Flags
filter final
public org.bson.BsonDocument getProjection();
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.FindAndDeleteOperation.projection:Lorg/bson/BsonDocument;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/FindAndDeleteOperation<TT;>;
public com.mongodb.operation.FindAndDeleteOperation<T> projection(org.bson.BsonDocument);
descriptor: (Lorg/bson/BsonDocument;)Lcom/mongodb/operation/FindAndDeleteOperation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.mongodb.operation.FindAndDeleteOperation.projection: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/operation/FindAndDeleteOperation<TT;>;
0 2 1 projection Lorg/bson/BsonDocument;
Signature: (Lorg/bson/BsonDocument;)Lcom/mongodb/operation/FindAndDeleteOperation<TT;>;
MethodParameters:
Name Flags
projection final
public long getMaxTime(java.util.concurrent.TimeUnit);
descriptor: (Ljava/util/concurrent/TimeUnit;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: ldc "timeUnit"
aload 1
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
aload 0
getfield com.mongodb.operation.FindAndDeleteOperation.maxTimeMS:J
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual java.util.concurrent.TimeUnit.convert:(JLjava/util/concurrent/TimeUnit;)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/operation/FindAndDeleteOperation<TT;>;
0 2 1 timeUnit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
timeUnit final
public com.mongodb.operation.FindAndDeleteOperation<T> maxTime(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Lcom/mongodb/operation/FindAndDeleteOperation;
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.operation.FindAndDeleteOperation.maxTimeMS: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/operation/FindAndDeleteOperation<TT;>;
0 3 1 maxTime J
0 3 3 timeUnit Ljava/util/concurrent/TimeUnit;
Signature: (JLjava/util/concurrent/TimeUnit;)Lcom/mongodb/operation/FindAndDeleteOperation<TT;>;
MethodParameters:
Name Flags
maxTime final
timeUnit final
public org.bson.BsonDocument getSort();
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.FindAndDeleteOperation.sort:Lorg/bson/BsonDocument;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/FindAndDeleteOperation<TT;>;
public com.mongodb.operation.FindAndDeleteOperation<T> sort(org.bson.BsonDocument);
descriptor: (Lorg/bson/BsonDocument;)Lcom/mongodb/operation/FindAndDeleteOperation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.mongodb.operation.FindAndDeleteOperation.sort: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/operation/FindAndDeleteOperation<TT;>;
0 2 1 sort Lorg/bson/BsonDocument;
Signature: (Lorg/bson/BsonDocument;)Lcom/mongodb/operation/FindAndDeleteOperation<TT;>;
MethodParameters:
Name Flags
sort final
public com.mongodb.client.model.Collation getCollation();
descriptor: ()Lcom/mongodb/client/model/Collation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.operation.FindAndDeleteOperation.collation:Lcom/mongodb/client/model/Collation;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/FindAndDeleteOperation<TT;>;
public com.mongodb.operation.FindAndDeleteOperation<T> collation(com.mongodb.client.model.Collation);
descriptor: (Lcom/mongodb/client/model/Collation;)Lcom/mongodb/operation/FindAndDeleteOperation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.mongodb.operation.FindAndDeleteOperation.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/operation/FindAndDeleteOperation<TT;>;
0 2 1 collation Lcom/mongodb/client/model/Collation;
Signature: (Lcom/mongodb/client/model/Collation;)Lcom/mongodb/operation/FindAndDeleteOperation<TT;>;
MethodParameters:
Name Flags
collation final
protected java.lang.String getDatabaseName();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.mongodb.operation.FindAndDeleteOperation.getNamespace:()Lcom/mongodb/MongoNamespace;
invokevirtual com.mongodb.MongoNamespace.getDatabaseName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/FindAndDeleteOperation<TT;>;
protected com.mongodb.operation.CommandOperationHelper$CommandCreator getCommandCreator(com.mongodb.session.SessionContext);
descriptor: (Lcom/mongodb/session/SessionContext;)Lcom/mongodb/operation/CommandOperationHelper$CommandCreator;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.mongodb.operation.FindAndDeleteOperation$1
dup
aload 0
aload 1
invokespecial com.mongodb.operation.FindAndDeleteOperation$1.<init>:(Lcom/mongodb/operation/FindAndDeleteOperation;Lcom/mongodb/session/SessionContext;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/FindAndDeleteOperation<TT;>;
0 1 1 sessionContext Lcom/mongodb/session/SessionContext;
MethodParameters:
Name Flags
sessionContext final
private org.bson.BsonDocument createCommand(com.mongodb.session.SessionContext, com.mongodb.connection.ServerDescription, com.mongodb.connection.ConnectionDescription);
descriptor: (Lcom/mongodb/session/SessionContext;Lcom/mongodb/connection/ServerDescription;Lcom/mongodb/connection/ConnectionDescription;)Lorg/bson/BsonDocument;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
aload 0
getfield com.mongodb.operation.FindAndDeleteOperation.collation:Lcom/mongodb/client/model/Collation;
invokestatic com.mongodb.operation.OperationHelper.validateCollation:(Lcom/mongodb/connection/ConnectionDescription;Lcom/mongodb/client/model/Collation;)V
1: new org.bson.BsonDocument
dup
ldc "findAndModify"
new org.bson.BsonString
dup
aload 0
invokevirtual com.mongodb.operation.FindAndDeleteOperation.getNamespace:()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
astore 4
start local 4 2: aload 4
ldc "query"
aload 0
invokevirtual com.mongodb.operation.FindAndDeleteOperation.getFilter:()Lorg/bson/BsonDocument;
invokestatic com.mongodb.operation.DocumentHelper.putIfNotNull:(Lorg/bson/BsonDocument;Ljava/lang/String;Lorg/bson/BsonValue;)V
3: aload 4
ldc "fields"
aload 0
invokevirtual com.mongodb.operation.FindAndDeleteOperation.getProjection:()Lorg/bson/BsonDocument;
invokestatic com.mongodb.operation.DocumentHelper.putIfNotNull:(Lorg/bson/BsonDocument;Ljava/lang/String;Lorg/bson/BsonValue;)V
4: aload 4
ldc "sort"
aload 0
invokevirtual com.mongodb.operation.FindAndDeleteOperation.getSort:()Lorg/bson/BsonDocument;
invokestatic com.mongodb.operation.DocumentHelper.putIfNotNull:(Lorg/bson/BsonDocument;Ljava/lang/String;Lorg/bson/BsonValue;)V
5: aload 4
ldc "maxTimeMS"
aload 0
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual com.mongodb.operation.FindAndDeleteOperation.getMaxTime:(Ljava/util/concurrent/TimeUnit;)J
invokestatic com.mongodb.operation.DocumentHelper.putIfNotZero:(Lorg/bson/BsonDocument;Ljava/lang/String;J)V
6: aload 4
ldc "remove"
getstatic org.bson.BsonBoolean.TRUE:Lorg/bson/BsonBoolean;
invokevirtual org.bson.BsonDocument.put:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonValue;
pop
7: aload 0
aload 3
aload 4
aload 1
invokevirtual com.mongodb.operation.FindAndDeleteOperation.addWriteConcernToCommand:(Lcom/mongodb/connection/ConnectionDescription;Lorg/bson/BsonDocument;Lcom/mongodb/session/SessionContext;)V
8: aload 0
getfield com.mongodb.operation.FindAndDeleteOperation.collation:Lcom/mongodb/client/model/Collation;
ifnull 10
9: aload 4
ldc "collation"
aload 0
getfield com.mongodb.operation.FindAndDeleteOperation.collation:Lcom/mongodb/client/model/Collation;
invokevirtual com.mongodb.client.model.Collation.asDocument:()Lorg/bson/BsonDocument;
invokevirtual org.bson.BsonDocument.put:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonValue;
pop
10: StackMap locals: org.bson.BsonDocument
StackMap stack:
aload 0
aload 2
aload 3
aload 4
aload 1
invokevirtual com.mongodb.operation.FindAndDeleteOperation.addTxnNumberToCommand:(Lcom/mongodb/connection/ServerDescription;Lcom/mongodb/connection/ConnectionDescription;Lorg/bson/BsonDocument;Lcom/mongodb/session/SessionContext;)V
11: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/mongodb/operation/FindAndDeleteOperation<TT;>;
0 12 1 sessionContext Lcom/mongodb/session/SessionContext;
0 12 2 serverDescription Lcom/mongodb/connection/ServerDescription;
0 12 3 connectionDescription Lcom/mongodb/connection/ConnectionDescription;
2 12 4 commandDocument Lorg/bson/BsonDocument;
MethodParameters:
Name Flags
sessionContext final
serverDescription final
connectionDescription final
protected org.bson.FieldNameValidator getFieldNameValidator();
descriptor: ()Lorg/bson/FieldNameValidator;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: new com.mongodb.internal.validator.NoOpFieldNameValidator
dup
invokespecial com.mongodb.internal.validator.NoOpFieldNameValidator.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/FindAndDeleteOperation<TT;>;
}
Signature: <T:Ljava/lang/Object;>Lcom/mongodb/operation/BaseFindAndModifyOperation<TT;>;
SourceFile: "FindAndDeleteOperation.java"
NestMembers:
com.mongodb.operation.FindAndDeleteOperation$1
InnerClasses:
abstract CommandCreator = com.mongodb.operation.CommandOperationHelper$CommandCreator of com.mongodb.operation.CommandOperationHelper
com.mongodb.operation.FindAndDeleteOperation$1
RuntimeVisibleAnnotations:
java.lang.Deprecated()