Class JsonSetCondition

java.lang.Object
org.springframework.data.redis.connection.json.JsonSetCondition

public class JsonSetCondition extends Object
Condition for JSON.SET command.
Since:
4.2
Author:
Yordan Tsintsov, Mark Paluch
  • Method Details

    • upsert

      public static JsonSetCondition upsert()
      Do not set any additional command argument.
    • ifPathNotExists

      public static JsonSetCondition ifPathNotExists()
      Perform the JSON.SET operation only if the path does not exist.
    • ifPathExists

      public static JsonSetCondition ifPathExists()
      Perform the JSON.SET operation only if the path exists.
    • getPathCondition

      public JsonSetCondition.PathCondition getPathCondition()
      Get the path condition.
      Returns:
      the path condition.