Uses of Class
dev.morphia.mapping.Mapper
-
-
Uses of Mapper in dev.morphia
Methods in dev.morphia that return Mapper Modifier and Type Method Description MapperDatastore. getMapper()MapperDatastoreImpl. getMapper()Methods in dev.morphia with parameters of type Mapper Modifier and Type Method Description ObjectObjectFactory. createInstance(Mapper mapper, PropertyModel mf, Document document)Creates an instance of the class defined in the discriminator field in the document passed in.default voidEntityInterceptor. postLoad(Object ent, Document document, Mapper mapper)Deprecated, for removal: This API element is subject to removal in a future version.useEntityInterceptor.postPersist(Object, Document, Datastore)instead and access the Mapper viaDatastore.getMapper()ifdefault voidEntityListener. postLoad(T entity, Document document, Mapper mapper)Deprecated, for removal: This API element is subject to removal in a future version.useEntityListener.postLoad(Object, Document, Datastore)instead and access the Mapper viaDatastore.getMapper()ifdefault voidEntityInterceptor. postPersist(Object ent, Document document, Mapper mapper)Deprecated, for removal: This API element is subject to removal in a future version.useEntityInterceptor.postPersist(Object, Document, Datastore)instead and access the Mapper viaDatastore.getMapper()ifdefault voidEntityListener. postPersist(T entity, Document document, Mapper mapper)Deprecated, for removal: This API element is subject to removal in a future version.useEntityListener.postPersist(Object, Document, Datastore)instead and access the Mapper viaDatastore.getMapper()ifdefault voidEntityInterceptor. preLoad(Object ent, Document document, Mapper mapper)Deprecated, for removal: This API element is subject to removal in a future version.useEntityInterceptor.preLoad(Object, Document, Datastore)instead and access the Mapper viaDatastore.getMapper()if necessarydefault voidEntityListener. preLoad(T entity, Document document, Mapper mapper)Deprecated, for removal: This API element is subject to removal in a future version.useEntityListener.preLoad(Object, Document, Datastore)instead and access the Mapper viaDatastore.getMapper()if necessarydefault voidEntityInterceptor. prePersist(Object ent, Document document, Mapper mapper)Deprecated, for removal: This API element is subject to removal in a future version.useEntityInterceptor.prePersist(Object, Document, Datastore)instead and access the Mapper viaDatastore.getMapper()if necessarydefault voidEntityListener. prePersist(T entity, Document document, Mapper mapper)Deprecated, for removal: This API element is subject to removal in a future version.useEntityListener.prePersist(Object, Document, Datastore)instead and access the Mapper viaDatastore.getMapper()if necessary -
Uses of Mapper in dev.morphia.aggregation.codecs
Methods in dev.morphia.aggregation.codecs with parameters of type Mapper Modifier and Type Method Description static DocumentExpressionHelper. document(Mapper mapper, Document seed, Consumer<BsonWriter> body) -
Uses of Mapper in dev.morphia.mapping
Methods in dev.morphia.mapping that return Mapper Modifier and Type Method Description MapperMapper. copy()Methods in dev.morphia.mapping with parameters of type Mapper Modifier and Type Method Description MorphiaCodecProviderEntityModelImporter. getCodecProvider(Mapper mapper)Returns the codec provider responsible for creating the codecs for theEntityModels returned by this importer.List<EntityModel>EntityModelImporter. getModels(Mapper mapper)Returns the models to be introduced by this importer. -
Uses of Mapper in dev.morphia.mapping.codec
Methods in dev.morphia.mapping.codec that return Mapper Modifier and Type Method Description protected MapperMorphiaCodecProvider. getMapper() -
Uses of Mapper in dev.morphia.mapping.codec.pojo
Methods in dev.morphia.mapping.codec.pojo that return Mapper Modifier and Type Method Description MapperMorphiaCodec. getMapper()Constructors in dev.morphia.mapping.codec.pojo with parameters of type Mapper Constructor Description EntityModelBuilder(Mapper mapper, Class<?> type)Create a builder -
Uses of Mapper in dev.morphia.mapping.codec.references
Methods in dev.morphia.mapping.codec.references with parameters of type Mapper Modifier and Type Method Description static ObjectReferenceCodec. encodeId(Mapper mapper, Object value, EntityModel model)Encodes a value -
Uses of Mapper in dev.morphia.mapping.codec.writer
Methods in dev.morphia.mapping.codec.writer with parameters of type Mapper Modifier and Type Method Description static DocumentDocumentWriter. encode(Object value, Mapper mapper, CodecRegistry codecRegistry)Encodes a value.static DocumentDocumentWriter. encode(Object value, Mapper mapper, CodecRegistry codecRegistry, EncoderContext encoderContext)Encodes this writer's structuring using the given codec -
Uses of Mapper in dev.morphia.mapping.conventions
Methods in dev.morphia.mapping.conventions with parameters of type Mapper Modifier and Type Method Description voidConfigureProperties. apply(Mapper mapper, EntityModelBuilder modelBuilder)voidFieldDiscovery. apply(Mapper mapper, EntityModelBuilder builder)voidMethodDiscovery. apply(Mapper mapper, EntityModelBuilder builder)voidMorphiaConvention. apply(Mapper mapper, EntityModelBuilder builder)This method applies this Convention to the given buildervoidMorphiaDefaultsConvention. apply(Mapper mapper, EntityModelBuilder modelBuilder) -
Uses of Mapper in dev.morphia.mapping.experimental
Methods in dev.morphia.mapping.experimental that return Mapper Modifier and Type Method Description protected MapperMorphiaReference. getMapper()Deprecated, for removal: This API element is subject to removal in a future version.Methods in dev.morphia.mapping.experimental with parameters of type Mapper Modifier and Type Method Description static MapReferenceMapReference. decode(Datastore datastore, Mapper mapper, PropertyModel property, Document document)Deprecated, for removal: This API element is subject to removal in a future version.Decodes a document in to entitiesstatic MorphiaReference<?>SingleReference. decode(Datastore datastore, Mapper mapper, PropertyModel mappedField, Class<?> paramType, Document document)Deprecated, for removal: This API element is subject to removal in a future version.Decodes a document in to an entityMap<String,Object>MapReference. getId(Mapper mapper, EntityModel field)Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Mapper in dev.morphia.mapping.validation
Methods in dev.morphia.mapping.validation with parameters of type Mapper Modifier and Type Method Description voidClassConstraint. check(Mapper mapper, EntityModel model, Set<ConstraintViolation> ve)Check that an EntityModel meets the constraintvoidMappingValidator. validate(Mapper mapper, EntityModel entityModel) -
Uses of Mapper in dev.morphia.mapping.validation.classrules
Methods in dev.morphia.mapping.validation.classrules with parameters of type Mapper Modifier and Type Method Description voidDuplicatedAttributeNames. check(Mapper mapper, EntityModel entityModel, Set<ConstraintViolation> ve)voidEntityAndEmbed. check(Mapper mapper, EntityModel entityModel, Set<ConstraintViolation> ve)voidEntityOrEmbed. check(Mapper mapper, EntityModel entityModel, Set<ConstraintViolation> ve)voidMultipleId. check(Mapper mapper, EntityModel entityModel, Set<ConstraintViolation> ve)voidMultipleVersions. check(Mapper mapper, EntityModel entityModel, Set<ConstraintViolation> ve)voidShardKeyNames. check(Mapper mapper, EntityModel model, Set<ConstraintViolation> ve) -
Uses of Mapper in dev.morphia.mapping.validation.fieldrules
Methods in dev.morphia.mapping.validation.fieldrules with parameters of type Mapper Modifier and Type Method Description protected voidContradictingAnnotations. check(Mapper mapper, EntityModel entityModel, PropertyModel propertyModel, Set<ConstraintViolation> ve)protected voidIdDoesNotMix. check(Mapper mapper, EntityModel entityModel, PropertyModel propertyModel, Set<ConstraintViolation> ve)protected voidLazyReferenceMissingDependencies. check(Mapper mapper, EntityModel entityModel, PropertyModel propertyModel, Set<ConstraintViolation> ve)protected voidLazyReferenceOnArray. check(Mapper mapper, EntityModel model, PropertyModel propertyModel, Set<ConstraintViolation> ve)protected voidMapKeyTypeConstraint. check(Mapper mapper, EntityModel entityModel, PropertyModel propertyModel, Set<ConstraintViolation> ve)protected abstract voidPropertyConstraint. check(Mapper mapper, EntityModel entityModel, PropertyModel propertyModel, Set<ConstraintViolation> ve)voidPropertyConstraint. check(Mapper mapper, EntityModel entityModel, Set<ConstraintViolation> ve)protected voidReferenceToUnidentifiable. check(Mapper mapper, EntityModel entityModel, PropertyModel propertyModel, Set<ConstraintViolation> ve)protected voidVersionMisuse. check(Mapper mapper, EntityModel entityModel, PropertyModel propertyModel, Set<ConstraintViolation> ve) -
Uses of Mapper in dev.morphia.query
Methods in dev.morphia.query with parameters of type Mapper Modifier and Type Method Description <T> FindIterable<T>FindOptions. apply(FindIterable<T> iterable, Mapper mapper, Class<?> type)DocumentProjection. map(Mapper mapper, Class<?> type)Converts this to Document form -
Uses of Mapper in dev.morphia.query.filters
Methods in dev.morphia.query.filters with parameters of type Mapper Modifier and Type Method Description protected StringFilter. path(Mapper mapper)
-