Annotation Interface MongoFindQuery


@Retention(RUNTIME) @Target(METHOD) @Documented @Inherited public @interface MongoFindQuery
Defines a custom MongoDB query for finding 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 filter query.
    The custom fields projections represented in JSON.
    The custom sorting represented in JSON.
    The custom MongoDB filter query.
  • Element Details

    • value

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

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

      @AliasFor(member="value", annotation=MongoSort.class) String sort
      The custom sorting represented in JSON.
      Returns:
      The sort
      Default:
      ""
    • project

      @AliasFor(member="value", annotation=MongoProjection.class) String project
      The custom fields projections represented in JSON.
      Returns:
      The fields
      Default:
      ""
    • collation

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