Annotation Interface MongoAggregateOptions
@Retention(RUNTIME)
@Target({ANNOTATION_TYPE,METHOD,TYPE})
@Documented
@Inherited
public @interface MongoAggregateOptions
Defines a custom MongoDB aggregate query options.
- Since:
- 3.3.0
- Author:
- Denis Stepanov
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionboolean
The allowDiskUse.boolean
The bypassDocumentValidation.The comment.The hint.long
The maxAwaitTimeMS.long
The maxTimeMS.
-
Element Details
-
bypassDocumentValidation
boolean bypassDocumentValidationThe bypassDocumentValidation.- Returns:
- The bypassDocumentValidation value
- Default:
- false
-
maxTimeMS
long maxTimeMSThe maxTimeMS.- Returns:
- The maxTimeMS value
- Default:
- -1L
-
maxAwaitTimeMS
long maxAwaitTimeMSThe maxAwaitTimeMS.- Returns:
- The maxAwaitTimeMS value
- Default:
- -1L
-
comment
String commentThe comment.- Returns:
- The comment value
- Default:
- ""
-
hint
String hintThe hint.- Returns:
- The hint value
- Default:
- ""
-
allowDiskUse
boolean allowDiskUseThe allowDiskUse.- Returns:
- The allowDiskUse value
- Default:
- false
-