milvus-logo
Star
0
Forks
0
Get Started

Class DeleteParam.Builder

  • java.lang.Object
    • io.milvus.param.dml.DeleteParam.Builder
  • Enclosing class:
    DeleteParam

    public static class DeleteParam.Builder
    extends java.lang.Object
    Builder for DeleteParam class.
    • Method Detail

      • withCollectionName

        public DeleteParam.Builder withCollectionName​(@NonNull
                                                      @NonNull java.lang.String collectionName)
        Sets the collection name. Collection name cannot be empty or null.
        Parameters:
        collectionName - collection name
        Returns:
        Builder
      • withPartitionName

        public DeleteParam.Builder withPartitionName​(@NonNull
                                                     @NonNull java.lang.String partitionName)
        Sets the partition name (Optional).
        Parameters:
        partitionName - partition name
        Returns:
        Builder
      • withExpr

        public DeleteParam.Builder withExpr​(@NonNull
                                            @NonNull java.lang.String expr)
        Sets the expression to filter out entities to be deleted.
        Parameters:
        expr - filtering expression
        Returns:
        Builder
        See Also:
        Boolean Expression Rules