Deprecated API
Contents
-
Interfaces Interface Description dev.morphia.dao.DAO This interface poorly tracks Datastore's API. Use Datastore directly or wrap in an application specific DAOdev.morphia.logging.Logr Use Logger directlydev.morphia.logging.LogrFactory Use LoggerFactory directlydev.morphia.mapping.CustomMapper dev.morphia.mapping.lazy.DatastoreProvider DatastoreProviders are no longer necessarydev.morphia.query.QueryResults useQuery
instead
-
Classes Class Description dev.morphia.aggregation.Sort UseSort
instead.dev.morphia.converters.Converters this mechanism is being replaced in 2.0dev.morphia.DAO use dev.morphia.dao.BasicDAOdev.morphia.dao.BasicDAO This interface poorly tracks Datastore's API. Use Datastore directly or wrap in an application specific DAOdev.morphia.DatastoreImpl This is an internal implementation of a published API. No public alternative planned.dev.morphia.mapping.MappedClass dev.morphia.mapping.MappedField dev.morphia.mapping.Mapper this class will be internalized in 2.0dev.morphia.MapReduceOptions This feature will not be supported in 2.0dev.morphia.MapreduceResults This feature will not be supported in 2.0dev.morphia.query.MorphiaIterator this is being replaced byMongoCursor
dev.morphia.query.MorphiaKeyIterator this is being replaced byMongoCursor
dev.morphia.query.WhereCriteria no replacement is planned
-
Enums Enum Description dev.morphia.MapreduceType useMapReduceCommand.OutputType
instead
-
Exceptions Exceptions Description dev.morphia.AuthenticationException unused
-
Annotation Types Annotation Type Description dev.morphia.annotations.ConstructorArgs incomplete. will be reworked in the 2.x timeframedev.morphia.annotations.Polymorphic Currently unuseddev.morphia.annotations.PreSave usePostPersist
insteaddev.morphia.annotations.Serialized if this feature is needed, do the serialization manually in a lifecycle event
-
Fields Field Description dev.morphia.dao.BasicDAO.ds dev.morphia.dao.BasicDAO.entityClazz dev.morphia.mapping.Mapper.CLASS_NAME_FIELDNAME dev.morphia.mapping.Mapper.ID_KEY use "_id" directly
-
Constructors Constructor Description dev.morphia.DatastoreImpl(Morphia, MongoClient, String) This is not meant to be directly instantiated by end user code. UseMorphia.createDatastore(MongoClient, Mapper, String)
dev.morphia.mapping.MapperOptions() use the Builder instead
-
Enum Constants Enum Constant Description dev.morphia.mapping.DateStorage.SYSTEM_DEFAULT This will be removed in 2.0. It is intended to bridge the gap when correcting the storage of data/time values in the database.DateStorage.UTC
should be used and will be the default in 2.0. In 1.5 it isDateStorage.SYSTEM_DEFAULT
for backwards compatibility.dev.morphia.query.FilterOperator.WITHIN New in server version 2.4: $geoWithin replaces $within which is deprecated.