Class RemoteCountOptions
- java.lang.Object
-
- com.mongodb.stitch.core.services.mongodb.remote.RemoteCountOptions
-
- Direct Known Subclasses:
SyncCountOptions
public class RemoteCountOptions extends Object
The options for a count operation.
-
-
Constructor Summary
Constructors Constructor Description RemoteCountOptions()
-
-
-
Method Detail
-
getLimit
public int getLimit()
Gets the limit to apply. The default is 0, which means there is no limit.- Returns:
- the limit
-
limit
public RemoteCountOptions limit(int limit)
Sets the limit to apply.- Parameters:
limit
- the limit- Returns:
- this
-
-