public interface MongoMapper extends Serializable
Given a Tuple/trident keys, converts it to an MongoDB document.
Modifier and Type | Method and Description |
---|---|
org.bson.Document |
toDocument(ITuple tuple)
Converts a Tuple to a Document.
|
org.bson.Document |
toDocumentByKeys(List<Object> keys)
Converts a keys to a Document.
|
org.bson.Document toDocument(ITuple tuple)
Converts a Tuple to a Document.
tuple
- the incoming tupleCopyright © 2019 The Apache Software Foundation. All rights reserved.