Uses of Class
io.milvus.param.collection.CreateCollectionParam.Builder
Packages that use CreateCollectionParam.Builder
-
Uses of CreateCollectionParam.Builder in io.milvus.param.collection
Methods in io.milvus.param.collection that return CreateCollectionParam.BuilderModifier and TypeMethodDescriptionCreateCollectionParam.Builder.addFieldType(@NonNull FieldType fieldType) Deprecated.CreateCollectionParam.newBuilder()CreateCollectionParam.Builder.withCollectionName(@NonNull String collectionName) Sets the collection name.CreateCollectionParam.Builder.withConsistencyLevel(@NonNull ConsistencyLevelEnum consistencyLevel) Sets the consistency level.CreateCollectionParam.Builder.withDatabaseName(String databaseName) Sets the database name.CreateCollectionParam.Builder.withDescription(@NonNull String description) Sets the collection description.CreateCollectionParam.Builder.withEnableDynamicField(boolean enableDynamicField) Deprecated.UsewithSchema(CollectionSchemaParam)repaceCreateCollectionParam.Builder.withFieldTypes(@NonNull List<FieldType> fieldTypes) Deprecated.UsewithSchema(CollectionSchemaParam)repaceCreateCollectionParam.Builder.withPartitionsNum(int partitionsNum) Sets the partitions number if there is partition key field.CreateCollectionParam.Builder.withProperty(@NonNull String key, @NonNull String value) Basic method to set a key-value property.CreateCollectionParam.Builder.withReplicaNumber(int replicaNumber) Sets the replica number in collection level, then if load collection doesn't have replica number, it will use this replica number.CreateCollectionParam.Builder.withResourceGroups(@NonNull List<String> resourceGroups) Sets the resource groups in collection level, then if load collection doesn't have resource groups, it will use this resource groups.CreateCollectionParam.Builder.withSchema(@NonNull CollectionSchemaParam schema) Sets the schema of collection.CreateCollectionParam.Builder.withShardsNum(int shardsNum) Sets the shards number.
withSchema(CollectionSchemaParam)repace