Class ZAggregateArgs

    • Constructor Detail

      • ZAggregateArgs

        public ZAggregateArgs()
    • Method Detail

      • weights

        public ZAggregateArgs weights​(double... weights)
        Specify a multiplication factor for each input sorted set.
        Parameters:
        weights - must not be null.
        Returns:
        this ZAggregateArgs.
      • min

        public ZAggregateArgs min()
        Aggregate scores of elements existing across multiple sets by using the lowest score.
        Returns:
        this ZAggregateArgs.
      • max

        public ZAggregateArgs max()
        Aggregate scores of elements existing across multiple sets by using the highest score.
        Returns:
        this ZAggregateArgs.
      • build

        public <K,​V> void build​(CommandArgs<K,​V> args)
        Description copied from interface: CompositeArgument
        Build command arguments and contribute arguments to CommandArgs.

        Implementing classes are required to implement this method. Depending on the command nature and configured arguments, this method may contribute arguments but is not required to add arguments if none are specified.

        Specified by:
        build in interface CompositeArgument
        Type Parameters:
        K - Key type.
        V - Value type.
        Parameters:
        args - the command arguments, must not be null.