public class com.mongodb.operation.CreateCollectionOperation 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.CreateCollectionOperation
super_class: java.lang.Object
{
private final java.lang.String databaseName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String collectionName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.mongodb.WriteConcern writeConcern;
descriptor: Lcom/mongodb/WriteConcern;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean capped;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private long sizeInBytes;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private boolean autoIndex;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private long maxDocuments;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private java.lang.Boolean usePowerOf2Sizes;
descriptor: Ljava/lang/Boolean;
flags: (0x0002) ACC_PRIVATE
private org.bson.BsonDocument storageEngineOptions;
descriptor: Lorg/bson/BsonDocument;
flags: (0x0002) ACC_PRIVATE
private org.bson.BsonDocument indexOptionDefaults;
descriptor: Lorg/bson/BsonDocument;
flags: (0x0002) ACC_PRIVATE
private org.bson.BsonDocument validator;
descriptor: Lorg/bson/BsonDocument;
flags: (0x0002) ACC_PRIVATE
private com.mongodb.client.model.ValidationLevel validationLevel;
descriptor: Lcom/mongodb/client/model/ValidationLevel;
flags: (0x0002) ACC_PRIVATE
private com.mongodb.client.model.ValidationAction validationAction;
descriptor: Lcom/mongodb/client/model/ValidationAction;
flags: (0x0002) ACC_PRIVATE
private com.mongodb.client.model.Collation collation;
descriptor: Lcom/mongodb/client/model/Collation;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)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.CreateCollectionOperation.<init>:(Ljava/lang/String;Ljava/lang/String;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/CreateCollectionOperation;
0 2 1 databaseName Ljava/lang/String;
0 2 2 collectionName Ljava/lang/String;
MethodParameters:
Name Flags
databaseName final
collectionName final
public void <init>(java.lang.String, java.lang.String, com.mongodb.WriteConcern);
descriptor: (Ljava/lang/String;Ljava/lang/String;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
iconst_0
putfield com.mongodb.operation.CreateCollectionOperation.capped:Z
2: aload 0
lconst_0
putfield com.mongodb.operation.CreateCollectionOperation.sizeInBytes:J
3: aload 0
iconst_1
putfield com.mongodb.operation.CreateCollectionOperation.autoIndex:Z
4: aload 0
lconst_0
putfield com.mongodb.operation.CreateCollectionOperation.maxDocuments:J
5: aload 0
aconst_null
putfield com.mongodb.operation.CreateCollectionOperation.usePowerOf2Sizes:Ljava/lang/Boolean;
6: aload 0
aconst_null
putfield com.mongodb.operation.CreateCollectionOperation.validationLevel:Lcom/mongodb/client/model/ValidationLevel;
7: aload 0
aconst_null
putfield com.mongodb.operation.CreateCollectionOperation.validationAction:Lcom/mongodb/client/model/ValidationAction;
8: aload 0
aconst_null
putfield com.mongodb.operation.CreateCollectionOperation.collation:Lcom/mongodb/client/model/Collation;
9: aload 0
ldc "databaseName"
aload 1
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
putfield com.mongodb.operation.CreateCollectionOperation.databaseName:Ljava/lang/String;
10: aload 0
ldc "collectionName"
aload 2
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
putfield com.mongodb.operation.CreateCollectionOperation.collectionName:Ljava/lang/String;
11: aload 0
aload 3
putfield com.mongodb.operation.CreateCollectionOperation.writeConcern:Lcom/mongodb/WriteConcern;
12: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/mongodb/operation/CreateCollectionOperation;
0 13 1 databaseName Ljava/lang/String;
0 13 2 collectionName Ljava/lang/String;
0 13 3 writeConcern Lcom/mongodb/WriteConcern;
MethodParameters:
Name Flags
databaseName final
collectionName final
writeConcern final
public java.lang.String getCollectionName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.operation.CreateCollectionOperation.collectionName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/CreateCollectionOperation;
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.CreateCollectionOperation.writeConcern:Lcom/mongodb/WriteConcern;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/CreateCollectionOperation;
public boolean isAutoIndex();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.operation.CreateCollectionOperation.autoIndex:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/CreateCollectionOperation;
public com.mongodb.operation.CreateCollectionOperation autoIndex(boolean);
descriptor: (Z)Lcom/mongodb/operation/CreateCollectionOperation;
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.CreateCollectionOperation.autoIndex:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/operation/CreateCollectionOperation;
0 2 1 autoIndex Z
MethodParameters:
Name Flags
autoIndex final
public long getMaxDocuments();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.operation.CreateCollectionOperation.maxDocuments:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/CreateCollectionOperation;
public com.mongodb.operation.CreateCollectionOperation maxDocuments(long);
descriptor: (J)Lcom/mongodb/operation/CreateCollectionOperation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
putfield com.mongodb.operation.CreateCollectionOperation.maxDocuments:J
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/operation/CreateCollectionOperation;
0 2 1 maxDocuments J
MethodParameters:
Name Flags
maxDocuments final
public boolean isCapped();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.operation.CreateCollectionOperation.capped:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/CreateCollectionOperation;
public com.mongodb.operation.CreateCollectionOperation capped(boolean);
descriptor: (Z)Lcom/mongodb/operation/CreateCollectionOperation;
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.CreateCollectionOperation.capped:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/operation/CreateCollectionOperation;
0 2 1 capped Z
MethodParameters:
Name Flags
capped final
public long getSizeInBytes();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.operation.CreateCollectionOperation.sizeInBytes:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/CreateCollectionOperation;
public com.mongodb.operation.CreateCollectionOperation sizeInBytes(long);
descriptor: (J)Lcom/mongodb/operation/CreateCollectionOperation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
putfield com.mongodb.operation.CreateCollectionOperation.sizeInBytes:J
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/operation/CreateCollectionOperation;
0 2 1 sizeInBytes J
MethodParameters:
Name Flags
sizeInBytes final
public java.lang.Boolean isUsePowerOf2Sizes();
descriptor: ()Ljava/lang/Boolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.operation.CreateCollectionOperation.usePowerOf2Sizes:Ljava/lang/Boolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/CreateCollectionOperation;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public com.mongodb.operation.CreateCollectionOperation usePowerOf2Sizes(java.lang.Boolean);
descriptor: (Ljava/lang/Boolean;)Lcom/mongodb/operation/CreateCollectionOperation;
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.CreateCollectionOperation.usePowerOf2Sizes:Ljava/lang/Boolean;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/operation/CreateCollectionOperation;
0 2 1 usePowerOf2Sizes Ljava/lang/Boolean;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
usePowerOf2Sizes final
public org.bson.BsonDocument getStorageEngineOptions();
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.CreateCollectionOperation.storageEngineOptions:Lorg/bson/BsonDocument;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/CreateCollectionOperation;
public com.mongodb.operation.CreateCollectionOperation storageEngineOptions(org.bson.BsonDocument);
descriptor: (Lorg/bson/BsonDocument;)Lcom/mongodb/operation/CreateCollectionOperation;
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.CreateCollectionOperation.storageEngineOptions: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/CreateCollectionOperation;
0 2 1 storageEngineOptions Lorg/bson/BsonDocument;
MethodParameters:
Name Flags
storageEngineOptions final
public org.bson.BsonDocument getIndexOptionDefaults();
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.CreateCollectionOperation.indexOptionDefaults:Lorg/bson/BsonDocument;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/CreateCollectionOperation;
public com.mongodb.operation.CreateCollectionOperation indexOptionDefaults(org.bson.BsonDocument);
descriptor: (Lorg/bson/BsonDocument;)Lcom/mongodb/operation/CreateCollectionOperation;
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.CreateCollectionOperation.indexOptionDefaults: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/CreateCollectionOperation;
0 2 1 indexOptionDefaults Lorg/bson/BsonDocument;
MethodParameters:
Name Flags
indexOptionDefaults final
public org.bson.BsonDocument getValidator();
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.CreateCollectionOperation.validator:Lorg/bson/BsonDocument;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/CreateCollectionOperation;
public com.mongodb.operation.CreateCollectionOperation validator(org.bson.BsonDocument);
descriptor: (Lorg/bson/BsonDocument;)Lcom/mongodb/operation/CreateCollectionOperation;
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.CreateCollectionOperation.validator: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/CreateCollectionOperation;
0 2 1 validator Lorg/bson/BsonDocument;
MethodParameters:
Name Flags
validator final
public com.mongodb.client.model.ValidationLevel getValidationLevel();
descriptor: ()Lcom/mongodb/client/model/ValidationLevel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.operation.CreateCollectionOperation.validationLevel:Lcom/mongodb/client/model/ValidationLevel;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/CreateCollectionOperation;
public com.mongodb.operation.CreateCollectionOperation validationLevel(com.mongodb.client.model.ValidationLevel);
descriptor: (Lcom/mongodb/client/model/ValidationLevel;)Lcom/mongodb/operation/CreateCollectionOperation;
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.CreateCollectionOperation.validationLevel:Lcom/mongodb/client/model/ValidationLevel;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/operation/CreateCollectionOperation;
0 2 1 validationLevel Lcom/mongodb/client/model/ValidationLevel;
MethodParameters:
Name Flags
validationLevel final
public com.mongodb.client.model.ValidationAction getValidationAction();
descriptor: ()Lcom/mongodb/client/model/ValidationAction;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.operation.CreateCollectionOperation.validationAction:Lcom/mongodb/client/model/ValidationAction;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/CreateCollectionOperation;
public com.mongodb.operation.CreateCollectionOperation validationAction(com.mongodb.client.model.ValidationAction);
descriptor: (Lcom/mongodb/client/model/ValidationAction;)Lcom/mongodb/operation/CreateCollectionOperation;
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.CreateCollectionOperation.validationAction:Lcom/mongodb/client/model/ValidationAction;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/operation/CreateCollectionOperation;
0 2 1 validationAction Lcom/mongodb/client/model/ValidationAction;
MethodParameters:
Name Flags
validationAction 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.CreateCollectionOperation.collation:Lcom/mongodb/client/model/Collation;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/CreateCollectionOperation;
public com.mongodb.operation.CreateCollectionOperation collation(com.mongodb.client.model.Collation);
descriptor: (Lcom/mongodb/client/model/Collation;)Lcom/mongodb/operation/CreateCollectionOperation;
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.CreateCollectionOperation.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/CreateCollectionOperation;
0 2 1 collation Lcom/mongodb/client/model/Collation;
MethodParameters:
Name Flags
collation 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.CreateCollectionOperation$1
dup
aload 0
aload 1
invokespecial com.mongodb.operation.CreateCollectionOperation$1.<init>:(Lcom/mongodb/operation/CreateCollectionOperation;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/CreateCollectionOperation;
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.CreateCollectionOperation$2
dup
aload 0
aload 2
aload 1
invokespecial com.mongodb.operation.CreateCollectionOperation$2.<init>:(Lcom/mongodb/operation/CreateCollectionOperation;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/CreateCollectionOperation;
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 "create"
new org.bson.BsonString
dup
aload 0
getfield com.mongodb.operation.CreateCollectionOperation.collectionName: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 2
start local 2 1: aload 2
ldc "autoIndexId"
aload 0
getfield com.mongodb.operation.CreateCollectionOperation.autoIndex:Z
invokestatic com.mongodb.operation.DocumentHelper.putIfFalse:(Lorg/bson/BsonDocument;Ljava/lang/String;Z)V
2: aload 2
ldc "capped"
aload 0
getfield com.mongodb.operation.CreateCollectionOperation.capped:Z
invokestatic org.bson.BsonBoolean.valueOf:(Z)Lorg/bson/BsonBoolean;
invokevirtual org.bson.BsonDocument.put:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonValue;
pop
3: aload 0
getfield com.mongodb.operation.CreateCollectionOperation.capped:Z
ifeq 6
4: aload 2
ldc "size"
aload 0
getfield com.mongodb.operation.CreateCollectionOperation.sizeInBytes:J
invokestatic com.mongodb.operation.DocumentHelper.putIfNotZero:(Lorg/bson/BsonDocument;Ljava/lang/String;J)V
5: aload 2
ldc "max"
aload 0
getfield com.mongodb.operation.CreateCollectionOperation.maxDocuments:J
invokestatic com.mongodb.operation.DocumentHelper.putIfNotZero:(Lorg/bson/BsonDocument;Ljava/lang/String;J)V
6: StackMap locals: org.bson.BsonDocument
StackMap stack:
aload 0
getfield com.mongodb.operation.CreateCollectionOperation.usePowerOf2Sizes:Ljava/lang/Boolean;
ifnull 8
7: aload 2
ldc "flags"
new org.bson.BsonInt32
dup
iconst_1
invokespecial org.bson.BsonInt32.<init>:(I)V
invokevirtual org.bson.BsonDocument.put:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonValue;
pop
8: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.operation.CreateCollectionOperation.storageEngineOptions:Lorg/bson/BsonDocument;
ifnull 10
9: aload 2
ldc "storageEngine"
aload 0
getfield com.mongodb.operation.CreateCollectionOperation.storageEngineOptions:Lorg/bson/BsonDocument;
invokevirtual org.bson.BsonDocument.put:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonValue;
pop
10: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.operation.CreateCollectionOperation.indexOptionDefaults:Lorg/bson/BsonDocument;
ifnull 12
11: aload 2
ldc "indexOptionDefaults"
aload 0
getfield com.mongodb.operation.CreateCollectionOperation.indexOptionDefaults:Lorg/bson/BsonDocument;
invokevirtual org.bson.BsonDocument.put:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonValue;
pop
12: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.operation.CreateCollectionOperation.validator:Lorg/bson/BsonDocument;
ifnull 14
13: aload 2
ldc "validator"
aload 0
getfield com.mongodb.operation.CreateCollectionOperation.validator:Lorg/bson/BsonDocument;
invokevirtual org.bson.BsonDocument.put:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonValue;
pop
14: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.operation.CreateCollectionOperation.validationLevel:Lcom/mongodb/client/model/ValidationLevel;
ifnull 16
15: aload 2
ldc "validationLevel"
new org.bson.BsonString
dup
aload 0
getfield com.mongodb.operation.CreateCollectionOperation.validationLevel:Lcom/mongodb/client/model/ValidationLevel;
invokevirtual com.mongodb.client.model.ValidationLevel.getValue:()Ljava/lang/String;
invokespecial org.bson.BsonString.<init>:(Ljava/lang/String;)V
invokevirtual org.bson.BsonDocument.put:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonValue;
pop
16: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.operation.CreateCollectionOperation.validationAction:Lcom/mongodb/client/model/ValidationAction;
ifnull 18
17: aload 2
ldc "validationAction"
new org.bson.BsonString
dup
aload 0
getfield com.mongodb.operation.CreateCollectionOperation.validationAction:Lcom/mongodb/client/model/ValidationAction;
invokevirtual com.mongodb.client.model.ValidationAction.getValue:()Ljava/lang/String;
invokespecial org.bson.BsonString.<init>:(Ljava/lang/String;)V
invokevirtual org.bson.BsonDocument.put:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonValue;
pop
18: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.operation.CreateCollectionOperation.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
19: aload 0
getfield com.mongodb.operation.CreateCollectionOperation.collation:Lcom/mongodb/client/model/Collation;
ifnull 21
20: aload 2
ldc "collation"
aload 0
getfield com.mongodb.operation.CreateCollectionOperation.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
21: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/mongodb/operation/CreateCollectionOperation;
0 22 1 description Lcom/mongodb/connection/ConnectionDescription;
1 22 2 document 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.CreateCollectionOperation.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: "CreateCollectionOperation.java"
NestMembers:
com.mongodb.operation.CreateCollectionOperation$1 com.mongodb.operation.CreateCollectionOperation$2 com.mongodb.operation.CreateCollectionOperation$2$1
InnerClasses:
com.mongodb.operation.CreateCollectionOperation$1
com.mongodb.operation.CreateCollectionOperation$2
abstract AsyncCallableWithConnection = com.mongodb.operation.OperationHelper$AsyncCallableWithConnection of com.mongodb.operation.OperationHelper
abstract CallableWithConnection = com.mongodb.operation.OperationHelper$CallableWithConnection of com.mongodb.operation.OperationHelper
RuntimeVisibleAnnotations:
java.lang.Deprecated()