Package org.apache.beam.sdk.io.mongodb
Class UpdateConfiguration
java.lang.Object
org.apache.beam.sdk.io.mongodb.UpdateConfiguration
- All Implemented Interfaces:
Serializable
Builds a MongoDB UpdateConfiguration object.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UpdateConfiguration
create()
withFindKey
(String findKey) Sets the filters to find.withIsUpsert
(boolean isUpsert) withUpdateFields
(UpdateField... updateFields) Sets the configurations for multiple updates.withUpdateKey
(String updateKey)
-
Constructor Details
-
UpdateConfiguration
public UpdateConfiguration()
-
-
Method Details
-
create
-
withUpdateFields
Sets the configurations for multiple updates. Takes update operator, source field name and dest field name for each one -
withFindKey
Sets the filters to find. -
withUpdateKey
-
withIsUpsert
-