Annotation Interface MongoFindOptions


Defines a custom MongoDB find query options.
Since:
3.3.0
Author:
Denis Stepanov
  • Element Details

    • batchSize

      int batchSize
      The batchSize.
      Returns:
      The batchSize value
      Default:
      -1
    • skip

      int skip
      The skip.
      Returns:
      The skip value
      Default:
      -1
    • limit

      int limit
      The limit.
      Returns:
      The limit value
      Default:
      -1
    • maxTimeMS

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

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

      com.mongodb.CursorType cursorType
      The cursorType.
      Returns:
      The cursorType value
      Default:
      NonTailable
    • noCursorTimeout

      boolean noCursorTimeout
      The cursorType.
      Returns:
      The cursorType value
      Default:
      false
    • partial

      boolean partial
      The partial.
      Returns:
      The partial value
      Default:
      false
    • comment

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

      String hint
      The hint.
      Returns:
      The hint value
      Default:
      ""
    • max

      String max
      The max.
      Returns:
      The max value
      Default:
      ""
    • min

      String min
      The min.
      Returns:
      The min value
      Default:
      ""
    • returnKey

      boolean returnKey
      The returnKey.
      Returns:
      The returnKey value
      Default:
      false
    • showRecordId

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

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