Class CollectionOptions.CollectionChangeStreamOptions
java.lang.Object
org.springframework.data.mongodb.core.CollectionOptions.CollectionChangeStreamOptions
- Enclosing class:
- CollectionOptions
Encapsulation of options applied to define collections change stream behaviour.
- Since:
- 4.0
- Author:
- Christoph Strobl
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
int
hashCode()
preAndPostImages
(boolean emitChangedRevisions) Output the version of a document before and after changes (the document pre- and post-images).toString()
-
Method Details
-
preAndPostImages
public static CollectionOptions.CollectionChangeStreamOptions preAndPostImages(boolean emitChangedRevisions) Output the version of a document before and after changes (the document pre- and post-images).- Returns:
- new instance of
CollectionOptions.CollectionChangeStreamOptions
.
-
getPreAndPostImages
public boolean getPreAndPostImages() -
toString
-
equals
-
hashCode
public int hashCode()
-