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