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) |
toDocumentByKeys
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toDocumentByKeys
public SimpleMongoUpdateMapper(String... fields)
public org.bson.Document toDocument(ITuple tuple)
MongoMapper
toDocument
in interface MongoMapper
toDocument
in class SimpleMongoMapper
tuple
- the incoming tuplepublic SimpleMongoUpdateMapper withFields(String... fields)
withFields
in class SimpleMongoMapper
Copyright © 2023 The Apache Software Foundation. All rights reserved.