milvus-logo
Star
0
Forks
0
Get Started

Class ShowPartitionsParam.Builder

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

      • withCollectionName

        public ShowPartitionsParam.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 ShowPartitionsParam.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 ShowPartitionsParam.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