public class SimpleMongoUpdateMapper extends Object implements MongoMapper
Constructor and Description |
---|
SimpleMongoUpdateMapper() |
Modifier and Type | Method and Description |
---|---|
org.bson.Document |
toDocument(ITuple tuple)
Converts a Tuple to a Document
|
SimpleMongoUpdateMapper |
withFields(String... fields) |
public org.bson.Document toDocument(ITuple tuple)
MongoMapper
Converts a Tuple to a Document
toDocument
in interface MongoMapper
tuple
- the incoming tuplepublic SimpleMongoUpdateMapper withFields(String... fields)
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.