@Retention(value=RUNTIME) @Target(value={METHOD,ANNOTATION_TYPE}) @Documented public @interface Meta
Modifier and Type | Optional Element and Description |
---|---|
String |
comment
Add a comment to the query.
|
int |
cursorBatchSize
Sets the number of documents to return per batch.
|
Meta.CursorOption[] |
flags
Set
Meta.CursorOption to be used when executing query. |
long |
maxExecutionTimeMs
Set the maximum time limit in milliseconds for processing operations.
|
long |
maxScanDocuments
Deprecated.
since 2.2.
$maxScan has been removed without replacement in MongoDB 4.2. |
boolean |
snapshot
Using snapshot prevents the cursor from returning a document more than once.
|
public abstract long maxExecutionTimeMs
@Deprecated public abstract long maxScanDocuments
$maxScan
has been removed without replacement in MongoDB 4.2.public abstract int cursorBatchSize
public abstract boolean snapshot
public abstract Meta.CursorOption[] flags
Meta.CursorOption
to be used when executing query.Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.