public class SimpleMongoUpdateMapper extends SimpleMongoMapper implements MongoUpdateMapper
| Constructor and Description |
|---|
SimpleMongoUpdateMapper(String... fields) |
| Modifier and Type | Method and Description |
|---|---|
org.bson.Document |
toDocument(ITuple tuple)
Converts a Tuple to a Document.
|
SimpleMongoUpdateMapper |
withFields(String... fields) |
toDocumentByKeysclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoDocumentByKeyspublic SimpleMongoUpdateMapper(String... fields)
public org.bson.Document toDocument(ITuple tuple)
MongoMapperConverts a Tuple to a Document.
toDocument in interface MongoMappertoDocument in class SimpleMongoMappertuple - the incoming tuplepublic SimpleMongoUpdateMapper withFields(String... fields)
withFields in class SimpleMongoMapperCopyright © 2021 The Apache Software Foundation. All rights reserved.