- AbstractCriteria - Class in org.mongodb.morphia.query
-
Defines the base Criteria implementation.
- AbstractCriteria() - Constructor for class org.mongodb.morphia.query.AbstractCriteria
-
- AbstractEntityInterceptor - Class in org.mongodb.morphia
-
- AbstractEntityInterceptor() - Constructor for class org.mongodb.morphia.AbstractEntityInterceptor
-
- AbstractQueryFactory - Class in org.mongodb.morphia.query
-
- AbstractQueryFactory() - Constructor for class org.mongodb.morphia.query.AbstractQueryFactory
-
- AbstractReference - Class in org.mongodb.morphia.mapping.lazy.proxy
-
- AbstractReference(Datastore, Class, boolean) - Constructor for class org.mongodb.morphia.mapping.lazy.proxy.AbstractReference
-
- Accumulator - Class in org.mongodb.morphia.aggregation
-
Defines an accumulator for use in an aggregation pipeline.
- Accumulator(String, String) - Constructor for class org.mongodb.morphia.aggregation.Accumulator
-
Defines an accumulator for use in an aggregation pipeline.
- Accumulator(String, Object) - Constructor for class org.mongodb.morphia.aggregation.Accumulator
-
Defines an accumulator for use in an aggregation pipeline.
- add(Object...) - Static method in class org.mongodb.morphia.aggregation.Projection
-
Creates an addition projection
- add(Criteria...) - Method in interface org.mongodb.morphia.query.CriteriaContainer
-
Adds Criteria to this container
- add(Criteria...) - Method in class org.mongodb.morphia.query.CriteriaContainerImpl
-
- add(String, Object) - Method in interface org.mongodb.morphia.query.UpdateOperations
-
adds the value to an array field
- add(String, Object, boolean) - Method in interface org.mongodb.morphia.query.UpdateOperations
-
adds the value to an array field
- add(String, Object) - Method in class org.mongodb.morphia.query.UpdateOpsImpl
-
- add(String, Object, boolean) - Method in class org.mongodb.morphia.query.UpdateOpsImpl
-
- add(UpdateOperator, String, Object, boolean) - Method in class org.mongodb.morphia.query.UpdateOpsImpl
-
- addAll(String, List<?>, boolean) - Method in interface org.mongodb.morphia.query.UpdateOperations
-
adds the values to an array field
- addAll(String, List<?>, boolean) - Method in class org.mongodb.morphia.query.UpdateOpsImpl
-
- addAnnotation(Class<? extends Annotation>) - Method in class org.mongodb.morphia.mapping.EphemeralMappedField
-
- addAnnotation(Class<? extends Annotation>, Annotation) - Method in class org.mongodb.morphia.mapping.EphemeralMappedField
-
- addAnnotation(Class<? extends Annotation>, Annotation) - Method in class org.mongodb.morphia.mapping.MappedClass
-
Adds the given Annotation to the internal list for the given Class.
- addAnnotation(Class<? extends Annotation>) - Method in class org.mongodb.morphia.mapping.MappedField
-
Adds the annotation, if it exists on the field.
- addAnnotation(Class<? extends Annotation>, Annotation) - Method in class org.mongodb.morphia.mapping.MappedField
-
Adds the annotation, if it exists on the field.
- addConverter(Class<? extends TypeConverter>) - Method in class org.mongodb.morphia.converters.Converters
-
Adds a TypeConverter to this bundle.
- addConverter(TypeConverter) - Method in class org.mongodb.morphia.converters.Converters
-
Add a type converter.
- addInterceptor(EntityInterceptor) - Method in class org.mongodb.morphia.mapping.Mapper
-
- addInterestingAnnotation(Class<? extends Annotation>) - Static method in class org.mongodb.morphia.mapping.MappedClass
-
Adds an annotation for Morphia to retain when mapping.
- addInterestingAnnotation(Class<? extends Annotation>) - Static method in class org.mongodb.morphia.mapping.MappedField
-
Adds an annotation for Morphia to retain when mapping.
- addMappedClass(Class) - Method in class org.mongodb.morphia.mapping.Mapper
-
Creates a MappedClass and validates it.
- addTo(DBObject) - Method in interface org.mongodb.morphia.query.Criteria
-
Adds this Criteria's information to the DBObject
- addTo(DBObject) - Method in class org.mongodb.morphia.query.CriteriaContainerImpl
-
- addTo(DBObject) - Method in class org.mongodb.morphia.query.WhereCriteria
-
- addToSet(String) - Static method in class org.mongodb.morphia.aggregation.Group
-
Returns an array of all unique values that results from applying an expression to each document in a group of documents that share
the same group by key.
- AdvancedDatastore - Interface in org.mongodb.morphia
-
This interface exposes advanced
Datastore features, like interacting with DBObject and low-level options.
- aggregate(Class<U>) - Method in interface org.mongodb.morphia.aggregation.AggregationPipeline
-
Executes the pipeline and aggregates the output in to the type mapped by the target type using the default options as defined in
AggregationOptions.
- aggregate(Class<U>, AggregationOptions) - Method in interface org.mongodb.morphia.aggregation.AggregationPipeline
-
Executes the pipeline and aggregates the output in to the type mapped by the target type.
- aggregate(Class<U>, AggregationOptions, ReadPreference) - Method in interface org.mongodb.morphia.aggregation.AggregationPipeline
-
Executes the pipeline and aggregates the output in to the type mapped by the target type.
- aggregate(String, Class<U>, AggregationOptions, ReadPreference) - Method in interface org.mongodb.morphia.aggregation.AggregationPipeline
-
Executes the pipeline and aggregates the output in to the type mapped by the target type.
- aggregate(Class<U>) - Method in class org.mongodb.morphia.aggregation.AggregationPipelineImpl
-
- aggregate(Class<U>, AggregationOptions) - Method in class org.mongodb.morphia.aggregation.AggregationPipelineImpl
-
- aggregate(Class<U>, AggregationOptions, ReadPreference) - Method in class org.mongodb.morphia.aggregation.AggregationPipelineImpl
-
- aggregate(String, Class<U>, AggregationOptions, ReadPreference) - Method in class org.mongodb.morphia.aggregation.AggregationPipelineImpl
-
- AggregationPipeline - Interface in org.mongodb.morphia.aggregation
-
This defines the pipeline used in aggregation operations
- AggregationPipelineImpl - Class in org.mongodb.morphia.aggregation
-
Implementation of an AggregationPipeline.
- AggregationPipelineImpl(DatastoreImpl, Class) - Constructor for class org.mongodb.morphia.aggregation.AggregationPipelineImpl
-
Creates an AggregationPipeline
- AllOperationValidator - Class in org.mongodb.morphia.query.validation
-
Validates a query that uses the FilterOperator.ALL operator.
- AlsoLoad - Annotation Type in org.mongodb.morphia.annotations
-
Annotation which helps migrate schemas by loading one of several possible properties in the document into fields or methods.
- and(Criteria...) - Method in interface org.mongodb.morphia.query.CriteriaContainer
-
Ands Criteria with this CriteriaContainer.
- and(Criteria...) - Method in class org.mongodb.morphia.query.CriteriaContainerImpl
-
- and(Criteria...) - Method in interface org.mongodb.morphia.query.Query
-
Creates a container to hold 'and' clauses
- appliesTo(Class<?>) - Method in class org.mongodb.morphia.query.validation.DefaultTypeValidator
-
Always returns true, applies to all types
- appliesTo(Class<?>) - Method in class org.mongodb.morphia.query.validation.DoubleTypeValidator
-
- appliesTo(Class<?>) - Method in class org.mongodb.morphia.query.validation.EntityAnnotatedValueValidator
-
- appliesTo(Class<?>) - Method in class org.mongodb.morphia.query.validation.IntegerTypeValidator
-
- appliesTo(Class<?>) - Method in class org.mongodb.morphia.query.validation.LongTypeValidator
-
- appliesTo(Class<?>) - Method in class org.mongodb.morphia.query.validation.TypeValidator
-
Used by apply to figure out whether to apply the validation or simply return.
- apply(MappedClass, MappedField, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.EntityTypeAndIdValueValidator
-
Checks the class of the value against the type of the ID for the type.
- apply(MappedField, FilterOperator, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.OperationValidator
-
Apply validation for the given operator.
- apply(Class<?>, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.TypeValidator
-
Apply validation for the given field.
- apply(Class<?>, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.ValueValidator
-
Applied validation for the given field.
- ascending(String) - Static method in class org.mongodb.morphia.aggregation.Sort
-
Creates an ascending sort on a field
- asKeyList() - Method in class org.mongodb.morphia.query.QueryImpl
-
- asKeyList() - Method in interface org.mongodb.morphia.query.QueryResults
-
Execute the query and get the results (as a List<Key<T>>) This method is provided as a convenience;
- asList() - Method in class org.mongodb.morphia.query.QueryImpl
-
- asList() - Method in interface org.mongodb.morphia.query.QueryResults
-
Execute the query and get the results.
- Assert - Class in org.mongodb.morphia.utils
-
Provides various assertions for Morphia during validation
- Assert.AssertionFailedException - Exception in org.mongodb.morphia.utils
-
Represents a failed Morphia Assertion
- assertDependencyFullFilled() - Static method in class org.mongodb.morphia.mapping.lazy.LazyFeatureDependencies
-
Checks that the dependencies to support lazy proxies are present
- AssertionFailedException(String) - Constructor for exception org.mongodb.morphia.utils.Assert.AssertionFailedException
-
Creates a AssertionFailedException with a message and a cause
- AssertionFailedException(String, Throwable) - Constructor for exception org.mongodb.morphia.utils.Assert.AssertionFailedException
-
Creates a AssertionFailedException with a message and a cause
- attach(CriteriaContainer) - Method in class org.mongodb.morphia.query.AbstractCriteria
-
- attach(CriteriaContainer) - Method in interface org.mongodb.morphia.query.Criteria
-
Used to add this Criteria to a CriteriaContainer
- AuthenticationException - Exception in org.mongodb.morphia
-
Signifies an error trying to authenticate against the database.
- AuthenticationException(String) - Constructor for exception org.mongodb.morphia.AuthenticationException
-
Creates an instance with the given message
- average(String) - Static method in class org.mongodb.morphia.aggregation.Group
-
Returns the average value of the numeric values that result from applying a specified expression to each document in a group of
documents that share the same group by key.
- callLifecycleMethods(Class<? extends Annotation>, Object, DBObject, Mapper) - Method in class org.mongodb.morphia.mapping.MappedClass
-
Call the lifecycle methods
- CappedAt - Annotation Type in org.mongodb.morphia.annotations
-
Properties for capped collections; used in
Entity
- center(Shape.Point, double) - Static method in class org.mongodb.morphia.query.Shape
-
Specifies a circle for a $geoWithin query.
- centerSphere(Shape.Point, double) - Static method in class org.mongodb.morphia.query.Shape
-
Specifies a circle for a geospatial query that uses spherical geometry.
- CGLibLazyProxyFactory - Class in org.mongodb.morphia.mapping.lazy
-
i have to admit, there are plenty of open questions for me on that Key-business...
- CGLibLazyProxyFactory() - Constructor for class org.mongodb.morphia.mapping.lazy.CGLibLazyProxyFactory
-
- CharacterConverter - Class in org.mongodb.morphia.converters
-
- CharacterConverter() - Constructor for class org.mongodb.morphia.converters.CharacterConverter
-
Creates the Converter.
- CharArrayConverter - Class in org.mongodb.morphia.converters
-
- CharArrayConverter() - Constructor for class org.mongodb.morphia.converters.CharArrayConverter
-
Creates the Converter.
- check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in interface org.mongodb.morphia.mapping.validation.ClassConstraint
-
Check that a MappedClass meets the constraint
- check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.classrules.ContainsEmbeddedWithId
-
- check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.classrules.DuplicatedAttributeNames
-
- check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.classrules.EmbeddedAndId
-
- check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.classrules.EmbeddedAndValue
-
- check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.classrules.EntityAndEmbed
-
- check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.classrules.EntityCannotBeMapOrIterable
-
- check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.classrules.MultipleId
-
- check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.classrules.MultipleVersions
-
- check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.classrules.NoId
-
- check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.fieldrules.ContradictingFieldAnnotation
-
- check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.fieldrules.FieldConstraint
-
- check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.fieldrules.FieldConstraint
-
- check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.fieldrules.IdDoesNotMix
-
- check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.fieldrules.LazyReferenceMissingDependencies
-
- check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.fieldrules.LazyReferenceOnArray
-
- check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.fieldrules.MapKeyDifferentFromString
-
- check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.fieldrules.MapNotSerializable
-
- check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.fieldrules.MisplacedProperty
-
- check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.fieldrules.ReferenceToUnidentifiable
-
- check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.fieldrules.VersionMisuse
-
- CLASS_NAME_FIELDNAME - Static variable in class org.mongodb.morphia.mapping.Mapper
-
Special field used by morphia to support various possibly loading issues; will be replaced when discriminators are implemented to
support polymorphism
- ClassConstraint - Interface in org.mongodb.morphia.mapping.validation
-
- ClassConverter - Class in org.mongodb.morphia.converters
-
- ClassConverter() - Constructor for class org.mongodb.morphia.converters.ClassConverter
-
Creates the Converter.
- clear() - Method in class relocated.morphia.org.apache.commons.collections.ReferenceMap
-
Clears this map.
- cloneQuery() - Method in interface org.mongodb.morphia.query.Query
-
Creates and returns a copy of this
Query.
- cloneQuery() - Method in class org.mongodb.morphia.query.QueryImpl
-
- close() - Method in class org.mongodb.morphia.query.MorphiaIterator
-
Closes the underlying cursor.
- CollectionObjectReference<T> - Class in org.mongodb.morphia.mapping.lazy.proxy
-
A list of proxied elements
- CollectionObjectReference(Collection<T>, Class<T>, boolean, Datastore) - Constructor for class org.mongodb.morphia.mapping.lazy.proxy.CollectionObjectReference
-
Creates a CollectionObjectReference
- comment(String) - Method in interface org.mongodb.morphia.query.Query
-
This makes it possible to attach a comment to a query.
- comment(String) - Method in class org.mongodb.morphia.query.QueryImpl
-
- compareTo(Key<T>) - Method in class org.mongodb.morphia.Key
-
- ConstraintViolation - Class in org.mongodb.morphia.mapping.validation
-
- ConstraintViolation(ConstraintViolation.Level, MappedClass, MappedField, Class<? extends ClassConstraint>, String) - Constructor for class org.mongodb.morphia.mapping.validation.ConstraintViolation
-
Creates a violation instance to record invalid mapping metadata
- ConstraintViolation(ConstraintViolation.Level, MappedClass, Class<? extends ClassConstraint>, String) - Constructor for class org.mongodb.morphia.mapping.validation.ConstraintViolation
-
Creates a violation instance to record invalid mapping metadata
- ConstraintViolation.Level - Enum in org.mongodb.morphia.mapping.validation
-
Levels of constraint violations
- ConstraintViolationException - Exception in org.mongodb.morphia.mapping.validation
-
- ConstraintViolationException(Collection<ConstraintViolation>) - Constructor for exception org.mongodb.morphia.mapping.validation.ConstraintViolationException
-
Creates a ConstraintViolationException with the set of violations
- ConstraintViolationException(ConstraintViolation...) - Constructor for exception org.mongodb.morphia.mapping.validation.ConstraintViolationException
-
Creates a ConstraintViolationException with the set of violations
- ConstructorArgs - Annotation Type in org.mongodb.morphia.annotations
-
Indicates that this field can be constructed from the stored fields; it doesn't require a no-args constructor.
- contains(String) - Method in interface org.mongodb.morphia.query.FieldEnd
-
Checks if a field contains a value
- ContainsEmbeddedWithId - Class in org.mongodb.morphia.mapping.validation.classrules
-
- ContainsEmbeddedWithId() - Constructor for class org.mongodb.morphia.mapping.validation.classrules.ContainsEmbeddedWithId
-
- containsIgnoreCase(String) - Method in interface org.mongodb.morphia.query.FieldEnd
-
Checks if a field contains a value ignoring the case of the values
- containsJavaFieldName(String) - Method in class org.mongodb.morphia.mapping.MappedClass
-
Check java field name that will be stored in mongodb
- containsKey(Object) - Method in class relocated.morphia.org.apache.commons.collections.ReferenceMap
-
Returns true if this map contains the given key.
- ContradictingFieldAnnotation - Class in org.mongodb.morphia.mapping.validation.fieldrules
-
- ContradictingFieldAnnotation(Class<? extends Annotation>, Class<? extends Annotation>) - Constructor for class org.mongodb.morphia.mapping.validation.fieldrules.ContradictingFieldAnnotation
-
Creates a ContradictingFieldAnnotation validation with the two incompatible annotations.
- ConverterException - Exception in org.mongodb.morphia.converters
-
Indicates an error occurred trying to convert a value.
- ConverterException(String) - Constructor for exception org.mongodb.morphia.converters.ConverterException
-
Creates the ConverterException.
- ConverterNotFoundException - Exception in org.mongodb.morphia.converters
-
- ConverterNotFoundException(String) - Constructor for exception org.mongodb.morphia.converters.ConverterNotFoundException
-
Creates the ConverterNotFoundException.
- Converters - Annotation Type in org.mongodb.morphia.annotations
-
Declares converters required for this entity/class; converters are registered globally at time of the meta-data discovery.
- Converters - Class in org.mongodb.morphia.converters
-
Defines a bundle of converters
- Converters(Mapper) - Constructor for class org.mongodb.morphia.converters.Converters
-
Creates a bundle with a particular Mapper.
- convertItem(DBObject) - Method in class org.mongodb.morphia.query.MorphiaIterator
-
- convertItem(DBObject) - Method in class org.mongodb.morphia.query.MorphiaKeyIterator
-
- convertToArray(Class, List<?>) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
-
Converts a List to an array
- CoordinateReferenceSystem - Class in org.mongodb.morphia.geo
-
Defines the coordinate reference system to be used in certain geo queries.
- CoordinateReferenceSystem() - Constructor for class org.mongodb.morphia.geo.CoordinateReferenceSystem
-
- CoordinateReferenceSystemType - Enum in org.mongodb.morphia.geo
-
An enumeration of the GeoJSON coordinate reference system types.
- copy(String) - Method in class org.mongodb.morphia.DatastoreImpl
-
Creates a copy of this Datastore and all its configuration but with a new database
- copy() - Method in class org.mongodb.morphia.mapping.cache.EntityCacheStatistics
-
Copies the statistics
- count() - Method in class org.mongodb.morphia.dao.BasicDAO
-
- count(String, Object) - Method in class org.mongodb.morphia.dao.BasicDAO
-
- count(Query<T>) - Method in class org.mongodb.morphia.dao.BasicDAO
-
- count() - Method in interface org.mongodb.morphia.dao.DAO
-
- count(String, Object) - Method in interface org.mongodb.morphia.dao.DAO
-
- count(Query<T>) - Method in interface org.mongodb.morphia.dao.DAO
-
- countAll() - Method in class org.mongodb.morphia.query.QueryImpl
-
- countAll() - Method in interface org.mongodb.morphia.query.QueryResults
-
Count the total number of values in the result, ignoring limit and offset
- createAggregation(Class) - Method in interface org.mongodb.morphia.Datastore
-
Returns a new query bound to the kind (a specific
DBCollection)
- createAggregation(Class) - Method in class org.mongodb.morphia.DatastoreImpl
-
- createCache() - Method in class org.mongodb.morphia.mapping.cache.DefaultEntityCacheFactory
-
Creates a new DefaultEntityCache
- createCache() - Method in interface org.mongodb.morphia.mapping.cache.EntityCacheFactory
-
Called for every query.
- createDatastore(MongoClient, String) - Method in class org.mongodb.morphia.Morphia
-
It is best to use a Mongo singleton instance here.
- createDatastore(MongoClient, Mapper, String) - Method in class org.mongodb.morphia.Morphia
-
Creates a new Datastore for interacting with MongoDB using POJOs
- createDefaultProxyFactory() - Static method in class org.mongodb.morphia.mapping.lazy.LazyFeatureDependencies
-
Creates a LazyProxyFactory
- createEntityCache() - Method in class org.mongodb.morphia.mapping.Mapper
-
Creates a cache for tracking entities seen during processing
- createInst(Class<T>) - Method in class org.mongodb.morphia.mapping.DefaultCreator
-
- createInstance(Class<T>) - Method in class org.mongodb.morphia.mapping.DefaultCreator
-
- createInstance(Class<T>, DBObject) - Method in class org.mongodb.morphia.mapping.DefaultCreator
-
- createInstance(Mapper, MappedField, DBObject) - Method in class org.mongodb.morphia.mapping.DefaultCreator
-
- createInstance(Class<T>) - Method in interface org.mongodb.morphia.ObjectFactory
-
Creates an instance of the given class.
- createInstance(Class<T>, DBObject) - Method in interface org.mongodb.morphia.ObjectFactory
-
- createInstance(Mapper, MappedField, DBObject) - Method in interface org.mongodb.morphia.ObjectFactory
-
- createList(MappedField) - Method in class org.mongodb.morphia.mapping.DefaultCreator
-
- createList(MappedField) - Method in interface org.mongodb.morphia.ObjectFactory
-
Defines how morphia creates a List object.
- createListProxy(Datastore, T, Class, boolean) - Method in class org.mongodb.morphia.mapping.lazy.CGLibLazyProxyFactory
-
- createListProxy(Datastore, T, Class, boolean) - Method in interface org.mongodb.morphia.mapping.lazy.LazyProxyFactory
-
Creates a proxy for a List.
- createMap(MappedField) - Method in class org.mongodb.morphia.mapping.DefaultCreator
-
- createMap(MappedField) - Method in interface org.mongodb.morphia.ObjectFactory
-
Defines how morphia creates a Map object.
- createMapProxy(Datastore, T, Class, boolean) - Method in class org.mongodb.morphia.mapping.lazy.CGLibLazyProxyFactory
-
- createMapProxy(Datastore, T, Class, boolean) - Method in interface org.mongodb.morphia.mapping.lazy.LazyProxyFactory
-
Creates a proxy for a Map.
- createProxy(Datastore, Class<T>, Key<T>) - Method in class org.mongodb.morphia.mapping.lazy.CGLibLazyProxyFactory
-
- createProxy(Datastore, Class<T>, Key<T>) - Method in interface org.mongodb.morphia.mapping.lazy.LazyProxyFactory
-
Creates a proxy for a Class.
- createQuery(String, Class<T>) - Method in interface org.mongodb.morphia.AdvancedDatastore
-
- createQuery(Class<T>, DBObject) - Method in interface org.mongodb.morphia.AdvancedDatastore
-
- createQuery(String, Class<T>, DBObject) - Method in interface org.mongodb.morphia.AdvancedDatastore
-
- createQuery() - Method in class org.mongodb.morphia.dao.BasicDAO
-
- createQuery() - Method in interface org.mongodb.morphia.dao.DAO
-
Starts a query for this DAO entities type
- createQuery(Class<T>) - Method in interface org.mongodb.morphia.Datastore
-
Returns a new query bound to the collection (a specific
DBCollection)
- createQuery(Class<T>) - Method in class org.mongodb.morphia.DatastoreImpl
-
- createQuery(String, Class<T>) - Method in class org.mongodb.morphia.DatastoreImpl
-
- createQuery(Class<T>, DBObject) - Method in class org.mongodb.morphia.DatastoreImpl
-
- createQuery(String, Class<T>, DBObject) - Method in class org.mongodb.morphia.DatastoreImpl
-
- createQuery() - Method in class org.mongodb.morphia.MapreduceResults
-
- createQuery(Datastore, DBCollection, Class<T>) - Method in class org.mongodb.morphia.query.AbstractQueryFactory
-
- createQuery(Datastore) - Method in class org.mongodb.morphia.query.AbstractQueryFactory
-
- createQuery(Datastore, DBCollection, Class<T>, DBObject) - Method in class org.mongodb.morphia.query.DefaultQueryFactory
-
- createQuery(Datastore, DBCollection, Class<T>) - Method in interface org.mongodb.morphia.query.QueryFactory
-
Creates and returns a
Query for the given arguments.
- createQuery(Datastore, DBCollection, Class<T>, DBObject) - Method in interface org.mongodb.morphia.query.QueryFactory
-
Creates and returns a
Query for the given arguments.
- createQuery(Datastore) - Method in interface org.mongodb.morphia.query.QueryFactory
-
Creates an unvalidated
Query typically for use in aggregation pipelines.
- createRef(Class<T>, V) - Method in interface org.mongodb.morphia.AdvancedDatastore
-
Creates a reference to the entity (using the current DB -can be null-, the collectionName, and id)
- createRef(T) - Method in interface org.mongodb.morphia.AdvancedDatastore
-
Creates a reference to the entity (using the current DB -can be null-, the collectionName, and id)
- createRef(Class<T>, V) - Method in class org.mongodb.morphia.DatastoreImpl
-
- createRef(T) - Method in class org.mongodb.morphia.DatastoreImpl
-
- createSet(MappedField) - Method in class org.mongodb.morphia.mapping.DefaultCreator
-
- createSet(MappedField) - Method in interface org.mongodb.morphia.ObjectFactory
-
Defines how morphia creates a Set object.
- createUpdateOperations(Class<T>, DBObject) - Method in interface org.mongodb.morphia.AdvancedDatastore
-
Creates an UpdateOperations instance for the given type.
- createUpdateOperations() - Method in class org.mongodb.morphia.dao.BasicDAO
-
- createUpdateOperations() - Method in interface org.mongodb.morphia.dao.DAO
-
Starts a update-operations def for this DAO entities type
- createUpdateOperations(Class<T>) - Method in interface org.mongodb.morphia.Datastore
-
The builder for all update operations
- createUpdateOperations(Class<T>) - Method in class org.mongodb.morphia.DatastoreImpl
-
- createUpdateOperations(Class<T>, DBObject) - Method in class org.mongodb.morphia.DatastoreImpl
-
- Criteria - Interface in org.mongodb.morphia.query
-
Internal class for building up query documents.
- criteria(String) - Method in interface org.mongodb.morphia.query.CriteriaContainer
-
Creates a criteria against a field
- criteria(String) - Method in class org.mongodb.morphia.query.CriteriaContainerImpl
-
- criteria(String) - Method in interface org.mongodb.morphia.query.Query
-
Creates a criteria to apply against a field
- criteria(String) - Method in class org.mongodb.morphia.query.QueryImpl
-
- CriteriaContainer - Interface in org.mongodb.morphia.query
-
Internal class to represent groups of
Criteria instances via $and and $or query clauses
- CriteriaContainerImpl - Class in org.mongodb.morphia.query
-
Defines a container of Criteria and a join method.
- CriteriaContainerImpl(QueryImpl<?>, CriteriaJoin) - Constructor for class org.mongodb.morphia.query.CriteriaContainerImpl
-
- CriteriaContainerImpl(CriteriaJoin) - Constructor for class org.mongodb.morphia.query.CriteriaContainerImpl
-
- CriteriaJoin - Enum in org.mongodb.morphia.query
-
Defines how to combine lists of criteria.
- CRS_84 - Static variable in class org.mongodb.morphia.geo.NamedCoordinateReferenceSystem
-
The urn:ogc:def:crs:OGC:1.3:CRS84 Coordinate Reference System
- CustomConverters - Class in org.mongodb.morphia.converters
-
Defines a bundle of converters that will delegate to the DefaultConverters for unknown types but provides a chance to override the
converter used for different types.
- CustomConverters(Mapper) - Constructor for class org.mongodb.morphia.converters.CustomConverters
-
Creates a bundle with a particular Mapper.
- CustomMapper - Interface in org.mongodb.morphia.mapping
-
A CustomMapper if one that implements the methods needed to map to/from POJO/DBObject
- DAO<T,K> - Class in org.mongodb.morphia
-
- DAO(Class<T>, MongoClient, Morphia, String) - Constructor for class org.mongodb.morphia.DAO
-
Deprecated.
- DAO(Class<T>, Datastore) - Constructor for class org.mongodb.morphia.DAO
-
Deprecated.
- DAO<T,K> - Interface in org.mongodb.morphia.dao
-
Defines a basic interface for use in applications
- Datastore - Interface in org.mongodb.morphia
-
Datastore interface to get/delete/save objects
- DatastoreImpl - Class in org.mongodb.morphia
-
A generic (type-safe) wrapper around mongodb collections
- DatastoreImpl(Morphia, MongoClient, String) - Constructor for class org.mongodb.morphia.DatastoreImpl
-
Create a new DatastoreImpl
- DatastoreImpl(Morphia, Mapper, MongoClient, String) - Constructor for class org.mongodb.morphia.DatastoreImpl
-
Create a new DatastoreImpl
- DatastoreImpl(Morphia, Mapper, MongoClient, DB) - Constructor for class org.mongodb.morphia.DatastoreImpl
-
Create a new DatastoreImpl
- DatastoreProvider - Interface in org.mongodb.morphia.mapping.lazy
-
- DateConverter - Class in org.mongodb.morphia.converters
-
- DateConverter() - Constructor for class org.mongodb.morphia.converters.DateConverter
-
Creates the Converter.
- DateConverter(Class) - Constructor for class org.mongodb.morphia.converters.DateConverter
-
- debug(String) - Method in class org.mongodb.morphia.logging.jdk.FastestJDKLogger
-
- debug(String, Object...) - Method in class org.mongodb.morphia.logging.jdk.FastestJDKLogger
-
- debug(String, Throwable) - Method in class org.mongodb.morphia.logging.jdk.FastestJDKLogger
-
- debug(String) - Method in class org.mongodb.morphia.logging.jdk.JDKLogger
-
- debug(String, Object...) - Method in class org.mongodb.morphia.logging.jdk.JDKLogger
-
- debug(String, Throwable) - Method in class org.mongodb.morphia.logging.jdk.JDKLogger
-
- debug(String) - Method in interface org.mongodb.morphia.logging.Logger
-
Logs a message at this level.
- debug(String, Object...) - Method in interface org.mongodb.morphia.logging.Logger
-
Logs a message at this level.
- debug(String, Throwable) - Method in interface org.mongodb.morphia.logging.Logger
-
Logs a message at this level.
- debug(String) - Method in class org.mongodb.morphia.logging.SilentLogger
-
- debug(String, Object...) - Method in class org.mongodb.morphia.logging.SilentLogger
-
- debug(String, Throwable) - Method in class org.mongodb.morphia.logging.SilentLogger
-
- dec(String) - Method in interface org.mongodb.morphia.query.UpdateOperations
-
Decrements the numeric field by 1
- dec(String) - Method in class org.mongodb.morphia.query.UpdateOpsImpl
-
- decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.BooleanConverter
-
- decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.ByteConverter
-
- decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.CharacterConverter
-
- decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.CharArrayConverter
-
- decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.ClassConverter
-
- decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.Converters
-
decode the
DBObject and provide the corresponding java (type-safe) object
NOTE: mf might be null
- decode(Class<?>, Object, MappedField) - Method in class org.mongodb.morphia.converters.DateConverter
-
- decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.DoubleConverter
-
- decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.EnumConverter
-
- decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.EnumSetConverter
-
- decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.FloatConverter
-
- decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.IdentityConverter
-
- decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.IntegerConverter
-
- decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.IterableConverter
-
- decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.KeyConverter
-
- decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.LocaleConverter
-
- decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.LongConverter
-
- decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.MapOfValuesConverter
-
- decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.ObjectIdConverter
-
- decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.SerializedObjectConverter
-
- decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.ShortConverter
-
- decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.StringConverter
-
- decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.TimestampConverter
-
- decode(Class, Object) - Method in class org.mongodb.morphia.converters.TypeConverter
-
decode the
DBObject and provide the corresponding java (type-safe) object
- decode(Class<?>, Object, MappedField) - Method in class org.mongodb.morphia.converters.TypeConverter
-
decode the
DBObject and provide the corresponding java (type-safe) object
NOTE: optionalExtraInfo might
be
null
- decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.URIConverter
-
- decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.UUIDConverter
-
- decode(Class<?>, Object, MappedField) - Method in class org.mongodb.morphia.geo.GeometryConverter
-
- decode(Class<?>, Object, MappedField) - Method in class org.mongodb.morphia.geo.GeometryQueryConverter
-
- decode(Class<?>, Object, MappedField) - Method in class org.mongodb.morphia.geo.GeometryShapeConverter
-
- decode(Class<?>, Object, MappedField) - Method in class org.mongodb.morphia.geo.NamedCoordinateReferenceSystemConverter
-
- DefaultConverters - Class in org.mongodb.morphia.converters
-
Default encoders
- DefaultConverters(Mapper) - Constructor for class org.mongodb.morphia.converters.DefaultConverters
-
Creates a bundle with a particular Mapper.
- DefaultCreator - Class in org.mongodb.morphia.mapping
-
- DefaultCreator() - Constructor for class org.mongodb.morphia.mapping.DefaultCreator
-
Creates a new DefaultCreator with no options
- DefaultCreator(MapperOptions) - Constructor for class org.mongodb.morphia.mapping.DefaultCreator
-
Creates a new DefaultCreator with options
- DefaultEntityCache - Class in org.mongodb.morphia.mapping.cache
-
This is the default EntityCache for Morphia
- DefaultEntityCache() - Constructor for class org.mongodb.morphia.mapping.cache.DefaultEntityCache
-
- DefaultEntityCacheFactory - Class in org.mongodb.morphia.mapping.cache
-
Default implementation of cache factory, returning the default entity cache.
- DefaultEntityCacheFactory() - Constructor for class org.mongodb.morphia.mapping.cache.DefaultEntityCacheFactory
-
- DefaultMapEntry - Class in relocated.morphia.org.apache.commons.collections
-
- DefaultMapEntry() - Constructor for class relocated.morphia.org.apache.commons.collections.DefaultMapEntry
-
Constructs a new DefaultMapEntry with a null key and null value.
- DefaultMapEntry(Object, Object) - Constructor for class relocated.morphia.org.apache.commons.collections.DefaultMapEntry
-
Constructs a new DefaultMapEntry with the given key and given value.
- DefaultQueryFactory - Class in org.mongodb.morphia.query
-
- DefaultQueryFactory() - Constructor for class org.mongodb.morphia.query.DefaultQueryFactory
-
- DefaultTypeValidator - Class in org.mongodb.morphia.query.validation
-
This is a fall-through validator that looks at the type and at the class of the value and figures out if they're similar enough to be
used to query.
- delete(String, Class<T>, V) - Method in interface org.mongodb.morphia.AdvancedDatastore
-
Deletes an entity of the given type T, with the given id, from the collection with the name in the kind param.
- delete(String, Class<T>, V, WriteConcern) - Method in interface org.mongodb.morphia.AdvancedDatastore
-
Deletes an entity of the given type T, with the given id, from the collection with the name in the kind param.
- delete(T) - Method in class org.mongodb.morphia.dao.BasicDAO
-
- delete(T, WriteConcern) - Method in class org.mongodb.morphia.dao.BasicDAO
-
- delete(T) - Method in interface org.mongodb.morphia.dao.DAO
-
Deletes an entity
- delete(T, WriteConcern) - Method in interface org.mongodb.morphia.dao.DAO
-
Deletes an entity
- delete(Class<T>, V) - Method in interface org.mongodb.morphia.Datastore
-
Deletes the given entity (by id)
- delete(Class<T>, Iterable<V>) - Method in interface org.mongodb.morphia.Datastore
-
Deletes the given entities (by id)
- delete(Query<T>) - Method in interface org.mongodb.morphia.Datastore
-
Deletes entities based on the query
- delete(Query<T>, WriteConcern) - Method in interface org.mongodb.morphia.Datastore
-
Deletes entities based on the query, with the WriteConcern
- delete(T) - Method in interface org.mongodb.morphia.Datastore
-
Deletes the given entity (by @Id)
- delete(T, WriteConcern) - Method in interface org.mongodb.morphia.Datastore
-
Deletes the given entity (by @Id), with the WriteConcern
- delete(Class<T>, V) - Method in class org.mongodb.morphia.DatastoreImpl
-
- delete(Class<T>, Iterable<V>) - Method in class org.mongodb.morphia.DatastoreImpl
-
- delete(Query<T>) - Method in class org.mongodb.morphia.DatastoreImpl
-
- delete(Query<T>, WriteConcern) - Method in class org.mongodb.morphia.DatastoreImpl
-
- delete(T) - Method in class org.mongodb.morphia.DatastoreImpl
-
- delete(T, WriteConcern) - Method in class org.mongodb.morphia.DatastoreImpl
-
- delete(String, Class<T>, V) - Method in class org.mongodb.morphia.DatastoreImpl
-
- delete(String, Class<T>, V, WriteConcern) - Method in class org.mongodb.morphia.DatastoreImpl
-
- delete(Class<T>, V, WriteConcern) - Method in class org.mongodb.morphia.DatastoreImpl
-
Deletes entities based on the query, with the WriteConcern
- deleteById(K) - Method in class org.mongodb.morphia.dao.BasicDAO
-
- deleteById(K) - Method in interface org.mongodb.morphia.dao.DAO
-
Delete the entity by id value
- deleteByQuery(Query<T>) - Method in class org.mongodb.morphia.dao.BasicDAO
-
- deleteByQuery(Query<T>) - Method in interface org.mongodb.morphia.dao.DAO
-
Delete the entity matching a query
- descending(String) - Static method in class org.mongodb.morphia.aggregation.Sort
-
Creates a descending sort on a field
- deserialize(Object, boolean) - Static method in class org.mongodb.morphia.mapping.Serializer
-
deserializes DBBinary/byte[] to object
- disableCursorTimeout() - Method in interface org.mongodb.morphia.query.Query
-
Disables cursor timeout on server.
- disableCursorTimeout() - Method in class org.mongodb.morphia.query.QueryImpl
-
- disableSnapshotMode() - Method in interface org.mongodb.morphia.query.Query
-
Disable snapshotted mode (default mode).
- disableSnapshotMode() - Method in class org.mongodb.morphia.query.QueryImpl
-
- disableValidation() - Method in interface org.mongodb.morphia.query.Query
-
Turns off validation (for all calls made after)
- disableValidation() - Method in class org.mongodb.morphia.query.QueryImpl
-
- disableValidation() - Method in interface org.mongodb.morphia.query.UpdateOperations
-
Turns off validation (for all calls made after)
- disableValidation() - Method in class org.mongodb.morphia.query.UpdateOpsImpl
-
- discover(Mapper) - Method in class org.mongodb.morphia.mapping.MappedClass
-
Discovers interesting (that we care about) things about the class.
- discover(Mapper) - Method in class org.mongodb.morphia.mapping.MappedField
-
Discovers interesting (that we care about) things about the field.
- discoverType(Mapper) - Method in class org.mongodb.morphia.mapping.MappedField
-
- divide(Object, Object) - Static method in class org.mongodb.morphia.aggregation.Projection
-
Creates a division projection
- doesNotExist() - Method in interface org.mongodb.morphia.query.FieldEnd
-
Checks that a field does not exist in a document
- doesNotHaveThisElement(Object) - Method in interface org.mongodb.morphia.query.FieldEnd
-
Checks that a field does not have the value listed.
- DoubleConverter - Class in org.mongodb.morphia.converters
-
- DoubleConverter() - Constructor for class org.mongodb.morphia.converters.DoubleConverter
-
Creates the Converter.
- DoubleTypeValidator - Class in org.mongodb.morphia.query.validation
-
Validation for fields of Double/double type.
- ds - Variable in class org.mongodb.morphia.dao.BasicDAO
-
- DuplicatedAttributeNames - Class in org.mongodb.morphia.mapping.validation.classrules
-
- DuplicatedAttributeNames() - Constructor for class org.mongodb.morphia.mapping.validation.classrules.DuplicatedAttributeNames
-
- Embedded - Annotation Type in org.mongodb.morphia.annotations
-
- EmbeddedAndId - Class in org.mongodb.morphia.mapping.validation.classrules
-
- EmbeddedAndId() - Constructor for class org.mongodb.morphia.mapping.validation.classrules.EmbeddedAndId
-
- EmbeddedAndValue - Class in org.mongodb.morphia.mapping.validation.classrules
-
- EmbeddedAndValue() - Constructor for class org.mongodb.morphia.mapping.validation.classrules.EmbeddedAndValue
-
- enableCursorTimeout() - Method in interface org.mongodb.morphia.query.Query
-
Enables cursor timeout on server.
- enableCursorTimeout() - Method in class org.mongodb.morphia.query.QueryImpl
-
- enableSnapshotMode() - Method in interface org.mongodb.morphia.query.Query
-
Enabled snapshotted mode where duplicate results (which may be updated during the lifetime of the cursor) will not be returned.
- enableSnapshotMode() - Method in class org.mongodb.morphia.query.QueryImpl
-
- enableValidation() - Method in interface org.mongodb.morphia.query.Query
-
Turns on validation (for all calls made after); by default validation is on
- enableValidation() - Method in class org.mongodb.morphia.query.QueryImpl
-
- enableValidation() - Method in interface org.mongodb.morphia.query.UpdateOperations
-
Turns on validation (for all calls made after); by default validation is on
- enableValidation() - Method in class org.mongodb.morphia.query.UpdateOpsImpl
-
- encode(Object, MappedField) - Method in class org.mongodb.morphia.converters.ByteConverter
-
- encode(Object, MappedField) - Method in class org.mongodb.morphia.converters.CharacterConverter
-
- encode(Object, MappedField) - Method in class org.mongodb.morphia.converters.CharArrayConverter
-
- encode(Object, MappedField) - Method in class org.mongodb.morphia.converters.ClassConverter
-
- encode(Object) - Method in class org.mongodb.morphia.converters.Converters
-
encode the type safe java object into the corresponding
DBObject
- encode(Class, Object) - Method in class org.mongodb.morphia.converters.Converters
-
encode the type safe java object into the corresponding
DBObject
- encode(Object, MappedField) - Method in class org.mongodb.morphia.converters.EnumConverter
-
- encode(Object, MappedField) - Method in class org.mongodb.morphia.converters.EnumSetConverter
-
- encode(Object, MappedField) - Method in class org.mongodb.morphia.converters.IterableConverter
-
- encode(Object, MappedField) - Method in class org.mongodb.morphia.converters.KeyConverter
-
- encode(Object, MappedField) - Method in class org.mongodb.morphia.converters.LocaleConverter
-
- encode(Object, MappedField) - Method in class org.mongodb.morphia.converters.MapOfValuesConverter
-
- encode(Object, MappedField) - Method in class org.mongodb.morphia.converters.SerializedObjectConverter
-
- encode(Object, MappedField) - Method in class org.mongodb.morphia.converters.TimestampConverter
-
- encode(Object) - Method in class org.mongodb.morphia.converters.TypeConverter
-
encode the type safe java object into the corresponding
DBObject
- encode(Object, MappedField) - Method in class org.mongodb.morphia.converters.TypeConverter
-
encode the (type-safe) java object into the corresponding
DBObject
- encode(Object, MappedField) - Method in class org.mongodb.morphia.converters.URIConverter
-
- encode(Object, MappedField) - Method in class org.mongodb.morphia.converters.UUIDConverter
-
- encode(Object, MappedField) - Method in class org.mongodb.morphia.geo.GeometryQueryConverter
-
- encode(Object, MappedField) - Method in class org.mongodb.morphia.geo.GeometryShapeConverter
-
- encode(Object, MappedField) - Method in class org.mongodb.morphia.geo.NamedCoordinateReferenceSystemConverter
-
- endsWith(String) - Method in interface org.mongodb.morphia.query.FieldEnd
-
Checks that a field ends with a value
- endsWithIgnoreCase(String) - Method in interface org.mongodb.morphia.query.FieldEnd
-
Checks that a field ends with a value ignoring the case of the values
- ensureCaps() - Method in interface org.mongodb.morphia.Datastore
-
ensure capped DBCollections for Entity(s)
- ensureCaps() - Method in class org.mongodb.morphia.DatastoreImpl
-
- ensureIndex(String, Class<T>, String) - Method in interface org.mongodb.morphia.AdvancedDatastore
-
Ensures (creating if necessary) the index including the field(s) + directions on the given collection name; eg fields = "field1,
-field2" ({field1:1, field2:-1})
- ensureIndex(String, Class<T>, String, String, boolean, boolean) - Method in interface org.mongodb.morphia.AdvancedDatastore
-
Ensures (creating if necessary) the index including the field(s) + directions on the given collection name; eg fields = "field1,
-field2" ({field1:1, field2:-1})
- ensureIndex(Class<T>, String) - Method in interface org.mongodb.morphia.Datastore
-
Ensures (creating if necessary) the index including the field(s) + directions on the given collection name; eg fields = "field1,
-field2" ({field1:1, field2:-1})
- ensureIndex(Class<T>, String, String, boolean, boolean) - Method in interface org.mongodb.morphia.Datastore
-
Ensures (creating if necessary) the index including the field(s) + directions on the given collection name; eg fields = "field1,
-field2" ({field1:1, field2:-1})
- ensureIndex(Class<T>, String) - Method in class org.mongodb.morphia.DatastoreImpl
-
- ensureIndex(Class<T>, String, String, boolean, boolean) - Method in class org.mongodb.morphia.DatastoreImpl
-
- ensureIndex(String, Class<T>, String) - Method in class org.mongodb.morphia.DatastoreImpl
-
- ensureIndex(String, Class<T>, String, String, boolean, boolean) - Method in class org.mongodb.morphia.DatastoreImpl
-
- ensureIndex(Class<T>, String, BasicDBObject, boolean, boolean, boolean, boolean, int) - Method in class org.mongodb.morphia.DatastoreImpl
-
- ensureIndex(DBCollection, String, BasicDBObject, boolean, boolean, boolean, boolean, int) - Method in class org.mongodb.morphia.DatastoreImpl
-
- ensureIndex(MappedClass, DBCollection, Field[], IndexOptions, boolean, List<MappedClass>, List<MappedField>) - Method in class org.mongodb.morphia.DatastoreImpl
-
- ensureIndex(DBCollection, DBObject, DBObject) - Method in class org.mongodb.morphia.DatastoreImpl
-
- ensureIndexes(String, Class<T>) - Method in interface org.mongodb.morphia.AdvancedDatastore
-
Ensures (creating if necessary) the indexes found during class mapping (using @Indexed, @Indexes) on the given collection
name.
- ensureIndexes(String, Class<T>, boolean) - Method in interface org.mongodb.morphia.AdvancedDatastore
-
Ensures (creating if necessary) the indexes found during class mapping (using @Indexed, @Indexes) on the given collection
name, possibly in the background
- ensureIndexes() - Method in class org.mongodb.morphia.dao.BasicDAO
-
- ensureIndexes() - Method in interface org.mongodb.morphia.dao.DAO
-
ensures indexed for this DAO
- ensureIndexes() - Method in interface org.mongodb.morphia.Datastore
-
Ensures (creating if necessary) the indexes found during class mapping (using @Indexed, @Indexes)
- ensureIndexes(boolean) - Method in interface org.mongodb.morphia.Datastore
-
Ensures (creating if necessary) the indexes found during class mapping (using @Indexed, @Indexes) on the given collection
name, possibly in the background
- ensureIndexes(Class<T>) - Method in interface org.mongodb.morphia.Datastore
-
Ensures (creating if necessary) the indexes found during class mapping (using @Indexed, @Indexes)
- ensureIndexes(Class<T>, boolean) - Method in interface org.mongodb.morphia.Datastore
-
Ensures (creating if necessary) the indexes found during class mapping (using @Indexed, @Indexes), possibly in the
background
- ensureIndexes() - Method in class org.mongodb.morphia.DatastoreImpl
-
- ensureIndexes(boolean) - Method in class org.mongodb.morphia.DatastoreImpl
-
- ensureIndexes(Class<T>) - Method in class org.mongodb.morphia.DatastoreImpl
-
- ensureIndexes(Class<T>, boolean) - Method in class org.mongodb.morphia.DatastoreImpl
-
- ensureIndexes(String, Class<T>) - Method in class org.mongodb.morphia.DatastoreImpl
-
- ensureIndexes(String, Class<T>, boolean) - Method in class org.mongodb.morphia.DatastoreImpl
-
- ensureIndexes(MappedClass, boolean, List<MappedClass>, List<MappedField>) - Method in class org.mongodb.morphia.DatastoreImpl
-
- ensureIndexes(String, MappedClass, boolean) - Method in class org.mongodb.morphia.DatastoreImpl
-
- ensureIndexes(DBCollection, MappedClass, boolean, List<MappedClass>, List<MappedField>) - Method in class org.mongodb.morphia.DatastoreImpl
-
- ensureIndexes(MappedClass, boolean) - Method in class org.mongodb.morphia.DatastoreImpl
-
- Entity - Annotation Type in org.mongodb.morphia.annotations
-
Allows marking and naming the collectionName
- EntityAndEmbed - Class in org.mongodb.morphia.mapping.validation.classrules
-
- EntityAndEmbed() - Constructor for class org.mongodb.morphia.mapping.validation.classrules.EntityAndEmbed
-
- EntityAnnotatedValueValidator - Class in org.mongodb.morphia.query.validation
-
Ensures that a Class is annotated with @Entity.
- EntityCache - Interface in org.mongodb.morphia.mapping.cache
-
A primarily internal class used by MorphiaIterator to track entities loaded from mongo to prevent multiple loads of objects when keys
are
seen multiple times in a query result.
- EntityCacheFactory - Interface in org.mongodb.morphia.mapping.cache
-
Factory for entity caches.
- EntityCacheStatistics - Class in org.mongodb.morphia.mapping.cache
-
This class stores various statistics on an EntityCache
- EntityCacheStatistics() - Constructor for class org.mongodb.morphia.mapping.cache.EntityCacheStatistics
-
- EntityCannotBeMapOrIterable - Class in org.mongodb.morphia.mapping.validation.classrules
-
- EntityCannotBeMapOrIterable() - Constructor for class org.mongodb.morphia.mapping.validation.classrules.EntityCannotBeMapOrIterable
-
- entityClazz - Variable in class org.mongodb.morphia.dao.BasicDAO
-
- EntityInterceptor - Interface in org.mongodb.morphia
-
Interface for intercepting @Entity lifecycle events
- EntityListeners - Annotation Type in org.mongodb.morphia.annotations
-
Specifies other classes to participate in the @Entity's lifecycle
- EntityObjectReference - Class in org.mongodb.morphia.mapping.lazy.proxy
-
A serializable object reference
- EntityObjectReference(Datastore, Class, Key) - Constructor for class org.mongodb.morphia.mapping.lazy.proxy.EntityObjectReference
-
Creates an object reference
- EntityTypeAndIdValueValidator - Class in org.mongodb.morphia.query.validation
-
Checks the class of the value against the type of the ID for the type.
- entrySet() - Method in class relocated.morphia.org.apache.commons.collections.ReferenceMap
-
Returns a set view of this map's entries.
- EnumConverter - Class in org.mongodb.morphia.converters
-
- EnumConverter() - Constructor for class org.mongodb.morphia.converters.EnumConverter
-
- EnumSetConverter - Class in org.mongodb.morphia.converters
-
- EnumSetConverter() - Constructor for class org.mongodb.morphia.converters.EnumSetConverter
-
Creates the Converter.
- EphemeralMappedField - Class in org.mongodb.morphia.mapping
-
This is a MappedField facade that allows us to convert and collect values to be gathered back in to a Map or Collection, e.g., rather
than directly on a mapped entity.
- EphemeralMappedField(ParameterizedType, MappedField, Mapper) - Constructor for class org.mongodb.morphia.mapping.EphemeralMappedField
-
Creates an EphemeralMappedField.
- EphemeralMappedField(Type, MappedField, Mapper) - Constructor for class org.mongodb.morphia.mapping.EphemeralMappedField
-
Creates an EphemeralMappedField.
- EPSG_4326 - Static variable in class org.mongodb.morphia.geo.NamedCoordinateReferenceSystem
-
The EPSG:4326 Coordinate Reference System.
- EPSG_4326_STRICT_WINDING - Static variable in class org.mongodb.morphia.geo.NamedCoordinateReferenceSystem
-
A custom MongoDB EPSG:4326 Coordinate Reference System that uses a strict counter-clockwise winding order.
- equal(Object) - Method in interface org.mongodb.morphia.query.FieldEnd
-
Checks that a field equals a value
- equalIgnoreCase(Object) - Method in interface org.mongodb.morphia.query.FieldEnd
-
Checks that a field equals a value
- equals(Object) - Method in class org.mongodb.morphia.converters.TypeConverter
-
- equals(Object) - Method in class org.mongodb.morphia.geo.GeometryCollection
-
- equals(Object) - Method in class org.mongodb.morphia.geo.LineString
-
- equals(Object) - Method in class org.mongodb.morphia.geo.MultiLineString
-
- equals(Object) - Method in class org.mongodb.morphia.geo.MultiPoint
-
- equals(Object) - Method in class org.mongodb.morphia.geo.MultiPolygon
-
- equals(Object) - Method in class org.mongodb.morphia.geo.NamedCoordinateReferenceSystem
-
- equals(Object) - Method in class org.mongodb.morphia.geo.Point
-
- equals(Object) - Method in class org.mongodb.morphia.geo.Polygon
-
- equals(Object) - Method in class org.mongodb.morphia.Key
-
- equals(Object) - Method in class org.mongodb.morphia.mapping.MappedClass
-
- equals(Object) - Method in class relocated.morphia.org.apache.commons.collections.DefaultMapEntry
-
- error(String) - Method in class org.mongodb.morphia.logging.jdk.FastestJDKLogger
-
- error(String, Object...) - Method in class org.mongodb.morphia.logging.jdk.FastestJDKLogger
-
- error(String, Throwable) - Method in class org.mongodb.morphia.logging.jdk.FastestJDKLogger
-
- error(String) - Method in class org.mongodb.morphia.logging.jdk.JDKLogger
-
- error(String, Object...) - Method in class org.mongodb.morphia.logging.jdk.JDKLogger
-
- error(String, Throwable) - Method in class org.mongodb.morphia.logging.jdk.JDKLogger
-
- error(String) - Method in interface org.mongodb.morphia.logging.Logger
-
Logs a message at this level.
- error(String, Object...) - Method in interface org.mongodb.morphia.logging.Logger
-
Logs a message at this level.
- error(String, Throwable) - Method in interface org.mongodb.morphia.logging.Logger
-
Logs a message at this level.
- error(String) - Method in class org.mongodb.morphia.logging.SilentLogger
-
- error(String, Object...) - Method in class org.mongodb.morphia.logging.SilentLogger
-
- error(String, Throwable) - Method in class org.mongodb.morphia.logging.SilentLogger
-
- eval(V) - Method in class org.mongodb.morphia.utils.IterHelper.IterCallback
-
The method to call in the callback
- eval(K, V) - Method in class org.mongodb.morphia.utils.IterHelper.MapIterCallback
-
The method to call in the callback
- exists(Object, ReadPreference) - Method in interface org.mongodb.morphia.AdvancedDatastore
-
Checks that an entity exists for the given key or entity
- exists(String, Object) - Method in class org.mongodb.morphia.dao.BasicDAO
-
- exists(Query<T>) - Method in class org.mongodb.morphia.dao.BasicDAO
-
- exists(String, Object) - Method in interface org.mongodb.morphia.dao.DAO
-
checks for entities which match criteria {key:value}
- exists(Query<T>) - Method in interface org.mongodb.morphia.dao.DAO
-
checks for entities which match the criteria
- exists(Object) - Method in interface org.mongodb.morphia.Datastore
-
Does a query to check if the keyOrEntity exists in mongodb
- exists(Object) - Method in class org.mongodb.morphia.DatastoreImpl
-
- exists(Object, ReadPreference) - Method in class org.mongodb.morphia.DatastoreImpl
-
- exists(Key<?>) - Method in class org.mongodb.morphia.mapping.cache.DefaultEntityCache
-
- exists(Key<?>) - Method in interface org.mongodb.morphia.mapping.cache.EntityCache
-
Looks for a Key in the cache
- exists() - Method in interface org.mongodb.morphia.query.FieldEnd
-
Checks that a field exists in a document
- ExistsOperationValidator - Class in org.mongodb.morphia.query.validation
-
Checks if the value can have the FilterOperator.EXISTS operator applied to it.
- explain() - Method in interface org.mongodb.morphia.query.Query
-
Provides information on the query plan.
- explain() - Method in class org.mongodb.morphia.query.QueryImpl
-
- expression(String, Object...) - Static method in class org.mongodb.morphia.aggregation.Projection
-
Provides access to arbitrary expressions taking an array of arguments, such as $concat
- FasterJDKLogger - Class in org.mongodb.morphia.logging.jdk
-
Provides a faster logger.
- FasterJDKLogger(Class) - Constructor for class org.mongodb.morphia.logging.jdk.FasterJDKLogger
-
Creates a logger.
- FastestJDKLogger - Class in org.mongodb.morphia.logging.jdk
-
- FastestJDKLogger(Class) - Constructor for class org.mongodb.morphia.logging.jdk.FastestJDKLogger
-
- fetch(Key<?>) - Method in class org.mongodb.morphia.mapping.lazy.proxy.AbstractReference
-
- fetch() - Method in class org.mongodb.morphia.mapping.lazy.proxy.AbstractReference
-
- fetch() - Method in class org.mongodb.morphia.mapping.lazy.proxy.CollectionObjectReference
-
- fetch() - Method in class org.mongodb.morphia.mapping.lazy.proxy.EntityObjectReference
-
- fetch() - Method in class org.mongodb.morphia.mapping.lazy.proxy.MapObjectReference
-
- fetch() - Method in class org.mongodb.morphia.query.QueryImpl
-
- fetch() - Method in interface org.mongodb.morphia.query.QueryResults
-
Execute the query and get the results.
- fetchEmptyEntities() - Method in class org.mongodb.morphia.query.QueryImpl
-
- fetchEmptyEntities() - Method in interface org.mongodb.morphia.query.QueryResults
-
Execute the query and get only the ids of the results.
- fetchKeys() - Method in class org.mongodb.morphia.query.QueryImpl
-
- fetchKeys() - Method in interface org.mongodb.morphia.query.QueryResults
-
Execute the query and get the keys for the objects.
- Field - Annotation Type in org.mongodb.morphia.annotations
-
Define a field to be used in an index;
- field(String) - Method in interface org.mongodb.morphia.query.Query
-
Fluent query interface: createQuery(Ent.class).field("count").greaterThan(7)...
- field(String) - Method in class org.mongodb.morphia.query.QueryImpl
-
- FieldConstraint - Class in org.mongodb.morphia.mapping.validation.fieldrules
-
- FieldConstraint() - Constructor for class org.mongodb.morphia.mapping.validation.fieldrules.FieldConstraint
-
- FieldEnd<T> - Interface in org.mongodb.morphia.query
-
Represents a document field in a query and presents the operations available to querying against that field.
- FieldEnumString - Class in org.mongodb.morphia.mapping.validation.classrules
-
- FieldEnumString(MappedField...) - Constructor for class org.mongodb.morphia.mapping.validation.classrules.FieldEnumString
-
Creates a FieldEnumString for the given fields
- FieldEnumString(List<MappedField>) - Constructor for class org.mongodb.morphia.mapping.validation.classrules.FieldEnumString
-
Creates a FieldEnumString for the given fields
- filter(String, Object) - Method in interface org.mongodb.morphia.query.Query
-
Create a filter based on the specified condition and value.
- filter(String, Object) - Method in class org.mongodb.morphia.query.QueryImpl
-
- FilterOperator - Enum in org.mongodb.morphia.query
-
- find(String, Class<T>) - Method in interface org.mongodb.morphia.AdvancedDatastore
-
Find all instances by type in a different collection than what is mapped on the class given.
- find(String, Class<T>, String, V, int, int) - Method in interface org.mongodb.morphia.AdvancedDatastore
-
Find all instances by type in a different collection than what is mapped on the class given skipping some documents and returning a
fixed number of the remaining.
- find() - Method in class org.mongodb.morphia.dao.BasicDAO
-
- find(Query<T>) - Method in class org.mongodb.morphia.dao.BasicDAO
-
- find() - Method in interface org.mongodb.morphia.dao.DAO
-
Finds all the documents in the collection mapped by the entity class
- find(Query<T>) - Method in interface org.mongodb.morphia.dao.DAO
-
Finds entities matching a query
- find(Class<T>) - Method in interface org.mongodb.morphia.Datastore
-
Find all instances by type
- find(Class<T>, String, V) - Method in interface org.mongodb.morphia.Datastore
-
Find all instances by collectionName, and filter property.
- find(Class<T>, String, V, int, int) - Method in interface org.mongodb.morphia.Datastore
-
Find all instances by type in a different collection than what is mapped on the class given skipping some documents and returning a
fixed number of the remaining.
- find(Class<T>) - Method in class org.mongodb.morphia.DatastoreImpl
-
- find(Class<T>, String, V) - Method in class org.mongodb.morphia.DatastoreImpl
-
- find(Class<T>, String, V, int, int) - Method in class org.mongodb.morphia.DatastoreImpl
-
- find(String, Class<T>) - Method in class org.mongodb.morphia.DatastoreImpl
-
- find(String, Class<T>, String, V, int, int) - Method in class org.mongodb.morphia.DatastoreImpl
-
- find(String, Class<T>, String, V, int, int, boolean) - Method in class org.mongodb.morphia.DatastoreImpl
-
Find all instances by type in a different collection than what is mapped on the class given skipping some documents and returning a
fixed number of the remaining.
- findAndDelete(Query<T>) - Method in interface org.mongodb.morphia.Datastore
-
Deletes the given entities based on the query (first item only).
- findAndDelete(Query<T>) - Method in class org.mongodb.morphia.DatastoreImpl
-
- findAndModify(Query<T>, UpdateOperations<T>) - Method in interface org.mongodb.morphia.Datastore
-
Find the first Entity from the Query, and modify it.
- findAndModify(Query<T>, UpdateOperations<T>, boolean) - Method in interface org.mongodb.morphia.Datastore
-
Find the first Entity from the Query, and modify it.
- findAndModify(Query<T>, UpdateOperations<T>, boolean, boolean) - Method in interface org.mongodb.morphia.Datastore
-
Find the first Entity from the Query, and modify it.
- findAndModify(Query<T>, UpdateOperations<T>) - Method in class org.mongodb.morphia.DatastoreImpl
-
- findAndModify(Query<T>, UpdateOperations<T>, boolean) - Method in class org.mongodb.morphia.DatastoreImpl
-
- findAndModify(Query<T>, UpdateOperations<T>, boolean, boolean) - Method in class org.mongodb.morphia.DatastoreImpl
-
- findIds() - Method in class org.mongodb.morphia.dao.BasicDAO
-
- findIds(String, Object) - Method in class org.mongodb.morphia.dao.BasicDAO
-
- findIds(Query<T>) - Method in class org.mongodb.morphia.dao.BasicDAO
-
- findIds() - Method in interface org.mongodb.morphia.dao.DAO
-
Finds the entities Ts
- findIds(String, Object) - Method in interface org.mongodb.morphia.dao.DAO
-
Finds the entities Key by the criteria {key:value}
- findIds(Query<T>) - Method in interface org.mongodb.morphia.dao.DAO
-
Finds the entities Ts by the criteria {key:value}
- findOne(String, Object) - Method in class org.mongodb.morphia.dao.BasicDAO
-
- findOne(Query<T>) - Method in class org.mongodb.morphia.dao.BasicDAO
-
- findOne(String, Object) - Method in interface org.mongodb.morphia.dao.DAO
-
Finds the first entity matching the query.
- findOne(Query<T>) - Method in interface org.mongodb.morphia.dao.DAO
-
Finds the first entity matching the query.
- findOneId() - Method in class org.mongodb.morphia.dao.BasicDAO
-
- findOneId(String, Object) - Method in class org.mongodb.morphia.dao.BasicDAO
-
- findOneId(Query<T>) - Method in class org.mongodb.morphia.dao.BasicDAO
-
- findOneId() - Method in interface org.mongodb.morphia.dao.DAO
-
Finds the first entity's ID
- findOneId(String, Object) - Method in interface org.mongodb.morphia.dao.DAO
-
Finds the first entity's ID matching a query
- findOneId(Query<T>) - Method in interface org.mongodb.morphia.dao.DAO
-
Finds the first entity's ID
- first(String) - Static method in class org.mongodb.morphia.aggregation.Group
-
Returns the value that results from applying an expression to the first document in a group of documents that share the same group
by
key.
- FloatConverter - Class in org.mongodb.morphia.converters
-
- FloatConverter() - Constructor for class org.mongodb.morphia.converters.FloatConverter
-
Creates the Converter.
- flush() - Method in class org.mongodb.morphia.mapping.cache.DefaultEntityCache
-
- flush() - Method in interface org.mongodb.morphia.mapping.cache.EntityCache
-
Clears the cache
- format(LogRecord) - Method in class org.mongodb.morphia.logging.jdk.ShortFormatter
-
- fromDb(Datastore, DBObject, T, EntityCache) - Method in class org.mongodb.morphia.mapping.Mapper
-
Converts a DBObject back to a type-safe java object (POJO)
- fromDBObject(DBObject, MappedField, Object) - Method in class org.mongodb.morphia.converters.Converters
-
Creates an entity and populates its state based on the dbObject given.
- fromDBObject(Datastore, DBObject, MappedField, Object, EntityCache, Mapper) - Method in interface org.mongodb.morphia.mapping.CustomMapper
-
Creates an entity and populates its state based on the dbObject given.
- fromDBObject(Datastore, Class<T>, DBObject, EntityCache) - Method in class org.mongodb.morphia.mapping.Mapper
-
Converts a DBObject back to a type-safe java object (POJO)
- fromDBObject(Datastore, Class<T>, DBObject) - Method in class org.mongodb.morphia.Morphia
-
Creates an entity and populates its state based on the dbObject given.
- fromDBObject(Datastore, Class<T>, DBObject, EntityCache) - Method in class org.mongodb.morphia.Morphia
-
Creates an entity and populates its state based on the dbObject given.
- fromString(String) - Static method in enum org.mongodb.morphia.geo.GeoJsonType
-
Allows you to turn String values of types into the Enum that corresponds to this type.
- fromString(String) - Static method in enum org.mongodb.morphia.MapreduceType
-
Finds the type represented by the value given
- fromString(String) - Static method in enum org.mongodb.morphia.query.FilterOperator
-
Creates a FilterOperator from a String
- fromString(String) - Static method in enum org.mongodb.morphia.query.UpdateOperator
-
Creates an UpdateOperator from a String
- GeoJson - Class in org.mongodb.morphia.geo
-
Factory class for creating GeoJSON types.
- GeoJsonType - Enum in org.mongodb.morphia.geo
-
Enumerates all the GeoJson types that are currently supported by Morphia.
- Geometry - Interface in org.mongodb.morphia.geo
-
Interface to denote which entities are classes that will serialise into a MongoDB GeoJson object.
- geometryCollection(Geometry...) - Static method in class org.mongodb.morphia.geo.GeoJson
-
Return a GeometryCollection that will let you create a GeoJSON GeometryCollection.
- GeometryCollection - Class in org.mongodb.morphia.geo
-
- GeometryConverter - Class in org.mongodb.morphia.geo
-
A Morphia TypeConverter that knows how to turn things that are labelled with the Geometry interface into the correct concrete class,
based on the GeoJSON type.
- GeometryConverter() - Constructor for class org.mongodb.morphia.geo.GeometryConverter
-
Sets up this converter to work with things that implement the Geometry interface
- GeometryQueryConverter - Class in org.mongodb.morphia.geo
-
Converts Point objects into DBObjects for querying only.
- GeometryQueryConverter(Mapper) - Constructor for class org.mongodb.morphia.geo.GeometryQueryConverter
-
Create a new converter.
- GeometryShapeConverter - Class in org.mongodb.morphia.geo
-
Converter that understands most Geometry instances are effectively just lists of either other geometry objects or double coordinates.
- GeometryShapeConverter.LineStringConverter - Class in org.mongodb.morphia.geo
-
Defines a new LineStringConverter.
- GeometryShapeConverter.MultiLineStringConverter - Class in org.mongodb.morphia.geo
-
Defines a new MultiLineStringConverter.
- GeometryShapeConverter.MultiPointConverter - Class in org.mongodb.morphia.geo
-
Defines a new MultiPointConverter.
- GeometryShapeConverter.MultiPolygonConverter - Class in org.mongodb.morphia.geo
-
Extends and therefore configures GeometryShapeConverter to provide the specific configuration for converting MultiPolygon objects to
and from
MongoDB representations of the GeoJson.
- GeometryShapeConverter.PointConverter - Class in org.mongodb.morphia.geo
-
Defines a new PointConverter.
- GeometryShapeConverter.PolygonConverter - Class in org.mongodb.morphia.geo
-
Defines a new PolygonConverter.
- geoNear(GeoNear) - Method in interface org.mongodb.morphia.aggregation.AggregationPipeline
-
Returns an ordered stream of documents based on the proximity to a geospatial point.
- geoNear(GeoNear) - Method in class org.mongodb.morphia.aggregation.AggregationPipelineImpl
-
- GeoNear - Class in org.mongodb.morphia.aggregation
-
Outputs documents in order of nearest to farthest from a specified point.
- GeoNear.GeoNearBuilder - Class in org.mongodb.morphia.aggregation
-
Provides a builder for GeoNear instances.
- GeoNearBuilder(String) - Constructor for class org.mongodb.morphia.aggregation.GeoNear.GeoNearBuilder
-
- GeoWithinOperationValidator - Class in org.mongodb.morphia.query.validation
-
Supports validation for queries using the FilterOperator.GEO_WITHIN operator.
- get(Class<T>, DBRef) - Method in interface org.mongodb.morphia.AdvancedDatastore
-
Find the given entity (by collectionName/id);
- get(String, Class<T>, V) - Method in interface org.mongodb.morphia.AdvancedDatastore
-
Finds an entity in the named collection whose id matches the value given.
- get(K) - Method in class org.mongodb.morphia.dao.BasicDAO
-
- get(K) - Method in interface org.mongodb.morphia.dao.DAO
-
Loads the entity by id value
- get(Class<T>, Iterable<V>) - Method in interface org.mongodb.morphia.Datastore
-
Find the given entities (by id); shorthand for find("_id in", ids)
- get(Class<T>, V) - Method in interface org.mongodb.morphia.Datastore
-
Find the given entity (by id); shorthand for find("_id ", id)
- get(T) - Method in interface org.mongodb.morphia.Datastore
-
Find the given entity (by collectionName/id); think of this as refresh
- get(Class<T>, Iterable<V>) - Method in class org.mongodb.morphia.DatastoreImpl
-
- get(Class<T>, V) - Method in class org.mongodb.morphia.DatastoreImpl
-
- get(T) - Method in class org.mongodb.morphia.DatastoreImpl
-
- get(Class<T>, DBRef) - Method in class org.mongodb.morphia.DatastoreImpl
-
- get(String, Class<T>, V) - Method in class org.mongodb.morphia.DatastoreImpl
-
- get(Class<?>) - Method in class org.mongodb.morphia.logging.jdk.JDKLoggerFactory
-
- get(Class<?>) - Method in interface org.mongodb.morphia.logging.LoggerFactory
-
Gets or creates a Logger for the given class.
- get(Class<?>) - Static method in class org.mongodb.morphia.logging.MorphiaLoggerFactory
-
Gets or creates a Logger for the given class.
- get() - Method in interface org.mongodb.morphia.mapping.lazy.DatastoreProvider
-
Deprecated.
- get() - Method in class org.mongodb.morphia.mapping.lazy.proxy.AbstractReference
-
- get() - Method in class org.mongodb.morphia.query.QueryImpl
-
- get() - Method in interface org.mongodb.morphia.query.QueryResults
-
Gets the first entity in the result set.
- get(Object) - Method in class relocated.morphia.org.apache.commons.collections.ReferenceMap
-
Returns the value associated with the given key, if any.
- getAccumulator() - Method in class org.mongodb.morphia.aggregation.Group
-
- getAnnotation(Class<? extends Annotation>) - Method in class org.mongodb.morphia.mapping.MappedClass
-
Looks for an annotation of the type given
- getAnnotation(Class<T>) - Method in class org.mongodb.morphia.mapping.MappedField
-
- getAnnotation(Class, Class<T>) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
-
Returns an annotation on a Class if present
- getAnnotations(Class<? extends Annotation>) - Method in class org.mongodb.morphia.mapping.MappedClass
-
Looks for an annotation in the annotations found on a class while mapping
- getAnnotations() - Method in class org.mongodb.morphia.mapping.MappedField
-
- getAnnotations(Class, Class<T>) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
-
Returns the (first) instance of the annotation, on the class (or any superclass, or interfaces implemented).
- getArguments() - Method in class org.mongodb.morphia.aggregation.Projection
-
- getAttachedTo() - Method in class org.mongodb.morphia.query.AbstractCriteria
-
- getBatchSize() - Method in interface org.mongodb.morphia.query.Query
-
- getBatchSize() - Method in class org.mongodb.morphia.query.QueryImpl
-
- getByKey(Class<T>, Key<T>) - Method in interface org.mongodb.morphia.Datastore
-
Find the given entity (by collectionName/id);
- getByKey(Class<T>, Key<T>) - Method in class org.mongodb.morphia.DatastoreImpl
-
- getByKeys(Class<T>, Iterable<Key<T>>) - Method in interface org.mongodb.morphia.Datastore
-
Find the given entities (by id), verifying they are of the correct type; shorthand for find("_id in", ids)
- getByKeys(Iterable<Key<T>>) - Method in interface org.mongodb.morphia.Datastore
-
Find the given entities (by id); shorthand for find("_id in", ids)
- getByKeys(Class<T>, Iterable<Key<T>>) - Method in class org.mongodb.morphia.DatastoreImpl
-
- getByKeys(Iterable<Key<T>>) - Method in class org.mongodb.morphia.DatastoreImpl
-
- getCacheFactory() - Method in class org.mongodb.morphia.mapping.MapperOptions
-
- getCaller() - Method in class org.mongodb.morphia.logging.jdk.JDKLogger
-
returns an array (class, method) of the caller before our logger class in the stack
- getChildren() - Method in class org.mongodb.morphia.query.CriteriaContainerImpl
-
- getClass(Type) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
-
Get the underlying class for a type, or null if the type is a variable type.
- getClassEmbeddedAnnotation(Class) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
-
Returns the @Embedded annotation on a Class if present
- getClassEntityAnnotation(Class) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
-
Returns the @Entity annotation on a Class if present
- getClasses(String) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
-
Returns the classes in a package
- getClasses(String, boolean) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
-
Returns the classes in a package
- getClasses(ClassLoader, String) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
-
Returns the classes in a package
- getClasses(ClassLoader, String, boolean) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
-
Returns the classes in a package
- getClassFromCollection(String) - Method in class org.mongodb.morphia.mapping.Mapper
-
Looks up the class mapped to a named collection.
- getClassLoaderForClass() - Method in class org.mongodb.morphia.mapping.DefaultCreator
-
- getClassName() - Method in class org.mongodb.morphia.logging.jdk.FastestJDKLogger
-
- getClassNameCache() - Method in class org.mongodb.morphia.mapping.DefaultCreator
-
- getClazz() - Method in class org.mongodb.morphia.mapping.MappedClass
-
- getClazz() - Method in class org.mongodb.morphia.query.MorphiaIterator
-
- getCollection() - Method in class org.mongodb.morphia.dao.BasicDAO
-
- getCollection() - Method in interface org.mongodb.morphia.dao.DAO
-
- getCollection(Class<?>) - Method in interface org.mongodb.morphia.Datastore
-
- getCollection(Class) - Method in class org.mongodb.morphia.DatastoreImpl
-
- getCollection(Object) - Method in class org.mongodb.morphia.DatastoreImpl
-
- getCollection(String) - Method in class org.mongodb.morphia.DatastoreImpl
-
- getCollection() - Method in class org.mongodb.morphia.Key
-
- getCollection() - Method in class org.mongodb.morphia.query.MorphiaIterator
-
- getCollection() - Method in interface org.mongodb.morphia.query.Query
-
- getCollection() - Method in class org.mongodb.morphia.query.QueryImpl
-
- getCollectionName() - Method in class org.mongodb.morphia.mapping.MappedClass
-
- getCollectionName(Object) - Method in class org.mongodb.morphia.mapping.Mapper
-
Gets the mapped collection for an object instance or Class reference.
- getConcreteType() - Method in class org.mongodb.morphia.mapping.MappedField
-
- getConverters() - Method in class org.mongodb.morphia.mapping.Mapper
-
- getCoordinates() - Method in interface org.mongodb.morphia.geo.Geometry
-
Returns a list of coordinates for this Geometry type.
- getCoordinates() - Method in class org.mongodb.morphia.geo.LineString
-
- getCoordinates() - Method in class org.mongodb.morphia.geo.MultiLineString
-
- getCoordinates() - Method in class org.mongodb.morphia.geo.MultiPoint
-
- getCoordinates() - Method in class org.mongodb.morphia.geo.MultiPolygon
-
- getCoordinates() - Method in class org.mongodb.morphia.geo.Point
-
- getCoordinates() - Method in class org.mongodb.morphia.geo.Polygon
-
- getCount(String) - Method in interface org.mongodb.morphia.AdvancedDatastore
-
Gets the count this collection
- getCount(T) - Method in interface org.mongodb.morphia.Datastore
-
- getCount(Class<T>) - Method in interface org.mongodb.morphia.Datastore
-
- getCount(Query<T>) - Method in interface org.mongodb.morphia.Datastore
-
Gets the count of items returned by this query; same as query.countAll()
- getCount(T) - Method in class org.mongodb.morphia.DatastoreImpl
-
- getCount(Class<T>) - Method in class org.mongodb.morphia.DatastoreImpl
-
- getCount(Query<T>) - Method in class org.mongodb.morphia.DatastoreImpl
-
- getCount(String) - Method in class org.mongodb.morphia.DatastoreImpl
-
- getCounts() - Method in class org.mongodb.morphia.MapreduceResults
-
- getCTor() - Method in class org.mongodb.morphia.mapping.MappedField
-
- getCursor() - Method in class org.mongodb.morphia.query.MorphiaIterator
-
- getDatastore() - Method in class org.mongodb.morphia.dao.BasicDAO
-
- getDatastore() - Method in interface org.mongodb.morphia.dao.DAO
-
- getDatastore() - Method in class org.mongodb.morphia.mapping.lazy.proxy.AbstractReference
-
- getDatastore() - Method in class org.mongodb.morphia.query.QueryImpl
-
- getDatastoreProvider() - Method in class org.mongodb.morphia.mapping.MapperOptions
-
- getDB() - Method in interface org.mongodb.morphia.Datastore
-
- getDB() - Method in class org.mongodb.morphia.DatastoreImpl
-
- getDbObjectValue(DBObject) - Method in class org.mongodb.morphia.mapping.EphemeralMappedField
-
- getDbObjectValue(DBObject) - Method in class org.mongodb.morphia.mapping.MappedField
-
- getDeclaredAndInheritedFields(Class, boolean) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
-
Get an array of all fields declared in the supplied class, and all its superclasses (except java.lang.Object).
- getDeclaredAndInheritedMethods(Class) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
-
Get a list of all methods declared in the supplied class, and all its superclasses (except java.lang.Object), recursively.
- getDeclaringClass() - Method in class org.mongodb.morphia.mapping.MappedField
-
- getDecoderFact() - Method in interface org.mongodb.morphia.AdvancedDatastore
-
Returns the DBDecoderFactory used by this Datastore
- getDecoderFact() - Method in class org.mongodb.morphia.DatastoreImpl
-
- getDefaultMapper() - Method in class org.mongodb.morphia.mapping.MapperOptions
-
- getDefaultWriteConcern() - Method in interface org.mongodb.morphia.Datastore
-
- getDefaultWriteConcern() - Method in class org.mongodb.morphia.DatastoreImpl
-
- getDirection() - Method in class org.mongodb.morphia.aggregation.Sort
-
- getDistanceField() - Method in class org.mongodb.morphia.aggregation.GeoNear
-
- getDistanceMultiplier() - Method in class org.mongodb.morphia.aggregation.GeoNear
-
- getDriverTime() - Method in class org.mongodb.morphia.query.MorphiaIterator
-
- getDs() - Method in class org.mongodb.morphia.dao.BasicDAO
-
- getElapsedMillis() - Method in class org.mongodb.morphia.MapreduceResults
-
- getEmbeddedAnnotation() - Method in class org.mongodb.morphia.mapping.MappedClass
-
- getEmbeddedMapper() - Method in class org.mongodb.morphia.mapping.MapperOptions
-
- getEmitCount() - Method in class org.mongodb.morphia.MapreduceResults.Stats
-
- getEncoder(Class) - Method in class org.mongodb.morphia.converters.Converters
-
- getEncoder(Object, MappedField) - Method in class org.mongodb.morphia.converters.Converters
-
- getEncoder(Class) - Method in class org.mongodb.morphia.converters.CustomConverters
-
- getEncoder(Object, MappedField) - Method in class org.mongodb.morphia.converters.CustomConverters
-
- getEncoder(Class) - Method in class org.mongodb.morphia.converters.DefaultConverters
-
- getEncoder(Object, MappedField) - Method in class org.mongodb.morphia.converters.DefaultConverters
-
- getEntity(Key<T>) - Method in class org.mongodb.morphia.mapping.cache.DefaultEntityCache
-
- getEntity(Key<T>) - Method in interface org.mongodb.morphia.mapping.cache.EntityCache
-
Returns the entity for a Key
- getEntityAnnotation() - Method in class org.mongodb.morphia.mapping.MappedClass
-
- getEntityClass() - Method in class org.mongodb.morphia.dao.BasicDAO
-
- getEntityClass() - Method in interface org.mongodb.morphia.dao.DAO
-
The type of entities for this DAO
- getEntityClass() - Method in interface org.mongodb.morphia.query.Query
-
- getEntityClass() - Method in class org.mongodb.morphia.query.QueryImpl
-
- getEntityClazz() - Method in class org.mongodb.morphia.dao.BasicDAO
-
- getError() - Method in class org.mongodb.morphia.MapreduceResults
-
Deprecated.
- getExteriorBoundary() - Method in class org.mongodb.morphia.geo.Polygon
-
Returns a LineString representing the exterior boundary of this Polygon.
- getField() - Method in class org.mongodb.morphia.aggregation.Accumulator
-
- getField() - Method in class org.mongodb.morphia.aggregation.Sort
-
- getField() - Method in class org.mongodb.morphia.mapping.MappedField
-
- getFieldName() - Method in interface org.mongodb.morphia.query.Criteria
-
- getFieldName() - Method in class org.mongodb.morphia.query.CriteriaContainerImpl
-
- getFieldName() - Method in class org.mongodb.morphia.query.QueryImpl
-
- getFieldName() - Method in class org.mongodb.morphia.query.WhereCriteria
-
- getFieldsAnnotatedWith(Class<? extends Annotation>) - Method in class org.mongodb.morphia.mapping.MappedClass
-
Returns fields annotated with the clazz
- getFieldsObject() - Method in interface org.mongodb.morphia.query.Query
-
- getFieldsObject() - Method in class org.mongodb.morphia.query.QueryImpl
-
- getFieldValue(Object) - Method in class org.mongodb.morphia.mapping.EphemeralMappedField
-
- getFieldValue(Object) - Method in class org.mongodb.morphia.mapping.MappedField
-
Gets the value of the field mapped on the instance given.
- getFirstAnnotation(Class<? extends Annotation>) - Method in class org.mongodb.morphia.mapping.MappedClass
-
Returns the first found Annotation, or null.
- getFirstFieldName(DBObject) - Method in class org.mongodb.morphia.mapping.MappedField
-
Gets the field name to use when converting from a DBObject
- getFromDirectory(ClassLoader, File, String) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
-
Returns the classes in a package found in a directory
- getFromDirectory(ClassLoader, File, String, boolean) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
-
Returns the classes in a package found in a directory
- getFromJARFile(ClassLoader, String, String) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
-
Returns the classes in a package found in a jar
- getFromJARFile(ClassLoader, String, String, boolean) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
-
Returns the classes in a package found in a jar
- getFullName() - Method in class org.mongodb.morphia.mapping.MappedField
-
- getGeometry() - Method in class org.mongodb.morphia.query.Shape
-
- getId(Object) - Method in class org.mongodb.morphia.DatastoreImpl
-
Deprecated.
- getId() - Method in class org.mongodb.morphia.Key
-
- getId(Object) - Method in class org.mongodb.morphia.mapping.Mapper
-
Gets the ID value for an entity
- getIdField() - Method in class org.mongodb.morphia.mapping.MappedClass
-
- getIncludeLocations() - Method in class org.mongodb.morphia.aggregation.GeoNear
-
This specifies the output field that identifies the location used to calculate the distance.
- getInlineResults() - Method in class org.mongodb.morphia.MapreduceResults
-
Creates an Iterator over the results of the operation.
- getInputCount() - Method in class org.mongodb.morphia.MapreduceResults.Stats
-
- getInsertedCount() - Method in class org.mongodb.morphia.query.UpdateResults
-
- getInstance() - Static method in class org.mongodb.morphia.query.validation.AllOperationValidator
-
Get the instance.
- getInstance() - Static method in class org.mongodb.morphia.query.validation.DefaultTypeValidator
-
Get the instance.
- getInstance() - Static method in class org.mongodb.morphia.query.validation.DoubleTypeValidator
-
Get the instance.
- getInstance() - Static method in class org.mongodb.morphia.query.validation.EntityAnnotatedValueValidator
-
Get the instance.
- getInstance() - Static method in class org.mongodb.morphia.query.validation.EntityTypeAndIdValueValidator
-
Get the instance.
- getInstance() - Static method in class org.mongodb.morphia.query.validation.ExistsOperationValidator
-
Get the instance.
- getInstance() - Static method in class org.mongodb.morphia.query.validation.GeoWithinOperationValidator
-
Get the instance.
- getInstance() - Static method in class org.mongodb.morphia.query.validation.InOperationValidator
-
Get the instance.
- getInstance() - Static method in class org.mongodb.morphia.query.validation.IntegerTypeValidator
-
Get the instance.
- getInstance() - Static method in class org.mongodb.morphia.query.validation.KeyValueTypeValidator
-
Get the instance.
- getInstance() - Static method in class org.mongodb.morphia.query.validation.ListValueValidator
-
Get the instance.
- getInstance() - Static method in class org.mongodb.morphia.query.validation.LongTypeValidator
-
Get the instance.
- getInstance() - Static method in class org.mongodb.morphia.query.validation.ModOperationValidator
-
Get the instance.
- getInstance() - Static method in class org.mongodb.morphia.query.validation.NotInOperationValidator
-
Get the instance
- getInstance() - Static method in class org.mongodb.morphia.query.validation.PatternValueValidator
-
Get the instance.
- getInstance() - Static method in class org.mongodb.morphia.query.validation.SizeOperationValidator
-
Get the instance
- getInstanceCache() - Method in class org.mongodb.morphia.mapping.Mapper
-
- getInterceptors() - Method in class org.mongodb.morphia.mapping.Mapper
-
- getInteriorBoundaries() - Method in class org.mongodb.morphia.geo.Polygon
-
Returns a (possibly empty) List of LineStrings, one for each hole inside the external boundary of this polygon.
- getJavaFieldName() - Method in class org.mongodb.morphia.mapping.MappedField
-
- getJoinMethod() - Method in class org.mongodb.morphia.query.CriteriaContainerImpl
-
- getKey(T) - Method in interface org.mongodb.morphia.Datastore
-
Creates a (type-safe) reference to the entity; if stored this will become a
DBRef
- getKey(T) - Method in class org.mongodb.morphia.DatastoreImpl
-
Deprecated.
- getKey(T) - Method in class org.mongodb.morphia.mapping.Mapper
-
Gets the Key for an entity
- getKey(T, String) - Method in class org.mongodb.morphia.mapping.Mapper
-
Gets the Key for an entity and a specific collection
- getKey() - Method in class org.mongodb.morphia.query.QueryImpl
-
- getKey() - Method in interface org.mongodb.morphia.query.QueryResults
-
Get the key of the first entity in the result set.
- getKey() - Method in class relocated.morphia.org.apache.commons.collections.DefaultMapEntry
-
Returns the key.
- getKeysByManualRefs(Class<T>, List<Object>) - Method in class org.mongodb.morphia.mapping.Mapper
-
Gets the Keys for a list of objects
- getKeysByRefs(List<DBRef>) - Method in class org.mongodb.morphia.mapping.Mapper
-
Gets the Keys for a list of objects
- getLatitude() - Method in class org.mongodb.morphia.geo.Point
-
Return the latitude of this point.
- getLevel() - Method in class org.mongodb.morphia.mapping.validation.ConstraintViolation
-
- getLifecycleMethods(Class<Annotation>) - Method in class org.mongodb.morphia.mapping.MappedClass
-
Gets the lifecycle methods for particular annotation.
- getLimit() - Method in class org.mongodb.morphia.aggregation.GeoNear
-
- getLimit() - Method in interface org.mongodb.morphia.query.Query
-
- getLimit() - Method in class org.mongodb.morphia.query.QueryImpl
-
- getLoadNames() - Method in class org.mongodb.morphia.mapping.MappedField
-
- getLogger() - Method in class org.mongodb.morphia.logging.jdk.FastestJDKLogger
-
- getLongitude() - Method in class org.mongodb.morphia.geo.Point
-
Return the longitude of this point.
- getMapKeyClass() - Method in class org.mongodb.morphia.mapping.EphemeralMappedField
-
- getMapKeyClass() - Method in class org.mongodb.morphia.mapping.MappedField
-
If the underlying java type is a map then it returns T from Map
- getMappedClass(Object) - Method in class org.mongodb.morphia.mapping.Mapper
-
- getMappedClasses() - Method in class org.mongodb.morphia.mapping.Mapper
-
- getMappedField(String) - Method in class org.mongodb.morphia.mapping.MappedClass
-
Returns the MappedField by the name that it will stored in mongodb as
- getMappedFieldByJavaField(String) - Method in class org.mongodb.morphia.mapping.MappedClass
-
Returns MappedField for a given java field name on the this MappedClass
- getMappedFieldName() - Method in class org.mongodb.morphia.mapping.EphemeralMappedField
-
- getMappedFieldName() - Method in class org.mongodb.morphia.mapping.MappedField
-
- getMappedIdField() - Method in class org.mongodb.morphia.mapping.MappedClass
-
- getMappedVersionField() - Method in class org.mongodb.morphia.mapping.MappedClass
-
- getMapper() - Method in class org.mongodb.morphia.converters.TypeConverter
-
- getMapper() - Method in class org.mongodb.morphia.DatastoreImpl
-
- getMapper() - Method in class org.mongodb.morphia.Morphia
-
- getMapper() - Method in class org.mongodb.morphia.query.MorphiaIterator
-
- getMapperTime() - Method in class org.mongodb.morphia.query.MorphiaIterator
-
- getMaxDistance() - Method in class org.mongodb.morphia.aggregation.GeoNear
-
The maximum distance from the center point that the documents can be.
- getMaxDocuments() - Method in class org.mongodb.morphia.aggregation.GeoNear
-
The num option provides the same function as the limit option.
- getMCMap() - Method in class org.mongodb.morphia.mapping.Mapper
-
- getMongo() - Method in interface org.mongodb.morphia.Datastore
-
Get the underlying MongoClient that allows connection to the MongoDB instance being used.
- getMongo() - Method in class org.mongodb.morphia.DatastoreImpl
-
- getN() - Method in class org.mongodb.morphia.query.UpdateResults
-
- getName() - Method in class org.mongodb.morphia.aggregation.Group
-
- getName() - Method in class org.mongodb.morphia.geo.NamedCoordinateReferenceSystem
-
Gets the name of this Coordinate Reference System.
- getNameToStore() - Method in class org.mongodb.morphia.mapping.EphemeralMappedField
-
- getNameToStore() - Method in class org.mongodb.morphia.mapping.MappedField
-
- getNear() - Method in class org.mongodb.morphia.aggregation.GeoNear
-
The point for which to find the closest documents.
- getNested() - Method in class org.mongodb.morphia.aggregation.Group
-
- getNewId() - Method in class org.mongodb.morphia.query.UpdateResults
-
- getNext() - Method in class org.mongodb.morphia.query.MorphiaIterator
-
- getObjectFactory() - Method in class org.mongodb.morphia.mapping.MapperOptions
-
- getOffset() - Method in interface org.mongodb.morphia.query.Query
-
- getOffset() - Method in class org.mongodb.morphia.query.QueryImpl
-
- getOperation() - Method in class org.mongodb.morphia.aggregation.Accumulator
-
- getOperator() - Method in class org.mongodb.morphia.query.validation.AllOperationValidator
-
- getOperator() - Method in class org.mongodb.morphia.query.validation.ExistsOperationValidator
-
- getOperator() - Method in class org.mongodb.morphia.query.validation.GeoWithinOperationValidator
-
- getOperator() - Method in class org.mongodb.morphia.query.validation.InOperationValidator
-
- getOperator() - Method in class org.mongodb.morphia.query.validation.ModOperationValidator
-
- getOperator() - Method in class org.mongodb.morphia.query.validation.NotInOperationValidator
-
- getOperator() - Method in class org.mongodb.morphia.query.validation.OperationValidator
-
This method is called by the apply method to determine whether to validate the query.
- getOperator() - Method in class org.mongodb.morphia.query.validation.SizeOperationValidator
-
- getOps() - Method in class org.mongodb.morphia.query.UpdateOpsImpl
-
- getOptions() - Method in class org.mongodb.morphia.mapping.Mapper
-
- getOutputCount() - Method in class org.mongodb.morphia.MapreduceResults.Stats
-
- getParameterizedClass(Field) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
-
Get the (first) class that parameterizes the Field supplied.
- getParameterizedClass(Field, int) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
-
Get the class that parameterizes the Field supplied, at the index supplied (field can be parameterized with multiple param classes).
- getParameterizedClass(Class) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
-
Returns the parameterized type of a Class
- getParameterizedClass(Class, int) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
-
Returns the parameterized type in the given position
- getParameterizedType(Field, int) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
-
Returns the parameterized type for a field
- getParent() - Method in class org.mongodb.morphia.mapping.EphemeralMappedField
-
- getPersistenceFields() - Method in class org.mongodb.morphia.mapping.MappedClass
-
- getPoints() - Method in class org.mongodb.morphia.query.Shape
-
- getPrefix() - Method in class org.mongodb.morphia.mapping.validation.ConstraintViolation
-
- getProjections() - Method in class org.mongodb.morphia.aggregation.Group
-
- getProjections() - Method in class org.mongodb.morphia.aggregation.Projection
-
- getProxy(Key<T>) - Method in class org.mongodb.morphia.mapping.cache.DefaultEntityCache
-
- getProxy(Key<T>) - Method in interface org.mongodb.morphia.mapping.cache.EntityCache
-
Returns a proxy for the entity for a Key
- getProxyFactory() - Method in class org.mongodb.morphia.mapping.Mapper
-
- getQuery() - Method in class org.mongodb.morphia.aggregation.GeoNear
-
Limits the results to the documents that match the query.
- getQuery() - Method in class org.mongodb.morphia.query.CriteriaContainerImpl
-
- getQueryFactory() - Method in interface org.mongodb.morphia.Datastore
-
- getQueryFactory() - Method in class org.mongodb.morphia.DatastoreImpl
-
- getQueryObject() - Method in interface org.mongodb.morphia.query.Query
-
- getQueryObject() - Method in class org.mongodb.morphia.query.QueryImpl
-
- getReferenceMapper() - Method in class org.mongodb.morphia.mapping.MapperOptions
-
- getReferentClass(Object) - Static method in class org.mongodb.morphia.mapping.lazy.proxy.ProxyHelper
-
Returns the class backing this entity
- getRelevantAnnotations() - Method in class org.mongodb.morphia.mapping.MappedClass
-
- getRequiredValueType() - Method in class org.mongodb.morphia.query.validation.KeyValueTypeValidator
-
- getRequiredValueType() - Method in class org.mongodb.morphia.query.validation.ListValueValidator
-
- getRequiredValueType() - Method in class org.mongodb.morphia.query.validation.PatternValueValidator
-
- getRequiredValueType() - Method in class org.mongodb.morphia.query.validation.ValueValidator
-
Used by apply to figure out whether to apply the validation or simply return.
- getSortObject() - Method in interface org.mongodb.morphia.query.Query
-
- getSortObject() - Method in class org.mongodb.morphia.query.QueryImpl
-
- getSource() - Method in class org.mongodb.morphia.aggregation.Projection
-
- getSourceField() - Method in class org.mongodb.morphia.aggregation.Group
-
- getSpherical() - Method in class org.mongodb.morphia.aggregation.GeoNear
-
Required if using a 2dsphere index.
- getStages() - Method in class org.mongodb.morphia.aggregation.AggregationPipelineImpl
-
Returns the internal list of stages for this pipeline.
- getSubClass() - Method in class org.mongodb.morphia.mapping.EphemeralMappedField
-
- getSubClass() - Method in class org.mongodb.morphia.mapping.MappedField
-
If the java field is a list/array/map then the sub-type T is returned (ex.
- getSubType() - Method in class org.mongodb.morphia.mapping.EphemeralMappedField
-
- getSubType() - Method in class org.mongodb.morphia.mapping.MappedField
-
If the java field is a list/array/map then the sub-type T is returned (ex.
- getSupportTypes() - Method in class org.mongodb.morphia.converters.TypeConverter
-
- getTarget() - Method in class org.mongodb.morphia.aggregation.Projection
-
- getType() - Method in class org.mongodb.morphia.geo.CoordinateReferenceSystem
-
Gets the type of this Coordinate Reference System.
- getType() - Method in enum org.mongodb.morphia.geo.GeoJsonType
-
Returns the value that needs to be stored with the GeoJson values in the database to declare which GeoJson type the coordinates
represent.
- getType() - Method in class org.mongodb.morphia.geo.NamedCoordinateReferenceSystem
-
- getType() - Method in class org.mongodb.morphia.Key
-
- getType() - Method in class org.mongodb.morphia.mapping.EphemeralMappedField
-
- getType() - Method in class org.mongodb.morphia.mapping.MappedField
-
- getType() - Method in class org.mongodb.morphia.MapreduceResults
-
- getTypeArgument(Class<? extends T>, TypeVariable<? extends GenericDeclaration>) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
-
Returns the type argument
- getTypeArguments(Class<T>, Class<? extends T>) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
-
- getTypeClass() - Method in enum org.mongodb.morphia.geo.GeoJsonType
-
Returns a concrete class that implements Geometry, the class that represents this GeoJsonType.
- getTypeName() - Method in enum org.mongodb.morphia.geo.CoordinateReferenceSystemType
-
Gets the GeoJSON-defined name for the type.
- getTypeParameters() - Method in class org.mongodb.morphia.mapping.MappedField
-
- getUniqueDocuments() - Method in class org.mongodb.morphia.aggregation.GeoNear
-
- getUpdatedCount() - Method in class org.mongodb.morphia.query.UpdateResults
-
- getUpdatedExisting() - Method in class org.mongodb.morphia.query.UpdateResults
-
- getUseBulkWriteOperations() - Method in class org.mongodb.morphia.Morphia
-
- getValidFields(Field[], boolean) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
-
Scans the array fields and returns any fields that are not static or (optionally) final.
- getValue() - Method in class org.mongodb.morphia.mapping.EphemeralMappedField
-
- getValue() - Method in class relocated.morphia.org.apache.commons.collections.DefaultMapEntry
-
Returns the value.
- getValueMapper() - Method in class org.mongodb.morphia.mapping.MapperOptions
-
- getWriteResult() - Method in class org.mongodb.morphia.query.UpdateResults
-
- greaterThan(Object) - Method in interface org.mongodb.morphia.query.FieldEnd
-
Checks that a field is greater than the value given
- greaterThanOrEq(Object) - Method in interface org.mongodb.morphia.query.FieldEnd
-
Checks that a field is greater than or equal to the value given
- group(String, Group...) - Method in interface org.mongodb.morphia.aggregation.AggregationPipeline
-
Groups input documents by a specified identifier expression and applies the accumulator expression(s), if specified, to each group .
- group(List<Group>, Group...) - Method in interface org.mongodb.morphia.aggregation.AggregationPipeline
-
- group(String, Group...) - Method in class org.mongodb.morphia.aggregation.AggregationPipelineImpl
-
- group(List<Group>, Group...) - Method in class org.mongodb.morphia.aggregation.AggregationPipelineImpl
-
- Group - Class in org.mongodb.morphia.aggregation
-
Defines a group pipeline stage.
- grouping(String) - Static method in class org.mongodb.morphia.aggregation.Group
-
Creates a named grouping
- grouping(String, Projection...) - Static method in class org.mongodb.morphia.aggregation.Group
-
Creates a named grouping
- grouping(String, Group) - Static method in class org.mongodb.morphia.aggregation.Group
-
Creates a named grouping
- grouping(String, String) - Static method in class org.mongodb.morphia.aggregation.Group
-
Creates a named grouping on a field
- grouping(String, Accumulator) - Static method in class org.mongodb.morphia.aggregation.Group
-
Creates a named grouping on a field
- id(Group...) - Static method in class org.mongodb.morphia.aggregation.Group
-
Create a group of Groups for use as an ID
- Id - Annotation Type in org.mongodb.morphia.annotations
-
- ID_KEY - Static variable in class org.mongodb.morphia.mapping.Mapper
-
The @
Id field name that is stored with mongodb.
- IdDoesNotMix - Class in org.mongodb.morphia.mapping.validation.fieldrules
-
- IdDoesNotMix() - Constructor for class org.mongodb.morphia.mapping.validation.fieldrules.IdDoesNotMix
-
- IdentityConverter - Class in org.mongodb.morphia.converters
-
- IdentityConverter(Class...) - Constructor for class org.mongodb.morphia.converters.IdentityConverter
-
Creates the Converter.
- IdGetter - Annotation Type in org.mongodb.morphia.annotations
-
This annotation allows the lazy-load proxy to return the ID of a referenced entity without reading the reference from the database.
- IGNORED_FIELDNAME - Static variable in class org.mongodb.morphia.mapping.Mapper
-
Special name that can never be used.
- ignoreMissing - Variable in class org.mongodb.morphia.mapping.lazy.proxy.AbstractReference
-
- implementsInterface(Class<?>, Class<?>) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
-
Check if a class implements a specific interface.
- in(Iterable<?>) - Method in interface org.mongodb.morphia.query.FieldEnd
-
- inc(String) - Method in interface org.mongodb.morphia.query.UpdateOperations
-
Increments the numeric field by 1
- inc(String, Number) - Method in interface org.mongodb.morphia.query.UpdateOperations
-
increments the numeric field by value (negatives are allowed)
- inc(String) - Method in class org.mongodb.morphia.query.UpdateOpsImpl
-
- inc(String, Number) - Method in class org.mongodb.morphia.query.UpdateOpsImpl
-
- incEntities() - Method in class org.mongodb.morphia.mapping.cache.EntityCacheStatistics
-
Increments the entity count
- incHits() - Method in class org.mongodb.morphia.mapping.cache.EntityCacheStatistics
-
Increments the hit count
- incMisses() - Method in class org.mongodb.morphia.mapping.cache.EntityCacheStatistics
-
Increments the miss count
- Index - Annotation Type in org.mongodb.morphia.annotations
-
Defines an index
- IndexDirection - Enum in org.mongodb.morphia.utils
-
Defines the "direction" of an index.
- Indexed - Annotation Type in org.mongodb.morphia.annotations
-
Specified on fields that should be Indexed.
- Indexes - Annotation Type in org.mongodb.morphia.annotations
-
Defines indexes for this entity type (on the collection)
- IndexOptions - Annotation Type in org.mongodb.morphia.annotations
-
Defines the options to be used when declaring an index.
- IndexType - Enum in org.mongodb.morphia.utils
-
Defines the type of the index to create for a field.
- info(String) - Method in class org.mongodb.morphia.logging.jdk.FastestJDKLogger
-
- info(String, Object...) - Method in class org.mongodb.morphia.logging.jdk.FastestJDKLogger
-
- info(String, Throwable) - Method in class org.mongodb.morphia.logging.jdk.FastestJDKLogger
-
- info(String) - Method in class org.mongodb.morphia.logging.jdk.JDKLogger
-
- info(String, Object...) - Method in class org.mongodb.morphia.logging.jdk.JDKLogger
-
- info(String, Throwable) - Method in class org.mongodb.morphia.logging.jdk.JDKLogger
-
- info(String) - Method in interface org.mongodb.morphia.logging.Logger
-
Logs a message at this level.
- info(String, Object...) - Method in interface org.mongodb.morphia.logging.Logger
-
Logs a message at this level.
- info(String, Throwable) - Method in interface org.mongodb.morphia.logging.Logger
-
Logs a message at this level.
- info(String) - Method in class org.mongodb.morphia.logging.SilentLogger
-
- info(String, Object...) - Method in class org.mongodb.morphia.logging.SilentLogger
-
- info(String, Throwable) - Method in class org.mongodb.morphia.logging.SilentLogger
-
- initDS(MongoClient, Morphia, String) - Method in class org.mongodb.morphia.dao.BasicDAO
-
- initType(Class<T>) - Method in class org.mongodb.morphia.dao.BasicDAO
-
- InOperationValidator - Class in org.mongodb.morphia.query.validation
-
Checks if the value can have the FilterOperator.IN operator applied to it.
- insert(String, T) - Method in interface org.mongodb.morphia.AdvancedDatastore
-
Inserts an entity in to the named collection.
- insert(T) - Method in interface org.mongodb.morphia.AdvancedDatastore
-
Inserts an entity in to the mapped collection.
- insert(Iterable<T>) - Method in interface org.mongodb.morphia.AdvancedDatastore
-
Inserts an entity in to the mapped collection.
- insert(T, WriteConcern) - Method in interface org.mongodb.morphia.AdvancedDatastore
-
Inserts an entity in to the mapped collection.
- insert(T...) - Method in interface org.mongodb.morphia.AdvancedDatastore
-
Inserts entities in to the mapped collection.
- insert(Iterable<T>, WriteConcern) - Method in interface org.mongodb.morphia.AdvancedDatastore
-
Inserts entities in to the mapped collection.
- insert(String, Iterable<T>) - Method in interface org.mongodb.morphia.AdvancedDatastore
-
Inserts an entity in to the named collection.
- insert(String, Iterable<T>, WriteConcern) - Method in interface org.mongodb.morphia.AdvancedDatastore
-
Inserts an entity in to the named collection.
- insert(String, T) - Method in class org.mongodb.morphia.DatastoreImpl
-
- insert(T) - Method in class org.mongodb.morphia.DatastoreImpl
-
- insert(T, WriteConcern) - Method in class org.mongodb.morphia.DatastoreImpl
-
- insert(T...) - Method in class org.mongodb.morphia.DatastoreImpl
-
- insert(Iterable<T>, WriteConcern) - Method in class org.mongodb.morphia.DatastoreImpl
-
- insert(String, Iterable<T>) - Method in class org.mongodb.morphia.DatastoreImpl
-
- insert(String, Iterable<T>, WriteConcern) - Method in class org.mongodb.morphia.DatastoreImpl
-
- insert(Iterable<T>) - Method in class org.mongodb.morphia.DatastoreImpl
-
Inserts entities in to the database
- insert(String, T, WriteConcern) - Method in class org.mongodb.morphia.DatastoreImpl
-
Inserts an entity in to the database
- insert(DBCollection, T, WriteConcern) - Method in class org.mongodb.morphia.DatastoreImpl
-
- IntegerConverter - Class in org.mongodb.morphia.converters
-
- IntegerConverter() - Constructor for class org.mongodb.morphia.converters.IntegerConverter
-
Creates the Converter.
- IntegerTypeValidator - Class in org.mongodb.morphia.query.validation
-
If the Type is some sort of integer-compatible field (see getTypeClasses) then this validator will check if the value is of the
correct type for this field.
- intersects(Geometry) - Method in interface org.mongodb.morphia.query.FieldEnd
-
This performs a $geoIntersects query, searching documents containing any sort of GeoJson field and returning those where the given
geometry intersects with the document shape.
- intersects(Geometry, CoordinateReferenceSystem) - Method in interface org.mongodb.morphia.query.FieldEnd
-
This performs a $geoIntersects query, searching documents containing any sort of GeoJson field and returning those where the given
geometry intersects with the document shape.
- isActLikeSerializer() - Method in class org.mongodb.morphia.mapping.MapperOptions
-
- isArray() - Method in class org.mongodb.morphia.mapping.MappedField
-
- isCacheClassLookups() - Method in class org.mongodb.morphia.mapping.MapperOptions
-
- isDebugEnabled() - Method in class org.mongodb.morphia.logging.jdk.FastestJDKLogger
-
- isDebugEnabled() - Method in class org.mongodb.morphia.logging.jdk.JDKLogger
-
- isDebugEnabled() - Method in interface org.mongodb.morphia.logging.Logger
-
- isDebugEnabled() - Method in class org.mongodb.morphia.logging.SilentLogger
-
- isEmpty() - Method in class relocated.morphia.org.apache.commons.collections.ReferenceMap
-
Returns true if this map is empty.
- isErrorEnabled() - Method in class org.mongodb.morphia.logging.jdk.FastestJDKLogger
-
- isErrorEnabled() - Method in class org.mongodb.morphia.logging.jdk.JDKLogger
-
- isErrorEnabled() - Method in interface org.mongodb.morphia.logging.Logger
-
- isErrorEnabled() - Method in class org.mongodb.morphia.logging.SilentLogger
-
- isFetched(Object) - Static method in class org.mongodb.morphia.mapping.lazy.proxy.ProxyHelper
-
Checks if the proxied entity has been fetched.
- isFieldParameterizedWithClass(Field, Class) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
-
- isFieldParameterizedWithPropertyType(Field) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
-
- isIgnoreFinals() - Method in class org.mongodb.morphia.mapping.MapperOptions
-
- isInfoEnabled() - Method in class org.mongodb.morphia.logging.jdk.FastestJDKLogger
-
- isInfoEnabled() - Method in class org.mongodb.morphia.logging.jdk.JDKLogger
-
- isInfoEnabled() - Method in interface org.mongodb.morphia.logging.Logger
-
- isInfoEnabled() - Method in class org.mongodb.morphia.logging.SilentLogger
-
- isIntegerType(Class) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
-
Checks if the class is an integer type, i.e., is numeric but not a floating point type.
- isInterface() - Method in class org.mongodb.morphia.mapping.MappedClass
-
- isIsolated() - Method in class org.mongodb.morphia.query.UpdateOpsImpl
-
- isMap() - Method in class org.mongodb.morphia.mapping.MappedField
-
- isMapped(Class) - Method in class org.mongodb.morphia.mapping.Mapper
-
Checks to see if a Class has been mapped.
- isMapped(Class) - Method in class org.mongodb.morphia.Morphia
-
Check whether a specific class is mapped by this instance.
- isMapSubPackages() - Method in class org.mongodb.morphia.mapping.MapperOptions
-
- isMultipleValues() - Method in class org.mongodb.morphia.mapping.MappedField
-
- isOk() - Method in class org.mongodb.morphia.MapreduceResults
-
Deprecated.
- isolated() - Method in interface org.mongodb.morphia.query.UpdateOperations
-
Enables isolation (so this update happens in one shot, without yielding)
- isolated() - Method in class org.mongodb.morphia.query.UpdateOpsImpl
-
- isPrimitiveLike(Class) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
-
Checks if the Class given is a primitive type.
- isPropertyType(Type) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
-
Check if the class supplied represents a valid property type.
- isPropertyType(Class) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
-
Checks if the Class given is a property type
- isProxied(Class<?>) - Static method in class org.mongodb.morphia.mapping.lazy.proxy.ProxyHelper
-
Checks if the Class passed is a ProxiedReference
- isProxy(Object) - Static method in class org.mongodb.morphia.mapping.lazy.proxy.ProxyHelper
-
Checks if the Java reference passed is a proxy
- isReference() - Method in class org.mongodb.morphia.mapping.MappedField
-
- isRegistered(Class<? extends TypeConverter>) - Method in class org.mongodb.morphia.converters.Converters
-
- isRegistered(Class<? extends TypeConverter>) - Method in class org.mongodb.morphia.converters.CustomConverters
-
- isSet() - Method in class org.mongodb.morphia.mapping.MappedField
-
- isSingleValue() - Method in class org.mongodb.morphia.mapping.EphemeralMappedField
-
- isSingleValue() - Method in class org.mongodb.morphia.mapping.MappedField
-
- isStoreEmpties() - Method in class org.mongodb.morphia.mapping.MapperOptions
-
- isStoreNulls() - Method in class org.mongodb.morphia.mapping.MapperOptions
-
- isSupported(Class, MappedField) - Method in class org.mongodb.morphia.converters.EnumConverter
-
- isSupported(Class, MappedField) - Method in class org.mongodb.morphia.converters.IdentityConverter
-
- isSupported(Class, MappedField) - Method in class org.mongodb.morphia.converters.IterableConverter
-
- isSupported(Class<?>, MappedField) - Method in class org.mongodb.morphia.converters.MapOfValuesConverter
-
- isSupported(Class, MappedField) - Method in class org.mongodb.morphia.converters.SerializedObjectConverter
-
- isSupported(Class<?>, MappedField) - Method in class org.mongodb.morphia.converters.TypeConverter
-
checks if the class is supported for this converter.
- isSupported(Class<?>, MappedField) - Method in class org.mongodb.morphia.geo.NamedCoordinateReferenceSystemConverter
-
- isSupportedType(Class<?>) - Static method in class org.mongodb.morphia.mapping.MappedClass
-
Checks to see if it a Map/Set/List or a property supported by the MongoDB java driver
- isSuppressed() - Method in class org.mongodb.morphia.aggregation.Projection
-
- isTraceEnabled() - Method in class org.mongodb.morphia.logging.jdk.FastestJDKLogger
-
- isTraceEnabled() - Method in class org.mongodb.morphia.logging.jdk.JDKLogger
-
- isTraceEnabled() - Method in interface org.mongodb.morphia.logging.Logger
-
- isTraceEnabled() - Method in class org.mongodb.morphia.logging.SilentLogger
-
- isTransient() - Method in class org.mongodb.morphia.mapping.MappedField
-
- isTypeMongoCompatible() - Method in class org.mongodb.morphia.mapping.MappedField
-
- isUnFetched(Object) - Static method in class org.mongodb.morphia.mapping.lazy.proxy.ProxyHelper
-
Checks if the proxied entity has been fetched.
- isUseBulkWriteOperations() - Method in class org.mongodb.morphia.Morphia
-
- isUseLowerCaseCollectionNames() - Method in class org.mongodb.morphia.mapping.MapperOptions
-
- isValidatingNames() - Method in class org.mongodb.morphia.query.QueryImpl
-
- isValidatingTypes() - Method in class org.mongodb.morphia.query.QueryImpl
-
- isWarningEnabled() - Method in class org.mongodb.morphia.logging.jdk.FastestJDKLogger
-
- isWarningEnabled() - Method in class org.mongodb.morphia.logging.jdk.JDKLogger
-
- isWarningEnabled() - Method in interface org.mongodb.morphia.logging.Logger
-
- isWarningEnabled() - Method in class org.mongodb.morphia.logging.SilentLogger
-
- IterableConverter - Class in org.mongodb.morphia.converters
-
- IterableConverter() - Constructor for class org.mongodb.morphia.converters.IterableConverter
-
- iterator() - Method in class org.mongodb.morphia.MapreduceResults
-
Creates an Iterator over the results of the operation.
- iterator() - Method in class org.mongodb.morphia.query.MorphiaIterator
-
- iterator() - Method in class org.mongodb.morphia.query.QueryImpl
-
- IterCallback() - Constructor for class org.mongodb.morphia.utils.IterHelper.IterCallback
-
- IterHelper<K,V> - Class in org.mongodb.morphia.utils
-
Helper to allow for optimizations for different types of Map/Collections
- IterHelper() - Constructor for class org.mongodb.morphia.utils.IterHelper
-
- IterHelper.IterCallback<V> - Class in org.mongodb.morphia.utils
-
A callback mechanism for processing Iterables
- IterHelper.MapIterCallback<K,V> - Class in org.mongodb.morphia.utils
-
A callback mechanism for processing Maps
- iterToList(Iterable<T>) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
-
Converts an Iterable to a List
- manualRefToKey(Class<T>, Object) - Method in class org.mongodb.morphia.mapping.Mapper
-
Creates a Key for a type and an ID value
- map(Class...) - Method in class org.mongodb.morphia.Morphia
-
Maps a set of classes
- map(Set<Class>) - Method in class org.mongodb.morphia.Morphia
-
Maps a set of classes
- MapIterCallback() - Constructor for class org.mongodb.morphia.utils.IterHelper.MapIterCallback
-
- MapKeyDifferentFromString - Class in org.mongodb.morphia.mapping.validation.fieldrules
-
- MapKeyDifferentFromString() - Constructor for class org.mongodb.morphia.mapping.validation.fieldrules.MapKeyDifferentFromString
-
- MapNotSerializable - Class in org.mongodb.morphia.mapping.validation.fieldrules
-
- MapNotSerializable() - Constructor for class org.mongodb.morphia.mapping.validation.fieldrules.MapNotSerializable
-
- MapObjectReference - Class in org.mongodb.morphia.mapping.lazy.proxy
-
- MapObjectReference(Datastore, Map, Class, boolean) - Constructor for class org.mongodb.morphia.mapping.lazy.proxy.MapObjectReference
-
Creates a MapObjectReference
- MapOfValuesConverter - Class in org.mongodb.morphia.converters
-
- MapOfValuesConverter() - Constructor for class org.mongodb.morphia.converters.MapOfValuesConverter
-
- mapPackage(String) - Method in class org.mongodb.morphia.Morphia
-
Tries to map all classes in the package specified.
- mapPackage(String, boolean) - Method in class org.mongodb.morphia.Morphia
-
Tries to map all classes in the package specified.
- mapPackageFromClass(Class) - Method in class org.mongodb.morphia.Morphia
-
Maps all the classes found in the package to which the given class belongs.
- MappedClass - Class in org.mongodb.morphia.mapping
-
Represents a mapped class between the MongoDB DBObject and the java POJO.
- MappedClass(Class<?>, Mapper) - Constructor for class org.mongodb.morphia.mapping.MappedClass
-
Creates a MappedClass instance
- MappedField - Class in org.mongodb.morphia.mapping
-
Represents the mapping of this field to/from mongodb (name, list
)
- Mapper - Class in org.mongodb.morphia.mapping
-
This is the heart of Morphia and takes care of mapping from/to POJOs/DBObjects
- Mapper(MapperOptions) - Constructor for class org.mongodb.morphia.mapping.Mapper
-
Creates a Mapper with the given options.
- Mapper() - Constructor for class org.mongodb.morphia.mapping.Mapper
-
Creates a Mapper with default options
- Mapper(MapperOptions, Mapper) - Constructor for class org.mongodb.morphia.mapping.Mapper
-
Creates a new Mapper with the given options and a Mapper to copy.
- MapperOptions - Class in org.mongodb.morphia.mapping
-
Options to control mapping behavior.
- MapperOptions() - Constructor for class org.mongodb.morphia.mapping.MapperOptions
-
Creates a default options instance.
- MapperOptions(MapperOptions) - Constructor for class org.mongodb.morphia.mapping.MapperOptions
-
Copy Constructor
- MappingException - Exception in org.mongodb.morphia.mapping
-
- MappingException(String) - Constructor for exception org.mongodb.morphia.mapping.MappingException
-
Creates an exception with a message
- MappingException(String, Throwable) - Constructor for exception org.mongodb.morphia.mapping.MappingException
-
Creates an exception with a message and a cause
- MappingValidator - Class in org.mongodb.morphia.mapping.validation
-
- MappingValidator(ObjectFactory) - Constructor for class org.mongodb.morphia.mapping.validation.MappingValidator
-
Creates a mapping validator
- mapReduce(MapreduceType, Query, String, String, String, Map<String, Object>, Class<T>) - Method in interface org.mongodb.morphia.Datastore
-
Runs a map/reduce job at the server; this should be used with a server version 1.7.4 or higher
- mapReduce(MapreduceType, Query, Class<T>, MapReduceCommand) - Method in interface org.mongodb.morphia.Datastore
-
Runs a map/reduce job at the server; this should be used with a server version 1.7.4 or higher
- mapReduce(MapreduceType, Query, String, String, String, Map<String, Object>, Class<T>) - Method in class org.mongodb.morphia.DatastoreImpl
-
- mapReduce(MapreduceType, Query, Class<T>, MapReduceCommand) - Method in class org.mongodb.morphia.DatastoreImpl
-
- MapreduceResults<T> - Class in org.mongodb.morphia
-
Stores the results of a map reduce operation
- MapreduceResults(MapReduceOutput) - Constructor for class org.mongodb.morphia.MapreduceResults
-
Creates a results instance for the given output
- MapreduceResults.Stats - Class in org.mongodb.morphia
-
This class represents various statistics about a map reduce operation
- MapreduceType - Enum in org.mongodb.morphia
-
Defines how the output of the map reduce job is handled.
- match(Query) - Method in interface org.mongodb.morphia.aggregation.AggregationPipeline
-
Filters the document stream to allow only matching documents to pass unmodified into the next pipeline stage.
- match(Query) - Method in class org.mongodb.morphia.aggregation.AggregationPipelineImpl
-
- matches(String) - Method in enum org.mongodb.morphia.query.FilterOperator
-
Returns true if the given filter matches the filters on this FilterOperator
- max(String) - Static method in class org.mongodb.morphia.aggregation.Group
-
Returns the highest value that results from applying an expression to each document in a group of documents that share the same
group
by key.
- max(String, Number) - Method in interface org.mongodb.morphia.query.UpdateOperations
-
Sets the numeric field to value if it is greater than the current value.
- max(String, Number) - Method in class org.mongodb.morphia.query.UpdateOpsImpl
-
- maxScan(int) - Method in interface org.mongodb.morphia.query.Query
-
Constrains the query to only scan the specified number of documents when fulfilling the query.
- maxScan(int) - Method in class org.mongodb.morphia.query.QueryImpl
-
- maxTime(long, TimeUnit) - Method in interface org.mongodb.morphia.query.Query
-
Specifies a time limit for executing the query.
- maxTime(long, TimeUnit) - Method in class org.mongodb.morphia.query.QueryImpl
-
- merge(T) - Method in interface org.mongodb.morphia.Datastore
-
Work as if you did an update with each field in the entity doing a $set; Only at the top level of the entity.
- merge(T, WriteConcern) - Method in interface org.mongodb.morphia.Datastore
-
Work as if you did an update with each field in the entity doing a $set; Only at the top level of the entity.
- merge(T) - Method in class org.mongodb.morphia.DatastoreImpl
-
- merge(T, WriteConcern) - Method in class org.mongodb.morphia.DatastoreImpl
-
- min(String) - Static method in class org.mongodb.morphia.aggregation.Group
-
Returns the lowest value that results from applying an expression to each document in a group of documents that share the same group
by key.
- min(String, Number) - Method in interface org.mongodb.morphia.query.UpdateOperations
-
sets the numeric field to value if it is less than the current value.
- min(String, Number) - Method in class org.mongodb.morphia.query.UpdateOpsImpl
-
- MisplacedProperty - Class in org.mongodb.morphia.mapping.validation.fieldrules
-
- MisplacedProperty() - Constructor for class org.mongodb.morphia.mapping.validation.fieldrules.MisplacedProperty
-
- mod(Object, Object) - Static method in class org.mongodb.morphia.aggregation.Projection
-
Creates a modulo projection
- mod(long, long) - Method in interface org.mongodb.morphia.query.FieldEnd
-
Select documents where the value of a field divided by a divisor has the specified remainder (i.e.
- ModOperationValidator - Class in org.mongodb.morphia.query.validation
-
Validates queries using the FilterOperator.MOD.
- Morphia - Class in org.mongodb.morphia
-
- Morphia() - Constructor for class org.mongodb.morphia.Morphia
-
Creates a Morphia instance with a default Mapper and an empty class set.
- Morphia(Mapper, Set<Class>) - Constructor for class org.mongodb.morphia.Morphia
-
Creates a Morphia instance with the given Mapper and class set.
- Morphia(Mapper) - Constructor for class org.mongodb.morphia.Morphia
-
Creates a Morphia instance with the given Mapper
- Morphia(Set<Class>) - Constructor for class org.mongodb.morphia.Morphia
-
Creates a Morphia instance with the given classes
- MorphiaIterator<T,V> - Class in org.mongodb.morphia.query
-
- MorphiaIterator(Datastore, Iterator<DBObject>, Mapper, Class<T>, String, EntityCache) - Constructor for class org.mongodb.morphia.query.MorphiaIterator
-
Creates a MorphiaIterator
- MorphiaKeyIterator<T> - Class in org.mongodb.morphia.query
-
Defines an Iterator across the Key values for a given type.
- MorphiaKeyIterator(Datastore, DBCursor, Mapper, Class<T>, String) - Constructor for class org.mongodb.morphia.query.MorphiaKeyIterator
-
Create
- MorphiaLoggerFactory - Class in org.mongodb.morphia.logging
-
Morphia's logging factory that can return either an slf4j LoggerFactory or a JDK LoggerFactory.
- multiLineString(LineString...) - Static method in class org.mongodb.morphia.geo.GeoJson
-
Create a new MultiLineString representing a GeoJSON MultiLineString type.
- MultiLineString - Class in org.mongodb.morphia.geo
-
- MultiLineStringConverter() - Constructor for class org.mongodb.morphia.geo.GeometryShapeConverter.MultiLineStringConverter
-
Creates a new MultiLineStringConverter.
- MultipleId - Class in org.mongodb.morphia.mapping.validation.classrules
-
- MultipleId() - Constructor for class org.mongodb.morphia.mapping.validation.classrules.MultipleId
-
- MultipleVersions - Class in org.mongodb.morphia.mapping.validation.classrules
-
- MultipleVersions() - Constructor for class org.mongodb.morphia.mapping.validation.classrules.MultipleVersions
-
- multiply(Object...) - Static method in class org.mongodb.morphia.aggregation.Projection
-
Creates a multiplication projection
- multiPoint(Point...) - Static method in class org.mongodb.morphia.geo.GeoJson
-
Create a new MultiPoint representing a GeoJSON MultiPoint type.
- MultiPoint - Class in org.mongodb.morphia.geo
-
This class represents a series of points, which will saved into MongoDB as per the
GeoJSON specification.
- MultiPointConverter() - Constructor for class org.mongodb.morphia.geo.GeometryShapeConverter.MultiPointConverter
-
Creates a new MultiPointConverter.
- multiPolygon(Polygon...) - Static method in class org.mongodb.morphia.geo.GeoJson
-
Create a new MultiPolygon representing a GeoJSON MultiPolygon type.
- MultiPolygon - Class in org.mongodb.morphia.geo
-
- MultiPolygonConverter() - Constructor for class org.mongodb.morphia.geo.GeometryShapeConverter.MultiPolygonConverter
-
Creates a new MultiPolygonConverter.
- object - Variable in class org.mongodb.morphia.mapping.lazy.proxy.AbstractReference
-
- ObjectFactory - Interface in org.mongodb.morphia
-
The ObjectFactory is used by morphia to create instances of classes which can be customized to fit a particular applications needs.
- ObjectIdConverter - Class in org.mongodb.morphia.converters
-
Convert to an ObjectId from string
- ObjectIdConverter() - Constructor for class org.mongodb.morphia.converters.ObjectIdConverter
-
Creates the Converter.
- offset(int) - Method in interface org.mongodb.morphia.query.Query
-
Starts the query results at a particular zero-based offset.
- offset(int) - Method in class org.mongodb.morphia.query.QueryImpl
-
- oneOf(Class, Class...) - Method in class org.mongodb.morphia.converters.TypeConverter
-
checks if Class f is in classes *
- oneOfClasses(Class, Class[]) - Method in class org.mongodb.morphia.converters.TypeConverter
-
checks if Class f is in classes *
- OperationValidator - Class in org.mongodb.morphia.query.validation
-
Extend this abstract class to provide a way of validating part of a query that contains a FilterOperator.
- OperationValidator() - Constructor for class org.mongodb.morphia.query.validation.OperationValidator
-
- or(Criteria...) - Method in interface org.mongodb.morphia.query.CriteriaContainer
-
Ors Criteria with this CriteriaContainer.
- or(Criteria...) - Method in class org.mongodb.morphia.query.CriteriaContainerImpl
-
- or(Criteria...) - Method in interface org.mongodb.morphia.query.Query
-
Creates a container to hold 'or' clauses
- order(String) - Method in interface org.mongodb.morphia.query.Query
-
Sorts based on a property (defines return order).
- order(String) - Method in class org.mongodb.morphia.query.QueryImpl
-
- org.mongodb.morphia - package org.mongodb.morphia
-
This is the base package for all Morphia classes.
- org.mongodb.morphia.aggregation - package org.mongodb.morphia.aggregation
-
Defines various elements for the creation and processing of aggregation pipelines.
- org.mongodb.morphia.annotations - package org.mongodb.morphia.annotations
-
Defines the annotations used by Morphia.
- org.mongodb.morphia.converters - package org.mongodb.morphia.converters
-
Defines the standard set of Converters provided by Morphia
- org.mongodb.morphia.dao - package org.mongodb.morphia.dao
-
Defines basic DAO types
- org.mongodb.morphia.geo - package org.mongodb.morphia.geo
-
Provides implementation types for geo queries
- org.mongodb.morphia.logging - package org.mongodb.morphia.logging
-
Provides the logging API for Morphia
- org.mongodb.morphia.logging.jdk - package org.mongodb.morphia.logging.jdk
-
Provides logging facilities using the JDK's built-in logging.
- org.mongodb.morphia.mapping - package org.mongodb.morphia.mapping
-
Provides types used for mapping
- org.mongodb.morphia.mapping.cache - package org.mongodb.morphia.mapping.cache
-
Provides various caching entities
- org.mongodb.morphia.mapping.lazy - package org.mongodb.morphia.mapping.lazy
-
Provides support for lazy references
- org.mongodb.morphia.mapping.lazy.proxy - package org.mongodb.morphia.mapping.lazy.proxy
-
Provides support for proxies
- org.mongodb.morphia.mapping.validation - package org.mongodb.morphia.mapping.validation
-
Provides validation mechanisms to check mapping metadata
- org.mongodb.morphia.mapping.validation.classrules - package org.mongodb.morphia.mapping.validation.classrules
-
Defines class level validations
- org.mongodb.morphia.mapping.validation.fieldrules - package org.mongodb.morphia.mapping.validation.fieldrules
-
Defines field level validations
- org.mongodb.morphia.query - package org.mongodb.morphia.query
-
Defines the query capabilities for Morphia
- org.mongodb.morphia.query.validation - package org.mongodb.morphia.query.validation
-
Defines the validations to performed against a query definition
- org.mongodb.morphia.utils - package org.mongodb.morphia.utils
-
Provides various utilities used my Morphia.
- out(Class<U>) - Method in interface org.mongodb.morphia.aggregation.AggregationPipeline
-
Places the output of the aggregation in the collection mapped by the target type using the default options as defined in
AggregationOptions.
- out(Class<U>, AggregationOptions) - Method in interface org.mongodb.morphia.aggregation.AggregationPipeline
-
Places the output of the aggregation in the collection mapped by the target type.
- out(String, Class<U>) - Method in interface org.mongodb.morphia.aggregation.AggregationPipeline
-
Places the output of the aggregation in the collection mapped by the target type using the default options as defined in
AggregationOptions.
- out(String, Class<U>, AggregationOptions) - Method in interface org.mongodb.morphia.aggregation.AggregationPipeline
-
Places the output of the aggregation in the collection mapped by the target type.
- out(Class<U>) - Method in class org.mongodb.morphia.aggregation.AggregationPipelineImpl
-
- out(Class<U>, AggregationOptions) - Method in class org.mongodb.morphia.aggregation.AggregationPipelineImpl
-
- out(String, Class<U>) - Method in class org.mongodb.morphia.aggregation.AggregationPipelineImpl
-
- out(String, Class<U>, AggregationOptions) - Method in class org.mongodb.morphia.aggregation.AggregationPipelineImpl
-
- parameterNotEmpty(String, Iterable) - Static method in class org.mongodb.morphia.utils.Assert
-
Validates that the Iterable is not empty
- parameterNotEmpty(String, String) - Static method in class org.mongodb.morphia.utils.Assert
-
Validates that the value is not empty
- parameterNotNull(String, Object) - Static method in class org.mongodb.morphia.utils.Assert
-
Validates that the parameter is not null
- parametersNotNull(String, Object...) - Static method in class org.mongodb.morphia.utils.Assert
-
Validates that all the parameters are not null
- parseFieldsString(String, Class, Mapper, boolean, List<MappedClass>, List<MappedField>) - Static method in class org.mongodb.morphia.query.QueryImpl
-
Parses the string and validates each part
- PatternValueValidator - Class in org.mongodb.morphia.query.validation
-
Validates query values that are Pattern to check the field type is a String.
- point(double, double) - Static method in class org.mongodb.morphia.geo.GeoJson
-
Create a new Point representing a GeoJSON point type.
- Point - Class in org.mongodb.morphia.geo
-
Represents a GeoJSON Point type.
- Point(double, double) - Constructor for class org.mongodb.morphia.query.Shape.Point
-
Creates a point using longitude and latitude values
- PointBuilder - Class in org.mongodb.morphia.geo
-
Creates Point instances representing a
GeoJSON
point type.
- PointBuilder() - Constructor for class org.mongodb.morphia.geo.PointBuilder
-
- pointBuilder() - Static method in class org.mongodb.morphia.geo.PointBuilder
-
Convenience method to return a new PointBuilder.
- PointConverter() - Constructor for class org.mongodb.morphia.geo.GeometryShapeConverter.PointConverter
-
Creates a new PointConverter.
- polygon(Point...) - Static method in class org.mongodb.morphia.geo.GeoJson
-
Create a new Polygon representing a GeoJSON Polygon type.
- polygon(LineString, LineString...) - Static method in class org.mongodb.morphia.geo.GeoJson
-
Lets you create a Polygon representing a GeoJSON Polygon type.
- Polygon - Class in org.mongodb.morphia.geo
-
This class represents either a simple polygon enclosing an area, or a more complex polygon that contains both an exterior boundary and
interior boundaries (holes) within it.
- polygon(Shape.Point...) - Static method in class org.mongodb.morphia.query.Shape
-
Specifies a polygon for a geospatial $geoWithin query on legacy coordinate pairs.
- PolygonConverter() - Constructor for class org.mongodb.morphia.geo.GeometryShapeConverter.PolygonConverter
-
Creates a new PolygonConverter.
- Polymorphic - Annotation Type in org.mongodb.morphia.annotations
-
- postLoad(Object, DBObject, Mapper) - Method in class org.mongodb.morphia.AbstractEntityInterceptor
-
- PostLoad - Annotation Type in org.mongodb.morphia.annotations
-
Called after the data has been loaded into the java object.
- postLoad(Object, DBObject, Mapper) - Method in interface org.mongodb.morphia.EntityInterceptor
-
- postPersist(Object, DBObject, Mapper) - Method in class org.mongodb.morphia.AbstractEntityInterceptor
-
- PostPersist - Annotation Type in org.mongodb.morphia.annotations
-
Called after the data has been persisted from the java object.
- postPersist(Object, DBObject, Mapper) - Method in interface org.mongodb.morphia.EntityInterceptor
-
- preLoad(Object, DBObject, Mapper) - Method in class org.mongodb.morphia.AbstractEntityInterceptor
-
- PreLoad - Annotation Type in org.mongodb.morphia.annotations
-
Called before the data has been loaded from the datastore.
- preLoad(Object, DBObject, Mapper) - Method in interface org.mongodb.morphia.EntityInterceptor
-
- prepareCursor() - Method in class org.mongodb.morphia.query.QueryImpl
-
Prepares cursor for iteration
- prePersist(Object, DBObject, Mapper) - Method in class org.mongodb.morphia.AbstractEntityInterceptor
-
- PrePersist - Annotation Type in org.mongodb.morphia.annotations
-
Called before the data has been persisted to the datastore (before mapping is done).
- prePersist(Object, DBObject, Mapper) - Method in interface org.mongodb.morphia.EntityInterceptor
-
- preSave(Object, DBObject, Mapper) - Method in class org.mongodb.morphia.AbstractEntityInterceptor
-
- PreSave - Annotation Type in org.mongodb.morphia.annotations
-
Called right before DBCollection.save() is called.
- preSave(Object, DBObject, Mapper) - Method in interface org.mongodb.morphia.EntityInterceptor
-
- project(Projection...) - Method in interface org.mongodb.morphia.aggregation.AggregationPipeline
-
Reshapes each document in the stream, such as by adding new fields or removing existing fields.
- project(Projection...) - Method in class org.mongodb.morphia.aggregation.AggregationPipelineImpl
-
- Projection - Class in org.mongodb.morphia.aggregation
-
Defines a projection for use in aggregation
- projection(String) - Static method in class org.mongodb.morphia.aggregation.Projection
-
Creates a projection on a field
- projection(String, String) - Static method in class org.mongodb.morphia.aggregation.Projection
-
Creates a projection on a field and renames it
- projection(String, Projection, Projection...) - Static method in class org.mongodb.morphia.aggregation.Projection
-
Creates a projection on a field with subsequent projects applied.
- Property - Annotation Type in org.mongodb.morphia.annotations
-
Optional annotation for specifying persistence behavior
- ProxiedEntityReference - Interface in org.mongodb.morphia.mapping.lazy.proxy
-
- ProxiedEntityReferenceList - Interface in org.mongodb.morphia.mapping.lazy.proxy
-
- ProxiedEntityReferenceMap - Interface in org.mongodb.morphia.mapping.lazy.proxy
-
- ProxiedReference - Interface in org.mongodb.morphia.mapping.lazy.proxy
-
- ProxyHelper - Class in org.mongodb.morphia.mapping.lazy.proxy
-
- push(String) - Static method in class org.mongodb.morphia.aggregation.Group
-
Returns an array of all values that result from applying an expression to each document in a group of documents that share the same
group by key.
- put(Object, Object) - Method in class relocated.morphia.org.apache.commons.collections.ReferenceMap
-
Associates the given key with the given value.
- putAnnotation(Annotation) - Method in class org.mongodb.morphia.mapping.MappedField
-
Adds the annotation even if not on the declared class/field.
- putEntity(Key<T>, T) - Method in class org.mongodb.morphia.mapping.cache.DefaultEntityCache
-
- putEntity(Key<T>, T) - Method in interface org.mongodb.morphia.mapping.cache.EntityCache
-
Adds an entity to the cache
- putProxy(Key<T>, T) - Method in class org.mongodb.morphia.mapping.cache.DefaultEntityCache
-
- putProxy(Key<T>, T) - Method in interface org.mongodb.morphia.mapping.cache.EntityCache
-
Adds a proxy to the cache
- save(String, T) - Method in interface org.mongodb.morphia.AdvancedDatastore
-
Saves an entity in to the named collection.
- save(String, T, WriteConcern) - Method in interface org.mongodb.morphia.AdvancedDatastore
-
Saves an entity in to the named collection.
- save(T) - Method in class org.mongodb.morphia.dao.BasicDAO
-
- save(T, WriteConcern) - Method in class org.mongodb.morphia.dao.BasicDAO
-
- save(T) - Method in interface org.mongodb.morphia.dao.DAO
-
Saves the entity; either inserting or overriding the existing document
- save(T, WriteConcern) - Method in interface org.mongodb.morphia.dao.DAO
-
Saves the entity; either inserting or overriding the existing document
- save(Iterable<T>) - Method in interface org.mongodb.morphia.Datastore
-
Saves the entities (Objects) and updates the @Id field
- save(Iterable<T>, WriteConcern) - Method in interface org.mongodb.morphia.Datastore
-
Saves the entities (Objects) and updates the @Id field, with the WriteConcern
- save(T...) - Method in interface org.mongodb.morphia.Datastore
-
Saves the entities (Objects) and updates the @Id field
- save(T) - Method in interface org.mongodb.morphia.Datastore
-
Saves an entity (Object) and updates the @Id field
- save(T, WriteConcern) - Method in interface org.mongodb.morphia.Datastore
-
Saves an entity (Object) and updates the @Id field, with the WriteConcern
- save(Iterable<T>) - Method in class org.mongodb.morphia.DatastoreImpl
-
- save(Iterable<T>, WriteConcern) - Method in class org.mongodb.morphia.DatastoreImpl
-
- save(T...) - Method in class org.mongodb.morphia.DatastoreImpl
-
- save(T) - Method in class org.mongodb.morphia.DatastoreImpl
-
- save(T, WriteConcern) - Method in class org.mongodb.morphia.DatastoreImpl
-
- save(String, T) - Method in class org.mongodb.morphia.DatastoreImpl
-
- save(String, T, WriteConcern) - Method in class org.mongodb.morphia.DatastoreImpl
-
- save(DBCollection, T, WriteConcern) - Method in class org.mongodb.morphia.DatastoreImpl
-
- search(String) - Method in interface org.mongodb.morphia.query.Query
-
Perform a text search on the content of the fields indexed with a text index..
- search(String, String) - Method in interface org.mongodb.morphia.query.Query
-
Perform a text search on the content of the fields indexed with a text index..
- search(String) - Method in class org.mongodb.morphia.query.QueryImpl
-
- search(String, String) - Method in class org.mongodb.morphia.query.QueryImpl
-
- serialize(Object, boolean) - Static method in class org.mongodb.morphia.mapping.Serializer
-
serializes object to byte[]
- Serialized - Annotation Type in org.mongodb.morphia.annotations
-
Marker for fields that should be (java) serialized
- SerializedObjectConverter - Class in org.mongodb.morphia.converters
-
- SerializedObjectConverter() - Constructor for class org.mongodb.morphia.converters.SerializedObjectConverter
-
- Serializer - Class in org.mongodb.morphia.mapping
-
- set(Object) - Method in class org.mongodb.morphia.mapping.lazy.proxy.AbstractReference
-
- set(String, Object) - Method in interface org.mongodb.morphia.query.UpdateOperations
-
sets the field value
- set(String, Object) - Method in class org.mongodb.morphia.query.UpdateOpsImpl
-
- setActLikeSerializer(boolean) - Method in class org.mongodb.morphia.mapping.MapperOptions
-
- setAttachedTo(CriteriaContainer) - Method in class org.mongodb.morphia.query.AbstractCriteria
-
Sets the parents CriteriaContainer for this Criteria
- setCacheClassLookups(boolean) - Method in class org.mongodb.morphia.mapping.MapperOptions
-
Sets whether Morphia should cache name -> Class lookups
- setCacheFactory(EntityCacheFactory) - Method in class org.mongodb.morphia.mapping.MapperOptions
-
Sets the factory to create an EntityCache
- setChildren(List<Criteria>) - Method in class org.mongodb.morphia.query.CriteriaContainerImpl
-
Sets the Criteria in this CriteriaContainer
- setCollection(String) - Method in class org.mongodb.morphia.Key
-
Sets the collection name.
- setDatastoreProvider(DatastoreProvider) - Method in class org.mongodb.morphia.mapping.MapperOptions
-
- setDecoderFact(DBDecoderFactory) - Method in interface org.mongodb.morphia.AdvancedDatastore
-
Sets the DBDecoderFactory to use in this Datastore
- setDecoderFact(DBDecoderFactory) - Method in class org.mongodb.morphia.DatastoreImpl
-
- setDefaultMapper(CustomMapper) - Method in class org.mongodb.morphia.mapping.MapperOptions
-
Sets the mapper to use for top level entities
- setDefaultWriteConcern(WriteConcern) - Method in interface org.mongodb.morphia.Datastore
-
Sets the default WriteConcern for this Datastore
- setDefaultWriteConcern(WriteConcern) - Method in class org.mongodb.morphia.DatastoreImpl
-
- setDistanceMultiplier(Double) - Method in class org.mongodb.morphia.aggregation.GeoNear.GeoNearBuilder
-
The factor to multiply all distances returned by the query.
- setEmbeddedMapper(CustomMapper) - Method in class org.mongodb.morphia.mapping.MapperOptions
-
Sets the mapper to use for embedded entities
- setFieldValue(Object, Object) - Method in class org.mongodb.morphia.mapping.EphemeralMappedField
-
- setFieldValue(Object, Object) - Method in class org.mongodb.morphia.mapping.MappedField
-
Sets the value for the java field
- setIgnoreFinals(boolean) - Method in class org.mongodb.morphia.mapping.MapperOptions
-
Controls if final fields are stored.
- setIncludeLocations(String) - Method in class org.mongodb.morphia.aggregation.GeoNear.GeoNearBuilder
-
This specifies the output field that identifies the location used to calculate the distance.
- setInlineRequiredOptions(Datastore, Class<T>, Mapper, EntityCache) - Method in class org.mongodb.morphia.MapreduceResults
-
Sets the required options when the operation type was INLINE
- setJoinMethod(CriteriaJoin) - Method in class org.mongodb.morphia.query.CriteriaContainerImpl
-
Sets the join method of this CriteriaContainer
- setKey(Object) - Method in class relocated.morphia.org.apache.commons.collections.DefaultMapEntry
-
Sets the key.
- setLimit(Long) - Method in class org.mongodb.morphia.aggregation.GeoNear.GeoNearBuilder
-
The maximum number of documents to return.
- setMapper(Mapper) - Method in class org.mongodb.morphia.converters.TypeConverter
-
Sets the Mapper to use.
- setMapper(Mapper) - Method in class org.mongodb.morphia.DatastoreImpl
-
Sets the Mapper this Datastore uses
- setMapSubPackages(boolean) - Method in class org.mongodb.morphia.mapping.MapperOptions
-
Controls if classes from sub-packages should be mapped.
- setMaxDistance(Double) - Method in class org.mongodb.morphia.aggregation.GeoNear.GeoNearBuilder
-
A distance from the center point.
- setMaxDocuments(Long) - Method in class org.mongodb.morphia.aggregation.GeoNear.GeoNearBuilder
-
The maxDocuments option provides the same function as the limit option.
- setNear(double, double) - Method in class org.mongodb.morphia.aggregation.GeoNear.GeoNearBuilder
-
Sets the point for which to find the closest documents.
- setNear(Point) - Method in class org.mongodb.morphia.aggregation.GeoNear.GeoNearBuilder
-
Sets the point for which to find the closest documents.
- setObjectFactory(ObjectFactory) - Method in class org.mongodb.morphia.mapping.MapperOptions
-
Sets the ObjectFactory to use when instantiating entity classes.
- setOnInsert(String, Object) - Method in interface org.mongodb.morphia.query.UpdateOperations
-
sets the field on insert.
- setOnInsert(String, Object) - Method in class org.mongodb.morphia.query.UpdateOpsImpl
-
- setOps(DBObject) - Method in class org.mongodb.morphia.query.UpdateOpsImpl
-
Sets the operations for this UpdateOpsImpl
- setOptions(MapperOptions) - Method in class org.mongodb.morphia.mapping.Mapper
-
Sets the options this Mapper should use
- setQuery(Query) - Method in class org.mongodb.morphia.aggregation.GeoNear.GeoNearBuilder
-
Limits the results to the documents that match the query.
- setQuery(QueryImpl<?>) - Method in class org.mongodb.morphia.query.CriteriaContainerImpl
-
Sets the Query for this CriteriaContainer
- setQueryFactory(QueryFactory) - Method in interface org.mongodb.morphia.Datastore
-
- setQueryFactory(QueryFactory) - Method in class org.mongodb.morphia.DatastoreImpl
-
- setQueryObject(DBObject) - Method in class org.mongodb.morphia.query.QueryImpl
-
Sets query structure directly
- setReferenceMapper(CustomMapper) - Method in class org.mongodb.morphia.mapping.MapperOptions
-
Sets the mapper to use for references
- setSpherical(Boolean) - Method in class org.mongodb.morphia.aggregation.GeoNear.GeoNearBuilder
-
If true, MongoDB references points using a spherical surface.
- setStoreEmpties(boolean) - Method in class org.mongodb.morphia.mapping.MapperOptions
-
Controls if Morphia should store empty values for lists/maps/sets/arrays
- setStoreNulls(boolean) - Method in class org.mongodb.morphia.mapping.MapperOptions
-
Controls if null are stored.
- setSupportedTypes(Class[]) - Method in class org.mongodb.morphia.converters.TypeConverter
-
Sets the types supported by this converter.
- setSupportTypes(Class[]) - Method in class org.mongodb.morphia.converters.TypeConverter
-
- setType(Class<? extends T>) - Method in class org.mongodb.morphia.Key
-
Sets the type of the entity for this Key
- setUniqueDocuments(Boolean) - Method in class org.mongodb.morphia.aggregation.GeoNear.GeoNearBuilder
-
- setUseBulkWriteOperations(boolean) - Method in class org.mongodb.morphia.Morphia
-
Configures Morphia to use bulk writes.
- setUseLowerCaseCollectionNames(boolean) - Method in class org.mongodb.morphia.mapping.MapperOptions
-
Controls if default entity collection name should be lowercase.
- setValue(Object) - Method in class relocated.morphia.org.apache.commons.collections.DefaultMapEntry
-
Note that this method only sets the local reference inside this object and does not modify the original Map.
- setValueMapper(CustomMapper) - Method in class org.mongodb.morphia.mapping.MapperOptions
-
Sets the mapper to use when processing values
- Shape - Class in org.mongodb.morphia.query
-
This encapsulates the data necessary to define a shape for queries.
- Shape.Point - Class in org.mongodb.morphia.query
-
Defines a Point
- ShortConverter - Class in org.mongodb.morphia.converters
-
- ShortConverter() - Constructor for class org.mongodb.morphia.converters.ShortConverter
-
Creates the Converter.
- ShortFormatter - Class in org.mongodb.morphia.logging.jdk
-
A formatter providing a short format
- ShortFormatter() - Constructor for class org.mongodb.morphia.logging.jdk.ShortFormatter
-
- SilentLogger - Class in org.mongodb.morphia.logging
-
Silent logger; it doesn't do anything!
- SilentLogger() - Constructor for class org.mongodb.morphia.logging.SilentLogger
-
- SimpleValueConverter - Interface in org.mongodb.morphia.converters
-
Marker interface that the TypeConverter returns simple values (int/long, string, etc...)
- size() - Method in class relocated.morphia.org.apache.commons.collections.ReferenceMap
-
Returns the size of this map.
- sizeEq(int) - Method in interface org.mongodb.morphia.query.FieldEnd
-
Checks the size of a field.
- SizeOperationValidator - Class in org.mongodb.morphia.query.validation
-
Checks if the value can have the FilterOperator.ALL operator applied to it.
- skip(int) - Method in interface org.mongodb.morphia.aggregation.AggregationPipeline
-
Skips the first n documents where n is the specified skip number and passes the remaining documents unmodified to the pipeline.
- skip(int) - Method in class org.mongodb.morphia.aggregation.AggregationPipelineImpl
-
- SOFT - Static variable in class relocated.morphia.org.apache.commons.collections.ReferenceMap
-
Constant indicating that soft references should be used.
- sort(Sort...) - Method in interface org.mongodb.morphia.aggregation.AggregationPipeline
-
Reorders the document stream by a specified sort key.
- sort(Sort...) - Method in class org.mongodb.morphia.aggregation.AggregationPipelineImpl
-
- Sort - Class in org.mongodb.morphia.aggregation
-
Defines a sort stage in an aggregation pipeline
- Sort(String, int) - Constructor for class org.mongodb.morphia.aggregation.Sort
-
Creates a sort on a field with a direction.
- startsWith(String) - Method in interface org.mongodb.morphia.query.FieldEnd
-
Checks that a field starts with a value
- startsWithIgnoreCase(String) - Method in interface org.mongodb.morphia.query.FieldEnd
-
Checks that a field starts with a value ignoring the case of the values
- stats() - Method in class org.mongodb.morphia.mapping.cache.DefaultEntityCache
-
- stats() - Method in interface org.mongodb.morphia.mapping.cache.EntityCache
-
- Stats() - Constructor for class org.mongodb.morphia.MapreduceResults.Stats
-
- StringConverter - Class in org.mongodb.morphia.converters
-
- StringConverter() - Constructor for class org.mongodb.morphia.converters.StringConverter
-
Creates the Converter.
- subtract(Object, Object) - Static method in class org.mongodb.morphia.aggregation.Projection
-
Creates a subtraction projection
- sum(String) - Static method in class org.mongodb.morphia.aggregation.Group
-
Calculates and returns the sum of all the numeric values that result from applying a specified expression to each document in a
group
of documents that share the same group by key.
- suppress() - Method in class org.mongodb.morphia.aggregation.Projection
-
Marks this field to be suppressed from the output of this stage
- unset(String) - Method in interface org.mongodb.morphia.query.UpdateOperations
-
removes the field
- unset(String) - Method in class org.mongodb.morphia.query.UpdateOpsImpl
-
- unwind(String) - Method in interface org.mongodb.morphia.aggregation.AggregationPipeline
-
Deconstructs an array field from the input documents to output a document for each element.
- unwind(String) - Method in class org.mongodb.morphia.aggregation.AggregationPipelineImpl
-
- unwrap(T) - Static method in class org.mongodb.morphia.mapping.lazy.proxy.ProxyHelper
-
If proxied, returns the unwrapped entity.
- update(Query<T>, UpdateOperations<T>) - Method in class org.mongodb.morphia.dao.BasicDAO
-
- update(Query<T>, UpdateOperations<T>) - Method in interface org.mongodb.morphia.dao.DAO
-
Updates all entities matched by the constraints with the modifiers supplied.
- update(T, UpdateOperations<T>) - Method in interface org.mongodb.morphia.Datastore
-
Updates an entity with the operations; this is an atomic operation
- update(Key<T>, UpdateOperations<T>) - Method in interface org.mongodb.morphia.Datastore
-
Updates an entity with the operations; this is an atomic operation
- update(Query<T>, UpdateOperations<T>) - Method in interface org.mongodb.morphia.Datastore
-
Updates all entities found with the operations; this is an atomic operation per entity
- update(Query<T>, UpdateOperations<T>, boolean) - Method in interface org.mongodb.morphia.Datastore
-
Updates all entities found with the operations, if nothing is found insert the update as an entity if "createIfMissing" is true;
this
is an atomic operation per entity
- update(Query<T>, UpdateOperations<T>, boolean, WriteConcern) - Method in interface org.mongodb.morphia.Datastore
-
Updates all entities found with the operations, if nothing is found insert the update as an entity if "createIfMissing" is true;
this
is an atomic operation per entity
- update(T, UpdateOperations<T>) - Method in class org.mongodb.morphia.DatastoreImpl
-
- update(Key<T>, UpdateOperations<T>) - Method in class org.mongodb.morphia.DatastoreImpl
-
- update(Query<T>, UpdateOperations<T>) - Method in class org.mongodb.morphia.DatastoreImpl
-
- update(Query<T>, UpdateOperations<T>, boolean) - Method in class org.mongodb.morphia.DatastoreImpl
-
- update(Query<T>, UpdateOperations<T>, boolean, WriteConcern) - Method in class org.mongodb.morphia.DatastoreImpl
-
- update() - Method in class org.mongodb.morphia.mapping.MappedClass
-
Update mappings based on fields/annotations.
- updateCollection(Key) - Method in class org.mongodb.morphia.mapping.Mapper
-
Updates the collection value on a Key with the mapped value on the Key's type Class
- UpdateException - Exception in org.mongodb.morphia.query
-
Error during update.
- UpdateException(String) - Constructor for exception org.mongodb.morphia.query.UpdateException
-
Creates a UpdateException with a message and a cause
- UpdateException(String, Throwable) - Constructor for exception org.mongodb.morphia.query.UpdateException
-
Creates a UpdateException with a message and a cause
- updateFirst(Query<T>, UpdateOperations<T>) - Method in class org.mongodb.morphia.dao.BasicDAO
-
- updateFirst(Query<T>, UpdateOperations<T>) - Method in interface org.mongodb.morphia.dao.DAO
-
Updates the first entity matched by the constraints with the modifiers supplied.
- updateFirst(Query<T>, UpdateOperations<T>) - Method in interface org.mongodb.morphia.Datastore
-
Updates the first entity found with the operations; this is an atomic operation
- updateFirst(Query<T>, UpdateOperations<T>, boolean) - Method in interface org.mongodb.morphia.Datastore
-
Updates the first entity found with the operations, if nothing is found insert the update as an entity if "createIfMissing" is true.
- updateFirst(Query<T>, UpdateOperations<T>, boolean, WriteConcern) - Method in interface org.mongodb.morphia.Datastore
-
Updates the first entity found with the operations, if nothing is found insert the update as an entity if "createIfMissing" is true.
- updateFirst(Query<T>, T, boolean) - Method in interface org.mongodb.morphia.Datastore
-
updates the first entity found using the entity as a template, if nothing is found insert the update as an entity if
"createIfMissing" is true.
- updateFirst(Query<T>, UpdateOperations<T>) - Method in class org.mongodb.morphia.DatastoreImpl
-
- updateFirst(Query<T>, UpdateOperations<T>, boolean) - Method in class org.mongodb.morphia.DatastoreImpl
-
- updateFirst(Query<T>, UpdateOperations<T>, boolean, WriteConcern) - Method in class org.mongodb.morphia.DatastoreImpl
-
- updateFirst(Query<T>, T, boolean) - Method in class org.mongodb.morphia.DatastoreImpl
-
- updateKeyAndVersionInfo(Datastore, DBObject, EntityCache, Object) - Method in class org.mongodb.morphia.mapping.Mapper
-
- UpdateOperations<T> - Interface in org.mongodb.morphia.query
-
A nicer interface to the update operations in monogodb.
- UpdateOperator - Enum in org.mongodb.morphia.query
-
- UpdateOpsImpl<T> - Class in org.mongodb.morphia.query
-
- UpdateOpsImpl(Class<T>, Mapper) - Constructor for class org.mongodb.morphia.query.UpdateOpsImpl
-
Creates an UpdateOpsImpl for the type given.
- UpdateResults - Class in org.mongodb.morphia.query
-
This class holds various metrics about the results of an update operation.
- UpdateResults(WriteResult) - Constructor for class org.mongodb.morphia.query.UpdateResults
-
Creates an UpdateResults
- upperIndexBound(DBObject) - Method in interface org.mongodb.morphia.query.Query
-
Specify the exclusive upper bound for a specific index in order to constrain the results of this query.
- upperIndexBound(DBObject) - Method in class org.mongodb.morphia.query.QueryImpl
-
- URIConverter - Class in org.mongodb.morphia.converters
-
- URIConverter() - Constructor for class org.mongodb.morphia.converters.URIConverter
-
Creates the Converter.
- URIConverter(Class) - Constructor for class org.mongodb.morphia.converters.URIConverter
-
- useReadPreference(ReadPreference) - Method in interface org.mongodb.morphia.query.Query
-
Updates the ReadPreference to use
- useReadPreference(ReadPreference) - Method in class org.mongodb.morphia.query.QueryImpl
-
- UUIDConverter - Class in org.mongodb.morphia.converters
-
provided by http://code.google.com/p/morphia/issues/detail?id=320
- UUIDConverter() - Constructor for class org.mongodb.morphia.converters.UUIDConverter
-
Creates the Converter.
- val() - Method in enum org.mongodb.morphia.query.FilterOperator
-
- val() - Method in enum org.mongodb.morphia.query.Type
-
- val() - Method in enum org.mongodb.morphia.query.UpdateOperator
-
- validate(Mapper) - Method in class org.mongodb.morphia.mapping.MappedClass
-
Validates this MappedClass
- validate(Mapper, MappedClass) - Method in class org.mongodb.morphia.mapping.validation.MappingValidator
-
Deprecated.
- validate(Mapper, List<MappedClass>) - Method in class org.mongodb.morphia.mapping.validation.MappingValidator
-
Validates a List of MappedClasses
- validate(MappedField, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.AllOperationValidator
-
- validate(Class<?>, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.DefaultTypeValidator
-
- validate(Class<?>, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.DoubleTypeValidator
-
- validate(Class<?>, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.EntityAnnotatedValueValidator
-
- validate(MappedField, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.ExistsOperationValidator
-
- validate(MappedField, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.GeoWithinOperationValidator
-
- validate(MappedField, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.InOperationValidator
-
- validate(Class<?>, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.IntegerTypeValidator
-
- validate(Class<?>, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.KeyValueTypeValidator
-
- validate(Class<?>, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.ListValueValidator
-
- validate(Class<?>, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.LongTypeValidator
-
- validate(MappedField, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.ModOperationValidator
-
- validate(MappedField, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.NotInOperationValidator
-
- validate(MappedField, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.OperationValidator
-
Performs the actual validation, and assumes appliesTo has returned true
- validate(Class<?>, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.PatternValueValidator
-
- validate(MappedField, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.SizeOperationValidator
-
- validate(Class<?>, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.TypeValidator
-
- validate(Class<?>, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.ValueValidator
-
- ValidationException - Exception in org.mongodb.morphia.query
-
Error during validation.
- ValidationException(String) - Constructor for exception org.mongodb.morphia.query.ValidationException
-
Creates a ValidationException with a message and a cause
- ValidationException(String, Throwable) - Constructor for exception org.mongodb.morphia.query.ValidationException
-
Creates a ValidationException with a message and a cause
- ValidationFailure - Class in org.mongodb.morphia.query.validation
-
Represents a validation failure.
- ValidationFailure(String) - Constructor for class org.mongodb.morphia.query.validation.ValidationFailure
-
Creates a ValidationFailure with a message
- Validator - Interface in org.mongodb.morphia.query.validation
-
Marker interface for validators.
- valueOf(String) - Static method in enum org.mongodb.morphia.geo.CoordinateReferenceSystemType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.mongodb.morphia.geo.GeoJsonType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.mongodb.morphia.mapping.validation.ConstraintViolation.Level
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.mongodb.morphia.MapreduceType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.mongodb.morphia.query.CriteriaJoin
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.mongodb.morphia.query.FilterOperator
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.mongodb.morphia.query.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.mongodb.morphia.query.UpdateOperator
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.mongodb.morphia.utils.IndexDirection
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.mongodb.morphia.utils.IndexType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.mongodb.morphia.geo.CoordinateReferenceSystemType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.mongodb.morphia.geo.GeoJsonType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.mongodb.morphia.mapping.validation.ConstraintViolation.Level
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.mongodb.morphia.MapreduceType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.mongodb.morphia.query.CriteriaJoin
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.mongodb.morphia.query.FilterOperator
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.mongodb.morphia.query.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.mongodb.morphia.query.UpdateOperator
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.mongodb.morphia.utils.IndexDirection
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.mongodb.morphia.utils.IndexType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Method in class relocated.morphia.org.apache.commons.collections.ReferenceMap
-
Returns a collection view of this map's values.
- ValueValidator - Class in org.mongodb.morphia.query.validation
-
Provides validation based on the Value in the query
- ValueValidator() - Constructor for class org.mongodb.morphia.query.validation.ValueValidator
-
- Version - Annotation Type in org.mongodb.morphia.annotations
-
supposed to be used on a Long or long field for optimistic locking.
- VersionMisuse - Class in org.mongodb.morphia.mapping.validation.fieldrules
-
- VersionMisuse(ObjectFactory) - Constructor for class org.mongodb.morphia.mapping.validation.fieldrules.VersionMisuse
-
Creates a version validator.