A B C D E F G H I J K L M N O P Q R S T U V W _

A

AbstractCriteria - Class in org.mongodb.morphia.query
 
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
An abstract implementation of QueryFactory.
AbstractQueryFactory() - Constructor for class org.mongodb.morphia.query.AbstractQueryFactory
 
AbstractReference - Class in org.mongodb.morphia.mapping.lazy.proxy
 
AbstractReference(DatastoreProvider, Class, boolean) - Constructor for class org.mongodb.morphia.mapping.lazy.proxy.AbstractReference
 
Accumulator - Class in org.mongodb.morphia.aggregation
 
Accumulator(String, String) - Constructor for class org.mongodb.morphia.aggregation.Accumulator
 
Accumulator(String, Object) - Constructor for class org.mongodb.morphia.aggregation.Accumulator
 
add(Object...) - Static method in class org.mongodb.morphia.aggregation.Projection
 
add(Criteria...) - Method in interface org.mongodb.morphia.query.CriteriaContainer
 
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
 
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
 
addConverter(TypeConverter) - Method in class org.mongodb.morphia.converters.Converters
Add a type converter.
addInterceptor(EntityInterceptor) - Method in class org.mongodb.morphia.mapping.Mapper
Adds an EntityInterceptor
addInterestingAnnotation(Class<? extends Annotation>) - Static method in class org.mongodb.morphia.mapping.MappedClass
 
addInterestingAnnotation(Class<? extends Annotation>) - Static method in class org.mongodb.morphia.mapping.MappedField
 
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
 
addTo(DBObject) - Method in class org.mongodb.morphia.query.CriteriaContainerImpl
 
addTo(DBObject) - Method in class org.mongodb.morphia.query.FieldCriteria
 
addTo(DBObject) - Method in class org.mongodb.morphia.query.GeoFieldCriteria
 
addTo(DBObject) - Method in class org.mongodb.morphia.query.WhereCriteria
 
addToSet(String) - Static method in class org.mongodb.morphia.aggregation.Group
 
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
 
AggregationPipelineImpl(DatastoreImpl, Class) - Constructor for class org.mongodb.morphia.aggregation.AggregationPipelineImpl
 
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
 
and(Criteria...) - Method in class org.mongodb.morphia.query.CriteriaContainerImpl
 
and(Criteria...) - Method in interface org.mongodb.morphia.query.Query
 
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
 
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 (as a List<T>).
Assert - Class in org.mongodb.morphia.utils
 
Assert.AssertionFailedException - Exception in org.mongodb.morphia.utils
 
Assert.AssertionFailedException(String) - Constructor for exception org.mongodb.morphia.utils.Assert.AssertionFailedException
 
Assert.AssertionFailedException(String, Throwable) - Constructor for exception org.mongodb.morphia.utils.Assert.AssertionFailedException
 
assertDependencyFullFilled() - Static method in class org.mongodb.morphia.mapping.lazy.LazyFeatureDependencies
 
attach(CriteriaContainerImpl) - Method in class org.mongodb.morphia.query.AbstractCriteria
 
attach(CriteriaContainerImpl) - Method in interface org.mongodb.morphia.query.Criteria
 
AuthenticationException - Exception in org.mongodb.morphia
 
AuthenticationException(String) - Constructor for exception org.mongodb.morphia.AuthenticationException
 
average(String) - Static method in class org.mongodb.morphia.aggregation.Group
 

B

BasicDAO<T,K> - Class in org.mongodb.morphia.dao
 
BasicDAO(Class<T>, MongoClient, Morphia, String) - Constructor for class org.mongodb.morphia.dao.BasicDAO
Create a new BasicDAO
BasicDAO(Class<T>, Datastore) - Constructor for class org.mongodb.morphia.dao.BasicDAO
Create a new BasicDAO
BasicDAO(MongoClient, Morphia, String) - Constructor for class org.mongodb.morphia.dao.BasicDAO
Only calls this from your derived class when you explicitly declare the generic types with concrete classes

class MyDao extends DAO<MyEntity, String>

BasicDAO(Datastore) - Constructor for class org.mongodb.morphia.dao.BasicDAO
 
basicValidate() - Method in class org.mongodb.morphia.mapping.MappedClass
 
batchSize(int) - Method in interface org.mongodb.morphia.query.Query
Batch-size of the fetched result (cursor).
batchSize(int) - Method in class org.mongodb.morphia.query.QueryImpl
 
beforeWriteObject() - Method in class org.mongodb.morphia.mapping.lazy.proxy.AbstractReference
 
beforeWriteObject() - Method in class org.mongodb.morphia.mapping.lazy.proxy.SerializableCollectionObjectReference
 
beforeWriteObject() - Method in class org.mongodb.morphia.mapping.lazy.proxy.SerializableEntityObjectReference
 
beforeWriteObject() - Method in class org.mongodb.morphia.mapping.lazy.proxy.SerializableMapObjectReference
 
BooleanConverter - Class in org.mongodb.morphia.converters
 
BooleanConverter() - Constructor for class org.mongodb.morphia.converters.BooleanConverter
 
box(Shape.Point, Shape.Point) - Static method in class org.mongodb.morphia.query.Shape
 
build() - Method in class org.mongodb.morphia.aggregation.GeoNear.GeoNearBuilder
 
build() - Method in class org.mongodb.morphia.geo.PointBuilder
Creates an immutable point
builder(String) - Static method in class org.mongodb.morphia.aggregation.GeoNear
 
ByteConverter - Class in org.mongodb.morphia.converters
 
ByteConverter() - Constructor for class org.mongodb.morphia.converters.ByteConverter
 

C

callLifecycleMethods(Class<? extends Annotation>, Object, DBObject) - 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
 
centerSphere(Shape.Point, double) - Static method in class org.mongodb.morphia.query.Shape
 
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
 
CharArrayConverter - Class in org.mongodb.morphia.converters
 
CharArrayConverter() - Constructor for class org.mongodb.morphia.converters.CharArrayConverter
 
check(MappedClass, Set<ConstraintViolation>) - Method in interface org.mongodb.morphia.mapping.validation.ClassConstraint
 
