Class JsonArrindexOptions

    • Constructor Summary

      Constructors 
      Constructor Description
      JsonArrindexOptions​(java.lang.Long start)
      Search using a start index (is inclusive).
      JsonArrindexOptions​(java.lang.Long start, java.lang.Long end)
      Search using a start index (is inclusive) and end index (is exclusive).
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String[] toArgs()
      Converts JsonArrindexOptions into a String[].
      • Methods inherited from class java.lang.Object

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

      • JsonArrindexOptions

        public JsonArrindexOptions​(java.lang.Long start)
        Search using a start index (is inclusive). Defaults to 0 if not provided. Indices that exceed the array bounds are automatically adjusted to the nearest valid position.
      • JsonArrindexOptions

        public JsonArrindexOptions​(java.lang.Long start,
                                   java.lang.Long end)
        Search using a start index (is inclusive) and end index (is exclusive). If start is greater than end, the command returns -1 to indicate that the value was not found. Indices that exceed the array bounds are automatically adjusted to the nearest valid position.
    • Method Detail

      • toArgs

        public java.lang.String[] toArgs()
        Converts JsonArrindexOptions into a String[].
        Returns:
        String[]