| Package | Description |
|---|---|
| org.mongodb.morphia | |
| org.mongodb.morphia.converters | |
| org.mongodb.morphia.ext.guice | |
| org.mongodb.morphia.geo | |
| org.mongodb.morphia.mapping | |
| org.mongodb.morphia.query |
| Modifier and Type | Method and Description |
|---|---|
Mapper |
DatastoreImpl.getMapper() |
Mapper |
Morphia.getMapper() |
| Modifier and Type | Method and Description |
|---|---|
Datastore |
Morphia.createDatastore(com.mongodb.MongoClient mongoClient,
Mapper mapper,
String dbName)
Creates a new Datastore for interacting with MongoDB using POJOs
|
Object |
ObjectFactory.createInstance(Mapper mapper,
MappedField mf,
com.mongodb.DBObject dbObj)
Creates an instance of the class defined in the
CLASS_NAME_FIELDNAME field in the dbObject passed in. |
void |
EntityInterceptor.postLoad(Object ent,
com.mongodb.DBObject dbObj,
Mapper mapper) |
void |
AbstractEntityInterceptor.postLoad(Object ent,
com.mongodb.DBObject dbObj,
Mapper mapper) |
void |
EntityInterceptor.postPersist(Object ent,
com.mongodb.DBObject dbObj,
Mapper mapper) |
void |
AbstractEntityInterceptor.postPersist(Object ent,
com.mongodb.DBObject dbObj,
Mapper mapper) |
void |
EntityInterceptor.preLoad(Object ent,
com.mongodb.DBObject dbObj,
Mapper mapper) |
void |
AbstractEntityInterceptor.preLoad(Object ent,
com.mongodb.DBObject dbObj,
Mapper mapper) |
void |
ValidationExtension.prePersist(Object ent,
com.mongodb.DBObject dbObj,
Mapper mapper) |
void |
EntityInterceptor.prePersist(Object ent,
com.mongodb.DBObject dbObj,
Mapper mapper) |
void |
AbstractEntityInterceptor.prePersist(Object ent,
com.mongodb.DBObject dbObj,
Mapper mapper) |
void |
EntityInterceptor.preSave(Object ent,
com.mongodb.DBObject dbObj,
Mapper mapper) |
void |
AbstractEntityInterceptor.preSave(Object ent,
com.mongodb.DBObject dbObj,
Mapper mapper) |
void |
MapreduceResults.setInlineRequiredOptions(Class<T> clazz,
Mapper mapper,
EntityCache cache) |
| Constructor and Description |
|---|
DatastoreImpl(Morphia morphia,
Mapper mapper,
com.mongodb.MongoClient mongoClient,
String dbName)
Create a new DatastoreImpl
|
Morphia(Mapper mapper) |
Morphia(Mapper mapper,
Set<Class> classesToMap) |
| Modifier and Type | Method and Description |
|---|---|
Mapper |
TypeConverter.getMapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
TypeConverter.setMapper(Mapper mapper) |
| Constructor and Description |
|---|
Converters(Mapper mapper) |
CustomConverters(Mapper mapper) |
DefaultConverters(Mapper mapper) |
| Modifier and Type | Method and Description |
|---|---|
Object |
GuiceObjectFactory.createInstance(Mapper mapper,
MappedField mf,
com.mongodb.DBObject dbObj) |
| Constructor and Description |
|---|
GeometryQueryConverter(Mapper mapper)
Create a new converter.
|
| Modifier and Type | Method and Description |
|---|---|
Mapper |
MappedClass.getMapper() |
Mapper |
MappedField.getMapper() |
| Modifier and Type | Method and Description |
|---|---|
Object |
DefaultCreator.createInstance(Mapper mapper,
MappedField mf,
com.mongodb.DBObject dbObj) |
void |
CustomMapper.fromDBObject(com.mongodb.DBObject dbObject,
MappedField mf,
Object entity,
EntityCache cache,
Mapper mapper) |
void |
CustomMapper.toDBObject(Object entity,
MappedField mf,
com.mongodb.DBObject dbObject,
Map<Object,com.mongodb.DBObject> involvedObjects,
Mapper mapper) |
| Constructor and Description |
|---|
EphemeralMappedField(ParameterizedType t,
MappedField mf,
Mapper mapper) |
EphemeralMappedField(Type t,
MappedField mf,
Mapper mapper) |
MappedClass(Class<?> clazz,
Mapper mapper)
constructor
|
MappedField(Type type,
Mapper mapper) |
| Modifier and Type | Method and Description |
|---|---|
Mapper |
MorphiaIterator.getMapper() |
| Modifier and Type | Method and Description |
|---|---|
static com.mongodb.BasicDBObject |
QueryImpl.parseFieldsString(String str,
Class clazz,
Mapper mapper,
boolean validate)
parses the string and validates each part
|
| Constructor and Description |
|---|
MorphiaIterator(Iterator<com.mongodb.DBObject> it,
Mapper mapper,
Class<T> clazz,
String collection,
EntityCache cache) |
MorphiaKeyIterator(com.mongodb.DBCursor cursor,
Mapper m,
Class<T> clazz,
String kind) |
UpdateOpsImpl(Class<T> type,
Mapper mapper) |
Copyright © 2021. All rights reserved.