Annotation Type MongoUpdateQuery


  • @Retention(RUNTIME)
    @Target(METHOD)
    @Documented
    @Inherited
    public @interface MongoUpdateQuery
    Defines a custom MongoDB update query.
    Since:
    3.3.0
    Author:
    Denis Stepanov
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String update
      The custom MongoDB filter.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String collation
      The custom collation represented in JSON.
      java.lang.String filter
      The custom MongoDB filter.
    • Element Detail

      • update

        java.lang.String update
        The custom MongoDB filter.
        Returns:
        The update value
      • filter

        @AliasFor(member="value",
                  annotation=MongoFilter.class)
        java.lang.String filter
        The custom MongoDB filter.
        Returns:
        The filter value
        Default:
        ""
      • collation

        @AliasFor(member="value",
                  annotation=MongoCollation.class)
        java.lang.String collation
        The custom collation represented in JSON.
        Returns:
        The collation
        Default:
        ""