milvus-logo

Class GetPartitionStatisticsParam.Builder

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

      • withCollectionName

        public GetPartitionStatisticsParam.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 GetPartitionStatisticsParam.Builder withPartitionName​(@NonNull
                                                                     @NonNull java.lang.String partitionName)
        Sets the partition name. Partition name cannot be empty or null.
        Parameters:
        partitionName - partition name
        Returns:
        Builder
      • withFlush

        public GetPartitionStatisticsParam.Builder withFlush​(@NonNull
                                                             @NonNull java.lang.Boolean flush)
        Requires a flush action before retrieving partition statistics.
        Parameters:
        flush - Boolean.TRUE require a flush action
        Returns:
        Builder