Class SortOptions

    • Field Detail

      • BY_COMMAND_STRING

        public static final java.lang.String BY_COMMAND_STRING
        BY subcommand string to include in the SORT and SORT_RO commands. Supported in cluster mode since Valkey version 8.0 and above.
        See Also:
        Constant Field Values
      • GET_COMMAND_STRING

        public static final java.lang.String GET_COMMAND_STRING
        GET subcommand string to include in the SORT and SORT_RO commands. Supported in cluster mode since Valkey version 8.0 and above.
        See Also:
        Constant Field Values
    • Method Detail

      • toArgs

        public java.lang.String[] toArgs()
        Creates the arguments to be used in SORT and SORT_RO commands.
        Overrides:
        toArgs in class SortBaseOptions
        Returns:
        a String array that holds the sub commands and their arguments.