Interface JsonOperations.JsonSetSpec

Enclosing interface:
JsonOperations<K>

public static interface JsonOperations.JsonSetSpec
Mutable configuration of the condition for a JSON.SET operation.
Since:
4.2
Author:
Mark Paluch, Yordan Tsintsov, Moritz Halbritter
See Also:
  • Method Details

    • always

      Configure the operation to set the value unconditionally.
      Returns:
      this builder.
    • ifAbsent

      Configure the operation to set the value only if the target path does not exist (NX).
      Returns:
      this builder.
    • ifPresent

      Configure the operation to set the value only if the target path exists (XX).
      Returns:
      this builder.