object FullDocumentBeforeChange
Change Stream fullDocumentBeforeChange configuration.
Determines what to return for update operations when using a Change Stream. Defaults to FullDocumentBeforeChange#DEFAULT.
- Since
4.7
- Note
Requires MongoDB 6.0 or greater
- Alphabetic
- By Inheritance
- FullDocumentBeforeChange
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
DEFAULT: com.mongodb.client.model.changestream.FullDocumentBeforeChange
The default value
-
val
OFF: com.mongodb.client.model.changestream.FullDocumentBeforeChange
Configures the change stream to not include the pre-image of the modified document.
-
val
REQUIRED: com.mongodb.client.model.changestream.FullDocumentBeforeChange
The same behavior as WHEN_AVAILABLE except that an error is raised if the pre-image is not available.
-
val
WHEN_AVAILABLE: com.mongodb.client.model.changestream.FullDocumentBeforeChange
Configures the change stream to return the pre-image of the modified document for replace, update, and delete change events if it is available.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
fromString(fullDocumentBeforeChange: String): Try[com.mongodb.client.model.changestream.FullDocumentBeforeChange]
Returns the FullDocumentBeforeChange from the string value.
Returns the FullDocumentBeforeChange from the string value.
- fullDocumentBeforeChange
the string value.
- returns
the FullDocumentBeforeChange value
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated