milvus-logo
Star
0
Forks
0
Get Started

Class ReleasePartitionsParam.Builder

  • java.lang.Object
    • io.milvus.param.partition.ReleasePartitionsParam.Builder
    • Method Detail

      • withCollectionName

        public ReleasePartitionsParam.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
      • withPartitionNames

        public ReleasePartitionsParam.Builder withPartitionNames​(@NonNull
                                                                 @NonNull java.util.List<java.lang.String> partitionNames)
        Sets the partition names list. Partition names list cannot be null or empty.
        Parameters:
        partitionNames - partition names list
        Returns:
        Builder
      • addPartitionName

        public ReleasePartitionsParam.Builder addPartitionName​(@NonNull
                                                               @NonNull java.lang.String partitionName)
        Adds a partition by name. Partition name cannot be empty or null.
        Parameters:
        partitionName - partition name
        Returns:
        Builder