Uses of Interface
dev.morphia.config.MorphiaConfig
Packages that use MorphiaConfig
Package
Description
Base Morphia package
Configuration related types
Defines the mapping infrastructure used by Morphia.
-
Uses of MorphiaConfig in dev.morphia
Methods in dev.morphia with parameters of type MorphiaConfigModifier and TypeMethodDescriptionstatic Datastore
Morphia.createDatastore
(MongoClient mongoClient, MorphiaConfig config) Creates a Datastore configured via config file -
Uses of MorphiaConfig in dev.morphia.config
Methods in dev.morphia.config that return MorphiaConfigModifier and TypeMethodDescriptiondefault MorphiaConfig
Updates this configuration with a new value and returns a new instance.default MorphiaConfig
MorphiaConfig.applyDocumentValidations
(Boolean value) Updates this configuration with a new value and returns a new instance.default MorphiaConfig
MorphiaConfig.applyIndexes
(Boolean value) Updates this configuration with a new value and returns a new instance.default MorphiaConfig
MorphiaConfig.codecProvider
(CodecProvider value) Updates this configuration with a new value and returns a new instance.default MorphiaConfig
MorphiaConfig.collectionNaming
(NamingStrategy value) Updates this configuration with a new value and returns a new instance.default MorphiaConfig
Updates this configuration with a new value and returns a new instance.default MorphiaConfig
MorphiaConfig.dateStorage
(DateStorage value) Updates this configuration with a new value and returns a new instance.default MorphiaConfig
MorphiaConfig.discriminator
(DiscriminatorFunction value) Updates this configuration with a new value and returns a new instance.default MorphiaConfig
MorphiaConfig.discriminatorKey
(String value) Updates this configuration with a new value and returns a new instance.default MorphiaConfig
MorphiaConfig.enablePolymorphicQueries
(Boolean value) Updates this configuration with a new value and returns a new instance.default MorphiaConfig
MorphiaConfig.ignoreFinals
(Boolean value) Updates this configuration with a new value and returns a new instance.default MorphiaConfig
MorphiaConfig.legacy()
Creates a new configuration based on the current one but updated to reflect the legacy configuration.static MorphiaConfig
MorphiaConfig.load()
Tries to load a configuration from the default location.static MorphiaConfig
Parses and loads the configuration found at the given locationdefault MorphiaConfig
Updates this configuration with a new value and returns a new instance.default MorphiaConfig
MorphiaConfig.propertyAnnotationProviders
(List<PropertyAnnotationProvider<?>> list) Updates this configuration to include the new annotation providers for property discovery.default MorphiaConfig
MorphiaConfig.propertyDiscovery
(PropertyDiscovery value) Updates this configuration with a new value and returns a new instance.default MorphiaConfig
MorphiaConfig.propertyNaming
(NamingStrategy value) Updates this configuration with a new value and returns a new instance.default MorphiaConfig
MorphiaConfig.queryFactory
(QueryFactory value) Updates this configuration with a new value and returns a new instance.default MorphiaConfig
MorphiaConfig.storeEmpties
(Boolean value) Updates this configuration with a new value and returns a new instance.default MorphiaConfig
MorphiaConfig.storeNulls
(Boolean value) Updates this configuration with a new value and returns a new instance.Methods in dev.morphia.config with parameters of type MorphiaConfigModifier and TypeMethodDescriptionstatic dev.morphia.config.ManualMorphiaConfig
ManualMorphiaConfig.configure
(MorphiaConfig base) -
Uses of MorphiaConfig in dev.morphia.mapping
Methods in dev.morphia.mapping that return MorphiaConfig