Skip navigation links
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
Defines the base Criteria implementation.
AbstractCriteria() - Constructor for class org.mongodb.morphia.query.AbstractCriteria
 
AbstractEntityInterceptor - Class in org.mongodb.morphia
 
AbstractEntityInterceptor() - Constructor for class org.mongodb.morphia.AbstractEntityInterceptor
 
AbstractQueryFactory - Class in org.mongodb.morphia.query
An abstract implementation of QueryFactory.
AbstractQueryFactory() - Constructor for class org.mongodb.morphia.query.AbstractQueryFactory
 
AbstractReference - Class in org.mongodb.morphia.mapping.lazy.proxy
 
AbstractReference(Datastore, Class, boolean) - Constructor for class org.mongodb.morphia.mapping.lazy.proxy.AbstractReference
 
Accumulator - Class in org.mongodb.morphia.aggregation
Defines an accumulator for use in an aggregation pipeline.
Accumulator(String, String) - Constructor for class org.mongodb.morphia.aggregation.Accumulator
Defines an accumulator for use in an aggregation pipeline.
Accumulator(String, Object) - Constructor for class org.mongodb.morphia.aggregation.Accumulator
Defines an accumulator for use in an aggregation pipeline.
accumulator(String, String) - Static method in class org.mongodb.morphia.aggregation.Accumulator
Defines an accumulator for use in an aggregation pipeline.
accumulator(String, Object) - Static method in class org.mongodb.morphia.aggregation.Accumulator
Defines an accumulator for use in an aggregation pipeline.
action(ValidationAction) - Method in class org.mongodb.morphia.ValidationBuilder
 
action() - Method in class org.mongodb.morphia.ValidationBuilder
 
add(Object...) - Static method in class org.mongodb.morphia.aggregation.Projection
Creates an addition projection
add(Criteria...) - Method in interface org.mongodb.morphia.query.CriteriaContainer
Adds Criteria to this container
add(Criteria...) - Method in class org.mongodb.morphia.query.CriteriaContainerImpl
 
add(String, Object) - Method in interface org.mongodb.morphia.query.UpdateOperations
add(String, Object, boolean) - Method in interface org.mongodb.morphia.query.UpdateOperations
add(String, Object) - Method in class org.mongodb.morphia.query.UpdateOpsImpl
Deprecated.
add(String, Object, boolean) - Method in class org.mongodb.morphia.query.UpdateOpsImpl
Deprecated.
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
addAll(String, List<?>, boolean) - Method in class org.mongodb.morphia.query.UpdateOpsImpl
Deprecated.
addAnnotation(Class<? extends Annotation>) - Method in class org.mongodb.morphia.mapping.EphemeralMappedField
 
addAnnotation(Class<? extends Annotation>, Annotation) - Method in class org.mongodb.morphia.mapping.EphemeralMappedField
 
addAnnotation(Class<? extends Annotation>, Annotation) - Method in class org.mongodb.morphia.mapping.MappedClass
Adds the given Annotation to the internal list for the given Class.
addAnnotation(Class<? extends Annotation>) - Method in class org.mongodb.morphia.mapping.MappedField
Adds the annotation, if it exists on the field.
addAnnotation(Class<? extends Annotation>, Annotation) - Method in class org.mongodb.morphia.mapping.MappedField
Adds the annotation, if it exists on the field.
addConverter(Class<? extends TypeConverter>) - Method in class org.mongodb.morphia.converters.Converters
Adds a TypeConverter to this bundle.
addConverter(TypeConverter) - Method in class org.mongodb.morphia.converters.Converters
Add a type converter.
addInterceptor(EntityInterceptor) - Method in class org.mongodb.morphia.mapping.Mapper
addInterestingAnnotation(Class<? extends Annotation>) - Static method in class org.mongodb.morphia.mapping.MappedClass
Adds an annotation for Morphia to retain when mapping.
addInterestingAnnotation(Class<? extends Annotation>) - Static method in class org.mongodb.morphia.mapping.MappedField
Adds an annotation for Morphia to retain when mapping.
addMappedClass(Class) - Method in class org.mongodb.morphia.mapping.Mapper
Creates a MappedClass and validates it.
addTo(DBObject) - Method in interface org.mongodb.morphia.query.Criteria
Adds this Criteria's information to the DBObject
addTo(DBObject) - Method in class org.mongodb.morphia.query.CriteriaContainerImpl
 
addTo(DBObject) - Method in class org.mongodb.morphia.query.WhereCriteria
 
addToSet(String) - Static method in class org.mongodb.morphia.aggregation.Group
Returns an array of all unique values that results from applying an expression to each document in a group of documents that share the same group by key.
addToSet(String, Object) - Method in interface org.mongodb.morphia.query.UpdateOperations
adds the value to an array field if it doesn't already exist in the array
addToSet(String, List<?>) - Method in interface org.mongodb.morphia.query.UpdateOperations
adds the values to an array field if they doesn't already exist in the array
addToSet(String, Object) - Method in class org.mongodb.morphia.query.UpdateOpsImpl
 
addToSet(String, List<?>) - Method in class org.mongodb.morphia.query.UpdateOpsImpl
 
AdvancedDatastore - Interface in org.mongodb.morphia
This interface exposes advanced Datastore features, like interacting with DBObject and low-level options.
aggregate(Class<U>) - Method in interface org.mongodb.morphia.aggregation.AggregationPipeline
Executes the pipeline and aggregates the output in to the type mapped by the target type using the default options as defined in AggregationOptions.
aggregate(Class<U>, AggregationOptions) - Method in interface org.mongodb.morphia.aggregation.AggregationPipeline
Executes the pipeline and aggregates the output in to the type mapped by the target type.
aggregate(Class<U>, AggregationOptions, ReadPreference) - Method in interface org.mongodb.morphia.aggregation.AggregationPipeline
Executes the pipeline and aggregates the output in to the type mapped by the target type.
aggregate(String, Class<U>, AggregationOptions, ReadPreference) - Method in interface org.mongodb.morphia.aggregation.AggregationPipeline
Executes the pipeline and aggregates the output in to the type mapped by the target type.
aggregate(Class<U>) - Method in class org.mongodb.morphia.aggregation.AggregationPipelineImpl
 
aggregate(Class<U>, AggregationOptions) - Method in class org.mongodb.morphia.aggregation.AggregationPipelineImpl
 
aggregate(Class<U>, AggregationOptions, ReadPreference) - Method in class org.mongodb.morphia.aggregation.AggregationPipelineImpl
 
aggregate(String, Class<U>, AggregationOptions, ReadPreference) - Method in class org.mongodb.morphia.aggregation.AggregationPipelineImpl
 
AggregationPipeline - Interface in org.mongodb.morphia.aggregation
This defines the pipeline used in aggregation operations
AggregationPipelineImpl - Class in org.mongodb.morphia.aggregation
Implementation of an AggregationPipeline.
AggregationPipelineImpl(DatastoreImpl, DBCollection, Class) - Constructor for class org.mongodb.morphia.aggregation.AggregationPipelineImpl
Creates an AggregationPipeline
AllOperationValidator - Class in org.mongodb.morphia.query.validation
Validates a query that uses the FilterOperator.ALL operator.
AlsoLoad - Annotation Type in org.mongodb.morphia.annotations
Annotation which helps migrate schemas by loading one of several possible properties in the document into fields or methods.
and(Criteria...) - Method in interface org.mongodb.morphia.query.CriteriaContainer
Ands Criteria with this CriteriaContainer.
and(Criteria...) - Method in class org.mongodb.morphia.query.CriteriaContainerImpl
 
and(Criteria...) - Method in interface org.mongodb.morphia.query.Query
Creates a container to hold 'and' clauses
annotationType() - Method in class org.mongodb.morphia.ValidationBuilder
 
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.
ArraySlice - Class in org.mongodb.morphia.query
Defines array slicing options for query projections.
ArraySlice(int) - Constructor for class org.mongodb.morphia.query.ArraySlice
Specifies the number of array elements to return
ArraySlice(int, int) - Constructor for class org.mongodb.morphia.query.ArraySlice
Specifies the number of array elements to skip.
ascending(String) - Static method in class org.mongodb.morphia.aggregation.Sort
Deprecated.
ascending(String) - Static method in class org.mongodb.morphia.query.Sort
Creates an ascending sort on a field
asKeyList() - Method in class org.mongodb.morphia.query.QueryImpl
 
asKeyList(FindOptions) - 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;
asKeyList(FindOptions) - 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(FindOptions) - Method in class org.mongodb.morphia.query.QueryImpl
 
asList() - Method in interface org.mongodb.morphia.query.QueryResults
Execute the query and get the results.
asList(FindOptions) - Method in interface org.mongodb.morphia.query.QueryResults
Execute the query and get the results.
Assert - Class in org.mongodb.morphia.utils
Provides various assertions for Morphia during validation
Assert.AssertionFailedException - Exception in org.mongodb.morphia.utils
Represents a failed Morphia Assertion
assertDependencyFullFilled() - Static method in class org.mongodb.morphia.mapping.lazy.LazyFeatureDependencies
Checks that the dependencies to support lazy proxies are present
AssertionFailedException(String) - Constructor for exception org.mongodb.morphia.utils.Assert.AssertionFailedException
Creates a AssertionFailedException with a message and a cause
AssertionFailedException(String, Throwable) - Constructor for exception org.mongodb.morphia.utils.Assert.AssertionFailedException
Creates a AssertionFailedException with a message and a cause
attach(CriteriaContainer) - Method in class org.mongodb.morphia.query.AbstractCriteria
 
attach(CriteriaContainer) - Method in interface org.mongodb.morphia.query.Criteria
Used to add this Criteria to a CriteriaContainer
AuthenticationException - Exception in org.mongodb.morphia
Signifies an error trying to authenticate against the database.
AuthenticationException(String) - Constructor for exception org.mongodb.morphia.AuthenticationException
Creates an instance with the given message
average(String) - Static method in class org.mongodb.morphia.aggregation.Group
Returns the average value of the numeric values that result from applying a specified expression to each document in a group of documents that share the same group by key.

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 class org.mongodb.morphia.query.FindOptions
Sets the number of documents to return per batch.
batchSize(int) - Method in interface org.mongodb.morphia.query.Query
Deprecated.
use the methods that accept Options directly
batchSize(int) - Method in class org.mongodb.morphia.query.QueryImpl
Deprecated.
beforeWriteObject() - Method in class org.mongodb.morphia.mapping.lazy.proxy.AbstractReference
 
beforeWriteObject() - Method in class org.mongodb.morphia.mapping.lazy.proxy.CollectionObjectReference
 
beforeWriteObject() - Method in class org.mongodb.morphia.mapping.lazy.proxy.EntityObjectReference
 
beforeWriteObject() - Method in class org.mongodb.morphia.mapping.lazy.proxy.MapObjectReference
 
BigDecimalConverter - Class in org.mongodb.morphia.converters
This provides a conversion to/from BigDecimal in applications using the Decimal128 type introduced in the 3.4.0 release of MongoDB.
BigDecimalConverter() - Constructor for class org.mongodb.morphia.converters.BigDecimalConverter
Creates the Converter.
BooleanConverter - Class in org.mongodb.morphia.converters
 
BooleanConverter() - Constructor for class org.mongodb.morphia.converters.BooleanConverter
Creates the Converter.
box(Shape.Point, Shape.Point) - Static method in class org.mongodb.morphia.query.Shape
Specifies a rectangle for a geospatial $geoWithin query to return documents that are within the bounds of the rectangle, according to their point-based location data.
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
Creates a builder for a GeoNear pipeline stage
bypassDocumentValidation(Boolean) - Method in class org.mongodb.morphia.FindAndModifyOptions
Sets the bypassDocumentValidation
bypassDocumentValidation(Boolean) - Method in class org.mongodb.morphia.InsertOptions
Sets whether to bypass document validation.
bypassDocumentValidation(Boolean) - Method in class org.mongodb.morphia.MapReduceOptions
Sets whether to bypass document validation.
bypassDocumentValidation(Boolean) - Method in class org.mongodb.morphia.UpdateOptions
Sets the bypass document level validation flag.
ByteConverter - Class in org.mongodb.morphia.converters
 
ByteConverter() - Constructor for class org.mongodb.morphia.converters.ByteConverter
Creates the Converter.

C

callLifecycleMethods(Class<? extends Annotation>, Object, DBObject, Mapper) - Method in class org.mongodb.morphia.mapping.MappedClass
Call the lifecycle methods
CappedAt - Annotation Type in org.mongodb.morphia.annotations
Properties for capped collections; used in Entity
center(Shape.Point, double) - Static method in class org.mongodb.morphia.query.Shape
Specifies a circle for a $geoWithin query.
centerSphere(Shape.Point, double) - Static method in class org.mongodb.morphia.query.Shape
Specifies a circle for a geospatial query that uses spherical geometry.
CGLibLazyProxyFactory - Class in org.mongodb.morphia.mapping.lazy
i have to admit, there are plenty of open questions for me on that Key-business...
CGLibLazyProxyFactory() - Constructor for class org.mongodb.morphia.mapping.lazy.CGLibLazyProxyFactory
 
CharacterConverter - Class in org.mongodb.morphia.converters
 
CharacterConverter() - Constructor for class org.mongodb.morphia.converters.CharacterConverter
Creates the Converter.
CharArrayConverter - Class in org.mongodb.morphia.converters
 
CharArrayConverter() - Constructor for class org.mongodb.morphia.converters.CharArrayConverter
Creates the Converter.
check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in interface org.mongodb.morphia.mapping.validation.ClassConstraint
Check that a MappedClass meets the constraint
check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.classrules.ContainsEmbeddedWithId
 
check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.classrules.DuplicatedAttributeNames
 
check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.classrules.EmbeddedAndId
 
check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.classrules.EmbeddedAndValue
 
check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.classrules.EntityAndEmbed
 
check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.classrules.EntityCannotBeMapOrIterable
 
check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.classrules.MultipleId
 
check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.classrules.MultipleVersions
 
check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.classrules.NoId
 
check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.fieldrules.ContradictingFieldAnnotation
 
check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.fieldrules.FieldConstraint
 
check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.fieldrules.FieldConstraint
 
check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.fieldrules.IdDoesNotMix
 
check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.fieldrules.LazyReferenceMissingDependencies
 
check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.fieldrules.LazyReferenceOnArray
 
check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.fieldrules.MapKeyDifferentFromString
 
check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.fieldrules.MapNotSerializable
 
check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.fieldrules.MisplacedProperty
 
check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.fieldrules.ReferenceToUnidentifiable
 
check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class org.mongodb.morphia.mapping.validation.fieldrules.VersionMisuse
 
CLASS_NAME_FIELDNAME - Static variable in class org.mongodb.morphia.mapping.Mapper
Special field used by morphia to support various possibly loading issues; will be replaced when discriminators are implemented to support polymorphism
ClassConstraint - Interface in org.mongodb.morphia.mapping.validation
 
ClassConverter - Class in org.mongodb.morphia.converters
 
ClassConverter() - Constructor for class org.mongodb.morphia.converters.ClassConverter
Creates the Converter.
clear() - Method in class relocated.morphia.org.apache.commons.collections.ReferenceMap
Clears this map.
cloneQuery() - Method in interface org.mongodb.morphia.query.Query
Creates and returns a copy of this Query.
cloneQuery() - Method in class org.mongodb.morphia.query.QueryImpl
 
close() - Method in class org.mongodb.morphia.query.MorphiaIterator
Closes the underlying cursor.
Collation - Annotation Type in org.mongodb.morphia.annotations
Defines the collation options for an index
collation(Collation) - Method in class org.mongodb.morphia.DeleteOptions
Sets the collation
collation(Collation) - Method in class org.mongodb.morphia.FindAndModifyOptions
Sets the collation
collation(Collation) - Method in class org.mongodb.morphia.MapReduceOptions
Sets the collation options
collation(Collation) - Method in class org.mongodb.morphia.query.CountOptions
Sets the collation
collation(Collation) - Method in class org.mongodb.morphia.query.FindOptions
Sets the collation
collation(Collation) - Method in class org.mongodb.morphia.UpdateOptions
Sets the collation
CollectionObjectReference<T> - Class in org.mongodb.morphia.mapping.lazy.proxy
A list of proxied elements
CollectionObjectReference(Collection<T>, Class<T>, boolean, Datastore) - Constructor for class org.mongodb.morphia.mapping.lazy.proxy.CollectionObjectReference
Creates a CollectionObjectReference
comment(String) - Method in interface org.mongodb.morphia.query.Query
Deprecated.
use the methods that accept Options directly. This can be replicated with options.modifier("$comment", comment)
comment(String) - Method in class org.mongodb.morphia.query.QueryImpl
Deprecated.
compareTo(Key<T>) - Method in class org.mongodb.morphia.Key
 
ConstraintViolation - Class in org.mongodb.morphia.mapping.validation
 
ConstraintViolation(ConstraintViolation.Level, MappedClass, MappedField, Class<? extends ClassConstraint>, String) - Constructor for class org.mongodb.morphia.mapping.validation.ConstraintViolation
Creates a violation instance to record invalid mapping metadata
ConstraintViolation(ConstraintViolation.Level, MappedClass, Class<? extends ClassConstraint>, String) - Constructor for class org.mongodb.morphia.mapping.validation.ConstraintViolation
Creates a violation instance to record invalid mapping metadata
ConstraintViolation.Level - Enum in org.mongodb.morphia.mapping.validation
Levels of constraint violations
ConstraintViolationException - Exception in org.mongodb.morphia.mapping.validation
 
ConstraintViolationException(Collection<ConstraintViolation>) - Constructor for exception org.mongodb.morphia.mapping.validation.ConstraintViolationException
Creates a ConstraintViolationException with the set of violations
ConstraintViolationException(ConstraintViolation...) - Constructor for exception org.mongodb.morphia.mapping.validation.ConstraintViolationException
Creates a ConstraintViolationException with the set of violations
ConstructorArgs - Annotation Type in org.mongodb.morphia.annotations
Indicates that this field can be constructed from the stored fields; it doesn't require a no-args constructor.
contains(String) - Method in interface org.mongodb.morphia.query.FieldEnd
Checks if a field contains a value
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
Checks if a field contains a value ignoring the case of the values
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 be stored in mongodb
containsKey(Object) - Method in class relocated.morphia.org.apache.commons.collections.ReferenceMap
Returns true if this map contains the given key.
continueOnError(boolean) - Method in class org.mongodb.morphia.InsertOptions
Set whether documents will continue to be inserted after a failure to insert one.
ContradictingFieldAnnotation - Class in org.mongodb.morphia.mapping.validation.fieldrules
 
ContradictingFieldAnnotation(Class<? extends Annotation>, Class<? extends Annotation>) - Constructor for class org.mongodb.morphia.mapping.validation.fieldrules.ContradictingFieldAnnotation
Creates a ContradictingFieldAnnotation validation with the two incompatible annotations.
ConverterException - Exception in org.mongodb.morphia.converters
Indicates an error occurred trying to convert a value.
ConverterException(String) - Constructor for exception org.mongodb.morphia.converters.ConverterException
Creates the ConverterException.
ConverterNotFoundException - Exception in org.mongodb.morphia.converters
 
ConverterNotFoundException(String) - Constructor for exception org.mongodb.morphia.converters.ConverterNotFoundException
Creates the ConverterNotFoundException.
Converters - Annotation Type in org.mongodb.morphia.annotations
Declares converters required for this entity/class; converters are registered globally at time of the meta-data discovery.
Converters - Class in org.mongodb.morphia.converters
Defines a bundle of converters
Converters(Mapper) - Constructor for class org.mongodb.morphia.converters.Converters
Creates a bundle with a particular Mapper.
convertItem(DBObject) - Method in class org.mongodb.morphia.query.MorphiaIterator
 
convertItem(DBObject) - Method in class org.mongodb.morphia.query.MorphiaKeyIterator
 
convertToArray(Class, List<?>) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
Converts a List to an array
CoordinateReferenceSystem - Class in org.mongodb.morphia.geo
Defines the coordinate reference system to be used in certain geo queries.
CoordinateReferenceSystem() - Constructor for class org.mongodb.morphia.geo.CoordinateReferenceSystem
 
CoordinateReferenceSystemType - Enum in org.mongodb.morphia.geo
An enumeration of the GeoJSON coordinate reference system types.
copy(String) - Method in class org.mongodb.morphia.DatastoreImpl
copy() - Method in class org.mongodb.morphia.DeleteOptions
Copies this instance to a new one.
copy() - Method in class org.mongodb.morphia.InsertOptions
Create a copy of the options instance.
copy() - Method in class org.mongodb.morphia.mapping.cache.EntityCacheStatistics
Copies the statistics
copy() - Method in class org.mongodb.morphia.query.FindOptions
Makes a copy of these find options
copy(DBObject) - Method in class org.mongodb.morphia.query.QueryImpl
 
copy() - Method in class org.mongodb.morphia.UpdateOptions
Create a copy of the options instance.
count() - Method in class org.mongodb.morphia.dao.BasicDAO
 
count(String, Object) - Method in class org.mongodb.morphia.dao.BasicDAO
 
count(Query<T>) - Method in class org.mongodb.morphia.dao.BasicDAO
 
count() - Method in interface org.mongodb.morphia.dao.DAO
 
count(String, Object) - Method in interface org.mongodb.morphia.dao.DAO
 
count(Query<T>) - Method in interface org.mongodb.morphia.dao.DAO
 
count() - Method in class org.mongodb.morphia.query.QueryImpl
 
