Class UpdateOp.Condition

  • Enclosing class:
    UpdateOp

    public static final class UpdateOp.Condition
    extends Object
    A condition to check before an update is applied.
    • Method Detail

      • newEqualsCondition

        public static UpdateOp.Condition newEqualsCondition​(@Nullable
                                                            @Nullable Object value)
        Creates a new equals condition with the given value.
        Parameters:
        value - the value to compare to.
        Returns:
        the equals condition.
      • newNotEqualsCondition

        public static UpdateOp.Condition newNotEqualsCondition​(@Nullable
                                                               @Nullable Object value)
        Creates a new notEquals condition with the given value.
        Parameters:
        value - the value to compare to.
        Returns:
        the notEquals condition.