Class CountOptions
On this page
Atlas Device SDKs are deprecated. Refer to the deprecation page for details.
io.realm.mongodb.mongo.options
io.realm.mongodb.mongo.options.CountOptions
The options for a count operation.
Constructors
Constructor and Description |
---|
CountOptions () |
Method Summary
Modifier and Type | Method and Description |
---|---|
public int | getLimit () Gets the limit to apply. |
public CountOptions | Sets the limit to apply. |
public String | toString () |
Inherited Methods
Methods inherited from class java.lang.Object :
getClass
,hashCode
,equals
,clone
,toString
,notify
,notifyAll
,wait
,wait
,wait
,finalize
Constructor Detail
public CountOptions () |
---|
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
Sets the limit to apply. Parameters
Returns this |