Annotation Type 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
    • Element Detail

      • bypassDocumentValidation

        boolean bypassDocumentValidation
        The bypassDocumentValidation.
        Returns:
        The bypassDocumentValidation value
        Default:
        false
      • maxTimeMS

        long maxTimeMS
        The maxTimeMS.
        Returns:
        The maxTimeMS value
        Default:
        -1L
      • maxAwaitTimeMS

        long maxAwaitTimeMS
        The maxAwaitTimeMS.
        Returns:
        The maxAwaitTimeMS value
        Default:
        -1L
      • comment

        java.lang.String comment
        The comment.
        Returns:
        The comment value
        Default:
        ""
      • hint

        java.lang.String hint
        The hint.
        Returns:
        The hint value
        Default:
        ""
      • allowDiskUse

        boolean allowDiskUse
        The allowDiskUse.
        Returns:
        The allowDiskUse value
        Default:
        false