Annotation Interface 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
    The custom collation represented in JSON.
    The custom MongoDB pipeline represented in JSON.
    The custom MongoDB pipeline represented in JSON.
  • Element Details

    • value

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

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

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