org.springframework.data.mongodb.core.query

Interface Update.Modifier

  • Enclosing class:
    Update


    public static interface Update.Modifier
    Marker interface of nested commands.
    Author:
    Christoph Strobl
    • Method Detail

      • getKey

        String getKey()
        Returns:
        the command to send eg. $push
      • getValue

        Object getValue()
        Returns:
        value to be sent with command
      • toJsonString

        default String toJsonString()
        Returns:
        a safely serialized JSON representation.
        Since:
        2.0