Annotation Type MongoProjection


  • @Retention(RUNTIME)
    @Target({ANNOTATION_TYPE,METHOD,TYPE})
    @Documented
    @Inherited
    public @interface MongoProjection
    Defines a custom MongoDB's fields projection.
    Since:
    3.3.0
    Author:
    Denis Stepanov
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String value
      The custom fields projection represented in JSON.
    • Element Detail

      • value

        java.lang.String value
        The custom fields projection represented in JSON.
        Returns:
        The collation
        Default:
        ""