public class com.mongodb.client.model.CreateCollectionOptions
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.mongodb.client.model.CreateCollectionOptions
super_class: java.lang.Object
{
private boolean autoIndex;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private long maxDocuments;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private boolean capped;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private long sizeInBytes;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private java.lang.Boolean usePowerOf2Sizes;
descriptor: Ljava/lang/Boolean;
flags: (0x0002) ACC_PRIVATE
private org.bson.conversions.Bson storageEngineOptions;
descriptor: Lorg/bson/conversions/Bson;
flags: (0x0002) ACC_PRIVATE
private com.mongodb.client.model.IndexOptionDefaults indexOptionDefaults;
descriptor: Lcom/mongodb/client/model/IndexOptionDefaults;
flags: (0x0002) ACC_PRIVATE
private com.mongodb.client.model.ValidationOptions validationOptions;
descriptor: Lcom/mongodb/client/model/ValidationOptions;
flags: (0x0002) ACC_PRIVATE
private com.mongodb.client.model.Collation collation;
descriptor: Lcom/mongodb/client/model/Collation;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield com.mongodb.client.model.CreateCollectionOptions.autoIndex:Z
2: aload 0
new com.mongodb.client.model.IndexOptionDefaults
dup
invokespecial com.mongodb.client.model.IndexOptionDefaults.<init>:()V
putfield com.mongodb.client.model.CreateCollectionOptions.indexOptionDefaults:Lcom/mongodb/client/model/IndexOptionDefaults;
3: aload 0
new com.mongodb.client.model.ValidationOptions
dup
invokespecial com.mongodb.client.model.ValidationOptions.<init>:()V
putfield com.mongodb.client.model.CreateCollectionOptions.validationOptions:Lcom/mongodb/client/model/ValidationOptions;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/mongodb/client/model/CreateCollectionOptions;
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.client.model.CreateCollectionOptions.autoIndex:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/model/CreateCollectionOptions;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public com.mongodb.client.model.CreateCollectionOptions autoIndex(boolean);
descriptor: (Z)Lcom/mongodb/client/model/CreateCollectionOptions;
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.client.model.CreateCollectionOptions.autoIndex:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/model/CreateCollectionOptions;
0 2 1 autoIndex Z
RuntimeVisibleAnnotations:
java.lang.Deprecated()
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.client.model.CreateCollectionOptions.maxDocuments:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/model/CreateCollectionOptions;
public com.mongodb.client.model.CreateCollectionOptions maxDocuments(long);
descriptor: (J)Lcom/mongodb/client/model/CreateCollectionOptions;
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.client.model.CreateCollectionOptions.maxDocuments:J
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/model/CreateCollectionOptions;
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.client.model.CreateCollectionOptions.capped:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/model/CreateCollectionOptions;
public com.mongodb.client.model.CreateCollectionOptions capped(boolean);
descriptor: (Z)Lcom/mongodb/client/model/CreateCollectionOptions;
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.client.model.CreateCollectionOptions.capped:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/model/CreateCollectionOptions;
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.client.model.CreateCollectionOptions.sizeInBytes:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/model/CreateCollectionOptions;
public com.mongodb.client.model.CreateCollectionOptions sizeInBytes(long);
descriptor: (J)Lcom/mongodb/client/model/CreateCollectionOptions;
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.client.model.CreateCollectionOptions.sizeInBytes:J
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/model/CreateCollectionOptions;
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.client.model.CreateCollectionOptions.usePowerOf2Sizes:Ljava/lang/Boolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/model/CreateCollectionOptions;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
com.mongodb.lang.Nullable()
public com.mongodb.client.model.CreateCollectionOptions usePowerOf2Sizes(java.lang.Boolean);
descriptor: (Ljava/lang/Boolean;)Lcom/mongodb/client/model/CreateCollectionOptions;
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.client.model.CreateCollectionOptions.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/client/model/CreateCollectionOptions;
0 2 1 usePowerOf2Sizes Ljava/lang/Boolean;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
RuntimeVisibleParameterAnnotations:
0:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
usePowerOf2Sizes final
public org.bson.conversions.Bson getStorageEngineOptions();
descriptor: ()Lorg/bson/conversions/Bson;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.client.model.CreateCollectionOptions.storageEngineOptions:Lorg/bson/conversions/Bson;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/model/CreateCollectionOptions;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
public com.mongodb.client.model.CreateCollectionOptions storageEngineOptions(org.bson.conversions.Bson);
descriptor: (Lorg/bson/conversions/Bson;)Lcom/mongodb/client/model/CreateCollectionOptions;
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.client.model.CreateCollectionOptions.storageEngineOptions:Lorg/bson/conversions/Bson;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/model/CreateCollectionOptions;
0 2 1 storageEngineOptions Lorg/bson/conversions/Bson;
RuntimeVisibleParameterAnnotations:
0:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
storageEngineOptions final
public com.mongodb.client.model.IndexOptionDefaults getIndexOptionDefaults();
descriptor: ()Lcom/mongodb/client/model/IndexOptionDefaults;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.client.model.CreateCollectionOptions.indexOptionDefaults:Lcom/mongodb/client/model/IndexOptionDefaults;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/model/CreateCollectionOptions;
public com.mongodb.client.model.CreateCollectionOptions indexOptionDefaults(com.mongodb.client.model.IndexOptionDefaults);
descriptor: (Lcom/mongodb/client/model/IndexOptionDefaults;)Lcom/mongodb/client/model/CreateCollectionOptions;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "indexOptionDefaults"
aload 1
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.client.model.IndexOptionDefaults
putfield com.mongodb.client.model.CreateCollectionOptions.indexOptionDefaults:Lcom/mongodb/client/model/IndexOptionDefaults;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/model/CreateCollectionOptions;
0 2 1 indexOptionDefaults Lcom/mongodb/client/model/IndexOptionDefaults;
MethodParameters:
Name Flags
indexOptionDefaults final
public com.mongodb.client.model.ValidationOptions getValidationOptions();
descriptor: ()Lcom/mongodb/client/model/ValidationOptions;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.client.model.CreateCollectionOptions.validationOptions:Lcom/mongodb/client/model/ValidationOptions;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/model/CreateCollectionOptions;
public com.mongodb.client.model.CreateCollectionOptions validationOptions(com.mongodb.client.model.ValidationOptions);
descriptor: (Lcom/mongodb/client/model/ValidationOptions;)Lcom/mongodb/client/model/CreateCollectionOptions;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "validationOptions"
aload 1
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.client.model.ValidationOptions
putfield com.mongodb.client.model.CreateCollectionOptions.validationOptions:Lcom/mongodb/client/model/ValidationOptions;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/model/CreateCollectionOptions;
0 2 1 validationOptions Lcom/mongodb/client/model/ValidationOptions;
MethodParameters:
Name Flags
validationOptions 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.client.model.CreateCollectionOptions.collation:Lcom/mongodb/client/model/Collation;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/model/CreateCollectionOptions;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
public com.mongodb.client.model.CreateCollectionOptions collation(com.mongodb.client.model.Collation);
descriptor: (Lcom/mongodb/client/model/Collation;)Lcom/mongodb/client/model/CreateCollectionOptions;
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.client.model.CreateCollectionOptions.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/client/model/CreateCollectionOptions;
0 2 1 collation Lcom/mongodb/client/model/Collation;
RuntimeVisibleParameterAnnotations:
0:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
collation final
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "CreateCollectionOptions{autoIndex="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
getfield com.mongodb.client.model.CreateCollectionOptions.autoIndex:Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
2: ldc ", maxDocuments="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.client.model.CreateCollectionOptions.maxDocuments:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
3: ldc ", capped="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.client.model.CreateCollectionOptions.capped:Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
4: ldc ", sizeInBytes="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.client.model.CreateCollectionOptions.sizeInBytes:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
5: ldc ", usePowerOf2Sizes="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.client.model.CreateCollectionOptions.usePowerOf2Sizes:Ljava/lang/Boolean;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
6: ldc ", storageEngineOptions="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.client.model.CreateCollectionOptions.storageEngineOptions:Lorg/bson/conversions/Bson;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
7: ldc ", indexOptionDefaults="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.client.model.CreateCollectionOptions.indexOptionDefaults:Lcom/mongodb/client/model/IndexOptionDefaults;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
8: ldc ", validationOptions="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.client.model.CreateCollectionOptions.validationOptions:Lcom/mongodb/client/model/ValidationOptions;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
9: ldc ", collation="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.client.model.CreateCollectionOptions.collation:Lcom/mongodb/client/model/Collation;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
10: bipush 125
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
11: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/mongodb/client/model/CreateCollectionOptions;
}
SourceFile: "CreateCollectionOptions.java"