Annotation Type MongoAggregateQuery


  • @Retention(RUNTIME)
    @Target(METHOD)
    @Documented
    @Inherited
    public @interface MongoAggregateQuery
    Defines a custom MongoDB query for aggregating results.
    Since:
    3.3.0
    Author:
    Denis Stepanov
    • Optional Element Summary

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

      • value

        java.lang.String value
        The custom MongoDB pipeline represented in JSON.
        Returns:
        The query
        Default:
        ""
      • pipeline

        @AliasFor(member="value")
        java.lang.String pipeline
        The custom MongoDB pipeline represented in JSON.
        Returns:
        The query
        Default:
        ""
      • collation

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