Class RangeOptions.LexBoundary

    • Constructor Summary

      Constructors 
      Constructor Description
      LexBoundary​(@NonNull java.lang.String value)
      Creates a specific lexicographic boundary in a sorted set.
      LexBoundary​(@NonNull java.lang.String value, boolean isInclusive)
      Creates a specific lexicographic boundary in a sorted set.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toArgs()
      Convert the lex 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

      • LexBoundary

        public LexBoundary​(@NonNull
                           @NonNull java.lang.String value,
                           boolean isInclusive)
        Creates a specific lexicographic boundary in a sorted set.
        Parameters:
        value - The lex value.
        isInclusive - Whether the lex value is inclusive. Defaults to true if not set.
      • LexBoundary

        public LexBoundary​(@NonNull
                           @NonNull java.lang.String value)
        Creates a specific lexicographic boundary in a sorted set.
        Parameters:
        value - The lex value.
    • Method Detail

      • toArgs

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