public class com.mongodb.operation.RenameCollectionOperation implements com.mongodb.operation.AsyncWriteOperation<java.lang.Void>, com.mongodb.operation.WriteOperation<java.lang.Void>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.mongodb.operation.RenameCollectionOperation
super_class: java.lang.Object
{
private final com.mongodb.MongoNamespace originalNamespace;
descriptor: Lcom/mongodb/MongoNamespace;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.mongodb.MongoNamespace newNamespace;
descriptor: Lcom/mongodb/MongoNamespace;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.mongodb.WriteConcern writeConcern;
descriptor: Lcom/mongodb/WriteConcern;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean dropTarget;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(com.mongodb.MongoNamespace, com.mongodb.MongoNamespace);
descriptor: (Lcom/mongodb/MongoNamespace;Lcom/mongodb/MongoNamespace;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokespecial com.mongodb.operation.RenameCollectionOperation.<init>:(Lcom/mongodb/MongoNamespace;Lcom/mongodb/MongoNamespace;Lcom/mongodb/WriteConcern;)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/RenameCollectionOperation;
0 2 1 originalNamespace Lcom/mongodb/MongoNamespace;
0 2 2 newNamespace Lcom/mongodb/MongoNamespace;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
originalNamespace final
newNamespace final
public void <init>(com.mongodb.MongoNamespace, com.mongodb.MongoNamespace, com.mongodb.WriteConcern);
descriptor: (Lcom/mongodb/MongoNamespace;Lcom/mongodb/MongoNamespace;Lcom/mongodb/WriteConcern;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc "originalNamespace"
aload 1
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.MongoNamespace
putfield com.mongodb.operation.RenameCollectionOperation.originalNamespace:Lcom/mongodb/MongoNamespace;
2: aload 0
ldc "newNamespace"
aload 2
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.MongoNamespace
putfield com.mongodb.operation.RenameCollectionOperation.newNamespace:Lcom/mongodb/MongoNamespace;
3: aload 0
aload 3
putfield com.mongodb.operation.RenameCollectionOperation.writeConcern:Lcom/mongodb/WriteConcern;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/mongodb/operation/RenameCollectionOperation;
0 5 1 originalNamespace Lcom/mongodb/MongoNamespace;
0 5 2 newNamespace Lcom/mongodb/MongoNamespace;
0 5 3 writeConcern Lcom/mongodb/WriteConcern;
MethodParameters:
Name Flags
originalNamespace final
newNamespace final
writeConcern final
public com.mongodb.WriteConcern getWriteConcern();
descriptor: ()Lcom/mongodb/WriteConcern;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.operation.RenameCollectionOperation.writeConcern:Lcom/mongodb/WriteConcern;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/RenameCollectionOperation;
public boolean isDropTarget();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.operation.RenameCollectionOperation.dropTarget:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/RenameCollectionOperation;
public com.mongodb.operation.RenameCollectionOperation dropTarget(boolean);
descriptor: (Z)Lcom/mongodb/operation/RenameCollectionOperation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.mongodb.operation.RenameCollectionOperation.dropTarget:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/operation/RenameCollectionOperation;
0 2 1 dropTarget Z
MethodParameters:
Name Flags
dropTarget final
public java.lang.Void execute(com.mongodb.binding.WriteBinding);
descriptor: (Lcom/mongodb/binding/WriteBinding;)Ljava/lang/Void;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
new com.mongodb.operation.RenameCollectionOperation$1
dup
aload 0
aload 1
invokespecial com.mongodb.operation.RenameCollectionOperation$1.<init>:(Lcom/mongodb/operation/RenameCollectionOperation;Lcom/mongodb/binding/WriteBinding;)V
invokestatic com.mongodb.operation.OperationHelper.withConnection:(Lcom/mongodb/binding/WriteBinding;Lcom/mongodb/operation/OperationHelper$CallableWithConnection;)Ljava/lang/Object;
checkcast java.lang.Void
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/RenameCollectionOperation;
0 1 1 binding Lcom/mongodb/binding/WriteBinding;
MethodParameters:
Name Flags
binding final
public void executeAsync(com.mongodb.binding.AsyncWriteBinding, com.mongodb.async.SingleResultCallback<java.lang.Void>);
descriptor: (Lcom/mongodb/binding/AsyncWriteBinding;Lcom/mongodb/async/SingleResultCallback;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
new com.mongodb.operation.RenameCollectionOperation$2
dup
aload 0
aload 2
aload 1
invokespecial com.mongodb.operation.RenameCollectionOperation$2.<init>:(Lcom/mongodb/operation/RenameCollectionOperation;Lcom/mongodb/async/SingleResultCallback;Lcom/mongodb/binding/AsyncWriteBinding;)V
invokestatic com.mongodb.operation.OperationHelper.withAsyncConnection:(Lcom/mongodb/binding/AsyncWriteBinding;Lcom/mongodb/operation/OperationHelper$AsyncCallableWithConnection;)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/RenameCollectionOperation;
0 2 1 binding Lcom/mongodb/binding/AsyncWriteBinding;
0 2 2 callback Lcom/mongodb/async/SingleResultCallback<Ljava/lang/Void;>;
Signature: (Lcom/mongodb/binding/AsyncWriteBinding;Lcom/mongodb/async/SingleResultCallback<Ljava/lang/Void;>;)V
MethodParameters:
Name Flags
binding final
callback final
private org.bson.BsonDocument getCommand(com.mongodb.connection.ConnectionDescription);
descriptor: (Lcom/mongodb/connection/ConnectionDescription;)Lorg/bson/BsonDocument;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: new org.bson.BsonDocument
dup
ldc "renameCollection"
new org.bson.BsonString
dup
aload 0
getfield com.mongodb.operation.RenameCollectionOperation.originalNamespace:Lcom/mongodb/MongoNamespace;
invokevirtual com.mongodb.MongoNamespace.getFullName:()Ljava/lang/String;
invokespecial org.bson.BsonString.<init>:(Ljava/lang/String;)V
invokespecial org.bson.BsonDocument.<init>:(Ljava/lang/String;Lorg/bson/BsonValue;)V
1: ldc "to"
new org.bson.BsonString
dup
aload 0
getfield com.mongodb.operation.RenameCollectionOperation.newNamespace:Lcom/mongodb/MongoNamespace;
invokevirtual com.mongodb.MongoNamespace.getFullName:()Ljava/lang/String;
invokespecial org.bson.BsonString.<init>:(Ljava/lang/String;)V
invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
2: ldc "dropTarget"
aload 0
getfield com.mongodb.operation.RenameCollectionOperation.dropTarget:Z
invokestatic org.bson.BsonBoolean.valueOf:(Z)Lorg/bson/BsonBoolean;
invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
3: astore 2
start local 2 4: aload 0
getfield com.mongodb.operation.RenameCollectionOperation.writeConcern:Lcom/mongodb/WriteConcern;
aload 2
aload 1
invokestatic com.mongodb.internal.operation.WriteConcernHelper.appendWriteConcernToCommand:(Lcom/mongodb/WriteConcern;Lorg/bson/BsonDocument;Lcom/mongodb/connection/ConnectionDescription;)V
5: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/mongodb/operation/RenameCollectionOperation;
0 6 1 description Lcom/mongodb/connection/ConnectionDescription;
4 6 2 commandDocument Lorg/bson/BsonDocument;
MethodParameters:
Name Flags
description final
public java.lang.Object execute(com.mongodb.binding.WriteBinding);
descriptor: (Lcom/mongodb/binding/WriteBinding;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual com.mongodb.operation.RenameCollectionOperation.execute:(Lcom/mongodb/binding/WriteBinding;)Ljava/lang/Void;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lcom/mongodb/operation/AsyncWriteOperation<Ljava/lang/Void;>;Lcom/mongodb/operation/WriteOperation<Ljava/lang/Void;>;
SourceFile: "RenameCollectionOperation.java"
NestMembers:
com.mongodb.operation.RenameCollectionOperation$1 com.mongodb.operation.RenameCollectionOperation$2
InnerClasses:
abstract AsyncCallableWithConnection = com.mongodb.operation.OperationHelper$AsyncCallableWithConnection of com.mongodb.operation.OperationHelper
abstract CallableWithConnection = com.mongodb.operation.OperationHelper$CallableWithConnection of com.mongodb.operation.OperationHelper
com.mongodb.operation.RenameCollectionOperation$1
com.mongodb.operation.RenameCollectionOperation$2
RuntimeVisibleAnnotations:
java.lang.Deprecated()