Annotation Interface Meta


Since:
1.6
Author:
Christoph Strobl, Mark Paluch
  • Element Details

    • maxExecutionTimeMs

      long maxExecutionTimeMs
      Set the maximum time limit in milliseconds for processing operations.
      Returns:
      -1 by default.
      Since:
      1.10
      Default:
      -1L
    • cursorBatchSize

      int cursorBatchSize
      Sets the number of documents to return per batch.
      Use 0 (zero) for no limit. A negative limit closes the cursor after returning a single batch indicating to the server that the client will not ask for a subsequent one.
      Returns:
      0 (zero) by default.
      Since:
      2.1
      Default:
      0
    • comment

      String comment
      Add a comment to the query.
      Returns:
      empty String by default.
      Default:
      ""
    • flags

      Set Meta.CursorOption to be used when executing query.
      Returns:
      never null.
      Since:
      1.10
      Default:
      {}
    • allowDiskUse

      boolean allowDiskUse
      When set to true, aggregation stages can write data to disk.
      Returns:
      false by default.
      Since:
      3.0
      See Also:
      Default:
      false