Annotation Interface Meta
- Since:
- 1.6
- Author:
- Christoph Strobl, Mark Paluch
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionboolean
When set to true, aggregation stages can write data to disk.Add a comment to the query.int
Sets the number of documents to return per batch.SetMeta.CursorOption
to be used when executing query.long
Set the maximum time limit in milliseconds for processing operations.
-
Element Details
-
maxExecutionTimeMs
long maxExecutionTimeMsSet the maximum time limit in milliseconds for processing operations.- Returns:
- -1 by default.
- Since:
- 1.10
- Default:
-1L
-
cursorBatchSize
int cursorBatchSizeSets 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
-
flags
Meta.CursorOption[] flagsSetMeta.CursorOption
to be used when executing query.- Returns:
- never null.
- Since:
- 1.10
- Default:
{}
-
allowDiskUse
boolean allowDiskUseWhen set to true, aggregation stages can write data to disk.- Returns:
- false by default.
- Since:
- 3.0
- See Also:
- Default:
false
-