public class MongoExampleMapper extends Object
| Constructor and Description |
|---|
MongoExampleMapper(MongoConverter converter) |
| Modifier and Type | Method and Description |
|---|---|
org.bson.Document |
getMappedExample(Example<?> example)
|
org.bson.Document |
getMappedExample(Example<?> example,
MongoPersistentEntity<?> entity)
|
public MongoExampleMapper(MongoConverter converter)
public org.bson.Document getMappedExample(Example<?> example)
example - must not be null.public org.bson.Document getMappedExample(Example<?> example, MongoPersistentEntity<?> entity)
example - must not be null.entity - must not be null.Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.