Annotation Type MongoFindQuery
-
@Retention(RUNTIME) @Target(METHOD) @Documented @Inherited public @interface MongoFindQueryDefines 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 java.lang.StringcollationThe custom collation represented in JSON.java.lang.StringfilterThe custom MongoDB filter query.java.lang.StringprojectThe custom fields projections represented in JSON.java.lang.StringsortThe custom sorting represented in JSON.java.lang.StringvalueThe custom MongoDB filter query.
-
-
-
Element Detail
-
value
@AliasFor(member="value", annotation=MongoFilter.class) java.lang.String valueThe custom MongoDB filter query.- Returns:
- The query
- Default:
- ""
-
-
-
filter
@AliasFor(member="value", annotation=MongoFilter.class) java.lang.String filterThe custom MongoDB filter query.- Returns:
- The query
- Default:
- ""
-
-
-
sort
@AliasFor(member="value", annotation=MongoSort.class) java.lang.String sortThe custom sorting represented in JSON.- Returns:
- The sort
- Default:
- ""
-
-
-
project
@AliasFor(member="value", annotation=MongoProjection.class) java.lang.String projectThe custom fields projections represented in JSON.- Returns:
- The fields
- Default:
- ""
-
-
-
collation
@AliasFor(member="value", annotation=MongoCollation.class) java.lang.String collationThe custom collation represented in JSON.- Returns:
- The collation
- Default:
- ""
-
-