Uses of Class
io.milvus.param.collection.FieldType.Builder
Packages that use FieldType.Builder
-
Uses of FieldType.Builder in io.milvus.param.collection
Methods in io.milvus.param.collection that return FieldType.BuilderModifier and TypeMethodDescriptionFieldType.Builder.addTypeParam(@NonNull String key, @NonNull String value) Adds a parameter pair for the field.static FieldType.BuilderFieldType.newBuilder()FieldType.Builder.withAutoID(boolean autoID) Enables auto-id function for the field.FieldType.Builder.withClusteringKey(boolean clusteringKey) Set the field to be a clustering key.FieldType.Builder.withDataType(@NonNull DataType dataType) Sets the data type for the field.FieldType.Builder.withDescription(@NonNull String description) Sets the field description.FieldType.Builder.withDimension(@NonNull Integer dimension) Sets the dimension of a vector field.FieldType.Builder.withElementType(@NonNull DataType elementType) Sets the element type for Array type field.FieldType.Builder.withIsDynamic(boolean isDynamic) Sets the isDynamic of a field.FieldType.Builder.withMaxCapacity(@NonNull Integer maxCapacity) Sets the max capacity of an array field.FieldType.Builder.withMaxLength(@NonNull Integer maxLength) Sets the max length of a varchar field.FieldType.Builder.withPartitionKey(boolean partitionKey) Sets the field to be partition key.FieldType.Builder.withPrimaryKey(boolean primaryKey) Sets the field as the primary key field.FieldType.Builder.withTypeParams(@NonNull Map<String, String> typeParams) Sets more parameters for the field.