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