public class RemoveOptions
extends java.lang.Object
Settings to control remove operation in NitriteCollection
.
NitriteCollection.remove(Filter, RemoveOptions)
Constructor and Description |
---|
RemoveOptions() |
Modifier and Type | Method and Description |
---|---|
boolean |
isJustOne()
Indicates if only one document will be removed or all of them.
|
void |
setJustOne(boolean justOne)
Indicates if only one document will be removed or all of them.
|
java.lang.String |
toString() |
@Generated(value="lombok") public java.lang.String toString()
toString
in class java.lang.Object
@Generated(value="lombok") public boolean isJustOne()
Indicates if only one document will be removed or all of them.
true
if only one document to remove; otherwise, false
.@Generated(value="lombok") public void setJustOne(boolean justOne)
Indicates if only one document will be removed or all of them.
justOne
- a value indicating if only one document to remove or all.