Class IfNotExistsFunction<T>


  • @Beta
    public final class IfNotExistsFunction<T>
    extends FunctionOperand
    Represents an if_not_exists(path, operand) function in building expressions. If the item does not contain an attribute at the specified path, then if_not_exists evaluates to operand; otherwise, it evaluates to path. You can use this function to avoid overwriting an attribute already present in the item.

    This object is as immutable (or unmodifiable) as the underlying operand given during construction.