count(CountOptions) - Method in class org.mongodb.morphia.query.QueryImpl
 
count() - Method in interface org.mongodb.morphia.query.QueryResults
Count the total number of values in the result, ignoring limit and offset
count(CountOptions) - Method in interface org.mongodb.morphia.query.QueryResults
Count the total number of values in the result, ignoring limit and offset
countAll() - Method in class org.mongodb.morphia.query.QueryImpl
Deprecated.
countAll() - Method in interface org.mongodb.morphia.query.QueryResults
Deprecated.
CountOptions - Class in org.mongodb.morphia.query
The options for a count operation.
CountOptions() - Constructor for class org.mongodb.morphia.query.CountOptions
 
createAggregation(String, Class<?>) - Method in interface org.mongodb.morphia.AdvancedDatastore
Returns an AggregationPipeline bound to the given collection and class.
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
Deprecated.
 
createAggregation(String, Class<?>) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
createCache() - Method in class org.mongodb.morphia.mapping.cache.DefaultEntityCacheFactory
Creates a new DefaultEntityCache
createCache() - Method in interface org.mongodb.morphia.mapping.cache.EntityCacheFactory
Called for every query.
createDatastore(MongoClient, String) - Method in class org.mongodb.morphia.Morphia
It is best to use a Mongo singleton instance here.
createDatastore(MongoClient, Mapper, String) - Method in class org.mongodb.morphia.Morphia
Creates a new Datastore for interacting with MongoDB using POJOs
createDefaultProxyFactory() - Static method in class org.mongodb.morphia.mapping.lazy.LazyFeatureDependencies
Creates a LazyProxyFactory
createEntityCache() - Method in class org.mongodb.morphia.mapping.Mapper
Creates a cache for tracking entities seen during processing
createInst(Class<T>) - Method in class org.mongodb.morphia.mapping.DefaultCreator
Deprecated.
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(Datastore, T, Class, boolean) - Method in class org.mongodb.morphia.mapping.lazy.CGLibLazyProxyFactory
 
createListProxy(Datastore, T, Class, boolean) - Method in interface org.mongodb.morphia.mapping.lazy.LazyProxyFactory
Creates a proxy for a List.
createMap(MappedField) - Method in class org.mongodb.morphia.mapping.DefaultCreator
 
createMap(MappedField) - Method in interface org.mongodb.morphia.ObjectFactory
Defines how morphia creates a Map object.
createMapProxy(Datastore, T, Class, boolean) - Method in class org.mongodb.morphia.mapping.lazy.CGLibLazyProxyFactory
 
createMapProxy(Datastore, T, Class, boolean) - Method in interface org.mongodb.morphia.mapping.lazy.LazyProxyFactory
Creates a proxy for a Map.
createProxy(Datastore, Class<T>, Key<T>, boolean) - Method in class org.mongodb.morphia.mapping.lazy.CGLibLazyProxyFactory
 
createProxy(Datastore, Class<T>, Key<T>, boolean) - Method in interface org.mongodb.morphia.mapping.lazy.LazyProxyFactory
Creates a proxy for a Class.
createQuery(String, Class<T>) - Method in interface org.mongodb.morphia.AdvancedDatastore
 
createQuery(Class<T>, DBObject) - Method in interface org.mongodb.morphia.AdvancedDatastore
 
createQuery(String, Class<T>, DBObject) - Method in interface org.mongodb.morphia.AdvancedDatastore
 
createQuery() - Method in class org.mongodb.morphia.dao.BasicDAO
 
createQuery() - Method in interface org.mongodb.morphia.dao.DAO
Starts a query for this DAO entities type
createQuery(Class<T>) - Method in interface org.mongodb.morphia.Datastore
Returns a new query bound to the collection (a specific DBCollection)
createQuery(Class<T>) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
createQuery(String, Class<T>) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
createQuery(Class<T>, DBObject) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
createQuery(String, Class<T>, DBObject) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
createQuery() - Method in class org.mongodb.morphia.MapreduceResults
 
createQuery(Datastore, DBCollection, Class<T>) - Method in class org.mongodb.morphia.query.AbstractQueryFactory
 
createQuery(Datastore) - Method in class org.mongodb.morphia.query.AbstractQueryFactory
 
createQuery(Datastore, DBCollection, Class<T>, DBObject) - Method in class org.mongodb.morphia.query.DefaultQueryFactory
 
createQuery(Datastore, DBCollection, Class<T>) - Method in interface org.mongodb.morphia.query.QueryFactory
Creates and returns a Query for the given arguments.
createQuery(Datastore, DBCollection, Class<T>, DBObject) - Method in interface org.mongodb.morphia.query.QueryFactory
Creates and returns a Query for the given arguments.
createQuery(Datastore) - Method in interface org.mongodb.morphia.query.QueryFactory
Creates an unvalidated Query typically for use in aggregation pipelines.
createRef(Class<T>, V) - Method in interface org.mongodb.morphia.AdvancedDatastore
Creates a reference to the entity (using the current DB -can be null-, the collectionName, and id)
createRef(T) - Method in interface org.mongodb.morphia.AdvancedDatastore
Creates a reference to the entity (using the current DB -can be null-, the collectionName, and id)
createRef(Class<T>, V) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
createRef(T) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
createSet(MappedField) - Method in class org.mongodb.morphia.mapping.DefaultCreator
 
createSet(MappedField) - Method in interface org.mongodb.morphia.ObjectFactory
Defines how morphia creates a Set object.
createUpdateOperations(Class<T>, DBObject) - Method in interface org.mongodb.morphia.AdvancedDatastore
Creates an UpdateOperations instance for the given type.
createUpdateOperations() - Method in class org.mongodb.morphia.dao.BasicDAO
 
createUpdateOperations() - Method in interface org.mongodb.morphia.dao.DAO
Starts a update-operations def for this DAO entities type
createUpdateOperations(Class<T>) - Method in interface org.mongodb.morphia.Datastore
The builder for all update operations
createUpdateOperations(Class<T>) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
createUpdateOperations(Class<T>, DBObject) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
Criteria - Interface in org.mongodb.morphia.query
Internal class for building up query documents.
criteria(String) - Method in interface org.mongodb.morphia.query.CriteriaContainer
Creates a criteria against a field
criteria(String) - Method in class org.mongodb.morphia.query.CriteriaContainerImpl
 
criteria(String) - Method in interface org.mongodb.morphia.query.Query
Creates a criteria to apply against a field
criteria(String) - Method in class org.mongodb.morphia.query.QueryImpl
 
CriteriaContainer - Interface in org.mongodb.morphia.query
Internal class to represent groups of Criteria instances via $and and $or query clauses
CriteriaContainerImpl - Class in org.mongodb.morphia.query
Defines a container of Criteria and a join method.
CriteriaContainerImpl(QueryImpl<?>, CriteriaJoin) - Constructor for class org.mongodb.morphia.query.CriteriaContainerImpl
 
CriteriaContainerImpl(CriteriaJoin) - Constructor for class org.mongodb.morphia.query.CriteriaContainerImpl
 
CriteriaJoin - Enum in org.mongodb.morphia.query
Defines how to combine lists of criteria.
CRS_84 - Static variable in class org.mongodb.morphia.geo.NamedCoordinateReferenceSystem
The urn:ogc:def:crs:OGC:1.3:CRS84 Coordinate Reference System
cursorType(CursorType) - Method in class org.mongodb.morphia.query.FindOptions
Sets the cursor type.
CustomConverters - Class in org.mongodb.morphia.converters
Defines a bundle of converters that will delegate to the DefaultConverters for unknown types but provides a chance to override the converter used for different types.
CustomConverters(Mapper) - Constructor for class org.mongodb.morphia.converters.CustomConverters
Creates a bundle with a particular Mapper.
CustomMapper - Interface in org.mongodb.morphia.mapping
A CustomMapper if one that implements the methods needed to map to/from POJO/DBObject

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
DatastoreImpl - Class in org.mongodb.morphia
Deprecated.
This is an internal implementation of a published API. No public alternative planned.
DatastoreImpl(Morphia, MongoClient, String) - Constructor for class org.mongodb.morphia.DatastoreImpl
Deprecated.
This is not meant to be directly instantiated by end user code. Use Morphia.createDatastore(MongoClient, Mapper, String)
DatastoreImpl(Morphia, Mapper, MongoClient, String) - Constructor for class org.mongodb.morphia.DatastoreImpl
Deprecated.
This is not meant to be directly instantiated by end user code. Use Morphia.createDatastore(MongoClient, Mapper, String)
DatastoreProvider - Interface in org.mongodb.morphia.mapping.lazy
Deprecated.
DatastoreProviders are no longer necessary
DateConverter - Class in org.mongodb.morphia.converters
 
DateConverter() - Constructor for class org.mongodb.morphia.converters.DateConverter
Creates the Converter.
DateConverter(Class) - Constructor for class org.mongodb.morphia.converters.DateConverter
 
debug(String) - Method in class org.mongodb.morphia.logging.jdk.FastestJDKLogger
 
debug(String, Object...) - Method in class org.mongodb.morphia.logging.jdk.FastestJDKLogger
 
debug(String, Throwable) - Method in class org.mongodb.morphia.logging.jdk.FastestJDKLogger
 
debug(String) - Method in class org.mongodb.morphia.logging.jdk.JDKLogger
 
debug(String, Object...) - Method in class org.mongodb.morphia.logging.jdk.JDKLogger
 
debug(String, Throwable) - Method in class org.mongodb.morphia.logging.jdk.JDKLogger
 
debug(String) - Method in interface org.mongodb.morphia.logging.Logger
Logs a message at this level.
debug(String, Object...) - Method in interface org.mongodb.morphia.logging.Logger
Logs a message at this level.
debug(String, Throwable) - Method in interface org.mongodb.morphia.logging.Logger
Logs a message at this level.
debug(String) - Method in class org.mongodb.morphia.logging.SilentLogger
 
debug(String, Object...) - Method in class org.mongodb.morphia.logging.SilentLogger
 
debug(String, Throwable) - Method in class org.mongodb.morphia.logging.SilentLogger
 
dec(String) - Method in interface org.mongodb.morphia.query.UpdateOperations
Decrements the numeric field by 1
dec(String, Number) - Method in interface org.mongodb.morphia.query.UpdateOperations
Decrements the numeric field by value (must be a positive Double, Float, Long, or Integer).
dec(String) - Method in class org.mongodb.morphia.query.UpdateOpsImpl
 
dec(String, Number) - Method in class org.mongodb.morphia.query.UpdateOpsImpl
 
decode(Class<?>, Object, MappedField) - Method in class org.mongodb.morphia.converters.BigDecimalConverter
 
decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.BooleanConverter
 
decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.ByteConverter
 
decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.CharacterConverter
 
decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.CharArrayConverter
 
decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.ClassConverter
 
decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.Converters
decode the DBObject and provide the corresponding java (type-safe) object
NOTE: mf might be null
decode(Class<?>, Object, MappedField) - Method in class org.mongodb.morphia.converters.DateConverter
 
decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.DoubleConverter
 
decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.EnumConverter
 
decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.EnumSetConverter
 
decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.FloatConverter
 
decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.IdentityConverter
 
decode(Class<?>, Object, MappedField) - Method in class org.mongodb.morphia.converters.InstantConverter
 
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.LocalDateConverter
 
decode(Class<?>, Object, MappedField) - Method in class org.mongodb.morphia.converters.LocalDateTimeConverter
 
decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.LocaleConverter
 
decode(Class<?>, Object, MappedField) - Method in class org.mongodb.morphia.converters.LocalTimeConverter
 
decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.LongConverter
 
decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.MapOfValuesConverter
 
decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.ObjectIdConverter
 
decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.SerializedObjectConverter
 
decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.ShortConverter
 
decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.StringConverter
 
decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.TimestampConverter
 
decode(Class, Object) - Method in class org.mongodb.morphia.converters.TypeConverter
decode the DBObject and provide the corresponding java (type-safe) object
decode(Class<?>, Object, MappedField) - Method in class org.mongodb.morphia.converters.TypeConverter
decode the DBObject and provide the corresponding java (type-safe) object
NOTE: optionalExtraInfo might be null
decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.URIConverter
 
decode(Class, Object, MappedField) - Method in class org.mongodb.morphia.converters.UUIDConverter
 
decode(Class<?>, Object, MappedField) - Method in class org.mongodb.morphia.geo.GeometryConverter
 
decode(Class<?>, Object, MappedField) - Method in class org.mongodb.morphia.geo.GeometryQueryConverter
 
decode(Class<?>, Object, MappedField) - Method in class org.mongodb.morphia.geo.GeometryShapeConverter
 
decode(Class<?>, Object, MappedField) - Method in class org.mongodb.morphia.geo.NamedCoordinateReferenceSystemConverter
 
DefaultConverters - Class in org.mongodb.morphia.converters
Default encoders
DefaultConverters(Mapper) - Constructor for class org.mongodb.morphia.converters.DefaultConverters
Creates a bundle with a particular Mapper.
DefaultCreator - Class in org.mongodb.morphia.mapping
 
DefaultCreator() - Constructor for class org.mongodb.morphia.mapping.DefaultCreator
Creates a new DefaultCreator with no options
DefaultCreator(MapperOptions) - Constructor for class org.mongodb.morphia.mapping.DefaultCreator
Creates a new DefaultCreator with options
DefaultEntityCache - Class in org.mongodb.morphia.mapping.cache
This is the default EntityCache for Morphia
DefaultEntityCache() - Constructor for class org.mongodb.morphia.mapping.cache.DefaultEntityCache
 
DefaultEntityCacheFactory - Class in org.mongodb.morphia.mapping.cache
Default implementation of cache factory, returning the default entity cache.
DefaultEntityCacheFactory() - Constructor for class org.mongodb.morphia.mapping.cache.DefaultEntityCacheFactory
 
DefaultMapEntry - Class in relocated.morphia.org.apache.commons.collections
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, DeleteOptions) - 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
delete(T) - Method in class org.mongodb.morphia.dao.BasicDAO
 
delete(T, WriteConcern) - Method in class org.mongodb.morphia.dao.BasicDAO
 