check(MappedClass, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.classrules.ContainsEmbeddedWithId
 
check(MappedClass, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.classrules.DuplicatedAttributeNames
 
check(MappedClass, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.classrules.EmbeddedAndId
 
check(MappedClass, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.classrules.EmbeddedAndValue
 
check(MappedClass, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.classrules.EntityAndEmbed
 
check(MappedClass, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.classrules.EntityCannotBeMapOrIterable
 
check(MappedClass, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.classrules.MultipleId
 
check(MappedClass, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.classrules.MultipleVersions
 
check(MappedClass, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.classrules.NoId
 
check(MappedClass, MappedField, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.fieldrules.ContradictingFieldAnnotation
 
check(MappedClass, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.fieldrules.FieldConstraint
 
check(MappedClass, MappedField, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.fieldrules.FieldConstraint
 
check(MappedClass, MappedField, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.fieldrules.IdDoesNotMix
 
check(MappedClass, MappedField, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.fieldrules.LazyReferenceMissingDependencies
 
check(MappedClass, MappedField, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.fieldrules.LazyReferenceOnArray
 
check(MappedClass, MappedField, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.fieldrules.MapKeyDifferentFromString
 
check(MappedClass, MappedField, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.fieldrules.MapNotSerializable
 
check(MappedClass, MappedField, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.fieldrules.MisplacedProperty
 
check(MappedClass, MappedField, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.fieldrules.ReferenceToUnidentifiable
 
check(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
 
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
 
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
Compares based on the following traits, in order:
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
 
ConstraintViolation(ConstraintViolation.Level, MappedClass, Class<? extends ClassConstraint>, String) - Constructor for class org.mongodb.morphia.mapping.validation.ConstraintViolation
 
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
 
ConstraintViolationException(ConstraintViolation...) - Constructor for exception org.mongodb.morphia.mapping.validation.ConstraintViolationException
 
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
 
contains(String) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
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
 
containsIgnoreCase(String) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
containsJavaFieldName(String) - Method in class org.mongodb.morphia.mapping.MappedClass
Check java field name that will 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
 
ConverterException - Exception in org.mongodb.morphia.converters
 
ConverterException(String) - Constructor for exception org.mongodb.morphia.converters.ConverterException
 
ConverterNotFoundException - Exception in org.mongodb.morphia.converters
 
ConverterNotFoundException(String) - Constructor for exception org.mongodb.morphia.converters.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
 
Converters(Mapper) - Constructor for class org.mongodb.morphia.converters.Converters
 
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.converters.ShortConverter
 
convertToArray(Class, List<?>) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
 
convertToPrimitiveArray(Byte[]) - Static method in class org.mongodb.morphia.converters.ByteConverter
 
convertToWrapperArray(byte[]) - Static method in class org.mongodb.morphia.converters.ByteConverter
 
convertToWrapperArray(char[]) - Static method in class org.mongodb.morphia.converters.CharArrayConverter
 
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
 
copy() - Method in class org.mongodb.morphia.mapping.cache.EntityCacheStatistics
 
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
returns the total count
count(String, Object) - Method in interface org.mongodb.morphia.dao.DAO
returns the count which match criteria {key:value}
count(Query<T>) - Method in interface org.mongodb.morphia.dao.DAO
returns the count which match the criteria
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
Returns a new query bound to the kind (a specific DBCollection)
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
 
createEntityCache() - Method in class org.mongodb.morphia.mapping.Mapper
 
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
Creates an instance of the class defined in the Mapper.CLASS_NAME_FIELDNAME field in the dbObject passed in.
createInstance(Mapper, MappedField, DBObject) - Method in interface org.mongodb.morphia.ObjectFactory
Creates an instance of the class defined in the Mapper.CLASS_NAME_FIELDNAME field in the dbObject passed in.
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(T, Class, boolean, DatastoreProvider) - Method in class org.mongodb.morphia.mapping.lazy.CGLibLazyProxyFactory
 
createListProxy(T, Class, boolean, DatastoreProvider) - Method in interface org.mongodb.morphia.mapping.lazy.LazyProxyFactory
 
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(T, Class, boolean, DatastoreProvider) - Method in class org.mongodb.morphia.mapping.lazy.CGLibLazyProxyFactory
 
createMapProxy(T, Class, boolean, DatastoreProvider) - Method in interface org.mongodb.morphia.mapping.lazy.LazyProxyFactory
 
createProxy(Class<T>, Key<T>, DatastoreProvider) - Method in class org.mongodb.morphia.mapping.lazy.CGLibLazyProxyFactory
 
createProxy(Class<T>, Key<T>, DatastoreProvider) - Method in interface org.mongodb.morphia.mapping.lazy.LazyProxyFactory
 
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 kind (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
Creates and returns a QueryImpl.
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
 
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
 
criteria(String) - Method in class org.mongodb.morphia.query.CriteriaContainerImpl
 
criteria(String) - Method in interface org.mongodb.morphia.query.Query
Criteria builder interface
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
 
CriteriaContainerImpl(CriteriaJoin) - Constructor for class org.mongodb.morphia.query.CriteriaContainerImpl
 
CriteriaContainerImpl(QueryImpl<?>, 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
 
CustomConverters(Mapper) - Constructor for class org.mongodb.morphia.converters.CustomConverters
 
CustomMapper - Interface in org.mongodb.morphia.mapping
A CustomMapper if one that implements the methods needed to map to/from POJO/DBObject

D

DAO<T,K> - Class in org.mongodb.morphia
Deprecated. use org.mongodb.morphia.dao.BasicDAO
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
DatastoreHolder - Class in org.mongodb.morphia.mapping.lazy
for use with DatastoreProvider.Default
DatastoreImpl - Class in org.mongodb.morphia
A generic (type-safe) wrapper around mongodb collections
DatastoreImpl(Morphia, Mapper, MongoClient, String) - Constructor for class org.mongodb.morphia.DatastoreImpl
Create a new DatastoreImpl
DatastoreImpl(Morphia, MongoClient, String) - Constructor for class org.mongodb.morphia.DatastoreImpl
Create a new DatastoreImpl
DatastoreProvider - Interface in org.mongodb.morphia.mapping.lazy
Lightweight object to be created (hopefully by a factory some day) to create provide a Datastore-reference to a resolving Proxy.
DateConverter - Class in org.mongodb.morphia.converters
 
DateConverter() - Constructor for class org.mongodb.morphia.converters.DateConverter
 
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
 
debug(String, Object...) - Method in interface org.mongodb.morphia.logging.Logger
 
debug(String, Throwable) - Method in interface org.mongodb.morphia.logging.Logger
 
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(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, 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) - 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.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
 
DefaultCreator - Class in org.mongodb.morphia.mapping
 
DefaultCreator() - Constructor for class org.mongodb.morphia.mapping.DefaultCreator
 
DefaultDatastoreProvider - Class in org.mongodb.morphia.mapping.lazy
Default implementation to be used in the assumption that one Datastore per classloader is the default wa to use Morphia.
DefaultDatastoreProvider() - Constructor for class org.mongodb.morphia.mapping.lazy.DefaultDatastoreProvider
 
DefaultEntityCache - Class in org.mongodb.morphia.mapping.cache
 
DefaultEntityCache() - Constructor for class org.mongodb.morphia.mapping.cache.DefaultEntityCache
 
DefaultMapEntry - Class in relocated.morphia.org.apache.commons.collections
A default implementation of Map.Entry
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
A default implementation of QueryFactory.
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 the entity
delete(T, WriteConcern) - Method in interface org.mongodb.morphia.dao.DAO
Deletes the 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 the given entities based on the query
delete(Query<T>, WriteConcern) - Method in interface org.mongodb.morphia.Datastore
Deletes the given 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(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) - Method in class org.mongodb.morphia.DatastoreImpl
 
delete(Class<T>, V, WriteConcern) - Method in class org.mongodb.morphia.DatastoreImpl
 
delete(Class<T>, Iterable<V>) - 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(Query<T>) - Method in class org.mongodb.morphia.DatastoreImpl
 
delete(Query<T>, WriteConcern) - Method in class org.mongodb.morphia.DatastoreImpl
 
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
Saves the entities given the query
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
Disables cursor timeout on server.
disableSnapshotMode() - Method in interface org.mongodb.morphia.query.Query
Disable snapshotted mode (default mode).
disableSnapshotMode() - Method in class org.mongodb.morphia.query.QueryImpl
Disable snapshotted mode (default mode).
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() - Method in class org.mongodb.morphia.mapping.MappedClass
Discovers interesting (that we care about) things about the class.
discover() - Method in class org.mongodb.morphia.mapping.MappedField
Discovers interesting (that we care about) things about the field.
discoverType() - Method in class org.mongodb.morphia.mapping.MappedField
 
divide(Object, Object) - Static method in class org.mongodb.morphia.aggregation.Projection
 
doesNotExist() - Method in interface org.mongodb.morphia.query.FieldEnd
 
doesNotExist() - Method in class org.mongodb.morphia.query.FieldEndImpl
 
DoubleConverter - Class in org.mongodb.morphia.converters
 
DoubleConverter() - Constructor for class org.mongodb.morphia.converters.DoubleConverter
 
DoubleTypeValidator - Class in org.mongodb.morphia.query.validation
Validation for fields of Double/double type.
ds - Variable in class org.mongodb.morphia.dao.BasicDAO
Deprecated. please use the getter for this field
DuplicatedAttributeNames - Class in org.mongodb.morphia.mapping.validation.classrules
 
DuplicatedAttributeNames() - Constructor for class org.mongodb.morphia.mapping.validation.classrules.DuplicatedAttributeNames
 

E

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
Enables cursor timeout on server.
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
Enabled snapshotted mode where duplicate results (which may be updated during the lifetime of the cursor) will not be returned.
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(Class, Object) - Method in class org.mongodb.morphia.converters.Converters
 
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
 
endsWith(String) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
endsWithIgnoreCase(String) - Method in interface org.mongodb.morphia.query.FieldEnd
 
endsWithIgnoreCase(String) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
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; 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; 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(Class<T>, String, BasicDBObject, boolean, boolean, boolean, boolean, int) - 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(DBCollection, String, BasicDBObject, boolean, boolean, boolean, boolean, int) - Method in class org.mongodb.morphia.DatastoreImpl
 
ensureIndex(MappedClass, DBCollection, Field[], IndexOptions) - 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), 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(MappedClass, 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(Class<T>) - Method in class org.mongodb.morphia.DatastoreImpl
 
ensureIndexes(Class<T>, boolean) - Method in class org.mongodb.morphia.DatastoreImpl
 
ensureIndexes() - Method in class org.mongodb.morphia.DatastoreImpl
 
ensureIndexes(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
 
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
 
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.
EntityCacheStatistics - Class in org.mongodb.morphia.mapping.cache
 
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
Deprecated. please use the getter for this field
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
EntityTypeAndIdValueValidator - Class in org.mongodb.morphia.query.validation
 
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
 
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
 
EphemeralMappedField(Type, MappedField, Mapper) - Constructor for class org.mongodb.morphia.mapping.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
 
equal(Object) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
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
Implemented per API documentation of Map.Entry.equals(Object)
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
 
error(String, Object...) - Method in interface org.mongodb.morphia.logging.Logger
 
error(String, Throwable) - Method in interface org.mongodb.morphia.logging.Logger
 
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
 
eval(T, V) - Method in class org.mongodb.morphia.utils.IterHelper.MapIterCallback
 
exists(Object, ReadPreference) - Method in interface org.mongodb.morphia.AdvancedDatastore
 
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
 
exists() - Method in interface org.mongodb.morphia.query.FieldEnd
 
exists() - Method in class org.mongodb.morphia.query.FieldEndImpl
 
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

F

FasterJDKLogger - Class in org.mongodb.morphia.logging.jdk
 
FasterJDKLogger(Class) - Constructor for class org.mongodb.morphia.logging.jdk.FasterJDKLogger
 
FastestJDKLogger - Class in org.mongodb.morphia.logging.jdk
 
FastestJDKLogger(Class) - Constructor for class org.mongodb.morphia.logging.jdk.FastestJDKLogger
 
fetch() - Method in class org.mongodb.morphia.mapping.lazy.proxy.AbstractReference
 
fetch(Key<?>) - Method in class org.mongodb.morphia.mapping.lazy.proxy.AbstractReference
 
fetch() - Method in class org.mongodb.morphia.mapping.lazy.proxy.SerializableCollectionObjectReference
 
fetch() - Method in class org.mongodb.morphia.mapping.lazy.proxy.SerializableEntityObjectReference
 
fetch() - Method in class org.mongodb.morphia.mapping.lazy.proxy.SerializableMapObjectReference
 
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
 
FieldCriteria - Class in org.mongodb.morphia.query
 
FieldCriteria(QueryImpl<?>, String, FilterOperator, Object, boolean, boolean) - Constructor for class org.mongodb.morphia.query.FieldCriteria
 
FieldCriteria(QueryImpl<?>, String, FilterOperator, Object, boolean, boolean, boolean) - Constructor for class org.mongodb.morphia.query.FieldCriteria
 
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.
FieldEndImpl<T extends CriteriaContainerImpl> - Class in org.mongodb.morphia.query
 
FieldEndImpl(QueryImpl<?>, String, T, boolean) - Constructor for class org.mongodb.morphia.query.FieldEndImpl
 
FieldEnumString - Class in org.mongodb.morphia.mapping.validation.classrules
 
FieldEnumString(MappedField...) - Constructor for class org.mongodb.morphia.mapping.validation.classrules.FieldEnumString
 
FieldEnumString(List<MappedField>) - Constructor for class org.mongodb.morphia.mapping.validation.classrules.FieldEnumString
 
FieldName - Class in org.mongodb.morphia.utils
Handy class to test if a certain FieldName is available in a class.
FieldName.FieldNameNotFoundException - Exception in org.mongodb.morphia.utils
 
FieldName.FieldNameNotFoundException(String) - Constructor for exception org.mongodb.morphia.utils.FieldName.FieldNameNotFoundException
 
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(String, Class<T>, String, V, int, int) - Method in interface org.mongodb.morphia.AdvancedDatastore
 
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
returns the entities
find(Query<T>) - Method in interface org.mongodb.morphia.dao.DAO
returns the entities which match the criteria
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 collectionName, and filter property.
find(String, Class<T>) - Method in class org.mongodb.morphia.DatastoreImpl
 
find(Class<T>) - Method in class org.mongodb.morphia.DatastoreImpl
 
find(Class<T>, String, V) - 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(Class<T>, String, V, int, int) - Method in class org.mongodb.morphia.DatastoreImpl
 
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(Query<T>) - Method in class org.mongodb.morphia.dao.BasicDAO
 
findIds(String, Object) - 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
returns the entity which match criteria {key:value}
findOne(Query<T>) - Method in interface org.mongodb.morphia.dao.DAO
returns the entity which match the criteria
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
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
 
FloatConverter - Class in org.mongodb.morphia.converters
 
FloatConverter() - Constructor for class org.mongodb.morphia.converters.FloatConverter
 
flush() - Method in class org.mongodb.morphia.mapping.cache.DefaultEntityCache
 
flush() - Method in interface org.mongodb.morphia.mapping.cache.EntityCache
 
format(LogRecord) - Method in class org.mongodb.morphia.logging.jdk.ShortFormatter
 
fromDb(DBObject, T, EntityCache) - Method in class org.mongodb.morphia.mapping.Mapper
 
fromDBObject(DBObject, MappedField, Object) - Method in class org.mongodb.morphia.converters.Converters
 
fromDBObject(DBObject, MappedField, Object, EntityCache, Mapper) - Method in interface org.mongodb.morphia.mapping.CustomMapper
 
fromDBObject(Class<T>, DBObject, EntityCache) - Method in class org.mongodb.morphia.mapping.Mapper
Converts a DBObject back to a type-safe java object (POJO)
fromDBObject(Class<T>, DBObject) - Method in class org.mongodb.morphia.Morphia
 
fromDBObject(Class<T>, DBObject, EntityCache) - Method in class org.mongodb.morphia.Morphia
 
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
 
fromString(String) - Static method in enum org.mongodb.morphia.query.FilterOperator
 
fromString(String) - Static method in enum org.mongodb.morphia.query.UpdateOperator
 

G

GeoFieldCriteria - Class in org.mongodb.morphia.query
 
GeoFieldCriteria(QueryImpl<?>, String, FilterOperator, Object, boolean, boolean, Map<String, Object>) - Constructor for class org.mongodb.morphia.query.GeoFieldCriteria
 
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 GeometryCollection GeoJSON GeometryCollection.
GeometryCollection - Class in org.mongodb.morphia.geo
This class represents a collection of mixed GeoJson objects as per the GeoJSON specification.
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
 
GeometryShapeConverter.LineStringConverter() - Constructor for class org.mongodb.morphia.geo.GeometryShapeConverter.LineStringConverter
Creates a new LineStringConverter.
GeometryShapeConverter.MultiLineStringConverter - Class in org.mongodb.morphia.geo
 
GeometryShapeConverter.MultiLineStringConverter() - Constructor for class org.mongodb.morphia.geo.GeometryShapeConverter.MultiLineStringConverter
Creates a new MultiLineStringConverter.
GeometryShapeConverter.MultiPointConverter - Class in org.mongodb.morphia.geo
 
GeometryShapeConverter.MultiPointConverter() - Constructor for class org.mongodb.morphia.geo.GeometryShapeConverter.MultiPointConverter
Creates 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.MultiPolygonConverter() - Constructor for class org.mongodb.morphia.geo.GeometryShapeConverter.MultiPolygonConverter
Creates a new MultiPolygonConverter.
GeometryShapeConverter.PointConverter - Class in org.mongodb.morphia.geo
 
GeometryShapeConverter.PointConverter() - Constructor for class org.mongodb.morphia.geo.GeometryShapeConverter.PointConverter
Creates a new PointConverter.
GeometryShapeConverter.PolygonConverter - Class in org.mongodb.morphia.geo
 
GeometryShapeConverter.PolygonConverter() - Constructor for class org.mongodb.morphia.geo.GeometryShapeConverter.PolygonConverter
Creates 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
 
GeoNear.GeoNearBuilder - Class in org.mongodb.morphia.aggregation
 
GeoNear.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
 
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>, DBRef) - Method in class org.mongodb.morphia.DatastoreImpl
 
get(Class<T>, Iterable<V>) - Method in class org.mongodb.morphia.DatastoreImpl
 
get(String, Class<T>, 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<?>) - Method in class org.mongodb.morphia.logging.jdk.JDKLoggerFactory
 
get(Class<?>) - Method in interface org.mongodb.morphia.logging.LoggerFactory
 
get(Class<?>) - Static method in class org.mongodb.morphia.logging.MorphiaLoggerFactory
 
get() - Method in class org.mongodb.morphia.mapping.lazy.DatastoreHolder
 
get() - Method in interface org.mongodb.morphia.mapping.lazy.DatastoreProvider
 
get() - Method in class org.mongodb.morphia.mapping.lazy.DefaultDatastoreProvider
 
get() - Method in class org.mongodb.morphia.mapping.lazy.proxy.AbstractReference
 
get() - Method in class org.mongodb.morphia.mapping.lazy.SingleDatastoreProvider
 
get() - Method in class org.mongodb.morphia.mapping.lazy.ThreadLocalDatastoreProvider
 
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
 
getAnnotation(Class<T>) - Method in class org.mongodb.morphia.mapping.MappedField
returns the annotation instance if it exists on this field
getAnnotation(Class, Class<T>) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
 
getAnnotations(Class<? extends Annotation>) - Method in class org.mongodb.morphia.mapping.MappedClass
 
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
Returns the batch size
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(Iterable<Key<T>>) - Method in class org.mongodb.morphia.DatastoreImpl
 
getByKeys(Class<T>, Iterable<Key<T>>) - Method in class org.mongodb.morphia.DatastoreImpl
 
getCaller(Throwable) - 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
 
getClassEntityAnnotation(Class) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
 
getClasses(String) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
 
getClasses(ClassLoader, String) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
 
getClassFromCollection(String) - Method in class org.mongodb.morphia.mapping.Mapper
 
getClassLoaderForClass() - Method in class org.mongodb.morphia.mapping.DefaultCreator
 
getClassName() - Method in class org.mongodb.morphia.logging.jdk.FastestJDKLogger
 
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
The underlying collection for this DAO
getCollection() - Method in interface org.mongodb.morphia.dao.DAO
gets the collection
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
Returns the DBCollection of the Query.
getCollection() - Method in class org.mongodb.morphia.query.QueryImpl
 
getCollection(Query) - Static method in class org.mongodb.morphia.utils.Helper
 
getCollectionName() - Method in class org.mongodb.morphia.mapping.MappedClass
 
getCollectionName(Object) - Method in class org.mongodb.morphia.mapping.Mapper
 
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 kind
getCount(T) - Method in interface org.mongodb.morphia.Datastore
Gets the count this kind (DBCollection)
getCount(Class<T>) - Method in interface org.mongodb.morphia.Datastore
Gets the count this kind (DBCollection)
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(String) - Method in class org.mongodb.morphia.DatastoreImpl
 
getCount(Query<T>) - Method in class org.mongodb.morphia.DatastoreImpl
 
getCounts() - Method in class org.mongodb.morphia.MapreduceResults
 
getCriteria(Query) - Static method in class org.mongodb.morphia.utils.Helper
 
getCTor() - Method in class org.mongodb.morphia.mapping.MappedField
returns a constructor for the type represented by the field
getCursor() - Method in class org.mongodb.morphia.query.MorphiaIterator
 
getCursor(Iterable) - Static method in class org.mongodb.morphia.utils.Helper
 
getDatastore() - Method in class org.mongodb.morphia.dao.BasicDAO
 
getDatastore() - Method in interface org.mongodb.morphia.dao.DAO
returns the underlying datastore
getDatastore() - Method in class org.mongodb.morphia.query.QueryImpl
 
getDatastoreProvider() - Method in class org.mongodb.morphia.mapping.Mapper
 
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
 
getDB(Datastore) - Static method in class org.mongodb.morphia.utils.Helper
 
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
returns the declaring class of the java field
getDecoderFact() - Method in interface org.mongodb.morphia.AdvancedDatastore
 
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
Returns the time spent calling the driver in ms
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
 
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
Returns the entity Class.
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
 
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
returned the underlying java field
getField() - Method in class org.mongodb.morphia.query.FieldCriteria
 
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.FieldCriteria
 
getFieldName() - Method in class org.mongodb.morphia.query.QueryImpl
 
getFieldName() - Method in class org.mongodb.morphia.query.WhereCriteria
 
getFields(Query) - Static method in class org.mongodb.morphia.utils.Helper
 
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
Returns the Mongo fields DBObject.
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
Returns the value stored in the java field
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
 
getFromDirectory(ClassLoader, File, String) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
 
getFromJARFile(ClassLoader, String, String) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
 
getFullName() - Method in class org.mongodb.morphia.mapping.MappedField
returns the full name of the class plus java field name
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
 
getIdField() - Method in class org.mongodb.morphia.mapping.MappedClass
 
getIncludeLocations() - Method in class org.mongodb.morphia.aggregation.GeoNear
 
getInlineResults() - Method in class org.mongodb.morphia.MapreduceResults
 
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.mapping.lazy.DatastoreHolder
 
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
Gets list of EntityInterceptors
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
Returns the name of the java field, as declared on the class
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
 
getKey(T, String) - Method in class org.mongodb.morphia.mapping.Mapper
 
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
Queries the server to check for each manual ref
getKeysByRefs(List<DBRef>) - Method in class org.mongodb.morphia.mapping.Mapper
Queries the server to check for each DBRef
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
 
getLimit() - Method in class org.mongodb.morphia.aggregation.GeoNear
 
getLimit() - Method in interface org.mongodb.morphia.query.Query
Returns the limit
getLimit() - Method in class org.mongodb.morphia.query.QueryImpl
 
getLoadNames() - Method in class org.mongodb.morphia.mapping.MappedField
Returns the name of the field's (key)name for mongodb, in order of loading.
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
Gets the MappedClass for the object (type).
getMappedClasses() - Method in class org.mongodb.morphia.mapping.Mapper
Returns collection of MappedClasses
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
Returns the name of the field's key-name for mongodb
getMappedIdField() - 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.mapping.MappedClass
 
getMapper() - Method in class org.mongodb.morphia.mapping.MappedField
 
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
Returns the time spent calling the mapper in ms
getMaxDistance() - Method in class org.mongodb.morphia.aggregation.GeoNear
 
getMaxDocuments() - Method in class org.mongodb.morphia.aggregation.GeoNear
 
getMCMap() - Method in class org.mongodb.morphia.mapping.Mapper
Returns map of MappedClasses by class name
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
Returns the name of the field's (key)name for mongodb
getNear() - Method in class org.mongodb.morphia.aggregation.GeoNear
 
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
Returns the offset.
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.FieldCriteria
 
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
 
getParameterizedClass(Class, int) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
 
getParameterizedType(Field, int) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
 
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
 
getProjectedField() - Method in class org.mongodb.morphia.aggregation.Projection
 
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
 
getProxyFactory() - Method in class org.mongodb.morphia.mapping.Mapper
 
getQuery() - Method in class org.mongodb.morphia.aggregation.GeoNear
 
getQuery() - Method in class org.mongodb.morphia.query.CriteriaContainerImpl
 
getQueryFactory() - Method in interface org.mongodb.morphia.Datastore
Returns the current QueryFactory.
getQueryFactory() - Method in class org.mongodb.morphia.DatastoreImpl
 
getQueryObject() - Method in interface org.mongodb.morphia.query.Query
Returns the Mongo query DBObject.
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
 
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.
getSort(Query) - Static method in class org.mongodb.morphia.utils.Helper
 
getSortObject() - Method in interface org.mongodb.morphia.query.Query
Returns the Mongo sort DBObject.
getSortObject() - Method in class org.mongodb.morphia.query.QueryImpl
 
getSourceField() - Method in class org.mongodb.morphia.aggregation.Group
 
getSourceField() - Method in class org.mongodb.morphia.aggregation.Projection
 
getSpherical() - Method in class org.mongodb.morphia.aggregation.GeoNear
 
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
 
getSupportTypes() - Method in class org.mongodb.morphia.converters.TypeConverter
Deprecated. use #getSupportedTypes()
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
returns the type of the underlying java field
getType() - Method in class org.mongodb.morphia.MapreduceResults
 
getTypeArgument(Class<? extends T>, TypeVariable<? extends GenericDeclaration>) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
 
getTypeArgumentOfParameterizedClass(Field, int, int) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
Deprecated. this class is unused in morphia and will be removed in a future release
getTypeArguments(Class<T>, Class<? extends T>) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
Deprecated. this class is unused in morphia and will be removed in a future release
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
 
getUpdateOperations(UpdateOperations) - Static method in class org.mongodb.morphia.utils.Helper
 
getUseBulkWriteOperations() - Method in class org.mongodb.morphia.Morphia
 
getValidFields(Field[], boolean) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
 
getValue() - Method in class org.mongodb.morphia.mapping.EphemeralMappedField
 
getValue() - Method in class org.mongodb.morphia.query.FieldCriteria
 
getValue() - Method in class relocated.morphia.org.apache.commons.collections.DefaultMapEntry
Returns the value.
getValueMapper() - Method in class org.mongodb.morphia.mapping.MapperOptions
 
getWriteConcern(Object) - Method in class org.mongodb.morphia.DatastoreImpl
Gets the write concern for entity or returns the default write concern for this datastore
getWriteResult() - Method in class org.mongodb.morphia.query.UpdateResults
 
greaterThan(Object) - Method in interface org.mongodb.morphia.query.FieldEnd
 
greaterThan(Object) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
greaterThanOrEq(Object) - Method in interface org.mongodb.morphia.query.FieldEnd
 
greaterThanOrEq(Object) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
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<T,U> - Class in org.mongodb.morphia.aggregation
 
Group(String, String) - Constructor for class org.mongodb.morphia.aggregation.Group
 
grouping(String) - Static method in class org.mongodb.morphia.aggregation.Group
 
grouping(String, String) - Static method in class org.mongodb.morphia.aggregation.Group
 
grouping(String, Accumulator) - Static method in class org.mongodb.morphia.aggregation.Group
 

H

HARD - Static variable in class relocated.morphia.org.apache.commons.collections.ReferenceMap
Constant indicating that hard references should be used.
hasAllOf(Iterable<?>) - Method in interface org.mongodb.morphia.query.FieldEnd
 
hasAllOf(Iterable<?>) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
hasAnnotation(Class) - Method in class org.mongodb.morphia.mapping.EphemeralMappedField
 
hasAnnotation(Class) - Method in class org.mongodb.morphia.mapping.MappedField
Indicates whether the annotation is present in the mapping (does not check the java field annotations, just the ones discovered)
hasAnyOf(Iterable<?>) - Method in interface org.mongodb.morphia.query.FieldEnd
 
hasAnyOf(Iterable<?>) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
hasDbObjectConverter(MappedField) - Method in class org.mongodb.morphia.converters.Converters
 
hasDbObjectConverter(Class) - Method in class org.mongodb.morphia.converters.Converters
 
hashCode() - Method in class org.mongodb.morphia.converters.TypeConverter
 
hashCode() - Method in class org.mongodb.morphia.geo.GeometryCollection
 
hashCode() - Method in class org.mongodb.morphia.geo.LineString
 
hashCode() - Method in class org.mongodb.morphia.geo.MultiLineString
 
hashCode() - Method in class org.mongodb.morphia.geo.MultiPoint
 
hashCode() - Method in class org.mongodb.morphia.geo.MultiPolygon
 
hashCode() - Method in class org.mongodb.morphia.geo.NamedCoordinateReferenceSystem
 
hashCode() - Method in class org.mongodb.morphia.geo.Point
 
hashCode() - Method in class org.mongodb.morphia.geo.Polygon
 
hashCode() - Method in class org.mongodb.morphia.Key
 
hashCode() - Method in class org.mongodb.morphia.mapping.MappedClass
 
hashCode() - Method in class relocated.morphia.org.apache.commons.collections.DefaultMapEntry
Implemented per API documentation of Map.Entry.hashCode()
hasNext() - Method in class org.mongodb.morphia.query.MorphiaIterator
 
hasNoneOf(Iterable<?>) - Method in interface org.mongodb.morphia.query.FieldEnd
 
hasNoneOf(Iterable<?>) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
hasSimpleValueConverter(Object) - Method in class org.mongodb.morphia.converters.Converters
 
hasSimpleValueConverter(Class) - Method in class org.mongodb.morphia.converters.Converters
 
hasSimpleValueConverter(MappedField) - Method in class org.mongodb.morphia.converters.Converters
 
hasThisElement(Object) - Method in interface org.mongodb.morphia.query.FieldEnd
 
hasThisElement(Object) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
hasThisOne(Object) - Method in interface org.mongodb.morphia.query.FieldEnd
 
hasThisOne(Object) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
Helper - Class in org.mongodb.morphia.utils
Exposes driver related DBObject stuff from Morphia objects
hintIndex(String) - Method in interface org.mongodb.morphia.query.Query
Hints as to which index should be used.
hintIndex(String) - Method in class org.mongodb.morphia.query.QueryImpl
 

I

id(Group...) - Static method in class org.mongodb.morphia.aggregation.Group
 
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
 
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
 
in(Iterable<?>) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
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
 
incHits() - Method in class org.mongodb.morphia.mapping.cache.EntityCacheStatistics
 
incMisses() - Method in class org.mongodb.morphia.mapping.cache.EntityCacheStatistics
 
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
 
info(String, Object...) - Method in interface org.mongodb.morphia.logging.Logger
 
info(String, Throwable) - Method in interface org.mongodb.morphia.logging.Logger
 
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
 
insert(T) - Method in interface org.mongodb.morphia.AdvancedDatastore
 
insert(T, WriteConcern) - Method in interface org.mongodb.morphia.AdvancedDatastore
 
insert(T...) - Method in interface org.mongodb.morphia.AdvancedDatastore
 
insert(Iterable<T>, WriteConcern) - Method in interface org.mongodb.morphia.AdvancedDatastore
 
insert(String, Iterable<T>) - Method in interface org.mongodb.morphia.AdvancedDatastore
 
insert(String, Iterable<T>, WriteConcern) - Method in interface org.mongodb.morphia.AdvancedDatastore
 
insert(Iterable<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(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(String, T) - Method in class org.mongodb.morphia.DatastoreImpl
 
insert(String, T, WriteConcern) - Method in class org.mongodb.morphia.DatastoreImpl
 
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
 
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.
intersects(Geometry) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
intersects(Geometry, CoordinateReferenceSystem) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
isActLikeSerializer() - Method in class org.mongodb.morphia.mapping.MapperOptions
 
isArray() - Method in class org.mongodb.morphia.mapping.MappedField
 
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(Object[]) - Static method in class org.mongodb.morphia.utils.Assert
 
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
 
isFieldParameterizedWithClass(Field, Class) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
Deprecated. this class is unused in morphia and will be removed in a future release
isFieldParameterizedWithPropertyType(Field) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
Deprecated. this class is unused in morphia and will be removed in a future release
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.
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
 
isMapped(Class) - Method in class org.mongodb.morphia.Morphia
Check whether a specific class is mapped by this instance.
isMultipleValues() - Method in class org.mongodb.morphia.mapping.MappedField
 
isNot() - Method in class org.mongodb.morphia.query.FieldCriteria
 
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
 
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
 
isProxied(Class<?>) - Static method in class org.mongodb.morphia.mapping.lazy.proxy.ProxyHelper
 
isProxy(Object) - Static method in class org.mongodb.morphia.mapping.lazy.proxy.ProxyHelper
 
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
 
isTypeMongoCompatible() - Method in class org.mongodb.morphia.mapping.MappedField
 
isUnFetched(Object) - Static method in class org.mongodb.morphia.mapping.lazy.proxy.ProxyHelper
 
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
 
iterator() - Method in class org.mongodb.morphia.query.MorphiaIterator
 
iterator() - Method in class org.mongodb.morphia.query.QueryImpl
 
IterHelper<T,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
 
IterHelper.IterCallback() - Constructor for class org.mongodb.morphia.utils.IterHelper.IterCallback
 
IterHelper.MapIterCallback<T,V> - Class in org.mongodb.morphia.utils
 
IterHelper.MapIterCallback() - Constructor for class org.mongodb.morphia.utils.IterHelper.MapIterCallback
 
iterToList(Iterable<T>) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
 

J

JDKLogger - Class in org.mongodb.morphia.logging.jdk
 
JDKLogger(Class) - Constructor for class org.mongodb.morphia.logging.jdk.JDKLogger
 
JDKLoggerFactory - Class in org.mongodb.morphia.logging.jdk
 
JDKLoggerFactory() - Constructor for class org.mongodb.morphia.logging.jdk.JDKLoggerFactory
 

K

Key<T> - Class in org.mongodb.morphia
The key object; this class is take from the app-engine datastore (mostly) implementation.
Key() - Constructor for class org.mongodb.morphia.Key
For GWT serialization
Key(Class<? extends T>, String, Object) - Constructor for class org.mongodb.morphia.Key
Create a key with an id
Key(Class<? extends T>, String, byte[]) - Constructor for class org.mongodb.morphia.Key
Create a key with an id
KeyConverter - Class in org.mongodb.morphia.converters
 
KeyConverter() - Constructor for class org.mongodb.morphia.converters.KeyConverter
 
keySet() - Method in class relocated.morphia.org.apache.commons.collections.ReferenceMap
Returns a set view of this map's keys.
keysToIds(List<Key<T>>) - Method in class org.mongodb.morphia.dao.BasicDAO
Converts from a List to their id values
keyToManualRef(Key) - Method in class org.mongodb.morphia.mapping.Mapper
 
keyToRef(Key) - Method in class org.mongodb.morphia.mapping.Mapper
 
KeyValueTypeValidator - Class in org.mongodb.morphia.query.validation
 

L

last(String) - Static method in class org.mongodb.morphia.aggregation.Group
 
latitude(double) - Method in class org.mongodb.morphia.geo.PointBuilder
Add a latitude.
LazyFeatureDependencies - Class in org.mongodb.morphia.mapping.lazy
 
LazyProxyFactory - Interface in org.mongodb.morphia.mapping.lazy
 
LazyReferenceFetchingException - Exception in org.mongodb.morphia.mapping.lazy.proxy
 
LazyReferenceFetchingException(String) - Constructor for exception org.mongodb.morphia.mapping.lazy.proxy.LazyReferenceFetchingException
 
LazyReferenceMissingDependencies - Class in org.mongodb.morphia.mapping.validation.fieldrules
 
LazyReferenceMissingDependencies() - Constructor for class org.mongodb.morphia.mapping.validation.fieldrules.LazyReferenceMissingDependencies
 
LazyReferenceOnArray - Class in org.mongodb.morphia.mapping.validation.fieldrules
 
LazyReferenceOnArray() - Constructor for class org.mongodb.morphia.mapping.validation.fieldrules.LazyReferenceOnArray
 
lessThan(Object) - Method in interface org.mongodb.morphia.query.FieldEnd
 
lessThan(Object) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
lessThanOrEq(Object) - Method in interface org.mongodb.morphia.query.FieldEnd
 
lessThanOrEq(Object) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
limit(int) - Method in interface org.mongodb.morphia.aggregation.AggregationPipeline
Passes the first n documents unmodified to the pipeline where n is the specified limit.
limit(int) - Method in class org.mongodb.morphia.aggregation.AggregationPipelineImpl
 
limit(int) - Method in interface org.mongodb.morphia.query.Query
Limit the fetched result set to a certain number of values.
limit(int) - Method in class org.mongodb.morphia.query.QueryImpl
 
lineString(Point...) - Static method in class org.mongodb.morphia.geo.GeoJson
Create a new LineString representing a GeoJSON LineString type.
LineString - Class in org.mongodb.morphia.geo
Represents a GeoJSON LineString type.
list(Object...) - Static method in class org.mongodb.morphia.aggregation.Projection
 
ListValueValidator - Class in org.mongodb.morphia.query.validation
 
LocaleConverter - Class in org.mongodb.morphia.converters
 
LocaleConverter() - Constructor for class org.mongodb.morphia.converters.LocaleConverter
 
log(Level, String, Throwable) - Method in class org.mongodb.morphia.logging.jdk.FasterJDKLogger
 
log(Level, String, Object...) - Method in class org.mongodb.morphia.logging.jdk.FasterJDKLogger
 
log(Level, String, Throwable) - Method in class org.mongodb.morphia.logging.jdk.FastestJDKLogger
 
log(Level, String, Object...) - Method in class org.mongodb.morphia.logging.jdk.FastestJDKLogger
 
log(Level, String, Throwable) - Method in class org.mongodb.morphia.logging.jdk.JDKLogger
 
log(Level, String, Object...) - Method in class org.mongodb.morphia.logging.jdk.JDKLogger
 
Logger - Interface in org.mongodb.morphia.logging
A generic logger interface used internally by Morphia.
LoggerFactory - Interface in org.mongodb.morphia.logging
A generic logger factory interface used internally by Morphia.
Logr - Interface in org.mongodb.morphia.logging
Deprecated. Use Logger directly
LogrFactory - Interface in org.mongodb.morphia.logging
Deprecated. Use LoggerFactory directly
LongConverter - Class in org.mongodb.morphia.converters
 
LongConverter() - Constructor for class org.mongodb.morphia.converters.LongConverter
 
longitude(double) - Method in class org.mongodb.morphia.geo.PointBuilder
Add a longitude.
LongTypeValidator - Class in org.mongodb.morphia.query.validation
Checks the type of the value if the type of the field is a Long or long.
LongTypeValidator() - Constructor for class org.mongodb.morphia.query.validation.LongTypeValidator
 
loopMap(Object, IterHelper.MapIterCallback<T, V>) - Method in class org.mongodb.morphia.utils.IterHelper
 
loopOrSingle(Object, IterHelper.IterCallback<V>) - Method in class org.mongodb.morphia.utils.IterHelper
Calls eval for each entry found, or just once if the "x" isn't iterable/collection/list/etc.
lowerIndexBound(DBObject) - Method in interface org.mongodb.morphia.query.Query
Specify the inclusive lower bound for a specific index in order to constrain the results of this query.
lowerIndexBound(DBObject) - Method in class org.mongodb.morphia.query.QueryImpl
 

M

manualRefToKey(Class<T>, Object) - Method in class org.mongodb.morphia.mapping.Mapper
 
manualRefToKey(String, Object) - Method in class org.mongodb.morphia.mapping.Mapper
 
map(Class...) - Method in class org.mongodb.morphia.Morphia
 
map(Set<Class>) - Method in class org.mongodb.morphia.Morphia
 
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
 
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
 
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
constructor
MappedField - Class in org.mongodb.morphia.mapping
Represents the mapping of this field to/from mongodb (name, list)
MappedField(Type, Mapper) - Constructor for class org.mongodb.morphia.mapping.MappedField
 
Mapper - Class in org.mongodb.morphia.mapping
This is the heart of Morphia and takes care of mapping from/to POJOs/DBObjects
Mapper() - Constructor for class org.mongodb.morphia.mapping.Mapper
 
Mapper(MapperOptions) - Constructor for class org.mongodb.morphia.mapping.Mapper
 
Mapper(DatastoreProvider) - Constructor for class org.mongodb.morphia.mapping.Mapper
Deprecated. Use Mapper#setDatastoreProvider(DatastoreProvider) instead
MapperOptions - Class in org.mongodb.morphia.mapping
Options to control mapping behavior.
MapperOptions() - Constructor for class org.mongodb.morphia.mapping.MapperOptions
 
MappingException - Exception in org.mongodb.morphia.mapping
 
MappingException(String) - Constructor for exception org.mongodb.morphia.mapping.MappingException
 
MappingException(String, Throwable) - Constructor for exception org.mongodb.morphia.mapping.MappingException
 
MappingValidator - Class in org.mongodb.morphia.mapping.validation
 
MappingValidator() - Constructor for class org.mongodb.morphia.mapping.validation.MappingValidator
 
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, Class<T>, MapReduceCommand) - Method in class org.mongodb.morphia.DatastoreImpl
 
mapReduce(MapreduceType, Query, String, String, String, Map<String, Object>, Class<T>) - Method in class org.mongodb.morphia.DatastoreImpl
 
MapreduceResults<T> - Class in org.mongodb.morphia
 
MapreduceResults(MapReduceOutput) - Constructor for class org.mongodb.morphia.MapreduceResults
 
MapreduceResults.Stats - Class in org.mongodb.morphia
 
MapreduceResults.Stats() - Constructor for class org.mongodb.morphia.MapreduceResults.Stats
 
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
 
max(String) - Static method in class org.mongodb.morphia.aggregation.Group
 
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
 
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
 
mod(long, long) - Method in interface org.mongodb.morphia.query.FieldEnd
 
mod(long, long) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
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
 
Morphia(Mapper) - Constructor for class org.mongodb.morphia.Morphia
 
Morphia(Set<Class>) - Constructor for class org.mongodb.morphia.Morphia
 
Morphia(Mapper, Set<Class>) - Constructor for class org.mongodb.morphia.Morphia
 
MorphiaConfiguration - Class in org.mongodb.morphia.config
 
MorphiaConfiguration() - Constructor for class org.mongodb.morphia.config.MorphiaConfiguration
 
MorphiaIterator<T,V> - Class in org.mongodb.morphia.query
 
MorphiaIterator(Iterator<DBObject>, Mapper, Class<T>, String, EntityCache) - Constructor for class org.mongodb.morphia.query.MorphiaIterator
 
MorphiaKeyIterator<T> - Class in org.mongodb.morphia.query
 
MorphiaKeyIterator(DBCursor, Mapper, Class<T>, String) - Constructor for class org.mongodb.morphia.query.MorphiaKeyIterator
 
MorphiaLoggerFactory - Class in org.mongodb.morphia.logging
 
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
This class represents a series of lines, which will saved into MongoDB as per the GeoJSON specification.
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
 
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.
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
This class represents a set of polygons, which will saved into MongoDB as per the GeoJSON specification.

N

NamedCoordinateReferenceSystem - Class in org.mongodb.morphia.geo
 
NamedCoordinateReferenceSystemConverter - 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.
NamedCoordinateReferenceSystemConverter() - Constructor for class org.mongodb.morphia.geo.NamedCoordinateReferenceSystemConverter
Sets up this converter to work with things that implement the Geometry interface
near(double, double) - Method in interface org.mongodb.morphia.query.FieldEnd
 
near(double, double, boolean) - Method in interface org.mongodb.morphia.query.FieldEnd
 
near(double, double, double) - Method in interface org.mongodb.morphia.query.FieldEnd
 
near(double, double, double, boolean) - Method in interface org.mongodb.morphia.query.FieldEnd
 
near(Point, int) - Method in interface org.mongodb.morphia.query.FieldEnd
This runs a $near query to check for documents geographically close to the given Point - this Point represents a GeoJSON point type.
near(Point) - Method in interface org.mongodb.morphia.query.FieldEnd
This runs a $near query to check for documents geographically close to the given Point - this Point represents a GeoJSON point type.
near(double, double) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
near(double, double, boolean) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
near(double, double, double) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
near(double, double, double, boolean) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
near(Point, int) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
near(Point) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
next() - Method in class org.mongodb.morphia.query.MorphiaIterator
 
nextValue(Long) - Static method in class org.mongodb.morphia.DatastoreImpl
 
NoId - Class in org.mongodb.morphia.mapping.validation.classrules
 
NoId() - Constructor for class org.mongodb.morphia.mapping.validation.classrules.NoId
 
not() - Method in interface org.mongodb.morphia.query.FieldEnd
 
not() - Method in class org.mongodb.morphia.query.FieldEndImpl
 
notEqual(Object) - Method in interface org.mongodb.morphia.query.FieldEnd
 
notEqual(Object) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
notifyExists(Key<?>, boolean) - Method in class org.mongodb.morphia.mapping.cache.DefaultEntityCache
 
notifyExists(Key<?>, boolean) - Method in interface org.mongodb.morphia.mapping.cache.EntityCache
 
notIn(Iterable<?>) - Method in interface org.mongodb.morphia.query.FieldEnd
 
notIn(Iterable<?>) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
NotInOperationValidator - Class in org.mongodb.morphia.query.validation
Checks if the value can have the FilterOperator.NOT_IN operator applied to it.
NotSaved - Annotation Type in org.mongodb.morphia.annotations
When placed on an entity field, the field will not be written to mongodb.

O

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
 
of(String) - Static method in class org.mongodb.morphia.utils.FieldName
 
of(Class<?>, String) - Static method in class org.mongodb.morphia.utils.FieldName
 
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
 
or(Criteria...) - Method in class org.mongodb.morphia.query.CriteriaContainerImpl
 
or(Criteria...) - Method in interface org.mongodb.morphia.query.Query
 
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
 
org.mongodb.morphia.aggregation - package org.mongodb.morphia.aggregation
 
org.mongodb.morphia.annotations - package org.mongodb.morphia.annotations
 
org.mongodb.morphia.config - package org.mongodb.morphia.config
 
org.mongodb.morphia.converters - package org.mongodb.morphia.converters
 
org.mongodb.morphia.dao - package org.mongodb.morphia.dao
 
org.mongodb.morphia.geo - package org.mongodb.morphia.geo
 
org.mongodb.morphia.logging - package org.mongodb.morphia.logging
 
org.mongodb.morphia.logging.jdk - package org.mongodb.morphia.logging.jdk
 
org.mongodb.morphia.mapping - package org.mongodb.morphia.mapping
 
org.mongodb.morphia.mapping.cache - package org.mongodb.morphia.mapping.cache
 
org.mongodb.morphia.mapping.lazy - package org.mongodb.morphia.mapping.lazy
 
org.mongodb.morphia.mapping.lazy.proxy - package org.mongodb.morphia.mapping.lazy.proxy
 
org.mongodb.morphia.mapping.validation - package org.mongodb.morphia.mapping.validation
 
org.mongodb.morphia.mapping.validation.classrules - package org.mongodb.morphia.mapping.validation.classrules
 
org.mongodb.morphia.mapping.validation.fieldrules - package org.mongodb.morphia.mapping.validation.fieldrules
 
org.mongodb.morphia.query - package org.mongodb.morphia.query
 
org.mongodb.morphia.query.validation - package org.mongodb.morphia.query.validation
 
org.mongodb.morphia.utils - package org.mongodb.morphia.utils
 
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
 

P

p - Variable in class org.mongodb.morphia.mapping.lazy.proxy.AbstractReference
 
parameterNotEmpty(Iterable, String) - Static method in class org.mongodb.morphia.utils.Assert
 
parameterNotEmpty(String, String) - Static method in class org.mongodb.morphia.utils.Assert
 
parameterNotNull(Object, String) - Static method in class org.mongodb.morphia.utils.Assert
 
parametersNotNull(String, Object...) - Static method in class org.mongodb.morphia.utils.Assert
 
parseFieldsString(String, Class, Mapper, boolean) - Static method in class org.mongodb.morphia.query.QueryImpl
parses the string and validates each part
parseLocale(String) - Static method in class org.mongodb.morphia.converters.LocaleConverter
 
PatternValueValidator - Class in org.mongodb.morphia.query.validation
Validates query values that are Pattern to check the field type is a String.
PipelineStage - Class in org.mongodb.morphia.aggregation
 
PipelineStage(String) - Constructor for class org.mongodb.morphia.aggregation.PipelineStage
 
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.
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.
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
 
Polymorphic - Annotation Type in org.mongodb.morphia.annotations
Specifies that this class is part of an inheritance structure.
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
 
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
 
processItem(DBObject) - Method in class org.mongodb.morphia.query.MorphiaIterator
 
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<T,U> - Class in org.mongodb.morphia.aggregation
 
projection(String) - Static method in class org.mongodb.morphia.aggregation.Projection
 
projection(String, String) - Static method in class org.mongodb.morphia.aggregation.Projection
 
projection(String, Projection, Projection...) - Static method in class org.mongodb.morphia.aggregation.Projection
 
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
 
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
 
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
 

Q

Query<T> - Interface in org.mongodb.morphia.query
 
queryByExample(String, T) - Method in interface org.mongodb.morphia.AdvancedDatastore
Returns a new query based on the example object
queryByExample(T) - Method in interface org.mongodb.morphia.Datastore
Returns a new query based on the example object
queryByExample(T) - Method in class org.mongodb.morphia.DatastoreImpl
 
queryByExample(String, T) - Method in class org.mongodb.morphia.DatastoreImpl
 
QueryException - Exception in org.mongodb.morphia.query
Error during query.
QueryException(String) - Constructor for exception org.mongodb.morphia.query.QueryException
 
QueryException(String, Throwable) - Constructor for exception org.mongodb.morphia.query.QueryException
 
QueryFactory - Interface in org.mongodb.morphia.query
A factory for Queryies.
QueryImpl<T> - Class in org.mongodb.morphia.query
Implementation of Query
QueryImpl(Class<T>, DBCollection, Datastore) - Constructor for class org.mongodb.morphia.query.QueryImpl
 
queryNonPrimary() - Method in interface org.mongodb.morphia.query.Query
Deprecated. use #useReadPreference(ReadPreference) instead
queryNonPrimary() - Method in class org.mongodb.morphia.query.QueryImpl
 
queryPrimaryOnly() - Method in interface org.mongodb.morphia.query.Query
Deprecated. use #useReadPreference(ReadPreference)
queryPrimaryOnly() - Method in class org.mongodb.morphia.query.QueryImpl
 
QueryResults<T> - Interface in org.mongodb.morphia.query
The results of a query.

R

raiseError(String) - Static method in class org.mongodb.morphia.utils.Assert
 
Reference - Annotation Type in org.mongodb.morphia.annotations
 
ReferenceMap - Class in relocated.morphia.org.apache.commons.collections
Hashtable-based Map implementation that allows mappings to be removed by the garbage collector.
ReferenceMap() - Constructor for class relocated.morphia.org.apache.commons.collections.ReferenceMap
Constructs a new ReferenceMap that will use hard references to keys and soft references to values.
ReferenceMap(int, int) - Constructor for class relocated.morphia.org.apache.commons.collections.ReferenceMap
Constructs a new ReferenceMap that will use the specified types of references.
ReferenceMap(int, int, int, float) - Constructor for class relocated.morphia.org.apache.commons.collections.ReferenceMap
Constructs a new ReferenceMap with the specified reference types, load factor and initial capacity.
referenceObjClass - Variable in class org.mongodb.morphia.mapping.lazy.proxy.AbstractReference
 
ReferenceToUnidentifiable - Class in org.mongodb.morphia.mapping.validation.fieldrules
 
ReferenceToUnidentifiable() - Constructor for class org.mongodb.morphia.mapping.validation.fieldrules.ReferenceToUnidentifiable
 
ReflectionUtils - Class in org.mongodb.morphia.utils
Various reflection utility methods, used mainly in the Mapper.
refToKey(DBRef) - Method in class org.mongodb.morphia.mapping.Mapper
 
register(Datastore) - Method in interface org.mongodb.morphia.mapping.lazy.DatastoreProvider
 
register(Datastore) - Method in class org.mongodb.morphia.mapping.lazy.DefaultDatastoreProvider
 
register(Datastore) - Method in class org.mongodb.morphia.mapping.lazy.SingleDatastoreProvider
 
register(Datastore) - Method in class org.mongodb.morphia.mapping.lazy.ThreadLocalDatastoreProvider
 
registerLogger(Class<? extends LoggerFactory>) - Static method in class org.mongodb.morphia.logging.MorphiaLoggerFactory
Register a LoggerFactory; last one registered is used.
relocated.morphia.org.apache.commons.collections - package relocated.morphia.org.apache.commons.collections
 
remove(Criteria) - Method in class org.mongodb.morphia.query.CriteriaContainerImpl
 
remove() - Method in class org.mongodb.morphia.query.MorphiaIterator
 
remove(String, boolean) - Method in class org.mongodb.morphia.query.UpdateOpsImpl
 
remove(Object) - Method in class relocated.morphia.org.apache.commons.collections.ReferenceMap
Removes the key and its associated value from this map.
removeAll(String, Object) - Method in interface org.mongodb.morphia.query.UpdateOperations
removes the value from the array field
removeAll(String, List<?>) - Method in interface org.mongodb.morphia.query.UpdateOperations
removes the values from the array field
removeAll(String, Object) - Method in class org.mongodb.morphia.query.UpdateOpsImpl
 
removeAll(String, List<?>) - Method in class org.mongodb.morphia.query.UpdateOpsImpl
 
removeConverter(TypeConverter) - Method in class org.mongodb.morphia.converters.Converters
Removes the type converter.
removeConverter(TypeConverter) - Method in class org.mongodb.morphia.converters.CustomConverters
 
removeFirst(String) - Method in interface org.mongodb.morphia.query.UpdateOperations
removes the first value from the array
removeFirst(String) - Method in class org.mongodb.morphia.query.UpdateOpsImpl
 
removeLast(String) - Method in interface org.mongodb.morphia.query.UpdateOperations
removes the last value from the array
removeLast(String) - Method in class org.mongodb.morphia.query.UpdateOpsImpl
 
render() - Method in class org.mongodb.morphia.mapping.validation.ConstraintViolation
 
reset() - Static method in class org.mongodb.morphia.logging.MorphiaLoggerFactory
 
reset() - Method in class org.mongodb.morphia.mapping.cache.EntityCacheStatistics
 
retrievedFields(boolean, String...) - Method in interface org.mongodb.morphia.query.Query
Limits the fields retrieved
retrievedFields(boolean, String...) - Method in class org.mongodb.morphia.query.QueryImpl
 
retrieveKnownFields() - Method in interface org.mongodb.morphia.query.Query
Limits the fields retrieved to those of the query type -- dangerous with interfaces and abstract classes
retrieveKnownFields() - Method in class org.mongodb.morphia.query.QueryImpl
 
returnKey() - Method in interface org.mongodb.morphia.query.Query
Only return the index field or fields for the results of the query.
returnKey() - Method in class org.mongodb.morphia.query.QueryImpl
 

S

save(String, T) - Method in interface org.mongodb.morphia.AdvancedDatastore
 
save(String, T, WriteConcern) - Method in interface org.mongodb.morphia.AdvancedDatastore
 
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 the entity (Object) and updates the @Id field
save(T, WriteConcern) - Method in interface org.mongodb.morphia.Datastore
Saves the 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(DBCollection, T, WriteConcern) - Method in class org.mongodb.morphia.DatastoreImpl
 
save(T) - 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(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
 
SerializableCollectionObjectReference<T> - Class in org.mongodb.morphia.mapping.lazy.proxy
 
SerializableCollectionObjectReference(Collection<T>, Class<T>, boolean, DatastoreProvider) - Constructor for class org.mongodb.morphia.mapping.lazy.proxy.SerializableCollectionObjectReference
 
SerializableEntityObjectReference - Class in org.mongodb.morphia.mapping.lazy.proxy
 
SerializableEntityObjectReference(Class, DatastoreProvider, Key) - Constructor for class org.mongodb.morphia.mapping.lazy.proxy.SerializableEntityObjectReference
 
SerializableMapObjectReference - Class in org.mongodb.morphia.mapping.lazy.proxy
 
SerializableMapObjectReference(Map, Class, boolean, DatastoreProvider) - Constructor for class org.mongodb.morphia.mapping.lazy.proxy.SerializableMapObjectReference
 
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(Datastore) - Method in class org.mongodb.morphia.mapping.lazy.DatastoreHolder
 
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
Treat java transient fields as if they have @Transient on them
setAttachedTo(CriteriaContainerImpl) - Method in class org.mongodb.morphia.query.AbstractCriteria
 
setChildren(List<Criteria>) - Method in class org.mongodb.morphia.query.CriteriaContainerImpl
 
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
 
setDecoderFact(DBDecoderFactory) - Method in class org.mongodb.morphia.DatastoreImpl
 
setDefaultMapper(CustomMapper) - Method in class org.mongodb.morphia.mapping.MapperOptions
 
setDefaultWriteConcern(WriteConcern) - Method in interface org.mongodb.morphia.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
 
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(Class<T>, Mapper, EntityCache) - Method in class org.mongodb.morphia.MapreduceResults
 
setJoinMethod(CriteriaJoin) - Method in class org.mongodb.morphia.query.CriteriaContainerImpl
 
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
 
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
 
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
 
setOptions(MapperOptions) - Method in class org.mongodb.morphia.mapping.Mapper
 
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
 
setQueryFactory(QueryFactory) - Method in interface org.mongodb.morphia.Datastore
Replaces the current QueryFactory with the given value.
setQueryFactory(QueryFactory) - Method in class org.mongodb.morphia.DatastoreImpl
 
setQueryObject(DBObject) - Method in class org.mongodb.morphia.query.QueryImpl
 
setReferenceMapper(CustomMapper) - Method in class org.mongodb.morphia.mapping.MapperOptions
 
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 empty collection/arrays are stored.
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
 
setSupportTypes(Class[]) - Method in class org.mongodb.morphia.converters.TypeConverter
Deprecated. use #setSupportedTypes(Class[])
setType(Class<? extends T>) - Method in class org.mongodb.morphia.Key
 
setUniqueDocuments(Boolean) - Method in class org.mongodb.morphia.aggregation.GeoNear.GeoNearBuilder
Deprecated. Deprecated since server version 2.6: Geospatial queries no longer return duplicate results. The $uniqueDocs operator has no impact on results.
setUseBulkWriteOperations(boolean) - Method in class org.mongodb.morphia.Morphia
 
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
 
Shape - Class in org.mongodb.morphia.query
 
Shape.Point - Class in org.mongodb.morphia.query
 
Shape.Point(double, double) - Constructor for class org.mongodb.morphia.query.Shape.Point
 
ShortConverter - Class in org.mongodb.morphia.converters
 
ShortConverter() - Constructor for class org.mongodb.morphia.converters.ShortConverter
 
ShortFormatter - Class in org.mongodb.morphia.logging.jdk
 
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...)
SingleDatastoreProvider - Class in org.mongodb.morphia.mapping.lazy
This will only ever return the first datastore created by an associated Mapper instance
SingleDatastoreProvider() - Constructor for class org.mongodb.morphia.mapping.lazy.SingleDatastoreProvider
 
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
 
sizeEq(int) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
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
 
Sort(String, int) - Constructor for class org.mongodb.morphia.aggregation.Sort
 
startsWith(String) - Method in interface org.mongodb.morphia.query.FieldEnd
 
startsWith(String) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
startsWithIgnoreCase(String) - Method in interface org.mongodb.morphia.query.FieldEnd
 
startsWithIgnoreCase(String) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
stats() - Method in class org.mongodb.morphia.mapping.cache.DefaultEntityCache
 
stats() - Method in interface org.mongodb.morphia.mapping.cache.EntityCache
 
StringConverter - Class in org.mongodb.morphia.converters
 
StringConverter() - Constructor for class org.mongodb.morphia.converters.StringConverter
 
subtract(Object, Object) - Static method in class org.mongodb.morphia.aggregation.Projection
 
sum(String) - Static method in class org.mongodb.morphia.aggregation.Group
 
suppress() - Method in class org.mongodb.morphia.aggregation.Projection
 

T

tail() - Method in class org.mongodb.morphia.query.QueryImpl
 
tail(boolean) - Method in class org.mongodb.morphia.query.QueryImpl
 
tail() - Method in interface org.mongodb.morphia.query.QueryResults
Calls tail(true);
tail(boolean) - Method in interface org.mongodb.morphia.query.QueryResults
Returns an tailing iterator over a set of elements of type T.
testDependencyFullFilled() - Static method in class org.mongodb.morphia.mapping.lazy.LazyFeatureDependencies
 
Text - Annotation Type in org.mongodb.morphia.annotations
Marks this field for inclusion in text indexing.
ThreadLocalDatastoreProvider - Class in org.mongodb.morphia.mapping.lazy
Stores one active datastore per thread, based on the most recently registered datastore
ThreadLocalDatastoreProvider() - Constructor for class org.mongodb.morphia.mapping.lazy.ThreadLocalDatastoreProvider
 
TimestampConverter - Class in org.mongodb.morphia.converters
 
TimestampConverter() - Constructor for class org.mongodb.morphia.converters.TimestampConverter
 
toClass(Type) - Method in class org.mongodb.morphia.mapping.MappedField
 
toDBObject(Projection) - Method in class org.mongodb.morphia.aggregation.AggregationPipelineImpl
 
toDBObject(Object, MappedField, DBObject, MapperOptions) - Method in class org.mongodb.morphia.converters.Converters
 
toDBObject(Object, MappedField, DBObject, Map<Object, DBObject>, Mapper) - Method in interface org.mongodb.morphia.mapping.CustomMapper
 
toDBObject(Object) - Method in class org.mongodb.morphia.mapping.Mapper
Converts an entity (POJO) to a DBObject; A special field will be added to keep track of the class: Mapper.CLASS_NAME_FIELDNAME
toDBObject(Object, Map<Object, DBObject>) - Method in class org.mongodb.morphia.mapping.Mapper
Converts an entity (POJO) to a DBObject (for use with low-level driver); A special field will be added to keep track of the class: Mapper.CLASS_NAME_FIELDNAME
toDBObject(Object) - Method in class org.mongodb.morphia.Morphia
 
toDBObject() - Method in class org.mongodb.morphia.query.Shape.Point
 
toDBObject() - Method in class org.mongodb.morphia.query.Shape
 
toDBObjList(MappedField, List<?>) - Method in class org.mongodb.morphia.query.UpdateOpsImpl
 
toIndexValue() - Method in enum org.mongodb.morphia.utils.IndexDirection
 
toIndexValue() - Method in enum org.mongodb.morphia.utils.IndexType
 
toMongoObject(MappedField, MappedClass, Object) - Method in class org.mongodb.morphia.mapping.Mapper
Converts a java object to a mongo-compatible object (possibly a DBObject for complex mappings).
toString() - Method in class org.mongodb.morphia.aggregation.Projection
 
toString() - Method in class org.mongodb.morphia.geo.GeometryCollection
 
toString() - Method in class org.mongodb.morphia.geo.LineString
 
toString() - Method in class org.mongodb.morphia.geo.MultiLineString
 
toString() - Method in class org.mongodb.morphia.geo.MultiPoint
 
toString() - Method in class org.mongodb.morphia.geo.MultiPolygon
 
toString() - Method in class org.mongodb.morphia.geo.NamedCoordinateReferenceSystem
 
toString() - Method in class org.mongodb.morphia.geo.Point
 
toString() - Method in class org.mongodb.morphia.geo.Polygon
 
toString() - Method in class org.mongodb.morphia.Key
Creates a human-readable version of this key
toString() - Method in class org.mongodb.morphia.mapping.cache.EntityCacheStatistics
 
toString() - Method in class org.mongodb.morphia.mapping.EphemeralMappedField
 
toString() - Method in class org.mongodb.morphia.mapping.MappedClass
 
toString() - Method in class org.mongodb.morphia.mapping.MappedField
 
toString() - Method in class org.mongodb.morphia.mapping.validation.classrules.FieldEnumString
 
toString() - Method in class org.mongodb.morphia.query.FieldCriteria
 
toString() - Method in interface org.mongodb.morphia.query.Query
Generates a string that consistently and uniquely specifies this query.
toString() - Method in class org.mongodb.morphia.query.QueryImpl
 
toString() - Method in class org.mongodb.morphia.query.validation.ValidationFailure
 
trace(String) - Method in class org.mongodb.morphia.logging.jdk.FastestJDKLogger
 
trace(String, Object...) - Method in class org.mongodb.morphia.logging.jdk.FastestJDKLogger
 
trace(String, Throwable) - Method in class org.mongodb.morphia.logging.jdk.FastestJDKLogger
 
trace(String) - Method in class org.mongodb.morphia.logging.jdk.JDKLogger
 
trace(String, Object...) - Method in class org.mongodb.morphia.logging.jdk.JDKLogger
 
trace(String, Throwable) - Method in class org.mongodb.morphia.logging.jdk.JDKLogger
 
trace(String) - Method in interface org.mongodb.morphia.logging.Logger
 
trace(String, Object...) - Method in interface org.mongodb.morphia.logging.Logger
 
trace(String, Throwable) - Method in interface org.mongodb.morphia.logging.Logger
 
trace(String) - Method in class org.mongodb.morphia.logging.SilentLogger
 
trace(String, Object...) - Method in class org.mongodb.morphia.logging.SilentLogger
 
trace(String, Throwable) - Method in class org.mongodb.morphia.logging.SilentLogger
 
Transient - Annotation Type in org.mongodb.morphia.annotations
 
translate(String) - Method in class org.mongodb.morphia.query.QueryImpl
Converts the textual operator (">", "<=", etc) into a FilterOperator.
tryVersionedUpdate(DBCollection, T, DBObject, Object, WriteConcern, MappedClass) - Method in class org.mongodb.morphia.DatastoreImpl
 
type(Type) - Method in interface org.mongodb.morphia.query.FieldEnd
 
type(Type) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
Type - Enum in org.mongodb.morphia.query
 
TypeConverter - Class in org.mongodb.morphia.converters
 
TypeConverter() - Constructor for class org.mongodb.morphia.converters.TypeConverter
 
TypeConverter(Class...) - Constructor for class org.mongodb.morphia.converters.TypeConverter
 
TypeValidator - Class in org.mongodb.morphia.query.validation
Extend this class to provide specific validation for field types for query validation.
TypeValidator() - Constructor for class org.mongodb.morphia.query.validation.TypeValidator
 

U

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
 
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 the entity with the operations; this is an atomic operation
update(Key<T>, UpdateOperations<T>) - Method in interface org.mongodb.morphia.Datastore
updates the 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
 
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(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() - Method in class org.mongodb.morphia.mapping.MappedClass
 
updateCollection(Key) - Method in class org.mongodb.morphia.mapping.Mapper
 
UpdateException - Exception in org.mongodb.morphia.query
Error during update.
UpdateException(String) - Constructor for exception org.mongodb.morphia.query.UpdateException
 
UpdateException(String, Throwable) - Constructor for exception org.mongodb.morphia.query.UpdateException
 
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; this is an atomic operation per entity
updateFirst(Query<T>, UpdateOperations<T>, boolean, WriteConcern) - Method in interface org.mongodb.morphia.Datastore
 
updateFirst(Query<T>, 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; this is an atomic operation per entity
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
 
updateKeyInfo(Object, DBObject, EntityCache) - Method in class org.mongodb.morphia.mapping.Mapper
Updates the @Id fields.
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
 
UpdateResults - Class in org.mongodb.morphia.query
 
UpdateResults(WriteResult) - Constructor for class org.mongodb.morphia.query.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
 
URIConverter(Class) - Constructor for class org.mongodb.morphia.converters.URIConverter
 
useReadPreference(ReadPreference) - Method in interface org.mongodb.morphia.query.Query
Route query ReadPreference
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
 

V

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() - Method in class org.mongodb.morphia.mapping.MappedClass
 
validate(List<MappedClass>) - Method in class org.mongodb.morphia.mapping.validation.MappingValidator
 
validate(MappedClass) - Method in class org.mongodb.morphia.mapping.validation.MappingValidator
Deprecated. 
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
 
ValidationException(String, Throwable) - Constructor for exception org.mongodb.morphia.query.ValidationException
 
ValidationFailure - Class in org.mongodb.morphia.query.validation
 
ValidationFailure(String) - Constructor for class org.mongodb.morphia.query.validation.ValidationFailure
 
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() - Constructor for class org.mongodb.morphia.mapping.validation.fieldrules.VersionMisuse
 

W

warning(String) - Method in class org.mongodb.morphia.logging.jdk.FastestJDKLogger
 
warning(String, Object...) - Method in class org.mongodb.morphia.logging.jdk.FastestJDKLogger
 
warning(String, Throwable) - Method in class org.mongodb.morphia.logging.jdk.FastestJDKLogger
 
warning(String) - Method in class org.mongodb.morphia.logging.jdk.JDKLogger
 
warning(String, Object...) - Method in class org.mongodb.morphia.logging.jdk.JDKLogger
 
warning(String, Throwable) - Method in class org.mongodb.morphia.logging.jdk.JDKLogger
 
warning(String) - Method in interface org.mongodb.morphia.logging.Logger
 
warning(String, Object...) - Method in interface org.mongodb.morphia.logging.Logger
 
warning(String, Throwable) - Method in interface org.mongodb.morphia.logging.Logger
 
warning(String) - Method in class org.mongodb.morphia.logging.SilentLogger
 
warning(String, Object...) - Method in class org.mongodb.morphia.logging.SilentLogger
 
warning(String, Throwable) - Method in class org.mongodb.morphia.logging.SilentLogger
 
WEAK - Static variable in class relocated.morphia.org.apache.commons.collections.ReferenceMap
Constant indicating that weak references should be used.
where(String) - Method in interface org.mongodb.morphia.query.Query
Limit the query using this javascript block; only one per query
where(CodeWScope) - Method in interface org.mongodb.morphia.query.Query
Limit the query using this javascript block; only one per query
where(CodeWScope) - Method in class org.mongodb.morphia.query.QueryImpl
 
where(String) - Method in class org.mongodb.morphia.query.QueryImpl
 
WhereCriteria - Class in org.mongodb.morphia.query
 
WhereCriteria(String) - Constructor for class org.mongodb.morphia.query.WhereCriteria
 
WhereCriteria(CodeWScope) - Constructor for class org.mongodb.morphia.query.WhereCriteria
 
within(Shape) - Method in interface org.mongodb.morphia.query.FieldEnd
This implements the $geoWithin operator and is only compatible with mongo 2.4 or greater.
within(Polygon) - Method in interface org.mongodb.morphia.query.FieldEnd
This runs the $geoWithin query, returning documents with GeoJson fields whose area falls within the given boundary.
within(MultiPolygon) - Method in interface org.mongodb.morphia.query.FieldEnd
This runs the $geoWithin query, returning documents with GeoJson fields whose area falls within the given boundaries.
within(Polygon, CoordinateReferenceSystem) - Method in interface org.mongodb.morphia.query.FieldEnd
This runs the $geoWithin query, returning documents with GeoJson fields whose area falls within the given boundary.
within(MultiPolygon, CoordinateReferenceSystem) - Method in interface org.mongodb.morphia.query.FieldEnd
This runs the $geoWithin query, returning documents with GeoJson fields whose area falls within the given boundaries.
within(Shape) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
within(Polygon) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
within(MultiPolygon) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
within(Polygon, CoordinateReferenceSystem) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
within(MultiPolygon, CoordinateReferenceSystem) - Method in class org.mongodb.morphia.query.FieldEndImpl
 

_

__add(Key<?>) - Method in interface org.mongodb.morphia.mapping.lazy.proxy.ProxiedEntityReferenceList
 
__add(Key) - Method in class org.mongodb.morphia.mapping.lazy.proxy.SerializableCollectionObjectReference
 
__addAll(Collection<? extends Key<?>>) - Method in interface org.mongodb.morphia.mapping.lazy.proxy.ProxiedEntityReferenceList
 
__addAll(Collection<? extends Key<?>>) - Method in class org.mongodb.morphia.mapping.lazy.proxy.SerializableCollectionObjectReference
 
__getKey() - Method in interface org.mongodb.morphia.mapping.lazy.proxy.ProxiedEntityReference
 
__getKey() - Method in class org.mongodb.morphia.mapping.lazy.proxy.SerializableEntityObjectReference
 
__getKeysAsList() - Method in interface org.mongodb.morphia.mapping.lazy.proxy.ProxiedEntityReferenceList
 
__getKeysAsList() - Method in class org.mongodb.morphia.mapping.lazy.proxy.SerializableCollectionObjectReference
 
__getReferenceMap() - Method in interface org.mongodb.morphia.mapping.lazy.proxy.ProxiedEntityReferenceMap
 
__getReferenceMap() - Method in class org.mongodb.morphia.mapping.lazy.proxy.SerializableMapObjectReference
 
__getReferenceObjClass() - Method in class org.mongodb.morphia.mapping.lazy.proxy.AbstractReference
 
__getReferenceObjClass() - Method in interface org.mongodb.morphia.mapping.lazy.proxy.ProxiedReference
 
__isFetched() - Method in class org.mongodb.morphia.mapping.lazy.proxy.AbstractReference
 
__isFetched() - Method in interface org.mongodb.morphia.mapping.lazy.proxy.ProxiedReference
 
__put(Object, Key<?>) - Method in interface org.mongodb.morphia.mapping.lazy.proxy.ProxiedEntityReferenceMap
 
__put(Object, Key) - Method in class org.mongodb.morphia.mapping.lazy.proxy.SerializableMapObjectReference
 
__unwrap() - Method in class org.mongodb.morphia.mapping.lazy.proxy.AbstractReference
 
__unwrap() - Method in interface org.mongodb.morphia.mapping.lazy.proxy.ProxiedReference
 

A B C D E F G H I J K L M N O P Q R S T U V W _