Class RangeOptions.ScoreBoundary

    • Constructor Summary

      Constructors 
      Constructor Description
      ScoreBoundary​(double bound)
      Creates a specific numeric score boundary in a sorted set.
      ScoreBoundary​(double bound, boolean isInclusive)
      Creates a specific numeric score boundary in a sorted set.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toArgs()
      Convert the score boundary to the Valkey protocol format.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ScoreBoundary

        public ScoreBoundary​(double bound,
                             boolean isInclusive)
        Creates a specific numeric score boundary in a sorted set.
        Parameters:
        bound - The score value.
        isInclusive - Whether the score value is inclusive. Defaults to true if not set.
      • ScoreBoundary

        public ScoreBoundary​(double bound)
        Creates a specific numeric score boundary in a sorted set.
        Parameters:
        bound - The score value.
    • Method Detail

      • toArgs

        public java.lang.String toArgs()
        Convert the score boundary to the Valkey protocol format.
        Specified by:
        toArgs in interface RangeOptions.ScoreRange