delete(T) - Method in interface org.mongodb.morphia.dao.DAO
Deletes an entity
delete(T, WriteConcern) - Method in interface org.mongodb.morphia.dao.DAO
Deletes an entity
delete(Class<T>, V) - Method in interface org.mongodb.morphia.Datastore
Deletes the given entity (by id)
delete(Class<T>, V, DeleteOptions) - 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(Class<T>, Iterable<V>, DeleteOptions) - Method in interface org.mongodb.morphia.Datastore
Deletes the given entities (by id)
delete(Query<T>) - Method in interface org.mongodb.morphia.Datastore
Deletes entities based on the query
delete(Query<T>, DeleteOptions) - Method in interface org.mongodb.morphia.Datastore
Deletes entities based on the query
delete(Query<T>, WriteConcern) - Method in interface org.mongodb.morphia.Datastore
delete(T) - Method in interface org.mongodb.morphia.Datastore
Deletes the given entity (by @Id)
delete(T, DeleteOptions) - Method in interface org.mongodb.morphia.Datastore
Deletes the given entity (by @Id), with the WriteConcern
delete(T, WriteConcern) - Method in interface org.mongodb.morphia.Datastore
delete(Query<T>, DeleteOptions) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
delete(Class<T>, V) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
delete(Class<T>, V, DeleteOptions) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
delete(Class<T>, Iterable<V>) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
delete(Class<T>, Iterable<V>, DeleteOptions) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
delete(Query<T>) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
delete(Query<T>, WriteConcern) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
delete(T) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
delete(T, DeleteOptions) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
Deletes the given entity (by @Id), with the WriteConcern
delete(T, WriteConcern) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
delete(String, Class<T>, V) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
delete(String, Class<T>, V, DeleteOptions) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
delete(String, Class<T>, V, WriteConcern) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
delete(Class<T>, V, 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
Delete the entity matching a query
DeleteOptions - Class in org.mongodb.morphia
The options to apply when removing documents from the DBCollection
DeleteOptions() - Constructor for class org.mongodb.morphia.DeleteOptions
 
descending(String) - Static method in class org.mongodb.morphia.aggregation.Sort
Deprecated.
descending(String) - Static method in class org.mongodb.morphia.query.Sort
Creates a descending sort on a field
deserialize(Object, boolean) - Static method in class org.mongodb.morphia.mapping.Serializer
deserializes DBBinary/byte[] to object
disableCursorTimeout() - Method in interface org.mongodb.morphia.query.Query
Deprecated.
use the methods that accept Options directly
disableCursorTimeout() - Method in class org.mongodb.morphia.query.QueryImpl
Deprecated.
disableSnapshotMode() - Method in interface org.mongodb.morphia.query.Query
Deprecated.
use the methods that accept Options directly. This can be replicated using options.modifier("$snapshot", false)
disableSnapshotMode() - Method in class org.mongodb.morphia.query.QueryImpl
Deprecated.
disableValidation() - Method in interface org.mongodb.morphia.query.Query
Turns off validation (for all calls made after)
disableValidation() - Method in class org.mongodb.morphia.query.QueryImpl
 
disableValidation() - Method in interface org.mongodb.morphia.query.UpdateOperations
Turns off validation (for all calls made after)
disableValidation() - Method in class org.mongodb.morphia.query.UpdateOpsImpl
 
discover(Mapper) - Method in class org.mongodb.morphia.mapping.MappedClass
Discovers interesting (that we care about) things about the class.
discover(Mapper) - Method in class org.mongodb.morphia.mapping.MappedField
Discovers interesting (that we care about) things about the field.
discoverType(Mapper) - Method in class org.mongodb.morphia.mapping.MappedField
 
divide(Object, Object) - Static method in class org.mongodb.morphia.aggregation.Projection
Creates a division projection
doesNotExist() - Method in interface org.mongodb.morphia.query.FieldEnd
Checks that a field does not exist in a document
doesNotExist() - Method in class org.mongodb.morphia.query.FieldEndImpl
 
doesNotHaveThisElement(Object) - Method in interface org.mongodb.morphia.query.FieldEnd
Deprecated.
doesNotHaveThisElement(Object) - Method in class org.mongodb.morphia.query.FieldEndImpl
Deprecated.
DoubleConverter - Class in org.mongodb.morphia.converters
 
DoubleConverter() - Constructor for class org.mongodb.morphia.converters.DoubleConverter
Creates the Converter.
DoubleTypeValidator - Class in org.mongodb.morphia.query.validation
Validation for fields of Double/double type.
ds - Variable in class org.mongodb.morphia.dao.BasicDAO
Deprecated.
DuplicatedAttributeNames - Class in org.mongodb.morphia.mapping.validation.classrules
 
DuplicatedAttributeNames() - Constructor for class org.mongodb.morphia.mapping.validation.classrules.DuplicatedAttributeNames
 

E

elemMatch(Query) - Method in interface org.mongodb.morphia.query.FieldEnd
Checks that a field matches the provided query definition
elemMatch(Query) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
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
Deprecated.
use the methods that accept Options directly
enableCursorTimeout() - Method in class org.mongodb.morphia.query.QueryImpl
Deprecated.
enableDocumentValidation() - Method in interface org.mongodb.morphia.Datastore
Process any Validation annotations for document validation.
enableDocumentValidation() - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
enableSnapshotMode() - Method in interface org.mongodb.morphia.query.Query
Deprecated.
use the methods that accept Options directly. This can be replicated using options.modifier("$snapshot", true)
enableSnapshotMode() - Method in class org.mongodb.morphia.query.QueryImpl
Deprecated.
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.BigDecimalConverter
 
encode(Object, MappedField) - Method in class org.mongodb.morphia.converters.ByteConverter
 
encode(Object, MappedField) - Method in class org.mongodb.morphia.converters.CharacterConverter
 
encode(Object, MappedField) - Method in class org.mongodb.morphia.converters.CharArrayConverter
 
encode(Object, MappedField) - Method in class org.mongodb.morphia.converters.ClassConverter
 
encode(Object) - Method in class org.mongodb.morphia.converters.Converters
encode the type safe java object into the corresponding DBObject
encode(Class, Object) - Method in class org.mongodb.morphia.converters.Converters
encode the type safe java object into the corresponding DBObject
encode(Object, MappedField) - Method in class org.mongodb.morphia.converters.EnumConverter
 
encode(Object, MappedField) - Method in class org.mongodb.morphia.converters.EnumSetConverter
 
encode(Object, MappedField) - Method in class org.mongodb.morphia.converters.InstantConverter
 
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.LocalDateConverter
 
encode(Object, MappedField) - Method in class org.mongodb.morphia.converters.LocalDateTimeConverter
 
encode(Object, MappedField) - Method in class org.mongodb.morphia.converters.LocaleConverter
 
encode(Object, MappedField) - Method in class org.mongodb.morphia.converters.LocalTimeConverter
 
encode(Object, MappedField) - Method in class org.mongodb.morphia.converters.MapOfValuesConverter
 
encode(Object, MappedField) - Method in class org.mongodb.morphia.converters.SerializedObjectConverter
 
encode(Object, MappedField) - Method in class org.mongodb.morphia.converters.TimestampConverter
 
encode(Object) - Method in class org.mongodb.morphia.converters.TypeConverter
encode the type safe java object into the corresponding DBObject
encode(Object, MappedField) - Method in class org.mongodb.morphia.converters.TypeConverter
encode the (type-safe) java object into the corresponding DBObject
encode(Object, MappedField) - Method in class org.mongodb.morphia.converters.URIConverter
 
encode(Object, MappedField) - Method in class org.mongodb.morphia.converters.UUIDConverter
 
encode(Object, MappedField) - Method in class org.mongodb.morphia.geo.GeometryQueryConverter
 
encode(Object, MappedField) - Method in class org.mongodb.morphia.geo.GeometryShapeConverter
 
encode(Object, MappedField) - Method in class org.mongodb.morphia.geo.NamedCoordinateReferenceSystemConverter
 
endsWith(String) - Method in interface org.mongodb.morphia.query.FieldEnd
Checks that a field ends with a value
endsWith(String) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
endsWithIgnoreCase(String) - Method in interface org.mongodb.morphia.query.FieldEnd
Checks that a field ends with a value ignoring the case of the values
endsWithIgnoreCase(String) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
ensureCaps() - Method in interface org.mongodb.morphia.Datastore
ensure capped collections for Entity(s)
ensureCaps() - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
ensureIndex(String, Class<T>, String) - Method in interface org.mongodb.morphia.AdvancedDatastore
Deprecated.
This method uses the legacy approach for defining indexes. Switch to using annotations on entity classes or the methods in the Java driver itself.
ensureIndex(String, Class<T>, String, String, boolean, boolean) - Method in interface org.mongodb.morphia.AdvancedDatastore
Deprecated.
This method uses the legacy approach for defining indexes. Switch to using annotations on entity classes or the methods in the Java driver itself.
ensureIndex(Class<T>, String) - Method in interface org.mongodb.morphia.Datastore
Deprecated.
This method uses the legacy approach for defining indexes. Switch to using annotations on entity classes or the methods in the Java driver itself.
ensureIndex(Class<T>, String, String, boolean, boolean) - Method in interface org.mongodb.morphia.Datastore
Deprecated.
This method uses the legacy approach for defining indexes. Switch to using annotations on entity classes or the methods in the Java driver itself.
ensureIndex(Class<T>, String) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
ensureIndex(Class<T>, String, String, boolean, boolean) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
ensureIndex(String, Class<T>, String) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
ensureIndex(String, Class<T>, String, String, boolean, boolean) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
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
ensureIndexes(boolean) - Method in interface org.mongodb.morphia.Datastore
Ensures (creating if necessary) the indexes found during class mapping (using @Indexed, @Indexes) on the given collection name, possibly in the background
ensureIndexes(Class<T>) - Method in interface org.mongodb.morphia.Datastore
Ensures (creating if necessary) the indexes found during class mapping
ensureIndexes(Class<T>, boolean) - Method in interface org.mongodb.morphia.Datastore
Ensures (creating if necessary) the indexes found during class mapping
ensureIndexes() - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
ensureIndexes(boolean) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
ensureIndexes(Class<T>) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
ensureIndexes(Class<T>, boolean) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
ensureIndexes(String, Class<T>) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
ensureIndexes(String, Class<T>, boolean) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
Entity - Annotation Type in org.mongodb.morphia.annotations
Allows marking and naming the collectionName
EntityAndEmbed - Class in org.mongodb.morphia.mapping.validation.classrules
 
EntityAndEmbed() - Constructor for class org.mongodb.morphia.mapping.validation.classrules.EntityAndEmbed
 
EntityAnnotatedValueValidator - Class in org.mongodb.morphia.query.validation
Ensures that a Class is annotated with @Entity.
EntityCache - Interface in org.mongodb.morphia.mapping.cache
A primarily internal class used by MorphiaIterator to track entities loaded from mongo to prevent multiple loads of objects when keys are seen multiple times in a query result.
EntityCacheFactory - Interface in org.mongodb.morphia.mapping.cache
Factory for entity caches.
EntityCacheStatistics - Class in org.mongodb.morphia.mapping.cache
This class stores various statistics on an EntityCache
EntityCacheStatistics() - Constructor for class org.mongodb.morphia.mapping.cache.EntityCacheStatistics
 
EntityCannotBeMapOrIterable - Class in org.mongodb.morphia.mapping.validation.classrules
 
EntityCannotBeMapOrIterable() - Constructor for class org.mongodb.morphia.mapping.validation.classrules.EntityCannotBeMapOrIterable
 
entityClazz - Variable in class org.mongodb.morphia.dao.BasicDAO
Deprecated.
EntityInterceptor - Interface in org.mongodb.morphia
Interface for intercepting @Entity lifecycle events
EntityListeners - Annotation Type in org.mongodb.morphia.annotations
Specifies other classes to participate in the @Entity's lifecycle
EntityObjectReference - Class in org.mongodb.morphia.mapping.lazy.proxy
A serializable object reference
EntityObjectReference(Datastore, Class, Key, boolean) - Constructor for class org.mongodb.morphia.mapping.lazy.proxy.EntityObjectReference
Creates an object reference
EntityTypeAndIdValueValidator - Class in org.mongodb.morphia.query.validation
Checks the class of the value against the type of the ID for the type.
entrySet() - Method in class relocated.morphia.org.apache.commons.collections.ReferenceMap
Returns a set view of this map's entries.
EnumConverter - Class in org.mongodb.morphia.converters
 
EnumConverter() - Constructor for class org.mongodb.morphia.converters.EnumConverter
 
EnumSetConverter - Class in org.mongodb.morphia.converters
 
EnumSetConverter() - Constructor for class org.mongodb.morphia.converters.EnumSetConverter
Creates the Converter.
EphemeralMappedField - Class in org.mongodb.morphia.mapping
This is a MappedField facade that allows us to convert and collect values to be gathered back in to a Map or Collection, e.g., rather than directly on a mapped entity.
EphemeralMappedField(ParameterizedType, MappedField, Mapper) - Constructor for class org.mongodb.morphia.mapping.EphemeralMappedField
Creates an EphemeralMappedField.
EphemeralMappedField(Type, MappedField, Mapper) - Constructor for class org.mongodb.morphia.mapping.EphemeralMappedField
Creates an EphemeralMappedField.
EPSG_4326 - Static variable in class org.mongodb.morphia.geo.NamedCoordinateReferenceSystem
The EPSG:4326 Coordinate Reference System.
EPSG_4326_STRICT_WINDING - Static variable in class org.mongodb.morphia.geo.NamedCoordinateReferenceSystem
A custom MongoDB EPSG:4326 Coordinate Reference System that uses a strict counter-clockwise winding order.
equal(Object) - Method in interface org.mongodb.morphia.query.FieldEnd
Checks that a field equals a value
equal(Object) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
equalIgnoreCase(Object) - Method in interface org.mongodb.morphia.query.FieldEnd
Checks that a field equals a value
equalIgnoreCase(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 org.mongodb.morphia.query.QueryImpl
 
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
Logs a message at this level.
error(String, Object...) - Method in interface org.mongodb.morphia.logging.Logger
Logs a message at this level.
error(String, Throwable) - Method in interface org.mongodb.morphia.logging.Logger
Logs a message at this level.
error(String) - Method in class org.mongodb.morphia.logging.SilentLogger
 
error(String, Object...) - Method in class org.mongodb.morphia.logging.SilentLogger
 
error(String, Throwable) - Method in class org.mongodb.morphia.logging.SilentLogger
 
eval(V) - Method in class org.mongodb.morphia.utils.IterHelper.IterCallback
The method to call in the callback
eval(K, V) - Method in class org.mongodb.morphia.utils.IterHelper.MapIterCallback
The method to call in the callback
exists(Object, ReadPreference) - Method in interface org.mongodb.morphia.AdvancedDatastore
Checks that an entity exists for the given key or entity
exists(String, Object) - Method in class org.mongodb.morphia.dao.BasicDAO
 
exists(Query<T>) - Method in class org.mongodb.morphia.dao.BasicDAO
 
exists(String, Object) - Method in interface org.mongodb.morphia.dao.DAO
checks for entities which match criteria {key:value}
exists(Query<T>) - Method in interface org.mongodb.morphia.dao.DAO
checks for entities which match the criteria
exists(Object) - Method in interface org.mongodb.morphia.Datastore
Does a query to check if the keyOrEntity exists in mongodb
exists(Object) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
exists(Object, ReadPreference) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
exists(Key<?>) - Method in class org.mongodb.morphia.mapping.cache.DefaultEntityCache
 
exists(Key<?>) - Method in interface org.mongodb.morphia.mapping.cache.EntityCache
Looks for a Key in the cache
exists() - Method in interface org.mongodb.morphia.query.FieldEnd
Checks that a field exists in a document
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(FindOptions) - Method in interface org.mongodb.morphia.query.Query
Provides information on the query plan.
explain() - Method in class org.mongodb.morphia.query.QueryImpl
 
explain(FindOptions) - 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
Provides a faster logger.
FasterJDKLogger(Class) - Constructor for class org.mongodb.morphia.logging.jdk.FasterJDKLogger
Creates a logger.
FastestJDKLogger - Class in org.mongodb.morphia.logging.jdk
 
FastestJDKLogger(Class) - Constructor for class org.mongodb.morphia.logging.jdk.FastestJDKLogger
 
fetch(Key<?>) - Method in class org.mongodb.morphia.mapping.lazy.proxy.AbstractReference
 
fetch() - Method in class org.mongodb.morphia.mapping.lazy.proxy.AbstractReference
 
fetch() - Method in class org.mongodb.morphia.mapping.lazy.proxy.CollectionObjectReference
 
fetch() - Method in class org.mongodb.morphia.mapping.lazy.proxy.EntityObjectReference
 
fetch() - Method in class org.mongodb.morphia.mapping.lazy.proxy.MapObjectReference
 
fetch() - Method in class org.mongodb.morphia.query.QueryImpl
 
fetch(FindOptions) - Method in class org.mongodb.morphia.query.QueryImpl
 
fetch() - Method in interface org.mongodb.morphia.query.QueryResults
Execute the query and get the results.
fetch(FindOptions) - 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(FindOptions) - 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.
fetchEmptyEntities(FindOptions) - 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(FindOptions) - 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.
fetchKeys(FindOptions) - Method in interface org.mongodb.morphia.query.QueryResults
Execute the query and get the keys for the objects.
Field - Annotation Type in org.mongodb.morphia.annotations
Define a field to be used in an index;
field(String) - Method in interface org.mongodb.morphia.query.Query
Fluent query interface: createQuery(Ent.class).field("count").greaterThan(7)...
field(String) - Method in class org.mongodb.morphia.query.QueryImpl
 
FieldConstraint - Class in org.mongodb.morphia.mapping.validation.fieldrules
 
FieldConstraint() - Constructor for class org.mongodb.morphia.mapping.validation.fieldrules.FieldConstraint
 
FieldEnd<T> - Interface in org.mongodb.morphia.query
Represents a document field in a query and presents the operations available to querying against that field.
FieldEndImpl<T extends CriteriaContainerImpl> - Class in org.mongodb.morphia.query
Represents a document field in a query and presents the operations available to querying against that field.
FieldEndImpl(QueryImpl<?>, String, T) - Constructor for class org.mongodb.morphia.query.FieldEndImpl
Creates a FieldEnd for a particular field.
FieldEnumString - Class in org.mongodb.morphia.mapping.validation.classrules
 
FieldEnumString(MappedField...) - Constructor for class org.mongodb.morphia.mapping.validation.classrules.FieldEnumString
Creates a FieldEnumString for the given fields
FieldEnumString(List<MappedField>) - Constructor for class org.mongodb.morphia.mapping.validation.classrules.FieldEnumString
Creates a FieldEnumString for the given fields
filter(String, Object) - Method in interface org.mongodb.morphia.query.Query
Create a filter based on the specified condition and value.
filter(String, Object) - Method in class org.mongodb.morphia.query.QueryImpl
 
FilterOperator - Enum in org.mongodb.morphia.query
 
finalize(String) - Method in class org.mongodb.morphia.MapReduceOptions
Sets the Finalize JS Function
find(String, Class<T>) - Method in interface org.mongodb.morphia.AdvancedDatastore
Find all instances by type in a different collection than what is mapped on the class given.
find(String, Class<T>, String, V, int, int) - Method in interface org.mongodb.morphia.AdvancedDatastore
Find all instances by type in a different collection than what is mapped on the class given skipping some documents and returning a fixed number of the remaining.
find() - Method in class org.mongodb.morphia.dao.BasicDAO
 
find(Query<T>) - Method in class org.mongodb.morphia.dao.BasicDAO
 
find() - Method in interface org.mongodb.morphia.dao.DAO
Finds all the documents in the collection mapped by the entity class
find(Query<T>) - Method in interface org.mongodb.morphia.dao.DAO
Finds entities matching a query
find(Class<T>) - Method in interface org.mongodb.morphia.Datastore
Find all instances by type
find(Class<T>, String, V) - Method in interface org.mongodb.morphia.Datastore
Deprecated.
use FindOptions when running the query instead
find(Class<T>, String, V, int, int) - Method in interface org.mongodb.morphia.Datastore
Deprecated.
use FindOptions when running the query instead
find(Class<T>) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
find(Class<T>, String, V) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
find(Class<T>, String, V, int, int) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
find(String, Class<T>) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
find(String, Class<T>, String, V, int, int) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
find(String, Class<T>, String, V, int, int, boolean) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
Find all instances by type in a different collection than what is mapped on the class given skipping some documents and returning a fixed number of the remaining.
findAndDelete(Query<T>) - Method in interface org.mongodb.morphia.Datastore
Deletes the given entities based on the query (first item only).
findAndDelete(Query<T>, FindAndModifyOptions) - 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
Deprecated.
 
findAndDelete(Query<T>, FindAndModifyOptions) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
findAndModify(Query<T>, UpdateOperations<T>, FindAndModifyOptions) - Method in interface org.mongodb.morphia.Datastore
Find the first Entity from the Query, and modify it.
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
findAndModify(Query<T>, UpdateOperations<T>, boolean, boolean) - Method in interface org.mongodb.morphia.Datastore
findAndModify(Query<T>, UpdateOperations<T>, FindAndModifyOptions) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
findAndModify(Query<T>, UpdateOperations<T>) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
findAndModify(Query<T>, UpdateOperations<T>, boolean) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
findAndModify(Query<T>, UpdateOperations<T>, boolean, boolean) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
FindAndModifyOptions - Class in org.mongodb.morphia
The options for find and modify operations.
FindAndModifyOptions() - Constructor for class org.mongodb.morphia.FindAndModifyOptions
 
findIds() - Method in class org.mongodb.morphia.dao.BasicDAO
 
findIds(String, Object) - Method in class org.mongodb.morphia.dao.BasicDAO
 
findIds(Query<T>) - Method in class org.mongodb.morphia.dao.BasicDAO
 
findIds() - Method in interface org.mongodb.morphia.dao.DAO
Finds the entities Ts
findIds(String, Object) - Method in interface org.mongodb.morphia.dao.DAO
Finds the entities Key by the criteria {key:value}
findIds(Query<T>) - Method in interface org.mongodb.morphia.dao.DAO
Finds the entities Ts by the criteria {key:value}
findOne(String, Object) - Method in class org.mongodb.morphia.dao.BasicDAO
 
findOne(Query<T>) - Method in class org.mongodb.morphia.dao.BasicDAO
 
findOne(String, Object) - Method in interface org.mongodb.morphia.dao.DAO
Finds the first entity matching the query.
findOne(Query<T>) - Method in interface org.mongodb.morphia.dao.DAO
Finds the first entity matching the query.
findOneId() - Method in class org.mongodb.morphia.dao.BasicDAO
 
findOneId(String, Object) - Method in class org.mongodb.morphia.dao.BasicDAO
 
findOneId(Query<T>) - Method in class org.mongodb.morphia.dao.BasicDAO
 
findOneId() - Method in interface org.mongodb.morphia.dao.DAO
Finds the first entity's ID
findOneId(String, Object) - Method in interface org.mongodb.morphia.dao.DAO
Finds the first entity's ID matching a query
findOneId(Query<T>) - Method in interface org.mongodb.morphia.dao.DAO
Finds the first entity's ID
FindOptions - Class in org.mongodb.morphia.query
The options to apply to a find operation (also commonly referred to as a query).
FindOptions() - Constructor for class org.mongodb.morphia.query.FindOptions
Creates an empty options instance.
first(String) - Static method in class org.mongodb.morphia.aggregation.Group
Returns the value that results from applying an expression to the first document in a group of documents that share the same group by key.
FloatConverter - Class in org.mongodb.morphia.converters
 
FloatConverter() - Constructor for class org.mongodb.morphia.converters.FloatConverter
Creates the Converter.
flush() - Method in class org.mongodb.morphia.mapping.cache.DefaultEntityCache
 
flush() - Method in interface org.mongodb.morphia.mapping.cache.EntityCache
Clears the cache
format(LogRecord) - Method in class org.mongodb.morphia.logging.jdk.ShortFormatter
 
fromDb(Datastore, DBObject, T, EntityCache) - Method in class org.mongodb.morphia.mapping.Mapper
Converts a DBObject back to a type-safe java object (POJO)
fromDBObject(DBObject, MappedField, Object) - Method in class org.mongodb.morphia.converters.Converters
Creates an entity and populates its state based on the dbObject given.
fromDBObject(Datastore, DBObject, MappedField, Object, EntityCache, Mapper) - Method in interface org.mongodb.morphia.mapping.CustomMapper
Creates an entity and populates its state based on the dbObject given.
fromDBObject(Datastore, Class<T>, DBObject, EntityCache) - Method in class org.mongodb.morphia.mapping.Mapper
Converts a DBObject back to a type-safe java object (POJO)
fromDBObject(Datastore, Class<T>, DBObject) - Method in class org.mongodb.morphia.Morphia
Creates an entity and populates its state based on the dbObject given.
fromDBObject(Datastore, Class<T>, DBObject, EntityCache) - Method in class org.mongodb.morphia.Morphia
Creates an entity and populates its state based on the dbObject given.
fromString(String) - Static method in enum org.mongodb.morphia.geo.GeoJsonType
Allows you to turn String values of types into the Enum that corresponds to this type.
fromString(String) - Static method in enum org.mongodb.morphia.MapreduceType
Deprecated.
Finds the type represented by the value given
fromString(String) - Static method in enum org.mongodb.morphia.query.FilterOperator
Creates a FilterOperator from a String
fromString(String) - Static method in enum org.mongodb.morphia.query.UpdateOperator
Creates an UpdateOperator from a String
fromValue(Object) - Static method in enum org.mongodb.morphia.utils.IndexType
Returns the enum instance for the given value

G

GeoJson - Class in org.mongodb.morphia.geo
Factory class for creating GeoJSON types.
GeoJsonType - Enum in org.mongodb.morphia.geo
Enumerates all the GeoJson types that are currently supported by Morphia.
Geometry - Interface in org.mongodb.morphia.geo
Interface to denote which entities are classes that will serialise into a MongoDB GeoJson object.
geometryCollection(Geometry...) - Static method in class org.mongodb.morphia.geo.GeoJson
Return a GeometryCollection that will let you create a GeoJSON GeometryCollection.
GeometryCollection - Class in org.mongodb.morphia.geo
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
Defines a new LineStringConverter.
GeometryShapeConverter.MultiLineStringConverter - Class in org.mongodb.morphia.geo
Defines a new MultiLineStringConverter.
GeometryShapeConverter.MultiPointConverter - Class in org.mongodb.morphia.geo
Defines a new MultiPointConverter.
GeometryShapeConverter.MultiPolygonConverter - Class in org.mongodb.morphia.geo
Extends and therefore configures GeometryShapeConverter to provide the specific configuration for converting MultiPolygon objects to and from MongoDB representations of the GeoJson.
GeometryShapeConverter.PointConverter - Class in org.mongodb.morphia.geo
Defines a new PointConverter.
GeometryShapeConverter.PolygonConverter - Class in org.mongodb.morphia.geo
Defines a new PolygonConverter.
geoNear(GeoNear) - Method in interface org.mongodb.morphia.aggregation.AggregationPipeline
Returns an ordered stream of documents based on the proximity to a geospatial point.
geoNear(GeoNear) - Method in class org.mongodb.morphia.aggregation.AggregationPipelineImpl
 
GeoNear - Class in org.mongodb.morphia.aggregation
Outputs documents in order of nearest to farthest from a specified point.
GeoNear.GeoNearBuilder - Class in org.mongodb.morphia.aggregation
Provides a builder for GeoNear instances.
GeoNearBuilder(String) - Constructor for class org.mongodb.morphia.aggregation.GeoNear.GeoNearBuilder
 
GeoWithinOperationValidator - Class in org.mongodb.morphia.query.validation
Supports validation for queries using the FilterOperator.GEO_WITHIN operator.
get(Class<T>, DBRef) - Method in interface org.mongodb.morphia.AdvancedDatastore
Find the given entity (by collectionName/id);
get(String, Class<T>, V) - Method in interface org.mongodb.morphia.AdvancedDatastore
Finds an entity in the named collection whose id matches the value given.
get(K) - Method in class org.mongodb.morphia.dao.BasicDAO
 
get(K) - Method in interface org.mongodb.morphia.dao.DAO
Loads the entity by id value
get(Class<T>, Iterable<V>) - Method in interface org.mongodb.morphia.Datastore
Find the given entities (by id); shorthand for find("_id in", ids)
get(Class<T>, V) - Method in interface org.mongodb.morphia.Datastore
Find the given entity (by id); shorthand for find("_id ", id)
get(T) - Method in interface org.mongodb.morphia.Datastore
Find the given entity (by collectionName/id); think of this as refresh
get(Class<T>, Iterable<V>) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
get(Class<T>, V) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
get(T) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
get(Class<T>, DBRef) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
get(String, Class<T>, V) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
get(Class<?>) - Method in class org.mongodb.morphia.logging.jdk.JDKLoggerFactory
 
get(Class<?>) - Method in interface org.mongodb.morphia.logging.LoggerFactory
Gets or creates a Logger for the given class.
get(Class<?>) - Static method in class org.mongodb.morphia.logging.MorphiaLoggerFactory
Gets or creates a Logger for the given class.
get() - Method in interface org.mongodb.morphia.mapping.lazy.DatastoreProvider
Deprecated.
 
get() - Method in class org.mongodb.morphia.mapping.lazy.proxy.AbstractReference
 
get() - Method in class org.mongodb.morphia.query.QueryImpl
 
get(FindOptions) - 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(FindOptions) - Method in interface org.mongodb.morphia.query.QueryResults
Gets the first entity in the result set.
get(Object) - Method in class relocated.morphia.org.apache.commons.collections.ReferenceMap
Returns the value associated with the given key, if any.
getAccumulator() - Method in class org.mongodb.morphia.aggregation.Group
 
getAnnotation(Class<? extends Annotation>) - Method in class org.mongodb.morphia.mapping.MappedClass
Looks for an annotation of the type given
getAnnotation(Class<T>) - Method in class org.mongodb.morphia.mapping.MappedField
 
getAnnotation(Class, Class<T>) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
Returns an annotation on a Class if present
getAnnotations(Class<? extends Annotation>) - Method in class org.mongodb.morphia.mapping.MappedClass
Looks for an annotation in the annotations found on a class while mapping
getAnnotations() - Method in class org.mongodb.morphia.mapping.MappedField
 
getAnnotations(Class, Class<T>) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
Returns the (first) instance of the annotation, on the class (or any superclass, or interfaces implemented).
getArguments() - Method in class org.mongodb.morphia.aggregation.Projection
 
getAttachedTo() - Method in class org.mongodb.morphia.query.AbstractCriteria
 
getBatchSize() - Method in class org.mongodb.morphia.query.FindOptions
Gets the number of documents to return per batch.
getBatchSize() - Method in interface org.mongodb.morphia.query.Query
Deprecated.
use the methods that accept Options directly
getBatchSize() - Method in class org.mongodb.morphia.query.QueryImpl
Deprecated.
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
Deprecated.
 
getByKeys(Class<T>, Iterable<Key<T>>) - Method in interface org.mongodb.morphia.Datastore
Find the given entities (by id), verifying they are of the correct type; shorthand for find("_id in", ids)
getByKeys(Iterable<Key<T>>) - Method in interface org.mongodb.morphia.Datastore
Find the given entities (by id); shorthand for find("_id in", ids)
getByKeys(Class<T>, Iterable<Key<T>>) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
getByKeys(Iterable<Key<T>>) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
getBypassDocumentValidation() - Method in class org.mongodb.morphia.FindAndModifyOptions
Returns the bypassDocumentValidation
getBypassDocumentValidation() - Method in class org.mongodb.morphia.InsertOptions
Gets whether to bypass document validation, or null if unspecified.
getBypassDocumentValidation() - Method in class org.mongodb.morphia.UpdateOptions
Gets the the bypass document level validation flag
getCacheFactory() - Method in class org.mongodb.morphia.mapping.MapperOptions
 
getCaller() - Method in class org.mongodb.morphia.logging.jdk.JDKLogger
returns an array (class, method) of the caller before our logger class in the stack
getChildren() - Method in class org.mongodb.morphia.query.CriteriaContainerImpl
 
getClass(Type) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
Get the underlying class for a type, or null if the type is a variable type.
getClassEmbeddedAnnotation(Class) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
Returns the @Embedded annotation on a Class if present
getClassEntityAnnotation(Class) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
Returns the @Entity annotation on a Class if present
getClasses(String) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
Returns the classes in a package
getClasses(String, boolean) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
Returns the classes in a package
getClasses(ClassLoader, String) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
Returns the classes in a package
getClasses(ClassLoader, String, boolean) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
Returns the classes in a package
getClassFromCollection(String) - Method in class org.mongodb.morphia.mapping.Mapper
Looks up the class mapped to a named collection.
getClassLoaderForClass() - Method in class org.mongodb.morphia.mapping.DefaultCreator
 
getClassName() - Method in class org.mongodb.morphia.logging.jdk.FastestJDKLogger
 
getClassNameCache() - Method in class org.mongodb.morphia.mapping.DefaultCreator
 
getClazz() - Method in class org.mongodb.morphia.mapping.MappedClass
 
getClazz() - Method in class org.mongodb.morphia.query.MorphiaIterator
 
getCollation() - Method in class org.mongodb.morphia.DeleteOptions
Returns the collation options
getCollation() - Method in class org.mongodb.morphia.FindAndModifyOptions
Returns the collation options
getCollation() - Method in class org.mongodb.morphia.query.CountOptions
Returns the collation options
getCollation() - Method in class org.mongodb.morphia.query.FindOptions
Returns the collation options
getCollation() - Method in class org.mongodb.morphia.UpdateOptions
Returns the collation options
getCollection() - Method in class org.mongodb.morphia.dao.BasicDAO
 
getCollection() - Method in interface org.mongodb.morphia.dao.DAO
 
getCollection(Class<?>) - Method in interface org.mongodb.morphia.Datastore
 
getCollection(Object) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
this is an internal method. no replacement is planned.
getCollection(Class) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
getCollection(String) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
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
Deprecated.
This is an internal method and subject to change or removal. Do not use.
getCollection() - Method in class org.mongodb.morphia.query.QueryImpl
Deprecated.
getCollectionName() - Method in class org.mongodb.morphia.mapping.MappedClass
 
getCollectionName(Object) - Method in class org.mongodb.morphia.mapping.Mapper
Gets the mapped collection for an object instance or Class reference.
getConcreteType() - Method in class org.mongodb.morphia.mapping.MappedField
 
getConverters() - Method in class org.mongodb.morphia.mapping.Mapper
 
getCoordinates() - Method in interface org.mongodb.morphia.geo.Geometry
Returns a list of coordinates for this Geometry type.
getCoordinates() - Method in class org.mongodb.morphia.geo.LineString
 
getCoordinates() - Method in class org.mongodb.morphia.geo.MultiLineString
 
getCoordinates() - Method in class org.mongodb.morphia.geo.MultiPoint
 
getCoordinates() - Method in class org.mongodb.morphia.geo.MultiPolygon
 
getCoordinates() - Method in class org.mongodb.morphia.geo.Point
 
getCoordinates() - Method in class org.mongodb.morphia.geo.Polygon
 
getCount(String) - Method in interface org.mongodb.morphia.AdvancedDatastore
Gets the count this collection
getCount(T) - Method in interface org.mongodb.morphia.Datastore
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(Query<T>, CountOptions) - 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
Deprecated.
 
getCount(Class<T>) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
getCount(Query<T>) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
getCount(Query<T>, CountOptions) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
getCount(String) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
getCounts() - Method in class org.mongodb.morphia.MapreduceResults
 
getCTor() - Method in class org.mongodb.morphia.mapping.MappedField
 
getCursor() - Method in class org.mongodb.morphia.query.MorphiaIterator
 
getCursorType() - Method in class org.mongodb.morphia.query.FindOptions
Get the cursor type.
getDatastore() - Method in class org.mongodb.morphia.dao.BasicDAO
 
getDatastore() - Method in interface org.mongodb.morphia.dao.DAO
 
getDatastore() - Method in class org.mongodb.morphia.mapping.lazy.proxy.AbstractReference
 
getDatastore() - Method in class org.mongodb.morphia.query.QueryImpl
Deprecated.
this is an internal method that exposes an internal type and will likely go away soon
getDatastoreProvider() - Method in class org.mongodb.morphia.mapping.MapperOptions
Deprecated.
unused
getDB() - Method in interface org.mongodb.morphia.Datastore
 
getDB() - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
getDbObjectValue(DBObject) - Method in class org.mongodb.morphia.mapping.EphemeralMappedField
 
getDbObjectValue(DBObject) - Method in class org.mongodb.morphia.mapping.MappedField
 
getDeclaredAndInheritedFields(Class, boolean) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
Get an array of all fields declared in the supplied class, and all its superclasses (except java.lang.Object).
getDeclaredAndInheritedMethods(Class) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
Get a list of all methods declared in the supplied class, and all its superclasses (except java.lang.Object), recursively.
getDeclaringClass() - Method in class org.mongodb.morphia.mapping.MappedField
 
getDecoderFact() - Method in interface org.mongodb.morphia.AdvancedDatastore
Returns the DBDecoderFactory used by this Datastore
getDecoderFact() - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
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
Deprecated.
 
getDirection() - Method in class org.mongodb.morphia.aggregation.Sort
Deprecated.
Use Sort.getOrder() instead.
getDistanceField() - Method in class org.mongodb.morphia.aggregation.GeoNear
 
getDistanceMultiplier() - Method in class org.mongodb.morphia.aggregation.GeoNear
 
getDriverTime() - Method in class org.mongodb.morphia.query.MorphiaIterator
 
getDs() - Method in class org.mongodb.morphia.dao.BasicDAO
Deprecated.
getElapsedMillis() - Method in class org.mongodb.morphia.MapreduceResults
 
getEmbeddedAnnotation() - Method in class org.mongodb.morphia.mapping.MappedClass
 
getEmbeddedMapper() - Method in class org.mongodb.morphia.mapping.MapperOptions
 
getEmitCount() - Method in class org.mongodb.morphia.MapreduceResults.Stats
 
getEncoder(Class) - Method in class org.mongodb.morphia.converters.Converters
 
getEncoder(Object, MappedField) - Method in class org.mongodb.morphia.converters.Converters
 
getEncoder(Class) - Method in class org.mongodb.morphia.converters.CustomConverters
 
getEncoder(Object, MappedField) - Method in class org.mongodb.morphia.converters.CustomConverters
 
getEncoder(Class) - Method in class org.mongodb.morphia.converters.DefaultConverters
 
getEncoder(Object, MappedField) - Method in class org.mongodb.morphia.converters.DefaultConverters
 
getEntity(Key<T>) - Method in class org.mongodb.morphia.mapping.cache.DefaultEntityCache
 
getEntity(Key<T>) - Method in interface org.mongodb.morphia.mapping.cache.EntityCache
Returns the entity for a Key
getEntityAnnotation() - Method in class org.mongodb.morphia.mapping.MappedClass
 
getEntityClass() - Method in class org.mongodb.morphia.dao.BasicDAO
 
getEntityClass() - Method in interface org.mongodb.morphia.dao.DAO
The type of entities for this DAO
getEntityClass() - Method in interface org.mongodb.morphia.query.Query
 
getEntityClass() - Method in class org.mongodb.morphia.query.QueryImpl
 
getEntityClazz() - Method in class org.mongodb.morphia.dao.BasicDAO
Deprecated.
getError() - Method in class org.mongodb.morphia.MapreduceResults
Deprecated.
getExteriorBoundary() - Method in class org.mongodb.morphia.geo.Polygon
Returns a LineString representing the exterior boundary of this Polygon.
getField() - Method in class org.mongodb.morphia.aggregation.Accumulator
Deprecated.
getField() - Method in class org.mongodb.morphia.mapping.MappedField
 
getField() - Method in class org.mongodb.morphia.query.Meta
 
getField() - Method in class org.mongodb.morphia.query.Sort
 
getFieldName() - Method in interface org.mongodb.morphia.query.Criteria
 
getFieldName() - Method in class org.mongodb.morphia.query.CriteriaContainerImpl
 
getFieldName() - Method in class org.mongodb.morphia.query.QueryImpl
 
getFieldName() - Method in class org.mongodb.morphia.query.WhereCriteria
 
getFieldsAnnotatedWith(Class<? extends Annotation>) - Method in class org.mongodb.morphia.mapping.MappedClass
Returns fields annotated with the clazz
getFieldsObject() - Method in interface org.mongodb.morphia.query.Query
Deprecated.
This is an internal method and subject to change or removal. Do not use.
getFieldsObject() - Method in class org.mongodb.morphia.query.QueryImpl
Deprecated.
getFieldValue(Object) - Method in class org.mongodb.morphia.mapping.EphemeralMappedField
 
getFieldValue(Object) - Method in class org.mongodb.morphia.mapping.MappedField
Gets the value of the field mapped on the instance given.
getFirstAnnotation(Class<? extends Annotation>) - Method in class org.mongodb.morphia.mapping.MappedClass
Returns the first found Annotation, or null.
getFirstFieldName(DBObject) - Method in class org.mongodb.morphia.mapping.MappedField
Gets the field name to use when converting from a DBObject
getFromDirectory(ClassLoader, File, String) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
Returns the classes in a package found in a directory
getFromDirectory(ClassLoader, File, String, boolean) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
Returns the classes in a package found in a directory
getFromJARFile(ClassLoader, String, String) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
Returns the classes in a package found in a jar
getFromJARFile(ClassLoader, String, String, boolean) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
Returns the classes in a package found in a jar
getFullName() - Method in class org.mongodb.morphia.mapping.MappedField
 
getGeometry() - Method in class org.mongodb.morphia.query.Shape
 
getHint() - Method in class org.mongodb.morphia.query.CountOptions
Gets the hint to apply.
getId(Object) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
getId() - Method in class org.mongodb.morphia.Key
 
getId(Object) - Method in class org.mongodb.morphia.mapping.Mapper
Gets the ID value for an entity
getIdField() - Method in class org.mongodb.morphia.mapping.MappedClass
 
getIncludeLocations() - Method in class org.mongodb.morphia.aggregation.GeoNear
This specifies the output field that identifies the location used to calculate the distance.
getInlineResults() - Method in class org.mongodb.morphia.MapreduceResults
Creates an Iterator over the results of the operation.
getInputCount() - Method in class org.mongodb.morphia.MapreduceResults.Stats
 
getInsertedCount() - Method in class org.mongodb.morphia.query.UpdateResults
 
getInstance() - Static method in class org.mongodb.morphia.query.validation.AllOperationValidator
Get the instance.
getInstance() - Static method in class org.mongodb.morphia.query.validation.DefaultTypeValidator
Get the instance.
getInstance() - Static method in class org.mongodb.morphia.query.validation.DoubleTypeValidator
Get the instance.
getInstance() - Static method in class org.mongodb.morphia.query.validation.EntityAnnotatedValueValidator
Get the instance.
getInstance() - Static method in class org.mongodb.morphia.query.validation.EntityTypeAndIdValueValidator
Get the instance.
getInstance() - Static method in class org.mongodb.morphia.query.validation.ExistsOperationValidator
Get the instance.
getInstance() - Static method in class org.mongodb.morphia.query.validation.GeoWithinOperationValidator
Get the instance.
getInstance() - Static method in class org.mongodb.morphia.query.validation.InOperationValidator
Get the instance.
getInstance() - Static method in class org.mongodb.morphia.query.validation.IntegerTypeValidator
Get the instance.
getInstance() - Static method in class org.mongodb.morphia.query.validation.KeyValueTypeValidator
Get the instance.
getInstance() - Static method in class org.mongodb.morphia.query.validation.ListValueValidator
Get the instance.
getInstance() - Static method in class org.mongodb.morphia.query.validation.LongTypeValidator
Get the instance.
getInstance() - Static method in class org.mongodb.morphia.query.validation.ModOperationValidator
Get the instance.
getInstance() - Static method in class org.mongodb.morphia.query.validation.NotInOperationValidator
Get the instance
getInstance() - Static method in class org.mongodb.morphia.query.validation.PatternValueValidator
Get the instance.
getInstance() - Static method in class org.mongodb.morphia.query.validation.SizeOperationValidator
Get the instance
getInstanceCache() - Method in class org.mongodb.morphia.mapping.Mapper
 
getInterceptors() - Method in class org.mongodb.morphia.mapping.Mapper
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
 
getJoinMethod() - Method in class org.mongodb.morphia.query.CriteriaContainerImpl
 
getKey(T) - Method in interface org.mongodb.morphia.Datastore
Creates a (type-safe) reference to the entity; if stored this will become a DBRef
getKey(T) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
getKey(T) - Method in class org.mongodb.morphia.mapping.Mapper
Gets the Key for an entity
getKey(T, String) - Method in class org.mongodb.morphia.mapping.Mapper
Gets the Key for an entity and a specific collection
getKey() - Method in class org.mongodb.morphia.query.QueryImpl
 
getKey(FindOptions) - 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(FindOptions) - Method in interface org.mongodb.morphia.query.QueryResults
Get the key of the first entity in the result set.
getKey() - Method in class relocated.morphia.org.apache.commons.collections.DefaultMapEntry
Returns the key.
getKeysByManualRefs(Class<T>, List<Object>) - Method in class org.mongodb.morphia.mapping.Mapper
Gets the Keys for a list of objects
getKeysByRefs(List<DBRef>) - Method in class org.mongodb.morphia.mapping.Mapper
Gets the Keys for a list of objects
getLatitude() - Method in class org.mongodb.morphia.geo.Point
Return the latitude of this point.
getLevel() - Method in class org.mongodb.morphia.mapping.validation.ConstraintViolation
 
getLifecycleMethods(Class<Annotation>) - Method in class org.mongodb.morphia.mapping.MappedClass
Gets the lifecycle methods for particular annotation.
getLimit() - Method in class org.mongodb.morphia.aggregation.GeoNear
 
getLimit() - Method in class org.mongodb.morphia.query.ArraySlice
 
getLimit() - Method in class org.mongodb.morphia.query.CountOptions
Gets the limit to apply.
getLimit() - Method in class org.mongodb.morphia.query.FindOptions
Gets the limit to apply.
getLimit() - Method in interface org.mongodb.morphia.query.Query
Deprecated.
use the methods that accept Options directly
getLimit() - Method in class org.mongodb.morphia.query.QueryImpl
Deprecated.
getLoadNames() - Method in class org.mongodb.morphia.mapping.MappedField
 
getLogger() - Method in class org.mongodb.morphia.logging.jdk.FastestJDKLogger
 
getLongitude() - Method in class org.mongodb.morphia.geo.Point
Return the longitude of this point.
getMapKeyClass() - Method in class org.mongodb.morphia.mapping.EphemeralMappedField
 
getMapKeyClass() - Method in class org.mongodb.morphia.mapping.MappedField
If the underlying java type is a map then it returns T from Map
getMappedClass(Object) - Method in class org.mongodb.morphia.mapping.Mapper
Gets the MappedClass for the object (type).
getMappedClasses() - Method in class org.mongodb.morphia.mapping.Mapper
 
getMappedField(String) - Method in class org.mongodb.morphia.mapping.MappedClass
Returns the MappedField by the name that it will stored in mongodb as
getMappedFieldByJavaField(String) - Method in class org.mongodb.morphia.mapping.MappedClass
Returns MappedField for a given java field name on the this MappedClass
getMappedFieldName() - Method in class org.mongodb.morphia.mapping.EphemeralMappedField
 
getMappedFieldName() - Method in class org.mongodb.morphia.mapping.MappedField
 
getMappedIdField() - Method in class org.mongodb.morphia.mapping.MappedClass
 
getMappedVersionField() - Method in class org.mongodb.morphia.mapping.MappedClass
 
getMapper() - Method in class org.mongodb.morphia.converters.TypeConverter
 
getMapper() - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
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
 
getMaxAwaitTime(TimeUnit) - Method in class org.mongodb.morphia.query.FindOptions
The maximum amount of time for the server to wait on new documents to satisfy a tailable cursor query.
getMaxDistance() - Method in class org.mongodb.morphia.aggregation.GeoNear
The maximum distance from the center point that the documents can be.
getMaxDocuments() - Method in class org.mongodb.morphia.aggregation.GeoNear
The num option provides the same function as the limit option.
getMaxTime(TimeUnit) - Method in class org.mongodb.morphia.FindAndModifyOptions
Gets the maximum execution time on the server for this operation.
getMaxTime(TimeUnit) - Method in class org.mongodb.morphia.query.CountOptions
Gets the maximum execution time on the server for this operation.
getMaxTime(TimeUnit) - Method in class org.mongodb.morphia.query.FindOptions
Gets the maximum execution time on the server for this operation.
getMCMap() - Method in class org.mongodb.morphia.mapping.Mapper
 
getMongo() - Method in interface org.mongodb.morphia.Datastore
Get the underlying MongoClient that allows connection to the MongoDB instance being used.
getMongo() - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
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.
getName() - Method in enum org.mongodb.morphia.query.Meta.MetaDataKeyword
 
getNameToStore() - Method in class org.mongodb.morphia.mapping.EphemeralMappedField
 
getNameToStore() - Method in class org.mongodb.morphia.mapping.MappedField
 
getNear() - Method in class org.mongodb.morphia.aggregation.GeoNear
The point for which to find the closest documents.
getNested() - Method in class org.mongodb.morphia.aggregation.Group
 
getNewId() - Method in class org.mongodb.morphia.query.UpdateResults
 
getNext() - Method in class org.mongodb.morphia.query.MorphiaIterator
 
getObjectFactory() - Method in class org.mongodb.morphia.mapping.MapperOptions
 
getOffset() - Method in interface org.mongodb.morphia.query.Query
Deprecated.
use the methods that accept Options directly
getOffset() - Method in class org.mongodb.morphia.query.QueryImpl
Deprecated.
getOperation() - Method in class org.mongodb.morphia.aggregation.Accumulator
 
getOperator() - Method in class org.mongodb.morphia.query.validation.AllOperationValidator
 
getOperator() - Method in class org.mongodb.morphia.query.validation.ExistsOperationValidator
 
getOperator() - Method in class org.mongodb.morphia.query.validation.GeoWithinOperationValidator
 
getOperator() - Method in class org.mongodb.morphia.query.validation.InOperationValidator
 
getOperator() - Method in class org.mongodb.morphia.query.validation.ModOperationValidator
 
getOperator() - Method in class org.mongodb.morphia.query.validation.NotInOperationValidator
 
getOperator() - Method in class org.mongodb.morphia.query.validation.OperationValidator
This method is called by the apply method to determine whether to validate the query.
getOperator() - Method in class org.mongodb.morphia.query.validation.SizeOperationValidator
 
getOps() - Method in class org.mongodb.morphia.query.UpdateOpsImpl
 
getOptions() - Method in class org.mongodb.morphia.mapping.Mapper
 
getOrder() - Method in class org.mongodb.morphia.query.Sort
Returns the sort order.
getOutputCount() - Method in class org.mongodb.morphia.MapreduceResults.Stats
 
getOutputType() - Method in class org.mongodb.morphia.MapreduceResults
 
getParameterizedClass(Field) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
Get the (first) class that parameterizes the Field supplied.
getParameterizedClass(Field, int) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
Get the class that parameterizes the Field supplied, at the index supplied (field can be parameterized with multiple param classes).
getParameterizedClass(Class) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
Returns the parameterized type of a Class
getParameterizedClass(Class, int) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
Returns the parameterized type in the given position
getParameterizedType(Field, int) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
Returns the parameterized type for a field
getParent() - Method in class org.mongodb.morphia.mapping.EphemeralMappedField
 
getPersistenceFields() - Method in class org.mongodb.morphia.mapping.MappedClass
 
getPoints() - Method in class org.mongodb.morphia.query.Shape
 
getPrefix() - Method in class org.mongodb.morphia.mapping.validation.ConstraintViolation
 
getProjections() - Method in class org.mongodb.morphia.aggregation.Group
 
getProjections() - Method in class org.mongodb.morphia.aggregation.Projection
 
getProxy(Key<T>) - Method in class org.mongodb.morphia.mapping.cache.DefaultEntityCache
 
getProxy(Key<T>) - Method in interface org.mongodb.morphia.mapping.cache.EntityCache
Returns a proxy for the entity for a Key
getProxyFactory() - Method in class org.mongodb.morphia.mapping.Mapper
 
getQuery() - Method in class org.mongodb.morphia.aggregation.GeoNear
Limits the results to the documents that match the query.
getQuery() - Method in class org.mongodb.morphia.query.CriteriaContainerImpl
 
getQueryFactory() - Method in interface org.mongodb.morphia.Datastore
 
getQueryFactory() - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
getQueryObject() - Method in interface org.mongodb.morphia.query.Query
Deprecated.
This is an internal method and subject to change or removal. Do not use.
getQueryObject() - Method in class org.mongodb.morphia.query.QueryImpl
Deprecated.
getReadConcern() - Method in class org.mongodb.morphia.query.CountOptions
Returns the readConcern
getReadConcern() - Method in class org.mongodb.morphia.query.FindOptions
Returns the readConcern
getReadPreference() - Method in class org.mongodb.morphia.query.CountOptions
Returns the readPreference
getReadPreference() - Method in class org.mongodb.morphia.query.FindOptions
Returns the readPreference
getReferenceMapper() - Method in class org.mongodb.morphia.mapping.MapperOptions
 
getReferentClass(Object) - Static method in class org.mongodb.morphia.mapping.lazy.proxy.ProxyHelper
Returns the class backing this entity
getRelevantAnnotations() - Method in class org.mongodb.morphia.mapping.MappedClass
 
getRequiredValueType() - Method in class org.mongodb.morphia.query.validation.KeyValueTypeValidator
 
getRequiredValueType() - Method in class org.mongodb.morphia.query.validation.ListValueValidator
 
getRequiredValueType() - Method in class org.mongodb.morphia.query.validation.PatternValueValidator
 
getRequiredValueType() - Method in class org.mongodb.morphia.query.validation.ValueValidator
Used by apply to figure out whether to apply the validation or simply return.
getSkip() - Method in class org.mongodb.morphia.query.ArraySlice
 
getSkip() - Method in class org.mongodb.morphia.query.CountOptions
Gets the number of documents to skip.
getSkip() - Method in class org.mongodb.morphia.query.FindOptions
Gets the number of documents to skip.
getSortObject() - Method in interface org.mongodb.morphia.query.Query
Deprecated.
This is an internal method and subject to change or removal. Do not use.
getSortObject() - Method in class org.mongodb.morphia.query.QueryImpl
Deprecated.
getSource() - Method in class org.mongodb.morphia.aggregation.Projection
 
getSourceField() - Method in class org.mongodb.morphia.aggregation.Group
 
getSpherical() - Method in class org.mongodb.morphia.aggregation.GeoNear
Required if using a 2dsphere index.
getStages() - Method in class org.mongodb.morphia.aggregation.AggregationPipelineImpl
Returns the internal list of stages for this pipeline.
getSubClass() - Method in class org.mongodb.morphia.mapping.EphemeralMappedField
 
getSubClass() - Method in class org.mongodb.morphia.mapping.MappedField
If the java field is a list/array/map then the sub-type T is returned (ex.
getSubType() - Method in class org.mongodb.morphia.mapping.EphemeralMappedField
 
getSubType() - Method in class org.mongodb.morphia.mapping.MappedField
If the java field is a list/array/map then the sub-type T is returned (ex.
getSubTypes(MappedClass) - Method in class org.mongodb.morphia.mapping.Mapper
Finds any subtypes for the given MappedClass.
getSuperClass() - Method in class org.mongodb.morphia.mapping.MappedClass
This is an internal method subject to change without notice.
getSupportTypes() - Method in class org.mongodb.morphia.converters.TypeConverter
Deprecated.
use #getSupportedTypes()
getTarget() - Method in class org.mongodb.morphia.aggregation.Projection
 
getType() - Method in class org.mongodb.morphia.geo.CoordinateReferenceSystem
Gets the type of this Coordinate Reference System.
getType() - Method in enum org.mongodb.morphia.geo.GeoJsonType
Returns the value that needs to be stored with the GeoJson values in the database to declare which GeoJson type the coordinates represent.
getType() - Method in class org.mongodb.morphia.geo.NamedCoordinateReferenceSystem
 
getType() - Method in class org.mongodb.morphia.Key
 
getType() - Method in class org.mongodb.morphia.mapping.EphemeralMappedField
 
getType() - Method in class org.mongodb.morphia.mapping.MappedField
 
getType() - Method in class org.mongodb.morphia.MapreduceResults
Deprecated.
getTypeArgument(Class<? extends T>, TypeVariable<? extends GenericDeclaration>) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
Returns the type argument
getTypeArguments(Class<T>, Class<? extends T>) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
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
Deprecated.
since version MongoDB 2.6: Geospatial queries no longer return duplicate results. The $uniqueDocs operator has no impact on results.
getUpdatedCount() - Method in class org.mongodb.morphia.query.UpdateResults
 
getUpdatedExisting() - Method in class org.mongodb.morphia.query.UpdateResults
 
getUseBulkWriteOperations() - Method in class org.mongodb.morphia.Morphia
Deprecated. 
getValidFields(Field[], boolean) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
Scans the array fields and returns any fields that are not static or (optionally) final.
getValue() - Method in class org.mongodb.morphia.aggregation.Accumulator
 
getValue() - Method in class org.mongodb.morphia.mapping.EphemeralMappedField
 
getValue() - Method in class relocated.morphia.org.apache.commons.collections.DefaultMapEntry
Returns the value.
getValueMapper() - Method in class org.mongodb.morphia.mapping.MapperOptions
 
getWriteConcern() - Method in class org.mongodb.morphia.DeleteOptions
The write concern to use for the delete.
getWriteConcern() - Method in class org.mongodb.morphia.FindAndModifyOptions
Returns the writeConcern
getWriteConcern() - Method in class org.mongodb.morphia.InsertOptions
The write concern to use for the insertion.
getWriteConcern() - Method in class org.mongodb.morphia.UpdateOptions
The write concern to use for the insertion.
getWriteResult() - Method in class org.mongodb.morphia.query.UpdateResults
 
greaterThan(Object) - Method in interface org.mongodb.morphia.query.FieldEnd
Checks that a field is greater than the value given
greaterThan(Object) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
greaterThanOrEq(Object) - Method in interface org.mongodb.morphia.query.FieldEnd
Checks that a field is greater than or equal to the value given
greaterThanOrEq(Object) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
group(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(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(Group...) - Method in class org.mongodb.morphia.aggregation.AggregationPipelineImpl
 
group(String, Group...) - Method in class org.mongodb.morphia.aggregation.AggregationPipelineImpl
 
group(List<Group>, Group...) - Method in class org.mongodb.morphia.aggregation.AggregationPipelineImpl
 
Group - Class in org.mongodb.morphia.aggregation
Defines a group pipeline stage.
grouping(String) - Static method in class org.mongodb.morphia.aggregation.Group
Creates a named grouping
grouping(String, Projection...) - Static method in class org.mongodb.morphia.aggregation.Group
Creates a named grouping
grouping(String, Group) - Static method in class org.mongodb.morphia.aggregation.Group
Creates a named grouping
grouping(String, String) - Static method in class org.mongodb.morphia.aggregation.Group
Creates a named grouping on a field
grouping(String, Accumulator) - Static method in class org.mongodb.morphia.aggregation.Group
Creates a named grouping on a field

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
Checks that a field has all of the values listed.
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
Checks that a field has any of the values listed.
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 org.mongodb.morphia.query.QueryImpl
 
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
Checks that a field has none of the values listed.
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
Deprecated.
hasThisElement(Object) - Method in class org.mongodb.morphia.query.FieldEndImpl
Deprecated.
hasThisOne(Object) - Method in interface org.mongodb.morphia.query.FieldEnd
Checks that a field has the value listed.
hasThisOne(Object) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
hint(String) - Method in class org.mongodb.morphia.query.CountOptions
Sets the hint to apply.
hintIndex(String) - Method in interface org.mongodb.morphia.query.Query
Deprecated.
use the methods that accept Options directly. This can be replicated with options.modifier("$hint", idxName)
hintIndex(String) - Method in class org.mongodb.morphia.query.QueryImpl
Deprecated.

I

id(Group...) - Static method in class org.mongodb.morphia.aggregation.Group
Create a group of Groups for use as an ID
Id - Annotation Type in org.mongodb.morphia.annotations
 
ID_KEY - Static variable in class org.mongodb.morphia.mapping.Mapper
The @Id field name that is stored with mongodb.
IdDoesNotMix - Class in org.mongodb.morphia.mapping.validation.fieldrules
 
IdDoesNotMix() - Constructor for class org.mongodb.morphia.mapping.validation.fieldrules.IdDoesNotMix
 
IdentityConverter - Class in org.mongodb.morphia.converters
 
IdentityConverter(Class...) - Constructor for class org.mongodb.morphia.converters.IdentityConverter
Creates the Converter.
IdGetter - Annotation Type in org.mongodb.morphia.annotations
This annotation allows the lazy-load proxy to return the ID of a referenced entity without reading the reference from the database.
IGNORED_FIELDNAME - Static variable in class org.mongodb.morphia.mapping.Mapper
Special name that can never be used.
ignoreMissing - Variable in class org.mongodb.morphia.mapping.lazy.proxy.AbstractReference
 
implementsInterface(Class<?>, Class<?>) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
Check if a class implements a specific interface.
in(Iterable<?>) - Method in interface org.mongodb.morphia.query.FieldEnd
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
Increments the entity count
incHits() - Method in class org.mongodb.morphia.mapping.cache.EntityCacheStatistics
Increments the hit count
incMisses() - Method in class org.mongodb.morphia.mapping.cache.EntityCacheStatistics
Increments the miss count
Index - Annotation Type in org.mongodb.morphia.annotations
Defines an index
IndexDirection - Enum in org.mongodb.morphia.utils
Defines the "direction" of an index.
Indexed - Annotation Type in org.mongodb.morphia.annotations
Specified on fields that should be Indexed.
Indexes - Annotation Type in org.mongodb.morphia.annotations
Defines indexes for this entity type (on the collection)
IndexOptions - Annotation Type in org.mongodb.morphia.annotations
Defines the options to be used when declaring an index.
IndexType - Enum in org.mongodb.morphia.utils
Defines the type of the index to create for a field.
info(String) - Method in class org.mongodb.morphia.logging.jdk.FastestJDKLogger
 
info(String, Object...) - Method in class org.mongodb.morphia.logging.jdk.FastestJDKLogger
 
info(String, Throwable) - Method in class org.mongodb.morphia.logging.jdk.FastestJDKLogger
 
info(String) - Method in class org.mongodb.morphia.logging.jdk.JDKLogger
 
info(String, Object...) - Method in class org.mongodb.morphia.logging.jdk.JDKLogger
 
info(String, Throwable) - Method in class org.mongodb.morphia.logging.jdk.JDKLogger
 
info(String) - Method in interface org.mongodb.morphia.logging.Logger
Logs a message at this level.
info(String, Object...) - Method in interface org.mongodb.morphia.logging.Logger
Logs a message at this level.
info(String, Throwable) - Method in interface org.mongodb.morphia.logging.Logger
Logs a message at this level.
info(String) - Method in class org.mongodb.morphia.logging.SilentLogger
 
info(String, Object...) - Method in class org.mongodb.morphia.logging.SilentLogger
 
info(String, Throwable) - Method in class org.mongodb.morphia.logging.SilentLogger
 
initDS(MongoClient, Morphia, String) - Method in class org.mongodb.morphia.dao.BasicDAO
 
initType(Class<T>) - Method in class org.mongodb.morphia.dao.BasicDAO
 
InOperationValidator - Class in org.mongodb.morphia.query.validation
Checks if the value can have the FilterOperator.IN operator applied to it.
inputCollection(String) - Method in class org.mongodb.morphia.MapReduceOptions
Sets the input collection for the job should that collection differ from the mapped collection used in the query
insert(T) - Method in interface org.mongodb.morphia.AdvancedDatastore
Inserts an entity in to the mapped collection.
insert(T, WriteConcern) - Method in interface org.mongodb.morphia.AdvancedDatastore
insert(T, InsertOptions) - Method in interface org.mongodb.morphia.AdvancedDatastore
Inserts an entity in to the mapped collection.
insert(String, T) - Method in interface org.mongodb.morphia.AdvancedDatastore
Inserts an entity in to the named collection.
insert(String, T, InsertOptions) - Method in interface org.mongodb.morphia.AdvancedDatastore
Inserts an entity in to the named collection.
insert(T...) - Method in interface org.mongodb.morphia.AdvancedDatastore
Deprecated.
insert(Iterable<T>) - Method in interface org.mongodb.morphia.AdvancedDatastore
Inserts entities in to the mapped collection.
insert(Iterable<T>, WriteConcern) - Method in interface org.mongodb.morphia.AdvancedDatastore
insert(Iterable<T>, InsertOptions) - Method in interface org.mongodb.morphia.AdvancedDatastore
Inserts entities in to the mapped collection.
insert(String, Iterable<T>) - Method in interface org.mongodb.morphia.AdvancedDatastore
Inserts an entity in to the named collection.
insert(String, Iterable<T>, WriteConcern) - Method in interface org.mongodb.morphia.AdvancedDatastore
insert(String, Iterable<T>, InsertOptions) - Method in interface org.mongodb.morphia.AdvancedDatastore
Inserts entities in to the named collection.
insert(String, T) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
insert(String, T, InsertOptions) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
insert(T) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
insert(T, WriteConcern) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
insert(T, InsertOptions) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
insert(T...) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
insert(Iterable<T>, WriteConcern) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
insert(Iterable<T>, InsertOptions) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
insert(String, Iterable<T>) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
insert(String, Iterable<T>, WriteConcern) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
insert(String, Iterable<T>, InsertOptions) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
insert(Iterable<T>) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
Inserts entities in to the database
insert(String, T, WriteConcern) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
Inserts an entity in to the database
insert(DBCollection, T, InsertOptions) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
InsertOptions - Class in org.mongodb.morphia
Options related to insertion of documents into MongoDB.
InsertOptions() - Constructor for class org.mongodb.morphia.InsertOptions
 
InstantConverter - Class in org.mongodb.morphia.converters
This converter will take a Instant and convert it to a java.util.Date instance.
InstantConverter() - Constructor for class org.mongodb.morphia.converters.InstantConverter
Creates the Converter.
IntegerConverter - Class in org.mongodb.morphia.converters
 
IntegerConverter() - Constructor for class org.mongodb.morphia.converters.IntegerConverter
Creates the Converter.
IntegerTypeValidator - Class in org.mongodb.morphia.query.validation
If the Type is some sort of integer-compatible field (see getTypeClasses) then this validator will check if the value is of the correct type for this field.
intersects(Geometry) - Method in interface org.mongodb.morphia.query.FieldEnd
This performs a $geoIntersects query, searching documents containing any sort of GeoJson field and returning those where the given geometry intersects with the document shape.
intersects(Geometry, CoordinateReferenceSystem) - Method in interface org.mongodb.morphia.query.FieldEnd
This performs a $geoIntersects query, searching documents containing any sort of GeoJson field and returning those where the given geometry intersects with the document shape.
intersects(Geometry) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
intersects(Geometry, CoordinateReferenceSystem) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
isAbstract() - Method in class org.mongodb.morphia.mapping.MappedClass
This is an internal method subject to change without notice.
isActLikeSerializer() - Method in class org.mongodb.morphia.mapping.MapperOptions
Deprecated.
this is actually the default and proper behavior. this setting is redundant
isArray() - Method in class org.mongodb.morphia.mapping.MappedField
 
isCacheClassLookups() - Method in class org.mongodb.morphia.mapping.MapperOptions
 
isContinueOnError() - Method in class org.mongodb.morphia.InsertOptions
Whether documents will continue to be inserted after a failure to insert one (most commonly due to a duplicate key error).
isDebugEnabled() - Method in class org.mongodb.morphia.logging.jdk.FastestJDKLogger
 
isDebugEnabled() - Method in class org.mongodb.morphia.logging.jdk.JDKLogger
 
isDebugEnabled() - Method in interface org.mongodb.morphia.logging.Logger
 
isDebugEnabled() - Method in class org.mongodb.morphia.logging.SilentLogger
 
isEmpty() - Method in class relocated.morphia.org.apache.commons.collections.ReferenceMap
Returns true if this map is empty.
isErrorEnabled() - Method in class org.mongodb.morphia.logging.jdk.FastestJDKLogger
 
isErrorEnabled() - Method in class org.mongodb.morphia.logging.jdk.JDKLogger
 
isErrorEnabled() - Method in interface org.mongodb.morphia.logging.Logger
 
isErrorEnabled() - Method in class org.mongodb.morphia.logging.SilentLogger
 
isFetched(Object) - Static method in class org.mongodb.morphia.mapping.lazy.proxy.ProxyHelper
Checks if the proxied entity has been fetched.
isFieldParameterizedWithClass(Field, Class) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
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.
isInterface() - Method in class org.mongodb.morphia.mapping.MappedClass
 
isIsolated() - Method in interface org.mongodb.morphia.query.UpdateOperations
 
isIsolated() - Method in class org.mongodb.morphia.query.UpdateOpsImpl
 
isMap() - Method in class org.mongodb.morphia.mapping.MappedField
 
isMapped(Class) - Method in class org.mongodb.morphia.mapping.Mapper
Checks to see if a Class has been mapped.
isMapped(Class) - Method in class org.mongodb.morphia.Morphia
Check whether a specific class is mapped by this instance.
isMapSubPackages() - Method in class org.mongodb.morphia.mapping.MapperOptions
 
isMulti() - Method in class org.mongodb.morphia.UpdateOptions
Gets whether all documents matching the query filter will be removed.
isMultipleValues() - Method in class org.mongodb.morphia.mapping.MappedField
 
isNoCursorTimeout() - Method in class org.mongodb.morphia.query.FindOptions
The server normally times out idle cursors after an inactivity period (10 minutes) to prevent excess memory use.
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
 
isOplogReplay() - Method in class org.mongodb.morphia.query.FindOptions
Users should not set this under normal circumstances.
isPartial() - Method in class org.mongodb.morphia.query.FindOptions
Get partial results from a sharded cluster if one or more shards are unreachable (instead of throwing an error).
isPrimitiveLike(Class) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
Checks if the Class given is a primitive type.
isPropertyType(Type) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
Check if the class supplied represents a valid property type.
isPropertyType(Class) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
Checks if the Class given is a property type
isProxied(Class<?>) - Static method in class org.mongodb.morphia.mapping.lazy.proxy.ProxyHelper
Checks if the Class passed is a ProxiedReference
isProxy(Object) - Static method in class org.mongodb.morphia.mapping.lazy.proxy.ProxyHelper
Checks if the Java reference passed is a proxy
isReference() - Method in class org.mongodb.morphia.mapping.MappedField
 
isRegistered(Class<? extends TypeConverter>) - Method in class org.mongodb.morphia.converters.Converters
 
isRegistered(Class<? extends TypeConverter>) - Method in class org.mongodb.morphia.converters.CustomConverters
 
isRemove() - Method in class org.mongodb.morphia.FindAndModifyOptions
Returns the remove
isReturnNew() - Method in class org.mongodb.morphia.FindAndModifyOptions
Returns the returnNew
isSet() - Method in class org.mongodb.morphia.mapping.MappedField
 
isSingleValue() - Method in class org.mongodb.morphia.mapping.EphemeralMappedField
 
isSingleValue() - Method in class org.mongodb.morphia.mapping.MappedField
 
isStoreEmpties() - Method in class org.mongodb.morphia.mapping.MapperOptions
 
isStoreNulls() - Method in class org.mongodb.morphia.mapping.MapperOptions
 
isSupported(Class, MappedField) - Method in class org.mongodb.morphia.converters.EnumConverter
 
isSupported(Class, MappedField) - Method in class org.mongodb.morphia.converters.IdentityConverter
 
isSupported(Class, MappedField) - Method in class org.mongodb.morphia.converters.IterableConverter
 
isSupported(Class<?>, MappedField) - Method in class org.mongodb.morphia.converters.MapOfValuesConverter
 
isSupported(Class, MappedField) - Method in class org.mongodb.morphia.converters.SerializedObjectConverter
 
isSupported(Class<?>, MappedField) - Method in class org.mongodb.morphia.converters.TypeConverter
checks if the class is supported for this converter.
isSupported(Class<?>, MappedField) - Method in class org.mongodb.morphia.geo.NamedCoordinateReferenceSystemConverter
 
isSupportedType(Class<?>) - Static method in class org.mongodb.morphia.mapping.MappedClass
Checks to see if it a Map/Set/List or a property supported by the MongoDB java driver
isSuppressed() - Method in class org.mongodb.morphia.aggregation.Projection
 
isTraceEnabled() - Method in class org.mongodb.morphia.logging.jdk.FastestJDKLogger
 
isTraceEnabled() - Method in class org.mongodb.morphia.logging.jdk.JDKLogger
 
isTraceEnabled() - Method in interface org.mongodb.morphia.logging.Logger
 
isTraceEnabled() - Method in class org.mongodb.morphia.logging.SilentLogger
 
isTransient() - Method in class org.mongodb.morphia.mapping.MappedField
 
isTypeMongoCompatible() - Method in class org.mongodb.morphia.mapping.MappedField
 
isUnFetched(Object) - Static method in class org.mongodb.morphia.mapping.lazy.proxy.ProxyHelper
Checks if the proxied entity has been fetched.
isUpsert() - Method in class org.mongodb.morphia.FindAndModifyOptions
Returns the upsert
isUpsert() - Method in class org.mongodb.morphia.UpdateOptions
Returns true if a new document should be inserted if there are no matches to the query filter.
isUseBulkWriteOperations() - Method in class org.mongodb.morphia.Morphia
Deprecated. 
isUseLowerCaseCollectionNames() - Method in class org.mongodb.morphia.mapping.MapperOptions
 
isValidatingNames() - Method in class org.mongodb.morphia.query.QueryImpl
 
isValidatingTypes() - Method in class org.mongodb.morphia.query.QueryImpl
 
isWarningEnabled() - Method in class org.mongodb.morphia.logging.jdk.FastestJDKLogger
 
isWarningEnabled() - Method in class org.mongodb.morphia.logging.jdk.JDKLogger
 
isWarningEnabled() - Method in interface org.mongodb.morphia.logging.Logger
 
isWarningEnabled() - Method in class org.mongodb.morphia.logging.SilentLogger
 
IterableConverter - Class in org.mongodb.morphia.converters
 
IterableConverter() - Constructor for class org.mongodb.morphia.converters.IterableConverter
 
iterator() - Method in class org.mongodb.morphia.MapreduceResults
Creates an Iterator over the results of the operation.
iterator() - Method in class org.mongodb.morphia.query.MorphiaIterator
 
iterator() - Method in class org.mongodb.morphia.query.QueryImpl
 
IterCallback() - Constructor for class org.mongodb.morphia.utils.IterHelper.IterCallback
 
IterHelper<K,V> - Class in org.mongodb.morphia.utils
Helper to allow for optimizations for different types of Map/Collections
IterHelper() - Constructor for class org.mongodb.morphia.utils.IterHelper
 
IterHelper.IterCallback<V> - Class in org.mongodb.morphia.utils
A callback mechanism for processing Iterables
IterHelper.MapIterCallback<K,V> - Class in org.mongodb.morphia.utils
A callback mechanism for processing Maps
iterToList(Iterable<T>) - Static method in class org.mongodb.morphia.utils.ReflectionUtils
Converts an Iterable to a List

J

JAVA_8 - Static variable in class org.mongodb.morphia.converters.DefaultConverters
 
JDKLogger - Class in org.mongodb.morphia.logging.jdk
Provides a logger using the JDK logging facilities.
JDKLogger(Class) - Constructor for class org.mongodb.morphia.logging.jdk.JDKLogger
Creates a logger.
JDKLoggerFactory - Class in org.mongodb.morphia.logging.jdk
A logger factory using the JDK's logging.
JDKLoggerFactory() - Constructor for class org.mongodb.morphia.logging.jdk.JDKLoggerFactory
 
jsMode(Boolean) - Method in class org.mongodb.morphia.MapReduceOptions
Sets the (optional) JavaScript Mode

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
Creates the Converter.
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
keyToDBRef(Key) - Method in class org.mongodb.morphia.mapping.Mapper
Converts a Key to a DBRef
KeyValueTypeValidator - Class in org.mongodb.morphia.query.validation
This makes sure that the field type and the Key type match.

L

last(String) - Static method in class org.mongodb.morphia.aggregation.Group
Returns the value that results from applying an expression to the last document in a group of documents that share the same group by a field.
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
Creates a LazyReferenceFetchingException with the given message
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
Checks that a field is less than the value given
lessThan(Object) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
lessThanOrEq(Object) - Method in interface org.mongodb.morphia.query.FieldEnd
Checks that a field is less than or equal to the value given
lessThanOrEq(Object) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
level(ValidationLevel) - Method in class org.mongodb.morphia.ValidationBuilder
 
level() - Method in class org.mongodb.morphia.ValidationBuilder
 
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 class org.mongodb.morphia.MapReduceOptions
Sets the (optional) limit on input
limit(int) - Method in class org.mongodb.morphia.query.CountOptions
Sets the limit to apply.
limit(int) - Method in class org.mongodb.morphia.query.FindOptions
Sets the limit to apply.
limit(int) - Method in interface org.mongodb.morphia.query.Query
Deprecated.
use the methods that accept Options directly
limit(int) - Method in class org.mongodb.morphia.query.QueryImpl
Deprecated.
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.
LineStringConverter() - Constructor for class org.mongodb.morphia.geo.GeometryShapeConverter.LineStringConverter
Creates a new LineStringConverter.
list(Object...) - Static method in class org.mongodb.morphia.aggregation.Projection
Creates a list projection
ListValueValidator - Class in org.mongodb.morphia.query.validation
Validates Lists.
LocalDateConverter - Class in org.mongodb.morphia.converters
Provides a converter for LocalDate converting the value to the Date at the start of that day.
LocalDateConverter() - Constructor for class org.mongodb.morphia.converters.LocalDateConverter
Creates the Converter.
LocalDateTimeConverter - Class in org.mongodb.morphia.converters
Provides a converter for LocalDateTime converting the value to a Date.
LocalDateTimeConverter() - Constructor for class org.mongodb.morphia.converters.LocalDateTimeConverter
Creates the Converter.
LocaleConverter - Class in org.mongodb.morphia.converters
Converts a Locale to/from a valid database structure.
LocaleConverter() - Constructor for class org.mongodb.morphia.converters.LocaleConverter
Creates the Converter.
LocalTimeConverter - Class in org.mongodb.morphia.converters
Provides a converter for LocalTime and convert it to its numeric form of milliseconds since midnight.
LocalTimeConverter() - Constructor for class org.mongodb.morphia.converters.LocalTimeConverter
Creates the Converter.
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, Object...) - Method in class org.mongodb.morphia.logging.jdk.JDKLogger
 
log(Level, String, Throwable) - 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
Creates the Converter.
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
 
lookup(String, String, String, String) - Method in interface org.mongodb.morphia.aggregation.AggregationPipeline
Performs a left outer join to an unsharded collection in the same database to filter in documents from the “joined” collection for processing.
lookup(String, String, String, String) - Method in class org.mongodb.morphia.aggregation.AggregationPipelineImpl
 
loopMap(Object, IterHelper.MapIterCallback<K, V>) - Method in class org.mongodb.morphia.utils.IterHelper
Process a Map
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
Deprecated.
use the methods that accept Options directly. This can be replicated using options.modifier("$min", new Document(...))
lowerIndexBound(DBObject) - Method in class org.mongodb.morphia.query.QueryImpl
Deprecated.

M

manualRefToKey(Class<T>, Object) - Method in class org.mongodb.morphia.mapping.Mapper
Creates a Key for a type and an ID value
map(String) - Method in class org.mongodb.morphia.MapReduceOptions
Set the JavaScript function that associates or "maps" a value with a key and emits the key and value pair.
map(Class...) - Method in class org.mongodb.morphia.Morphia
Maps a set of classes
map(Set<Class>) - Method in class org.mongodb.morphia.Morphia
Maps a set of classes
MapIterCallback() - Constructor for class org.mongodb.morphia.utils.IterHelper.MapIterCallback
 
MapKeyDifferentFromString - Class in org.mongodb.morphia.mapping.validation.fieldrules
 
MapKeyDifferentFromString() - Constructor for class org.mongodb.morphia.mapping.validation.fieldrules.MapKeyDifferentFromString
 
MapNotSerializable - Class in org.mongodb.morphia.mapping.validation.fieldrules
 
MapNotSerializable() - Constructor for class org.mongodb.morphia.mapping.validation.fieldrules.MapNotSerializable
 
MapObjectReference - Class in org.mongodb.morphia.mapping.lazy.proxy
 
MapObjectReference(Datastore, Map, Class, boolean) - Constructor for class org.mongodb.morphia.mapping.lazy.proxy.MapObjectReference
Creates a MapObjectReference
MapOfValuesConverter - Class in org.mongodb.morphia.converters
 
MapOfValuesConverter() - Constructor for class org.mongodb.morphia.converters.MapOfValuesConverter
 
mapPackage(String) - Method in class org.mongodb.morphia.Morphia
Tries to map all classes in the package specified.
mapPackage(String, boolean) - Method in class org.mongodb.morphia.Morphia
Tries to map all classes in the package specified.
mapPackageFromClass(Class) - Method in class org.mongodb.morphia.Morphia
Maps all the classes found in the package to which the given class belongs.
MappedClass - Class in org.mongodb.morphia.mapping
Represents a mapped class between the MongoDB DBObject and the java POJO.
MappedClass(Class<?>, Mapper) - Constructor for class org.mongodb.morphia.mapping.MappedClass
Creates a MappedClass instance
MappedField - Class in org.mongodb.morphia.mapping
Represents the mapping of this field to/from mongodb (name, list)
Mapper - Class in org.mongodb.morphia.mapping
This is the heart of Morphia and takes care of mapping from/to POJOs/DBObjects
Mapper(MapperOptions) - Constructor for class org.mongodb.morphia.mapping.Mapper
Creates a Mapper with the given options.
Mapper() - Constructor for class org.mongodb.morphia.mapping.Mapper
Creates a Mapper with default options
Mapper(MapperOptions, Mapper) - Constructor for class org.mongodb.morphia.mapping.Mapper
Creates a new Mapper with the given options and a Mapper to copy.
MapperOptions - Class in org.mongodb.morphia.mapping
Options to control mapping behavior.
MapperOptions() - Constructor for class org.mongodb.morphia.mapping.MapperOptions
Creates a default options instance.
MapperOptions(MapperOptions) - Constructor for class org.mongodb.morphia.mapping.MapperOptions
Copy Constructor
MappingException - Exception in org.mongodb.morphia.mapping
 
MappingException(String) - Constructor for exception org.mongodb.morphia.mapping.MappingException
Creates an exception with a message
MappingException(String, Throwable) - Constructor for exception org.mongodb.morphia.mapping.MappingException
Creates an exception with a message and a cause
MappingValidator - Class in org.mongodb.morphia.mapping.validation
 
MappingValidator(ObjectFactory) - Constructor for class org.mongodb.morphia.mapping.validation.MappingValidator
Creates a mapping validator
mapReduce(MapReduceOptions<T>) - Method in interface org.mongodb.morphia.Datastore
Runs a map/reduce job at the server
mapReduce(MapreduceType, Query, String, String, String, Map<String, Object>, Class<T>) - Method in interface org.mongodb.morphia.Datastore
Deprecated.
mapReduce(MapreduceType, Query, Class<T>, MapReduceCommand) - Method in interface org.mongodb.morphia.Datastore
Deprecated.
mapReduce(MapReduceOptions<T>) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
mapReduce(MapreduceType, Query, String, String, String, Map<String, Object>, Class<T>) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
mapReduce(MapreduceType, Query, Class<T>, MapReduceCommand) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
MapReduceOptions<T> - Class in org.mongodb.morphia
This defines options that can be applied to a mapreduce job
MapReduceOptions() - Constructor for class org.mongodb.morphia.MapReduceOptions
 
MapreduceResults<T> - Class in org.mongodb.morphia
Stores the results of a map reduce operation
MapreduceResults(MapReduceOutput) - Constructor for class org.mongodb.morphia.MapreduceResults
Creates a results instance for the given output
MapreduceResults.Stats - Class in org.mongodb.morphia
This class represents various statistics about a map reduce operation
MapreduceType - Enum in org.mongodb.morphia
Deprecated.
match(Query) - Method in interface org.mongodb.morphia.aggregation.AggregationPipeline
Filters the document stream to allow only matching documents to pass unmodified into the next pipeline stage.
match(Query) - Method in class org.mongodb.morphia.aggregation.AggregationPipelineImpl
 
matches(String) - Method in enum org.mongodb.morphia.query.FilterOperator
Returns true if the given filter matches the filters on this FilterOperator
max(String) - Static method in class org.mongodb.morphia.aggregation.Group
Returns the highest value that results from applying an expression to each document in a group of documents that share the same group by key.
max(String, Number) - Method in interface org.mongodb.morphia.query.UpdateOperations
Sets the numeric field to value if it is greater than the current value.
max(String, Number) - Method in class org.mongodb.morphia.query.UpdateOpsImpl
 
maxAwaitTime(long, TimeUnit) - Method in class org.mongodb.morphia.query.FindOptions
Sets the maximum await execution time on the server for this operation.
maxScan(int) - Method in interface org.mongodb.morphia.query.Query
Deprecated.
use the methods that accept Options directly. This can be replicated using options.modifier("$maxScan", value)
maxScan(int) - Method in class org.mongodb.morphia.query.QueryImpl
Deprecated.
maxTime(long, TimeUnit) - Method in class org.mongodb.morphia.FindAndModifyOptions
Sets the maximum execution time on the server for this operation.
maxTime(long, TimeUnit) - Method in class org.mongodb.morphia.query.CountOptions
Sets the maximum execution time on the server for this operation.
maxTime(long, TimeUnit) - Method in class org.mongodb.morphia.query.FindOptions
Sets the maximum execution time on the server for this operation.
maxTime(long, TimeUnit) - Method in interface org.mongodb.morphia.query.Query
Deprecated.
use the methods that accept Options directly. This can be replicated using options.modifier("$maxTimeMS", MILLISECONDS.convert(value, unit))
maxTime(long, TimeUnit) - Method in class org.mongodb.morphia.query.QueryImpl
Deprecated.
maxTimeMS(long) - Method in class org.mongodb.morphia.MapReduceOptions
Sets the max execution time for this command, in the given time unit.
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
Deprecated.
 
merge(T, WriteConcern) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
Meta - Class in org.mongodb.morphia.query
Defines $meta expression object
Meta(Meta.MetaDataKeyword) - Constructor for class org.mongodb.morphia.query.Meta
Specify the meta
Meta(Meta.MetaDataKeyword, String) - Constructor for class org.mongodb.morphia.query.Meta
 
Meta.MetaDataKeyword - Enum in org.mongodb.morphia.query
Representing specified metadata keyword
min(String) - Static method in class org.mongodb.morphia.aggregation.Group
Returns the lowest value that results from applying an expression to each document in a group of documents that share the same group by key.
min(String, Number) - Method in interface org.mongodb.morphia.query.UpdateOperations
sets the numeric field to value if it is less than the current value.
min(String, Number) - Method in class org.mongodb.morphia.query.UpdateOpsImpl
 
MisplacedProperty - Class in org.mongodb.morphia.mapping.validation.fieldrules
 
MisplacedProperty() - Constructor for class org.mongodb.morphia.mapping.validation.fieldrules.MisplacedProperty
 
mod(Object, Object) - Static method in class org.mongodb.morphia.aggregation.Projection
Creates a modulo projection
mod(long, long) - Method in interface org.mongodb.morphia.query.FieldEnd
Select documents where the value of a field divided by a divisor has the specified remainder (i.e.
mod(long, long) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
modifier(String, Object) - Method in class org.mongodb.morphia.query.FindOptions
Adds a modifier to the find operation
ModOperationValidator - Class in org.mongodb.morphia.query.validation
Validates queries using the FilterOperator.MOD.
Morphia - Class in org.mongodb.morphia
 
Morphia() - Constructor for class org.mongodb.morphia.Morphia
Creates a Morphia instance with a default Mapper and an empty class set.
Morphia(Mapper, Set<Class>) - Constructor for class org.mongodb.morphia.Morphia
Creates a Morphia instance with the given Mapper and class set.
Morphia(Mapper) - Constructor for class org.mongodb.morphia.Morphia
Creates a Morphia instance with the given Mapper
Morphia(Set<Class>) - Constructor for class org.mongodb.morphia.Morphia
Creates a Morphia instance with the given classes
MorphiaIterator<T,V> - Class in org.mongodb.morphia.query
 
MorphiaIterator(Datastore, Iterator<DBObject>, Mapper, Class<T>, String, EntityCache) - Constructor for class org.mongodb.morphia.query.MorphiaIterator
Creates a MorphiaIterator
MorphiaKeyIterator<T> - Class in org.mongodb.morphia.query
Defines an Iterator across the Key values for a given type.
MorphiaKeyIterator(Datastore, DBCursor, Mapper, Class<T>, String) - Constructor for class org.mongodb.morphia.query.MorphiaKeyIterator
Create
MorphiaLoggerFactory - Class in org.mongodb.morphia.logging
Morphia's logging factory that can return either an slf4j LoggerFactory or a JDK LoggerFactory.
multi(boolean) - Method in class org.mongodb.morphia.UpdateOptions
Sets whether all documents matching the query filter will be removed.
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.
MultiLineStringConverter() - Constructor for class org.mongodb.morphia.geo.GeometryShapeConverter.MultiLineStringConverter
Creates a new MultiLineStringConverter.
MultipleId - Class in org.mongodb.morphia.mapping.validation.classrules
 
MultipleId() - Constructor for class org.mongodb.morphia.mapping.validation.classrules.MultipleId
 
MultipleVersions - Class in org.mongodb.morphia.mapping.validation.classrules
 
MultipleVersions() - Constructor for class org.mongodb.morphia.mapping.validation.classrules.MultipleVersions
 
multiply(Object...) - Static method in class org.mongodb.morphia.aggregation.Projection
Creates a multiplication projection
multiPoint(Point...) - Static method in class org.mongodb.morphia.geo.GeoJson
Create a new MultiPoint representing a GeoJSON MultiPoint type.
MultiPoint - Class in org.mongodb.morphia.geo
This class represents a series of points, which will saved into MongoDB as per the GeoJSON specification.
MultiPointConverter() - Constructor for class org.mongodb.morphia.geo.GeometryShapeConverter.MultiPointConverter
Creates a new MultiPointConverter.
multiPolygon(Polygon...) - Static method in class org.mongodb.morphia.geo.GeoJson
Create a new MultiPolygon representing a GeoJSON MultiPolygon type.
MultiPolygon - Class in org.mongodb.morphia.geo
This class represents a set of polygons, which will saved into MongoDB as per the GeoJSON specification.
MultiPolygonConverter() - Constructor for class org.mongodb.morphia.geo.GeometryShapeConverter.MultiPolygonConverter
Creates a new MultiPolygonConverter.

N

NamedCoordinateReferenceSystem - Class in org.mongodb.morphia.geo
A GeoJSON named Coordinate Reference System.
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
naturalAscending() - Static method in class org.mongodb.morphia.query.Sort
Creates an ascending sort on a field
naturalDescending() - Static method in class org.mongodb.morphia.query.Sort
Creates a descending natural sort on a field
near(double, double) - Method in interface org.mongodb.morphia.query.FieldEnd
Specifies a point for which a geospatial query returns the documents from nearest to farthest.
near(double, double, boolean) - Method in interface org.mongodb.morphia.query.FieldEnd
Specifies a point for which a geospatial query returns the documents from nearest to farthest.
near(double, double, double) - Method in interface org.mongodb.morphia.query.FieldEnd
Specifies a point for which a geospatial query returns the documents from nearest to farthest.
near(double, double, double, boolean) - Method in interface org.mongodb.morphia.query.FieldEnd
Specifies a point for which a geospatial query returns the documents from nearest to farthest.
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
 
noCursorTimeout(boolean) - Method in class org.mongodb.morphia.query.FindOptions
The server normally times out idle cursors after an inactivity period (10 minutes) to prevent excess memory use.
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
Negates the criteria applied to the field
not() - Method in class org.mongodb.morphia.query.FieldEndImpl
 
notEqual(Object) - Method in interface org.mongodb.morphia.query.FieldEnd
Checks that a field doesn't equal a value
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
Notifies the cache of the existence of a Key
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
Creates the Converter.
offset(int) - Method in interface org.mongodb.morphia.query.Query
Deprecated.
use the methods that accept Options directly
offset(int) - Method in class org.mongodb.morphia.query.QueryImpl
Deprecated.
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
 
oplogReplay(boolean) - Method in class org.mongodb.morphia.query.FindOptions
Users should not set this under normal circumstances.
options() - Static method in class org.mongodb.morphia.query.PushOptions
Helper method to create a PushOptions instance
or(Criteria...) - Method in interface org.mongodb.morphia.query.CriteriaContainer
Ors Criteria with this CriteriaContainer.
or(Criteria...) - Method in class org.mongodb.morphia.query.CriteriaContainerImpl
 
or(Criteria...) - Method in interface org.mongodb.morphia.query.Query
Creates a container to hold 'or' clauses
order(String) - Method in interface org.mongodb.morphia.query.Query
Sorts based on a property (defines return order).
order(Meta) - Method in interface org.mongodb.morphia.query.Query
Sorts based on a metadata (defines return order).
order(Sort...) - Method in interface org.mongodb.morphia.query.Query
Sorts based on a specified sort keys (defines return order).
order(String) - Method in class org.mongodb.morphia.query.QueryImpl
 
order(Meta) - Method in class org.mongodb.morphia.query.QueryImpl
 
order(Sort...) - Method in class org.mongodb.morphia.query.QueryImpl
 
org.mongodb.morphia - package org.mongodb.morphia
This is the base package for all Morphia classes.
org.mongodb.morphia.aggregation - package org.mongodb.morphia.aggregation
Defines various elements for the creation and processing of aggregation pipelines.
org.mongodb.morphia.annotations - package org.mongodb.morphia.annotations
Defines the annotations used by Morphia.
org.mongodb.morphia.converters - package org.mongodb.morphia.converters
Defines the standard set of Converters provided by Morphia
org.mongodb.morphia.dao - package org.mongodb.morphia.dao
Defines basic DAO types
org.mongodb.morphia.geo - package org.mongodb.morphia.geo
Provides implementation types for geo queries
org.mongodb.morphia.logging - package org.mongodb.morphia.logging
Provides the logging API for Morphia
org.mongodb.morphia.logging.jdk - package org.mongodb.morphia.logging.jdk
Provides logging facilities using the JDK's built-in logging.
org.mongodb.morphia.mapping - package org.mongodb.morphia.mapping
Provides types used for mapping
org.mongodb.morphia.mapping.cache - package org.mongodb.morphia.mapping.cache
Provides various caching entities
org.mongodb.morphia.mapping.lazy - package org.mongodb.morphia.mapping.lazy
Provides support for lazy references
org.mongodb.morphia.mapping.lazy.proxy - package org.mongodb.morphia.mapping.lazy.proxy
Provides support for proxies
org.mongodb.morphia.mapping.validation - package org.mongodb.morphia.mapping.validation
Provides validation mechanisms to check mapping metadata
org.mongodb.morphia.mapping.validation.classrules - package org.mongodb.morphia.mapping.validation.classrules
Defines class level validations
org.mongodb.morphia.mapping.validation.fieldrules - package org.mongodb.morphia.mapping.validation.fieldrules
Defines field level validations
org.mongodb.morphia.query - package org.mongodb.morphia.query
Defines the query capabilities for Morphia
org.mongodb.morphia.query.validation - package org.mongodb.morphia.query.validation
Defines the validations to performed against a query definition
org.mongodb.morphia.utils - package org.mongodb.morphia.utils
Provides various utilities used my Morphia.
out(Class<U>) - Method in interface org.mongodb.morphia.aggregation.AggregationPipeline
Places the output of the aggregation in the collection mapped by the target type using the default options as defined in AggregationOptions.
out(Class<U>, AggregationOptions) - Method in interface org.mongodb.morphia.aggregation.AggregationPipeline
Places the output of the aggregation in the collection mapped by the target type.
out(String, Class<U>) - Method in interface org.mongodb.morphia.aggregation.AggregationPipeline
Places the output of the aggregation in the collection mapped by the target type using the default options as defined in AggregationOptions.
out(String, Class<U>, AggregationOptions) - Method in interface org.mongodb.morphia.aggregation.AggregationPipeline
Places the output of the aggregation in the collection mapped by the target type.
out(Class<U>) - Method in class org.mongodb.morphia.aggregation.AggregationPipelineImpl
 
out(Class<U>, AggregationOptions) - Method in class org.mongodb.morphia.aggregation.AggregationPipelineImpl
 
out(String, Class<U>) - Method in class org.mongodb.morphia.aggregation.AggregationPipelineImpl
 
out(String, Class<U>, AggregationOptions) - Method in class org.mongodb.morphia.aggregation.AggregationPipelineImpl
 
outputCollection(String) - Method in class org.mongodb.morphia.MapReduceOptions
Sets the output collection for the job
outputDB(String) - Method in class org.mongodb.morphia.MapReduceOptions
Sets the (optional) database name where the output collection should reside
outputType(MapReduceCommand.OutputType) - Method in class org.mongodb.morphia.MapReduceOptions
Sets the output type of the job

P

parameterNotEmpty(String, Iterable) - Static method in class org.mongodb.morphia.utils.Assert
Validates that the Iterable is not empty
parameterNotEmpty(String, String) - Static method in class org.mongodb.morphia.utils.Assert
Validates that the value is not empty
parameterNotNull(String, Object) - Static method in class org.mongodb.morphia.utils.Assert
Validates that the parameter is not null
parametersNotNull(String, Object...) - Static method in class org.mongodb.morphia.utils.Assert
Validates that all the parameters are not null
parseFieldsString(String, Class, Mapper, boolean) - Static method in class org.mongodb.morphia.query.QueryImpl
Parses the string and validates each part
partial(boolean) - Method in class org.mongodb.morphia.query.FindOptions
Get partial results from a sharded cluster if one or more shards are unreachable (instead of throwing an error).
PatternValueValidator - Class in org.mongodb.morphia.query.validation
Validates query values that are Pattern to check the field type is a String.
point(double, double) - Static method in class org.mongodb.morphia.geo.GeoJson
Create a new Point representing a GeoJSON point type.
Point - Class in org.mongodb.morphia.geo
Represents a GeoJSON Point type.
Point(double, double) - Constructor for class org.mongodb.morphia.query.Shape.Point
Creates a point using longitude and latitude values
PointBuilder - Class in org.mongodb.morphia.geo
Creates Point instances representing a GeoJSON point type.
PointBuilder() - Constructor for class org.mongodb.morphia.geo.PointBuilder
 
pointBuilder() - Static method in class org.mongodb.morphia.geo.PointBuilder
Convenience method to return a new PointBuilder.
PointConverter() - Constructor for class org.mongodb.morphia.geo.GeometryShapeConverter.PointConverter
Creates a new PointConverter.
polygon(Point...) - Static method in class org.mongodb.morphia.geo.GeoJson
Create a new Polygon representing a GeoJSON Polygon type.
polygon(LineString, LineString...) - Static method in class org.mongodb.morphia.geo.GeoJson
Lets you create a Polygon representing a GeoJSON Polygon type.
Polygon - Class in org.mongodb.morphia.geo
This class represents either a simple polygon enclosing an area, or a more complex polygon that contains both an exterior boundary and interior boundaries (holes) within it.
polygon(Shape.Point...) - Static method in class org.mongodb.morphia.query.Shape
Specifies a polygon for a geospatial $geoWithin query on legacy coordinate pairs.
PolygonConverter() - Constructor for class org.mongodb.morphia.geo.GeometryShapeConverter.PolygonConverter
Creates a new PolygonConverter.
Polymorphic - Annotation Type in org.mongodb.morphia.annotations
Deprecated.
Currently unused
position(int) - Method in class org.mongodb.morphia.query.PushOptions
Sets the position for the update
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
Deprecated.
this is an internal method. no replacement is planned.
prePersist(Object, DBObject, Mapper) - Method in class org.mongodb.morphia.AbstractEntityInterceptor
 
PrePersist - Annotation Type in org.mongodb.morphia.annotations
Called before the data has been persisted to the datastore (before mapping is done).
prePersist(Object, DBObject, Mapper) - Method in interface org.mongodb.morphia.EntityInterceptor
 
preSave(Object, DBObject, Mapper) - Method in class org.mongodb.morphia.AbstractEntityInterceptor
 
PreSave - Annotation Type in org.mongodb.morphia.annotations
Called right before DBCollection.save() is called.
preSave(Object, DBObject, Mapper) - Method in interface org.mongodb.morphia.EntityInterceptor
 
project(Projection...) - Method in interface org.mongodb.morphia.aggregation.AggregationPipeline
Reshapes each document in the stream, such as by adding new fields or removing existing fields.
project(Projection...) - Method in class org.mongodb.morphia.aggregation.AggregationPipelineImpl
 
project(String, boolean) - Method in interface org.mongodb.morphia.query.Query
Adds a field to the projection clause.
project(String, ArraySlice) - Method in interface org.mongodb.morphia.query.Query
Adds an sliced array field to a projection.
project(Meta) - Method in interface org.mongodb.morphia.query.Query
Adds a metadata field to a projection.
project(String, boolean) - Method in class org.mongodb.morphia.query.QueryImpl
 
project(String, ArraySlice) - Method in class org.mongodb.morphia.query.QueryImpl
 
project(Meta) - Method in class org.mongodb.morphia.query.QueryImpl
 
Projection - Class in org.mongodb.morphia.aggregation
Defines a projection for use in aggregation
projection(String) - Static method in class org.mongodb.morphia.aggregation.Projection
Creates a projection on a field
projection(String, String) - Static method in class org.mongodb.morphia.aggregation.Projection
Creates a projection on a field and renames it
projection(String, Projection, Projection...) - Static method in class org.mongodb.morphia.aggregation.Projection
Creates a projection on a field with subsequent projects applied.
Property - Annotation Type in org.mongodb.morphia.annotations
Optional annotation for specifying persistence behavior
ProxiedEntityReference - Interface in org.mongodb.morphia.mapping.lazy.proxy
 
ProxiedEntityReferenceList - Interface in org.mongodb.morphia.mapping.lazy.proxy
 
ProxiedEntityReferenceMap - Interface in org.mongodb.morphia.mapping.lazy.proxy
 
ProxiedReference - Interface in org.mongodb.morphia.mapping.lazy.proxy
 
ProxyHelper - Class in org.mongodb.morphia.mapping.lazy.proxy
 
push(String) - Static method in class org.mongodb.morphia.aggregation.Group
Returns an array of all values that result from applying an expression to each document in a group of documents that share the same group by key.
push(String, Object) - Method in interface org.mongodb.morphia.query.UpdateOperations
Adds new values to an array field.
push(String, Object, PushOptions) - Method in interface org.mongodb.morphia.query.UpdateOperations
Adds new values to an array field at the given position
push(String, List<?>) - Method in interface org.mongodb.morphia.query.UpdateOperations
Adds new values to an array field.
push(String, List<?>, PushOptions) - Method in interface org.mongodb.morphia.query.UpdateOperations
Adds new values to an array field at the given position
push(String, Object) - Method in class org.mongodb.morphia.query.UpdateOpsImpl
 
push(String, Object, PushOptions) - Method in class org.mongodb.morphia.query.UpdateOpsImpl
 
push(String, List<?>) - Method in class org.mongodb.morphia.query.UpdateOpsImpl
 
push(String, List<?>, PushOptions) - Method in class org.mongodb.morphia.query.UpdateOpsImpl
 
PushOptions - Class in org.mongodb.morphia.query
The options to apply to a $push update operator.
PushOptions() - Constructor for class org.mongodb.morphia.query.PushOptions
Creates an empty options class
put(Object, Object) - Method in class relocated.morphia.org.apache.commons.collections.ReferenceMap
Associates the given key with the given value.
putAnnotation(Annotation) - Method in class org.mongodb.morphia.mapping.MappedField
Adds the annotation even if not on the declared class/field.
putEntity(Key<T>, T) - Method in class org.mongodb.morphia.mapping.cache.DefaultEntityCache
 
putEntity(Key<T>, T) - Method in interface org.mongodb.morphia.mapping.cache.EntityCache
Adds an entity to the cache
putProxy(Key<T>, T) - Method in class org.mongodb.morphia.mapping.cache.DefaultEntityCache
 
putProxy(Key<T>, T) - Method in interface org.mongodb.morphia.mapping.cache.EntityCache
Adds a proxy to the cache

Q

query(Query) - Method in class org.mongodb.morphia.MapReduceOptions
Sets the query defining the input for the job.
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
Deprecated.
 
queryByExample(String, T) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
QueryException - Exception in org.mongodb.morphia.query
Error during query.
QueryException(String) - Constructor for exception org.mongodb.morphia.query.QueryException
Creates a QueryException with a message
QueryException(String, Throwable) - Constructor for exception org.mongodb.morphia.query.QueryException
Creates a QueryException with a message and a cause
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
Creates a Query for the given type and collection
queryNonPrimary() - Method in interface org.mongodb.morphia.query.Query
Deprecated.
use the methods that accept Options directly
queryNonPrimary() - Method in class org.mongodb.morphia.query.QueryImpl
Deprecated.
queryPrimaryOnly() - Method in interface org.mongodb.morphia.query.Query
Deprecated.
use the methods that accept Options directly.
queryPrimaryOnly() - Method in class org.mongodb.morphia.query.QueryImpl
Deprecated.
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
Throws an AssertionFailedException with the given error message.
readConcern(ReadConcern) - Method in class org.mongodb.morphia.query.CountOptions
Sets the readConcern
readConcern(ReadConcern) - Method in class org.mongodb.morphia.query.FindOptions
Sets the readConcern
readPreference(ReadPreference) - Method in class org.mongodb.morphia.MapReduceOptions
Sets the read preference for this command.
readPreference(ReadPreference) - Method in class org.mongodb.morphia.query.CountOptions
Sets the readPreference
readPreference(ReadPreference) - Method in class org.mongodb.morphia.query.FindOptions
Sets the readPreference
reduce(String) - Method in class org.mongodb.morphia.MapReduceOptions
Sets the JavaScript function that "reduces" to a single object all the values associated with a particular key.
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
Converts a DBRef to a Key
register(Datastore) - Method in interface org.mongodb.morphia.mapping.lazy.DatastoreProvider
Deprecated.
Registers a Datastore with this provider
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
Contains relocated packages from other libraries.
remove(boolean) - Method in class org.mongodb.morphia.FindAndModifyOptions
Indicates whether to remove the elements matching the query or not
remove(Criteria) - Method in interface org.mongodb.morphia.query.CriteriaContainer
Removes Criteria to this container
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
Clears the logger factory
reset() - Method in class org.mongodb.morphia.mapping.cache.EntityCacheStatistics
Clears the statistics
resultType(Class<T>) - Method in class org.mongodb.morphia.MapReduceOptions
Sets the result type of the job
retrievedFields(boolean, String...) - Method in interface org.mongodb.morphia.query.Query
Deprecated.
retrievedFields(boolean, String...) - Method in class org.mongodb.morphia.query.QueryImpl
Deprecated.
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
Deprecated.
use the methods that accept Options directly. This can be replicated using options.modifier("$returnKey", true)
returnKey() - Method in class org.mongodb.morphia.query.QueryImpl
Deprecated.
returnNew(boolean) - Method in class org.mongodb.morphia.FindAndModifyOptions
Sets the returnNew

S

save(String, T) - Method in interface org.mongodb.morphia.AdvancedDatastore
Saves an entity in to the named collection.
save(String, T, WriteConcern) - Method in interface org.mongodb.morphia.AdvancedDatastore
save(String, T, InsertOptions) - Method in interface org.mongodb.morphia.AdvancedDatastore
Saves an entity in to the named collection.
save(T) - Method in class org.mongodb.morphia.dao.BasicDAO
 
save(T, WriteConcern) - Method in class org.mongodb.morphia.dao.BasicDAO
 
save(T) - Method in interface org.mongodb.morphia.dao.DAO
Saves the entity; either inserting or overriding the existing document
save(T, WriteConcern) - Method in interface org.mongodb.morphia.dao.DAO
Saves the entity; either inserting or overriding the existing document
save(Iterable<T>) - Method in interface org.mongodb.morphia.Datastore
Saves the entities (Objects) and updates the @Id field
save(Iterable<T>, WriteConcern) - Method in interface org.mongodb.morphia.Datastore
save(Iterable<T>, InsertOptions) - 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
save(T) - Method in interface org.mongodb.morphia.Datastore
Saves an entity (Object) and updates the @Id field
save(T, WriteConcern) - Method in interface org.mongodb.morphia.Datastore
Deprecated.
save(T, InsertOptions) - Method in interface org.mongodb.morphia.Datastore
Saves an entity (Object) and updates the @Id field
save(Iterable<T>) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
save(Iterable<T>, WriteConcern) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
save(Iterable<T>, InsertOptions) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
save(T...) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
save(T) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
save(T, WriteConcern) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
save(T, InsertOptions) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
save(String, T) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
save(String, T, WriteConcern) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
save(String, T, InsertOptions) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
save(DBCollection, T, InsertOptions) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
scope(Map<String, Object>) - Method in class org.mongodb.morphia.MapReduceOptions
Sets the (optional) JavaScript scope
search(String) - Method in interface org.mongodb.morphia.query.Query
Perform a text search on the content of the fields indexed with a text index..
search(String, String) - Method in interface org.mongodb.morphia.query.Query
Perform a text search on the content of the fields indexed with a text index..
search(String) - Method in class org.mongodb.morphia.query.QueryImpl
 
search(String, String) - Method in class org.mongodb.morphia.query.QueryImpl
 
serialize(Object, boolean) - Static method in class org.mongodb.morphia.mapping.Serializer
serializes object to byte[]
Serialized - Annotation Type in org.mongodb.morphia.annotations
Marker for fields that should be (java) serialized
SerializedObjectConverter - Class in org.mongodb.morphia.converters
 
SerializedObjectConverter() - Constructor for class org.mongodb.morphia.converters.SerializedObjectConverter
 
Serializer - Class in org.mongodb.morphia.mapping
 
set(Object) - Method in class org.mongodb.morphia.mapping.lazy.proxy.AbstractReference
 
set(String, Object) - Method in interface org.mongodb.morphia.query.UpdateOperations
sets the field value
set(String, Object) - Method in class org.mongodb.morphia.query.UpdateOpsImpl
 
setActLikeSerializer(boolean) - Method in class org.mongodb.morphia.mapping.MapperOptions
Deprecated.
this is actually the default and proper behavior. this setting is redundant
setAttachedTo(CriteriaContainer) - Method in class org.mongodb.morphia.query.AbstractCriteria
Sets the parents CriteriaContainer for this Criteria
setCacheClassLookups(boolean) - Method in class org.mongodb.morphia.mapping.MapperOptions
Sets whether Morphia should cache name -> Class lookups
setCacheFactory(EntityCacheFactory) - Method in class org.mongodb.morphia.mapping.MapperOptions
Sets the factory to create an EntityCache
setChildren(List<Criteria>) - Method in class org.mongodb.morphia.query.CriteriaContainerImpl
Sets the Criteria in this CriteriaContainer
setCollection(String) - Method in class org.mongodb.morphia.Key
Sets the collection name.
setDatastoreProvider(DatastoreProvider) - Method in class org.mongodb.morphia.mapping.MapperOptions
Deprecated.
unused
setDecoderFact(DBDecoderFactory) - Method in interface org.mongodb.morphia.AdvancedDatastore
Sets the DBDecoderFactory to use in this Datastore
setDecoderFact(DBDecoderFactory) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
setDefaultMapper(CustomMapper) - Method in class org.mongodb.morphia.mapping.MapperOptions
Sets the mapper to use for top level entities
setDefaultWriteConcern(WriteConcern) - Method in interface org.mongodb.morphia.Datastore
Sets the default WriteConcern for this Datastore
setDefaultWriteConcern(WriteConcern) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
setDistanceMultiplier(Double) - Method in class org.mongodb.morphia.aggregation.GeoNear.GeoNearBuilder
The factor to multiply all distances returned by the query.
setEmbeddedMapper(CustomMapper) - Method in class org.mongodb.morphia.mapping.MapperOptions
Sets the mapper to use for embedded entities
setFieldValue(Object, Object) - Method in class org.mongodb.morphia.mapping.EphemeralMappedField
 
setFieldValue(Object, Object) - Method in class org.mongodb.morphia.mapping.MappedField
Sets the value for the java field
setIgnoreFinals(boolean) - Method in class org.mongodb.morphia.mapping.MapperOptions
Controls if final fields are stored.
setIncludeLocations(String) - Method in class org.mongodb.morphia.aggregation.GeoNear.GeoNearBuilder
This specifies the output field that identifies the location used to calculate the distance.
setInlineRequiredOptions(Datastore, Class<T>, Mapper, EntityCache) - Method in class org.mongodb.morphia.MapreduceResults
Sets the required options when the operation type was INLINE
setJoinMethod(CriteriaJoin) - Method in class org.mongodb.morphia.query.CriteriaContainerImpl
Sets the join method of this CriteriaContainer
setKey(Object) - Method in class relocated.morphia.org.apache.commons.collections.DefaultMapEntry
Sets the key.
setLimit(Long) - Method in class org.mongodb.morphia.aggregation.GeoNear.GeoNearBuilder
The maximum number of documents to return.
setMapper(Mapper) - Method in class org.mongodb.morphia.converters.TypeConverter
Sets the Mapper to use.
setMapper(Mapper) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
Sets the Mapper this Datastore uses
setMapSubPackages(boolean) - Method in class org.mongodb.morphia.mapping.MapperOptions
Controls if classes from sub-packages should be mapped.
setMaxDistance(Double) - Method in class org.mongodb.morphia.aggregation.GeoNear.GeoNearBuilder
A distance from the center point.
setMaxDocuments(Long) - Method in class org.mongodb.morphia.aggregation.GeoNear.GeoNearBuilder
The maxDocuments option provides the same function as the limit option.
setNear(double, double) - Method in class org.mongodb.morphia.aggregation.GeoNear.GeoNearBuilder
Sets the point for which to find the closest documents.
setNear(Point) - Method in class org.mongodb.morphia.aggregation.GeoNear.GeoNearBuilder
Sets the point for which to find the closest documents.
setObjectFactory(ObjectFactory) - Method in class org.mongodb.morphia.mapping.MapperOptions
Sets the ObjectFactory to use when instantiating entity classes.
setOnInsert(String, Object) - Method in interface org.mongodb.morphia.query.UpdateOperations
sets the field on insert.
setOnInsert(String, Object) - Method in class org.mongodb.morphia.query.UpdateOpsImpl
 
setOps(DBObject) - Method in class org.mongodb.morphia.query.UpdateOpsImpl
Sets the operations for this UpdateOpsImpl
setOptions(MapperOptions) - Method in class org.mongodb.morphia.mapping.Mapper
Sets the options this Mapper should use
setOutputType(MapReduceCommand.OutputType) - Method in class org.mongodb.morphia.MapreduceResults
Sets the output type for this mapreduce job
setQuery(Query) - Method in class org.mongodb.morphia.aggregation.GeoNear.GeoNearBuilder
Limits the results to the documents that match the query.
setQuery(QueryImpl<?>) - Method in class org.mongodb.morphia.query.CriteriaContainerImpl
Sets the Query for this CriteriaContainer
setQueryFactory(QueryFactory) - Method in interface org.mongodb.morphia.Datastore
Replaces the current QueryFactory with the given value.
setQueryFactory(QueryFactory) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
setQueryObject(DBObject) - Method in class org.mongodb.morphia.query.QueryImpl
Sets query structure directly
setReferenceMapper(CustomMapper) - Method in class org.mongodb.morphia.mapping.MapperOptions
Sets the mapper to use for references
setSpherical(Boolean) - Method in class org.mongodb.morphia.aggregation.GeoNear.GeoNearBuilder
If true, MongoDB references points using a spherical surface.
setStoreEmpties(boolean) - Method in class org.mongodb.morphia.mapping.MapperOptions
Controls if Morphia should store empty values for lists/maps/sets/arrays
setStoreNulls(boolean) - Method in class org.mongodb.morphia.mapping.MapperOptions
Controls if null are stored.
setSupportedTypes(Class[]) - Method in class org.mongodb.morphia.converters.TypeConverter
Sets the types supported by this converter.
setSupportTypes(Class[]) - Method in class org.mongodb.morphia.converters.TypeConverter
Deprecated.
use #setSupportedTypes(Class[])
setType(Class<? extends T>) - Method in class org.mongodb.morphia.Key
Sets the type of the entity for this Key
setUniqueDocuments(Boolean) - Method in class org.mongodb.morphia.aggregation.GeoNear.GeoNearBuilder
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
Deprecated.
Setting this value has no value functionally or performance-wise.
setUseLowerCaseCollectionNames(boolean) - Method in class org.mongodb.morphia.mapping.MapperOptions
Controls if default entity collection name should be lowercase.
setValue(Object) - Method in class relocated.morphia.org.apache.commons.collections.DefaultMapEntry
Note that this method only sets the local reference inside this object and does not modify the original Map.
setValueMapper(CustomMapper) - Method in class org.mongodb.morphia.mapping.MapperOptions
Sets the mapper to use when processing values
Shape - Class in org.mongodb.morphia.query
This encapsulates the data necessary to define a shape for queries.
Shape.Point - Class in org.mongodb.morphia.query
Defines a Point
ShortConverter - Class in org.mongodb.morphia.converters
 
ShortConverter() - Constructor for class org.mongodb.morphia.converters.ShortConverter
Creates the Converter.
ShortFormatter - Class in org.mongodb.morphia.logging.jdk
A formatter providing a short format
ShortFormatter() - Constructor for class org.mongodb.morphia.logging.jdk.ShortFormatter
 
SilentLogger - Class in org.mongodb.morphia.logging
Silent logger; it doesn't do anything!
SilentLogger() - Constructor for class org.mongodb.morphia.logging.SilentLogger
 
SimpleValueConverter - Interface in org.mongodb.morphia.converters
Marker interface that the TypeConverter returns simple values (int/long, string, etc...)
size() - Method in class relocated.morphia.org.apache.commons.collections.ReferenceMap
Returns the size of this map.
sizeEq(int) - Method in interface org.mongodb.morphia.query.FieldEnd
Checks the size of a field.
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
 
skip(int) - Method in class org.mongodb.morphia.query.CountOptions
Sets the number of documents to skip.
skip(int) - Method in class org.mongodb.morphia.query.FindOptions
Sets the number of documents to skip.
slice(int) - Method in class org.mongodb.morphia.query.PushOptions
Sets the slice value for the update
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
Deprecated.
Use Sort instead.
Sort(String, int) - Constructor for class org.mongodb.morphia.aggregation.Sort
Deprecated.
Creates a sort on a field with a direction.
sort(int) - Method in class org.mongodb.morphia.query.PushOptions
Sets the sort value for the update
sort(String, int) - Method in class org.mongodb.morphia.query.PushOptions
Sets the sort value for the update
Sort - Class in org.mongodb.morphia.query
Used for sorting query results or defining a sort stage in an aggregation pipeline
Sort(String, int) - Constructor for class org.mongodb.morphia.query.Sort
Creates a sort on a field with a direction.
startsWith(String) - Method in interface org.mongodb.morphia.query.FieldEnd
Checks that a field starts with a value
startsWith(String) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
startsWithIgnoreCase(String) - Method in interface org.mongodb.morphia.query.FieldEnd
Checks that a field starts with a value ignoring the case of the values
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
 
Stats() - Constructor for class org.mongodb.morphia.MapreduceResults.Stats
 
StringConverter - Class in org.mongodb.morphia.converters
 
StringConverter() - Constructor for class org.mongodb.morphia.converters.StringConverter
Creates the Converter.
subtract(Object, Object) - Static method in class org.mongodb.morphia.aggregation.Projection
Creates a subtraction projection
sum(String) - Static method in class org.mongodb.morphia.aggregation.Group
Calculates and returns the sum of all the numeric values that result from applying a specified expression to each document in a group of documents that share the same group by key.
suppress() - Method in class org.mongodb.morphia.aggregation.Projection
Marks this field to be suppressed from the output of this stage

T

tail() - Method in class org.mongodb.morphia.query.QueryImpl
Deprecated.
tail(boolean) - Method in class org.mongodb.morphia.query.QueryImpl
Deprecated.
tail() - Method in interface org.mongodb.morphia.query.QueryResults
Deprecated.
set the CursorType on FindOptions and use QueryResults.fetch(FindOptions) instead
tail(boolean) - Method in interface org.mongodb.morphia.query.QueryResults
Deprecated.
set the CursorType on FindOptions and use QueryResults.fetch(FindOptions) instead. This can be replicated using findOptions.cursorType (awaitData ? TailableAwait : Tailable)
testDependencyFullFilled() - Static method in class org.mongodb.morphia.mapping.lazy.LazyFeatureDependencies
Checks that the dependencies to support lazy proxies are present
Text - Annotation Type in org.mongodb.morphia.annotations
Marks this field for inclusion in text indexing.
textScore() - Static method in class org.mongodb.morphia.query.Meta
factory method for textScore metaDataKeyword
textScore(String) - Static method in class org.mongodb.morphia.query.Meta
 
TimestampConverter - Class in org.mongodb.morphia.converters
 
TimestampConverter() - Constructor for class org.mongodb.morphia.converters.TimestampConverter
Creates the Converter.
toClass(Type) - Method in class org.mongodb.morphia.mapping.MappedField
 
toDBObject() - Method in class org.mongodb.morphia.aggregation.Accumulator
 
toDBObject(Object, MappedField, DBObject, MapperOptions) - Method in class org.mongodb.morphia.converters.Converters
Converts an entity to a DBObject
toDBObject(Object, MappedField, DBObject, Map<Object, DBObject>, Mapper) - Method in interface org.mongodb.morphia.mapping.CustomMapper
Converts an entity to a DBObject.
toDBObject(Object) - Method in class org.mongodb.morphia.mapping.Mapper
/** Converts an entity (POJO) to a DBObject.
toDBObject(Object, Map<Object, DBObject>) - Method in class org.mongodb.morphia.mapping.Mapper
Converts an entity (POJO) to a DBObject.
toDBObject(Object) - Method in class org.mongodb.morphia.Morphia
Converts an entity to a DBObject.
toDBObject() - Method in class org.mongodb.morphia.query.Shape.Point
Creates a DBObject from this Point
toDBObject() - Method in class org.mongodb.morphia.query.Shape
Creates a DBObject from this Shape
toDBObjList(MappedField, List<?>) - Method in class org.mongodb.morphia.query.UpdateOpsImpl
 
toIndexValue() - Method in enum org.mongodb.morphia.utils.IndexDirection
Returns the value as needed by the index definition document
toIndexValue() - Method in enum org.mongodb.morphia.utils.IndexType
Returns the value as needed by the index definition document
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.AggregationPipelineImpl
 
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
 
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.QueryImpl
 
toString() - Method in class org.mongodb.morphia.query.UpdateResults
 
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.
type(Type) - Method in interface org.mongodb.morphia.query.FieldEnd
Checks the type of a field
type(Type) - Method in class org.mongodb.morphia.query.FieldEndImpl
 
Type - Enum in org.mongodb.morphia.query
Defines BSON types for use in querying against field types.
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
If proxied, returns the unwrapped entity.
update(Query<T>, UpdateOperations<T>) - Method in class org.mongodb.morphia.dao.BasicDAO
 
update(Query<T>, UpdateOperations<T>) - Method in interface org.mongodb.morphia.dao.DAO
Updates all entities matched by the constraints with the modifiers supplied.
update(T, UpdateOperations<T>) - Method in interface org.mongodb.morphia.Datastore
Updates an entity with the operations; this is an atomic operation
update(Key<T>, UpdateOperations<T>) - Method in interface org.mongodb.morphia.Datastore
Updates an entity with the operations; this is an atomic operation
update(Query<T>, UpdateOperations<T>) - Method in interface org.mongodb.morphia.Datastore
Updates all entities found with the operations; this is an atomic operation per entity
update(Query<T>, UpdateOperations<T>, UpdateOptions) - Method in interface org.mongodb.morphia.Datastore
Updates all entities found with the operations; this is an atomic operation per entity
update(Query<T>, UpdateOperations<T>, boolean) - Method in interface org.mongodb.morphia.Datastore
Updates all entities found with the operations, if nothing is found insert the update as an entity if "createIfMissing" is true; this is an atomic operation per entity
update(Query<T>, UpdateOperations<T>, boolean, WriteConcern) - Method in interface org.mongodb.morphia.Datastore
Updates all entities found with the operations, if nothing is found insert the update as an entity if "createIfMissing" is true; this is an atomic operation per entity
update(T, UpdateOperations<T>) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
update(Key<T>, UpdateOperations<T>) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
update(Query<T>, UpdateOperations<T>) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
update(Query<T>, UpdateOperations<T>, boolean) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
update(Query<T>, UpdateOperations<T>, boolean, WriteConcern) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
update(Query<T>, UpdateOperations<T>, UpdateOptions) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
update() - Method in class org.mongodb.morphia.mapping.MappedClass
Update mappings based on fields/annotations.
updateCollection(Key) - Method in class org.mongodb.morphia.mapping.Mapper
Updates the collection value on a Key with the mapped value on the Key's type Class
UpdateException - Exception in org.mongodb.morphia.query
Error during update.
UpdateException(String) - Constructor for exception org.mongodb.morphia.query.UpdateException
Creates a UpdateException with a message and a cause
UpdateException(String, Throwable) - Constructor for exception org.mongodb.morphia.query.UpdateException
Creates a UpdateException with a message and a cause
updateFirst(Query<T>, UpdateOperations<T>) - Method in class org.mongodb.morphia.dao.BasicDAO
 
updateFirst(Query<T>, UpdateOperations<T>) - Method in interface org.mongodb.morphia.dao.DAO
Updates the first entity matched by the constraints with the modifiers supplied.
updateFirst(Query<T>, UpdateOperations<T>) - Method in interface org.mongodb.morphia.Datastore
Updates the first entity found with the operations; this is an atomic operation
updateFirst(Query<T>, UpdateOperations<T>, boolean) - Method in interface org.mongodb.morphia.Datastore
Updates the first entity found with the operations, if nothing is found insert the update as an entity if "createIfMissing" is true.
updateFirst(Query<T>, UpdateOperations<T>, boolean, WriteConcern) - Method in interface org.mongodb.morphia.Datastore
Updates the first entity found with the operations, if nothing is found insert the update as an entity if "createIfMissing" is true.
updateFirst(Query<T>, T, boolean) - Method in interface org.mongodb.morphia.Datastore
updates the first entity found using the entity as a template, if nothing is found insert the update as an entity if "createIfMissing" is true.
updateFirst(Query<T>, UpdateOperations<T>) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
updateFirst(Query<T>, UpdateOperations<T>, boolean) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
updateFirst(Query<T>, UpdateOperations<T>, boolean, WriteConcern) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
updateFirst(Query<T>, T, boolean) - Method in class org.mongodb.morphia.DatastoreImpl
Deprecated.
 
updateKeyAndVersionInfo(Datastore, DBObject, EntityCache, Object) - Method in class org.mongodb.morphia.mapping.Mapper
Updates the @Id and @Version 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
Creates an UpdateOpsImpl for the type given.
UpdateOptions - Class in org.mongodb.morphia
The options to apply when updating documents in the DBCollection
UpdateOptions() - Constructor for class org.mongodb.morphia.UpdateOptions
 
UpdateResults - Class in org.mongodb.morphia.query
This class holds various metrics about the results of an update operation.
UpdateResults(WriteResult) - Constructor for class org.mongodb.morphia.query.UpdateResults
Creates an UpdateResults
upperIndexBound(DBObject) - Method in interface org.mongodb.morphia.query.Query
Deprecated.
use the methods that accept Options directly. This can be replicated using options.modifier("$max", new Document(...))
upperIndexBound(DBObject) - Method in class org.mongodb.morphia.query.QueryImpl
Deprecated.
upsert(boolean) - Method in class org.mongodb.morphia.FindAndModifyOptions
Indicates that an upsert should be performed
upsert(boolean) - Method in class org.mongodb.morphia.UpdateOptions
Set to true if a new document should be inserted if there are no matches to the query filter.
URIConverter - Class in org.mongodb.morphia.converters
 
URIConverter() - Constructor for class org.mongodb.morphia.converters.URIConverter
Creates the Converter.
URIConverter(Class) - Constructor for class org.mongodb.morphia.converters.URIConverter
 
useReadPreference(ReadPreference) - Method in interface org.mongodb.morphia.query.Query
Deprecated.
use the methods that accept Options directly
useReadPreference(ReadPreference) - Method in class org.mongodb.morphia.query.QueryImpl
Deprecated.
UUIDConverter - Class in org.mongodb.morphia.converters
provided by http://code.google.com/p/morphia/issues/detail?id=320
UUIDConverter() - Constructor for class org.mongodb.morphia.converters.UUIDConverter
Creates the Converter.

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(Mapper) - Method in class org.mongodb.morphia.mapping.MappedClass
Validates this MappedClass
validate(Mapper, MappedClass) - Method in class org.mongodb.morphia.mapping.validation.MappingValidator
Deprecated.
validate(Mapper, List<MappedClass>) - Method in class org.mongodb.morphia.mapping.validation.MappingValidator
Validates a List of MappedClasses
validate(MappedField, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.AllOperationValidator
 
validate(Class<?>, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.DefaultTypeValidator
 
validate(Class<?>, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.DoubleTypeValidator
 
validate(Class<?>, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.EntityAnnotatedValueValidator
 
validate(MappedField, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.ExistsOperationValidator
 
validate(MappedField, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.GeoWithinOperationValidator
 
validate(MappedField, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.InOperationValidator
 
validate(Class<?>, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.IntegerTypeValidator
 
validate(Class<?>, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.KeyValueTypeValidator
 
validate(Class<?>, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.ListValueValidator
 
validate(Class<?>, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.LongTypeValidator
 
validate(MappedField, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.ModOperationValidator
 
validate(MappedField, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.NotInOperationValidator
 
validate(MappedField, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.OperationValidator
Performs the actual validation, and assumes appliesTo has returned true
validate(Class<?>, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.PatternValueValidator
 
validate(MappedField, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.SizeOperationValidator
 
validate(Class<?>, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.TypeValidator
 
validate(Class<?>, Object, List<ValidationFailure>) - Method in class org.mongodb.morphia.query.validation.ValueValidator
 
Validation - Annotation Type in org.mongodb.morphia.annotations
Defines the document validation logic for a collection.
ValidationBuilder - Class in org.mongodb.morphia
This is an internal class subject to change and removal.
ValidationBuilder() - Constructor for class org.mongodb.morphia.ValidationBuilder
 
ValidationException - Exception in org.mongodb.morphia.query
Error during validation.
ValidationException(String) - Constructor for exception org.mongodb.morphia.query.ValidationException
Creates a ValidationException with a message and a cause
ValidationException(String, Throwable) - Constructor for exception org.mongodb.morphia.query.ValidationException
Creates a ValidationException with a message and a cause
ValidationFailure - Class in org.mongodb.morphia.query.validation
Represents a validation failure.
ValidationFailure(String) - Constructor for class org.mongodb.morphia.query.validation.ValidationFailure
Creates a ValidationFailure with a message
Validator - Interface in org.mongodb.morphia.query.validation
Marker interface for validators.
value() - Method in class org.mongodb.morphia.ValidationBuilder
 
value(String) - Method in class org.mongodb.morphia.ValidationBuilder
 
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
Deprecated.
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.Meta.MetaDataKeyword
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
Deprecated.
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.Meta.MetaDataKeyword
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
 
verbose(Boolean) - Method in class org.mongodb.morphia.MapReduceOptions
Sets the verbosity of the MapReduce job, defaults to 'true'
Version - Annotation Type in org.mongodb.morphia.annotations
supposed to be used on a Long or long field for optimistic locking.
VersionMisuse - Class in org.mongodb.morphia.mapping.validation.fieldrules
 
VersionMisuse(ObjectFactory) - Constructor for class org.mongodb.morphia.mapping.validation.fieldrules.VersionMisuse
Creates a version validator.

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(String) - Method in class org.mongodb.morphia.query.QueryImpl
 
where(CodeWScope) - Method in class org.mongodb.morphia.query.QueryImpl
 
WhereCriteria - Class in org.mongodb.morphia.query
Creates a Criteria for a $where clause.
WhereCriteria(String) - Constructor for class org.mongodb.morphia.query.WhereCriteria
Creates a WhereCriteria with the given javascript
WhereCriteria(CodeWScope) - Constructor for class org.mongodb.morphia.query.WhereCriteria
Creates a WhereCriteria with the given javascript
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
 
writeConcern(WriteConcern) - Method in class org.mongodb.morphia.DeleteOptions
Sets the write concern
writeConcern(WriteConcern) - Method in class org.mongodb.morphia.FindAndModifyOptions
Sets the writeConcern
writeConcern(WriteConcern) - Method in class org.mongodb.morphia.InsertOptions
Set the write concern to use for the insert.
writeConcern(WriteConcern) - Method in class org.mongodb.morphia.UpdateOptions
Sets the write concern

_

__add(Key) - Method in class org.mongodb.morphia.mapping.lazy.proxy.CollectionObjectReference
 
__add(Key<?>) - Method in interface org.mongodb.morphia.mapping.lazy.proxy.ProxiedEntityReferenceList
 
__addAll(Collection<? extends Key<?>>) - Method in class org.mongodb.morphia.mapping.lazy.proxy.CollectionObjectReference
 
__addAll(Collection<? extends Key<?>>) - Method in interface org.mongodb.morphia.mapping.lazy.proxy.ProxiedEntityReferenceList
 
__getKey() - Method in class org.mongodb.morphia.mapping.lazy.proxy.EntityObjectReference
 
__getKey() - Method in interface org.mongodb.morphia.mapping.lazy.proxy.ProxiedEntityReference
 
__getKeysAsList() - Method in class org.mongodb.morphia.mapping.lazy.proxy.CollectionObjectReference
 
__getKeysAsList() - Method in interface org.mongodb.morphia.mapping.lazy.proxy.ProxiedEntityReferenceList
 
__getReferenceMap() - Method in class org.mongodb.morphia.mapping.lazy.proxy.MapObjectReference
 
__getReferenceMap() - Method in interface org.mongodb.morphia.mapping.lazy.proxy.ProxiedEntityReferenceMap
 
__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 class org.mongodb.morphia.mapping.lazy.proxy.MapObjectReference
 
__put(Object, Key<?>) - Method in interface org.mongodb.morphia.mapping.lazy.proxy.ProxiedEntityReferenceMap
 
__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 _ 
Skip navigation links