public class DefaultSpaceDocumentMapper extends Object implements SpaceDocumentMapper<com.mongodb.DBObject>
| Constructor and Description |
|---|
DefaultSpaceDocumentMapper(SpaceTypeDescriptor spaceTypeDescriptor) |
DefaultSpaceDocumentMapper(SpaceTypeDescriptor spaceTypeDescriptor,
boolean prefferPojo) |
| Modifier and Type | Method and Description |
|---|---|
Object |
fromDBObject(Object value) |
Class<?> |
getClassFor(String type) |
com.mongodb.DBObject |
toDBObject(Object document) |
Object |
toDocument(com.mongodb.DBObject bson) |
Object |
toObject(Object property) |
public DefaultSpaceDocumentMapper(SpaceTypeDescriptor spaceTypeDescriptor)
public DefaultSpaceDocumentMapper(SpaceTypeDescriptor spaceTypeDescriptor, boolean prefferPojo)
public Object toDocument(com.mongodb.DBObject bson)
toDocument in interface SpaceDocumentMapper<com.mongodb.DBObject>public Object fromDBObject(Object value)
fromDBObject in interface SpaceDocumentMapper<com.mongodb.DBObject>public com.mongodb.DBObject toDBObject(Object document)
toDBObject in interface SpaceDocumentMapper<com.mongodb.DBObject>public Object toObject(Object property)
toObject in interface SpaceDocumentMapper<com.mongodb.DBObject>Copyright © GigaSpaces.