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

A

AbstractCriteria - Class in dev.morphia.query
Defines the base Criteria implementation.
AbstractCriteria() - Constructor for class dev.morphia.query.AbstractCriteria
 
AbstractEntityInterceptor - Class in dev.morphia
 
AbstractEntityInterceptor() - Constructor for class dev.morphia.AbstractEntityInterceptor
 
AbstractQueryFactory - Class in dev.morphia.query
An abstract implementation of QueryFactory.
AbstractQueryFactory() - Constructor for class dev.morphia.query.AbstractQueryFactory
 
AbstractReference - Class in dev.morphia.mapping.lazy.proxy
 
AbstractReference(Datastore, Class, boolean) - Constructor for class dev.morphia.mapping.lazy.proxy.AbstractReference
 
accumulator(String, Object) - Static method in class dev.morphia.aggregation.Accumulator
Defines an accumulator for use in an aggregation pipeline.
accumulator(String, String) - Static method in class dev.morphia.aggregation.Accumulator
Defines an accumulator for use in an aggregation pipeline.
Accumulator - Class in dev.morphia.aggregation
Defines an accumulator for use in an aggregation pipeline.
Accumulator(String, Object) - Constructor for class dev.morphia.aggregation.Accumulator
Defines an accumulator for use in an aggregation pipeline.
Accumulator(String, String) - Constructor for class dev.morphia.aggregation.Accumulator
Defines an accumulator for use in an aggregation pipeline.
action() - Method in annotation type dev.morphia.annotations.Validation
 
action() - Method in class dev.morphia.ValidationBuilder
 
action(ValidationAction) - Method in class dev.morphia.ValidationBuilder
 
actLikeSerializer(boolean) - Method in class dev.morphia.mapping.MapperOptions.Builder
Deprecated. 
add(Criteria...) - Method in interface dev.morphia.query.CriteriaContainer
Adds Criteria to this container
add(Criteria...) - Method in class dev.morphia.query.CriteriaContainerImpl
 
add(Criteria...) - Method in class dev.morphia.query.QueryImpl
 
add(UpdateOperator, String, Object, boolean) - Method in class dev.morphia.query.UpdateOpsImpl
 
add(Object...) - Static method in class dev.morphia.aggregation.Projection
Creates an addition projection
add(String, Object) - Method in interface dev.morphia.query.UpdateOperations
add(String, Object) - Method in class dev.morphia.query.UpdateOpsImpl
Deprecated.
add(String, Object, boolean) - Method in interface dev.morphia.query.UpdateOperations
add(String, Object, boolean) - Method in class dev.morphia.query.UpdateOpsImpl
Deprecated.
ADD_TO_SET - dev.morphia.query.UpdateOperator
 
ADD_TO_SET_EACH - dev.morphia.query.UpdateOperator
 
addAll(String, List<?>, boolean) - Method in interface dev.morphia.query.UpdateOperations
addAll(String, List<?>, boolean) - Method in class dev.morphia.query.UpdateOpsImpl
Deprecated.
addAnnotation(Class<? extends Annotation>) - Method in class dev.morphia.mapping.EphemeralMappedField
 
addAnnotation(Class<? extends Annotation>) - Method in class dev.morphia.mapping.MappedField
Deprecated.
Adds the annotation, if it exists on the field.
addAnnotation(Class<? extends Annotation>, Annotation) - Method in class dev.morphia.mapping.EphemeralMappedField
 
addAnnotation(Class<? extends Annotation>, Annotation) - Method in class dev.morphia.mapping.MappedClass
Deprecated.
Adds the given Annotation to the internal list for the given Class.
addAnnotation(Class<? extends Annotation>, Annotation) - Method in class dev.morphia.mapping.MappedField
Deprecated.
Adds the annotation, if it exists on the field.
addConverter(TypeConverter) - Method in class dev.morphia.converters.Converters
Deprecated.
Add a type converter.
addConverter(Class<? extends TypeConverter>) - Method in class dev.morphia.converters.Converters
Deprecated.
Adds a TypeConverter to this bundle.
addInterceptor(EntityInterceptor) - Method in class dev.morphia.mapping.Mapper
Deprecated.
addInterestingAnnotation(Class<? extends Annotation>) - Static method in class dev.morphia.mapping.MappedClass
Deprecated.
Adds an annotation for Morphia to retain when mapping.
addInterestingAnnotation(Class<? extends Annotation>) - Static method in class dev.morphia.mapping.MappedField
Deprecated.
Adds an annotation for Morphia to retain when mapping.
addMappedClass(Class) - Method in class dev.morphia.mapping.Mapper
Deprecated.
Creates a MappedClass and validates it.
addToSet(String) - Static method in class dev.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) - Method in class dev.morphia.query.BucketAutoOptions.OutputOperation
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) - Method in class dev.morphia.query.BucketOptions.OutputOperation
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, Iterable<?>) - Method in interface dev.morphia.query.UpdateOperations
adds the values to an array field if they doesn't already exist in the array
addToSet(String, Iterable<?>) - Method in class dev.morphia.query.UpdateOpsImpl
 
addToSet(String, Object) - Method in interface dev.morphia.query.UpdateOperations
adds the value to an array field if it doesn't already exist in the array
addToSet(String, Object) - Method in class dev.morphia.query.UpdateOpsImpl
 
addToSet(String, List<?>) - Method in interface dev.morphia.query.UpdateOperations
adds the values to an array field if they doesn't already exist in the array
addToSet(String, List<?>) - Method in class dev.morphia.query.UpdateOpsImpl
 
AdvancedDatastore - Interface in dev.morphia
This interface exposes advanced Datastore features, like interacting with DBObject and low-level options.
aggregate(Class<U>) - Method in interface dev.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>) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
 
aggregate(Class<U>, AggregationOptions) - Method in interface dev.morphia.aggregation.AggregationPipeline
Executes the pipeline and aggregates the output in to the type mapped by the target type.
aggregate(Class<U>, AggregationOptions) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
 
aggregate(Class<U>, AggregationOptions, ReadPreference) - Method in interface dev.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 class dev.morphia.aggregation.AggregationPipelineImpl
 
aggregate(String, Class<U>, AggregationOptions, ReadPreference) - Method in interface dev.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 class dev.morphia.aggregation.AggregationPipelineImpl
 
AggregationPipeline - Interface in dev.morphia.aggregation
This defines the pipeline used in aggregation operations
AggregationPipelineImpl - Class in dev.morphia.aggregation
Implementation of an AggregationPipeline.
AggregationPipelineImpl(DatastoreImpl, DBCollection, Class) - Constructor for class dev.morphia.aggregation.AggregationPipelineImpl
Creates an AggregationPipeline
ALL - dev.morphia.query.FilterOperator
 
AllOperationValidator - Class in dev.morphia.query.validation
Validates a query that uses the FilterOperator.ALL operator.
AlsoLoad - Annotation Type in dev.morphia.annotations
Annotation which helps migrate schemas by loading one of several possible properties in the document into fields or methods.
alternate() - Method in annotation type dev.morphia.annotations.Collation
Controls whether spaces and punctuation are considered base characters
and(Criteria...) - Method in interface dev.morphia.query.CriteriaContainer
Ands Criteria with this CriteriaContainer.
and(Criteria...) - Method in class dev.morphia.query.CriteriaContainerImpl
 
and(Criteria...) - Method in interface dev.morphia.query.Query
Creates a container to hold 'and' clauses
and(Criteria...) - Method in class dev.morphia.query.QueryImpl
 
AND - dev.morphia.query.CriteriaJoin
 
annotationType() - Method in class dev.morphia.ValidationBuilder
 
appliesTo(Class<?>) - Method in class dev.morphia.query.validation.DefaultTypeValidator
Always returns true, applies to all types
appliesTo(Class<?>) - Method in class dev.morphia.query.validation.DoubleTypeValidator
 
appliesTo(Class<?>) - Method in class dev.morphia.query.validation.EntityAnnotatedValueValidator
 
appliesTo(Class<?>) - Method in class dev.morphia.query.validation.IntegerTypeValidator
 
appliesTo(Class<?>) - Method in class dev.morphia.query.validation.LongTypeValidator
 
appliesTo(Class<?>) - Method in class dev.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 dev.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 dev.morphia.query.validation.OperationValidator
Apply validation for the given operator.
apply(Class<?>, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.TypeValidator
Apply validation for the given field.
apply(Class<?>, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.ValueValidator
Applied validation for the given field.
ARRAY - dev.morphia.query.Type
 
ArraySlice - Class in dev.morphia.query
Defines array slicing options for query projections.
ArraySlice(int) - Constructor for class dev.morphia.query.ArraySlice
Specifies the number of array elements to return
ArraySlice(int, int) - Constructor for class dev.morphia.query.ArraySlice
Specifies the number of array elements to skip.
ascending(String) - Static method in class dev.morphia.aggregation.Sort
Deprecated.
ascending(String) - Static method in class dev.morphia.query.Sort
Creates an ascending sort on a field
asKeyList() - Method in interface dev.morphia.query.Query
Deprecated.
asKeyList() - Method in class dev.morphia.query.QueryImpl
 
asKeyList(FindOptions) - Method in interface dev.morphia.query.Query
Deprecated.
asKeyList(FindOptions) - Method in class dev.morphia.query.QueryImpl
 
asList() - Method in interface dev.morphia.query.Query
Deprecated.
asList() - Method in class dev.morphia.query.QueryImpl
 
asList(FindOptions) - Method in interface dev.morphia.query.Query
Deprecated.
asList(FindOptions) - Method in class dev.morphia.query.QueryImpl
 
assertDependencyFullFilled() - Static method in class dev.morphia.mapping.lazy.LazyFeatureDependencies
Checks that the dependencies to support lazy proxies are present
attach(CriteriaContainer) - Method in class dev.morphia.query.AbstractCriteria
 
attach(CriteriaContainer) - Method in interface dev.morphia.query.Criteria
Used to add this Criteria to a CriteriaContainer
attach(CriteriaContainer) - Method in class dev.morphia.query.QueryImpl
 
AuthenticationException - Exception in dev.morphia
Deprecated.
unused
AuthenticationException(String) - Constructor for exception dev.morphia.AuthenticationException
Deprecated.
Creates an instance with the given message
average(String) - Static method in class dev.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.
average(String) - Method in class dev.morphia.query.BucketAutoOptions.OutputOperation
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.
average(String) - Method in class dev.morphia.query.BucketOptions.OutputOperation
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

background() - Method in annotation type dev.morphia.annotations.Index
Deprecated.
use the IndexOptions found in Index.options()
background() - Method in annotation type dev.morphia.annotations.Indexed
Deprecated.
background() - Method in annotation type dev.morphia.annotations.IndexOptions
 
backwards() - Method in annotation type dev.morphia.annotations.Collation
Causes secondary differences to be considered in reverse order, as it is done in the French language
BasicDAO<T,​K> - Class in dev.morphia.dao
Deprecated.
This interface poorly tracks Datastore's API. Use Datastore directly or wrap in an application specific DAO
BasicDAO(MongoClient, Morphia, String) - Constructor for class dev.morphia.dao.BasicDAO
Deprecated.
Only calls this from your derived class when you explicitly declare the generic types with concrete classes
BasicDAO(Datastore) - Constructor for class dev.morphia.dao.BasicDAO
Deprecated.
 
BasicDAO(Class<T>, MongoClient, Morphia, String) - Constructor for class dev.morphia.dao.BasicDAO
Deprecated.
Create a new BasicDAO
BasicDAO(Class<T>, Datastore) - Constructor for class dev.morphia.dao.BasicDAO
Deprecated.
Create a new BasicDAO
basicValidate() - Method in class dev.morphia.mapping.MappedClass
Deprecated.
 
batchSize(int) - Method in class dev.morphia.query.FindOptions
Sets the number of documents to return per batch.
batchSize(int) - Method in class dev.morphia.query.internal.MappingIterable
 
batchSize(int) - Method in interface dev.morphia.query.Query
Deprecated.
use the methods that accept Options directly
batchSize(int) - Method in class dev.morphia.query.QueryImpl
Deprecated.
beforeWriteObject() - Method in class dev.morphia.mapping.lazy.proxy.AbstractReference
 
beforeWriteObject() - Method in class dev.morphia.mapping.lazy.proxy.CollectionObjectReference
 
beforeWriteObject() - Method in class dev.morphia.mapping.lazy.proxy.EntityObjectReference
 
beforeWriteObject() - Method in class dev.morphia.mapping.lazy.proxy.MapObjectReference
 
BigDecimalConverter - Class in dev.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 dev.morphia.converters.BigDecimalConverter
Creates the Converter.
BINARY_DATA - dev.morphia.query.Type
 
BOOLEAN - dev.morphia.query.Type
 
BooleanConverter - Class in dev.morphia.converters
 
BooleanConverter() - Constructor for class dev.morphia.converters.BooleanConverter
Creates the Converter.
box(Shape.Point, Shape.Point) - Static method in class dev.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.
bucket(String, List<?>) - Method in interface dev.morphia.aggregation.AggregationPipeline
Categorizes incoming documents into groups, called buckets, based on a specified expression and bucket boundaries.
bucket(String, List<?>) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
 
bucket(String, List<?>, BucketOptions) - Method in interface dev.morphia.aggregation.AggregationPipeline
Categorizes incoming documents into groups, called buckets, based on a specified expression and bucket boundaries.
bucket(String, List<?>, BucketOptions) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
 
bucketAuto(String, int) - Method in interface dev.morphia.aggregation.AggregationPipeline
Categorizes incoming documents into a specific number of groups, called buckets, based on a specified expression.
bucketAuto(String, int) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
 
bucketAuto(String, int, BucketAutoOptions) - Method in interface dev.morphia.aggregation.AggregationPipeline
Categorizes incoming documents into a specific number of groups, called buckets, based on a specified expression.
bucketAuto(String, int, BucketAutoOptions) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
 
BucketAutoOptions - Class in dev.morphia.query
The options for a bucket auto stage of aggregation pipeline.
BucketAutoOptions() - Constructor for class dev.morphia.query.BucketAutoOptions
 
BucketAutoOptions.Granularity - Enum in dev.morphia.query
A value that specifies the preferred number series to use to ensure that the calculated boundary edges end on preferred round numbers or their powers of 10.
BucketAutoOptions.OutputOperation - Class in dev.morphia.query
Defines an output for bucketauto stage, that consists of the fieldname and the accumulator
BucketOptions - Class in dev.morphia.query
The options for a bucket stage of aggregation pipeline.
BucketOptions() - Constructor for class dev.morphia.query.BucketOptions
 
BucketOptions.OutputOperation - Class in dev.morphia.query
Defines an output for bucketauto stage, that consists of the fieldname and the accumulator
build() - Method in class dev.morphia.aggregation.GeoNear.GeoNearBuilder
 
build() - Method in class dev.morphia.geo.PointBuilder
Creates an immutable point
build() - Method in class dev.morphia.mapping.MapperOptions.Builder
 
builder() - Static method in class dev.morphia.mapping.MapperOptions
Deprecated.
continued use of this method will result in different options being applied in 2.0. To maintain the current settings please use MapperOptions.legacy() instead.
builder(MapperOptions) - Static method in class dev.morphia.mapping.MapperOptions
 
builder(String) - Static method in class dev.morphia.aggregation.GeoNear
Creates a builder for a GeoNear pipeline stage
bypassDocumentValidation(Boolean) - Method in class dev.morphia.FindAndModifyOptions
Sets the bypassDocumentValidation
bypassDocumentValidation(Boolean) - Method in class dev.morphia.InsertOptions
Sets whether to bypass document validation.
bypassDocumentValidation(Boolean) - Method in class dev.morphia.MapReduceOptions
Deprecated.
Sets whether to bypass document validation.
bypassDocumentValidation(Boolean) - Method in class dev.morphia.UpdateOptions
Sets the bypass document level validation flag.
ByteConverter - Class in dev.morphia.converters
 
ByteConverter() - Constructor for class dev.morphia.converters.ByteConverter
Creates the Converter.

C

cacheClassLookups(boolean) - Method in class dev.morphia.mapping.MapperOptions.Builder
 
cacheFactory(EntityCacheFactory) - Method in class dev.morphia.mapping.MapperOptions.Builder
 
callLifecycleMethods(Class<? extends Annotation>, Object, DBObject, Mapper) - Method in class dev.morphia.mapping.MappedClass
Deprecated.
Call the lifecycle methods
cap() - Method in annotation type dev.morphia.annotations.Entity
 
CappedAt - Annotation Type in dev.morphia.annotations
Properties for capped collections; used in Entity
caseFirst() - Method in annotation type dev.morphia.annotations.Collation
Determines if Uppercase or lowercase values should come first
caseLevel() - Method in annotation type dev.morphia.annotations.Collation
Turns on case sensitivity
center(Shape.Point, double) - Static method in class dev.morphia.query.Shape
Specifies a circle for a $geoWithin query.
centerSphere(Shape.Point, double) - Static method in class dev.morphia.query.Shape
Specifies a circle for a geospatial query that uses spherical geometry.
CGLibLazyProxyFactory - Class in dev.morphia.mapping.lazy
i have to admit, there are plenty of open questions for me on that Key-business...
CGLibLazyProxyFactory() - Constructor for class dev.morphia.mapping.lazy.CGLibLazyProxyFactory
 
CharacterConverter - Class in dev.morphia.converters
 
CharacterConverter() - Constructor for class dev.morphia.converters.CharacterConverter
Creates the Converter.
CharArrayConverter - Class in dev.morphia.converters
 
CharArrayConverter() - Constructor for class dev.morphia.converters.CharArrayConverter
Creates the Converter.
check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.ContradictingFieldAnnotation
 
check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.FieldConstraint
 
check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.IdDoesNotMix
 
check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.LazyReferenceMissingDependencies
 
check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.LazyReferenceOnArray
 
check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.MapKeyDifferentFromString
 
check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.MapNotSerializable
 
check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.MisplacedProperty
 
check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.ReferenceToUnidentifiable
 
check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.VersionMisuse
 
check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in interface dev.morphia.mapping.validation.ClassConstraint
Check that a MappedClass meets the constraint
check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.classrules.ContainsEmbeddedWithId
 
check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.classrules.DuplicatedAttributeNames
 
check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.classrules.EmbeddedAndId
 
check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.classrules.EmbeddedAndValue
 
check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.classrules.EntityAndEmbed
 
check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.classrules.EntityCannotBeMapOrIterable
 
check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.classrules.MultipleId
 
check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.classrules.MultipleVersions
 
check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.classrules.NoId
 
check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.FieldConstraint
 
CLASS_NAME_FIELDNAME - Static variable in class dev.morphia.mapping.Mapper
Deprecated. 
ClassConstraint - Interface in dev.morphia.mapping.validation
 
ClassConverter - Class in dev.morphia.converters
 
ClassConverter() - Constructor for class dev.morphia.converters.ClassConverter
Creates the Converter.
classLoader(ClassLoader) - Method in class dev.morphia.mapping.MapperOptions.Builder
 
clear() - Method in class relocated.morphia.org.apache.commons.collections.ReferenceMap
Clears this map.
cloneQuery() - Method in interface dev.morphia.query.Query
Deprecated.
not supported in 2.0
cloneQuery() - Method in class dev.morphia.query.QueryImpl
 
close() - Method in class dev.morphia.query.internal.MorphiaCursor
Closes the underlying cursor.
close() - Method in class dev.morphia.query.internal.MorphiaKeyCursor
Closes the underlying cursor.
close() - Method in class dev.morphia.query.MorphiaIterator
Deprecated.
Closes the underlying cursor.
collation() - Method in annotation type dev.morphia.annotations.IndexOptions
 
collation(Collation) - Method in class dev.morphia.DeleteOptions
Sets the collation
collation(Collation) - Method in class dev.morphia.FindAndModifyOptions
Sets the collation
collation(Collation) - Method in class dev.morphia.MapReduceOptions
Deprecated.
Sets the collation options
collation(Collation) - Method in class dev.morphia.query.CountOptions
Sets the collation
collation(Collation) - Method in class dev.morphia.query.FindOptions
Sets the collation
collation(Collation) - Method in class dev.morphia.UpdateOptions
Sets the collation
Collation - Annotation Type in dev.morphia.annotations
Defines the collation options for an index
CollectionObjectReference<T> - Class in dev.morphia.mapping.lazy.proxy
A list of proxied elements
CollectionObjectReference(Collection<T>, Class<T>, boolean, Datastore) - Constructor for class dev.morphia.mapping.lazy.proxy.CollectionObjectReference
Creates a CollectionObjectReference
CollectionReference<C extends java.util.Collection> - Class in dev.morphia.mapping.experimental
 
comment(String) - Method in class dev.morphia.query.FindOptions
 
comment(String) - Method in interface dev.morphia.query.Query
Deprecated.
use the methods that accept Options directly. This can be replicated with FindOptions.comment(String)
comment(String) - Method in class dev.morphia.query.QueryImpl
Deprecated.
compareTo(Key<T>) - Method in class dev.morphia.Key
 
concern() - Method in annotation type dev.morphia.annotations.Entity
 
concreteClass() - Method in annotation type dev.morphia.annotations.Embedded
Deprecated.
unused in 2.x
concreteClass() - Method in annotation type dev.morphia.annotations.Property
 
concreteClass() - Method in annotation type dev.morphia.annotations.Reference
Deprecated.
unimplemented
ConstraintViolation - Class in dev.morphia.mapping.validation
 
ConstraintViolation(ConstraintViolation.Level, MappedClass, MappedField, Class<? extends ClassConstraint>, String) - Constructor for class dev.morphia.mapping.validation.ConstraintViolation
Creates a violation instance to record invalid mapping metadata
ConstraintViolation(ConstraintViolation.Level, MappedClass, Class<? extends ClassConstraint>, String) - Constructor for class dev.morphia.mapping.validation.ConstraintViolation
Creates a violation instance to record invalid mapping metadata
ConstraintViolation.Level - Enum in dev.morphia.mapping.validation
Levels of constraint violations
ConstraintViolationException - Exception in dev.morphia.mapping.validation
 
ConstraintViolationException(ConstraintViolation...) - Constructor for exception dev.morphia.mapping.validation.ConstraintViolationException
Creates a ConstraintViolationException with the set of violations
ConstraintViolationException(Collection<ConstraintViolation>) - Constructor for exception dev.morphia.mapping.validation.ConstraintViolationException
Creates a ConstraintViolationException with the set of violations
ConstructorArgs - Annotation Type in dev.morphia.annotations
Deprecated.
incomplete. will be reworked in the 2.x timeframe
contains(String) - Method in interface dev.morphia.query.FieldEnd
Checks if a field contains a value
contains(String) - Method in class dev.morphia.query.FieldEndImpl
 
ContainsEmbeddedWithId - Class in dev.morphia.mapping.validation.classrules
 
ContainsEmbeddedWithId() - Constructor for class dev.morphia.mapping.validation.classrules.ContainsEmbeddedWithId
 
containsIgnoreCase(String) - Method in interface dev.morphia.query.FieldEnd
Checks if a field contains a value ignoring the case of the values
containsIgnoreCase(String) - Method in class dev.morphia.query.FieldEndImpl
 
containsJavaFieldName(String) - Method in class dev.morphia.mapping.MappedClass
Deprecated.
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 dev.morphia.InsertOptions
Deprecated.
this value is not supported in 2.0
ContradictingFieldAnnotation - Class in dev.morphia.mapping.validation.fieldrules
 
ContradictingFieldAnnotation(Class<? extends Annotation>, Class<? extends Annotation>) - Constructor for class dev.morphia.mapping.validation.fieldrules.ContradictingFieldAnnotation
Creates a ContradictingFieldAnnotation validation with the two incompatible annotations.
convert() - Method in class dev.morphia.geo.CoordinateReferenceSystem
Converts this type to the driver type
convert() - Method in interface dev.morphia.geo.Geometry
Converts this type to the driver type
convert() - Method in class dev.morphia.geo.LineString
 
convert() - Method in class dev.morphia.geo.MultiLineString
 
convert() - Method in class dev.morphia.geo.MultiPoint
 
convert() - Method in class dev.morphia.geo.MultiPolygon
 
convert() - Method in class dev.morphia.geo.NamedCoordinateReferenceSystem
 
convert() - Method in class dev.morphia.geo.Point
 
convert() - Method in class dev.morphia.geo.Polygon
 
convert(CoordinateReferenceSystem) - Method in interface dev.morphia.geo.Geometry
Converts this type to the driver type
convert(CoordinateReferenceSystem) - Method in class dev.morphia.geo.LineString
 
convert(CoordinateReferenceSystem) - Method in class dev.morphia.geo.MultiLineString
 
convert(CoordinateReferenceSystem) - Method in class dev.morphia.geo.MultiPoint
 
convert(CoordinateReferenceSystem) - Method in class dev.morphia.geo.MultiPolygon
 
convert(CoordinateReferenceSystem) - Method in class dev.morphia.geo.Point
 
convert(CoordinateReferenceSystem) - Method in class dev.morphia.geo.Polygon
 
ConverterException - Exception in dev.morphia.converters
Indicates an error occurred trying to convert a value.
ConverterException(String) - Constructor for exception dev.morphia.converters.ConverterException
Creates the ConverterException.
ConverterNotFoundException - Exception in dev.morphia.converters
 
ConverterNotFoundException(String) - Constructor for exception dev.morphia.converters.ConverterNotFoundException
Creates the ConverterNotFoundException.
Converters - Class in dev.morphia.converters
Deprecated.
this mechanism is being replaced in 2.0
Converters - Annotation Type in dev.morphia.annotations
Declares converters required for this entity/class; converters are registered globally at time of the meta-data discovery.
Converters(Mapper) - Constructor for class dev.morphia.converters.Converters
Deprecated.
Creates a bundle with a particular Mapper.
convertItem(DBObject) - Method in class dev.morphia.query.MorphiaIterator
Deprecated.
 
convertItem(DBObject) - Method in class dev.morphia.query.MorphiaKeyIterator
Deprecated.
 
convertLineStrings(List<LineString>) - Static method in class dev.morphia.geo.GeoJson
 
convertPoints(List<Point>) - Static method in class dev.morphia.geo.GeoJson
 
CoordinateReferenceSystem - Class in dev.morphia.geo
Defines the coordinate reference system to be used in certain geo queries.
CoordinateReferenceSystem() - Constructor for class dev.morphia.geo.CoordinateReferenceSystem
 
CoordinateReferenceSystemType - Enum in dev.morphia.geo
An enumeration of the GeoJSON coordinate reference system types.
copy() - Method in class dev.morphia.DeleteOptions
Copies this instance to a new one.
copy() - Method in class dev.morphia.InsertOptions
Create a copy of the options instance.
copy() - Method in class dev.morphia.mapping.cache.EntityCacheStatistics
Copies the statistics
copy() - Method in class dev.morphia.query.FindOptions
Makes a copy of these find options
copy() - Method in class dev.morphia.UpdateOptions
Create a copy of the options instance.
copy(String) - Method in class dev.morphia.DatastoreImpl
count() - Method in annotation type dev.morphia.annotations.CappedAt
 
count() - Method in class dev.morphia.dao.BasicDAO
Deprecated.
 
count() - Method in interface dev.morphia.dao.DAO
Deprecated.
 
count() - Method in interface dev.morphia.query.Query
Count the total number of values in the result, ignoring limit and offset
count() - Method in class dev.morphia.query.QueryImpl
 
count(CountOptions) - Method in interface dev.morphia.query.Query
Count the total number of values in the result, ignoring limit and offset
count(CountOptions) - Method in class dev.morphia.query.QueryImpl
 
count(Query<T>) - Method in class dev.morphia.dao.BasicDAO
Deprecated.
 
count(Query<T>) - Method in interface dev.morphia.dao.DAO
Deprecated.
 
count(String, Object) - Method in class dev.morphia.dao.BasicDAO
Deprecated.
 
count(String, Object) - Method in interface dev.morphia.dao.DAO
Deprecated.
 
countAll() - Method in interface dev.morphia.query.Query
Deprecated.
use Query.count() instead
countAll() - Method in class dev.morphia.query.QueryImpl
Deprecated.
CountOptions - Class in dev.morphia.query
The options for a count operation.
CountOptions() - Constructor for class dev.morphia.query.CountOptions
 
createAggregation(Class) - Method in interface dev.morphia.Datastore
Returns a new query bound to the kind (a specific DBCollection)
createAggregation(Class) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
createAggregation(String, Class<?>) - Method in interface dev.morphia.AdvancedDatastore
Returns an AggregationPipeline bound to the given collection and class.
createAggregation(String, Class<?>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
createCache() - Method in class dev.morphia.mapping.cache.DefaultEntityCacheFactory
Creates a new DefaultEntityCache
createCache() - Method in interface dev.morphia.mapping.cache.EntityCacheFactory
Called for every query.
createDatastore(MongoClient, Mapper, String) - Method in class dev.morphia.Morphia
Creates a new Datastore for interacting with MongoDB using POJOs
createDatastore(MongoClient, String) - Method in class dev.morphia.Morphia
It is best to use a Mongo singleton instance here.
createDefaultProxyFactory() - Static method in class dev.morphia.mapping.lazy.LazyFeatureDependencies
Creates a LazyProxyFactory
createEntityCache() - Method in class dev.morphia.mapping.Mapper
Deprecated.
Creates a cache for tracking entities seen during processing
createInst(Class<T>) - Method in class dev.morphia.mapping.DefaultCreator
Deprecated.
createInstance(Mapper, MappedField, DBObject) - Method in class dev.morphia.mapping.DefaultCreator
 
createInstance(Mapper, MappedField, DBObject) - Method in interface dev.morphia.ObjectFactory
Creates an instance of the class defined in the discriminator field in the dbObject passed in.
createInstance(Class<T>) - Method in class dev.morphia.mapping.DefaultCreator
 
createInstance(Class<T>) - Method in interface dev.morphia.ObjectFactory
Creates an instance of the given class.
createInstance(Class<T>, DBObject) - Method in class dev.morphia.mapping.DefaultCreator
 
createInstance(Class<T>, DBObject) - Method in interface dev.morphia.ObjectFactory
Creates an instance of the class defined in the discriminator field in the dbObject passed in.
createList(MappedField) - Method in class dev.morphia.mapping.DefaultCreator
 
createList(MappedField) - Method in interface dev.morphia.ObjectFactory
Defines how morphia creates a List object.
createListProxy(Datastore, T, Class, boolean) - Method in class dev.morphia.mapping.lazy.CGLibLazyProxyFactory
 
createListProxy(Datastore, T, Class, boolean) - Method in interface dev.morphia.mapping.lazy.LazyProxyFactory
Creates a proxy for a List.
createMap(MappedField) - Method in class dev.morphia.mapping.DefaultCreator
 
createMap(MappedField) - Method in interface dev.morphia.ObjectFactory
Defines how morphia creates a Map object.
createMapProxy(Datastore, T, Class, boolean) - Method in class dev.morphia.mapping.lazy.CGLibLazyProxyFactory
 
createMapProxy(Datastore, T, Class, boolean) - Method in interface dev.morphia.mapping.lazy.LazyProxyFactory
Creates a proxy for a Map.
createProxy(Datastore, Class<T>, Key<T>, boolean) - Method in class dev.morphia.mapping.lazy.CGLibLazyProxyFactory
 
createProxy(Datastore, Class<T>, Key<T>, boolean) - Method in interface dev.morphia.mapping.lazy.LazyProxyFactory
Creates a proxy for a Class.
createQuery() - Method in class dev.morphia.dao.BasicDAO
Deprecated.
 
createQuery() - Method in interface dev.morphia.dao.DAO
Deprecated.
Starts a query for this DAO entities type
createQuery() - Method in class dev.morphia.MapreduceResults
Deprecated.
 
createQuery(Datastore) - Method in class dev.morphia.query.AbstractQueryFactory
 
createQuery(Datastore) - Method in interface dev.morphia.query.QueryFactory
Creates an unvalidated Query typically for use in aggregation pipelines.
createQuery(Datastore, DBCollection, Class<T>) - Method in class dev.morphia.query.AbstractQueryFactory
 
createQuery(Datastore, DBCollection, Class<T>) - Method in interface dev.morphia.query.QueryFactory
Creates and returns a Query for the given arguments.
createQuery(Datastore, DBCollection, Class<T>, DBObject) - Method in class dev.morphia.query.DefaultQueryFactory
 
createQuery(Datastore, DBCollection, Class<T>, DBObject) - Method in interface dev.morphia.query.QueryFactory
Creates and returns a Query for the given arguments.
createQuery(Class<T>) - Method in interface dev.morphia.Datastore
Returns a new query bound to the collection (a specific DBCollection)
createQuery(Class<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
createQuery(Class<T>, DBObject) - Method in interface dev.morphia.AdvancedDatastore
 
createQuery(Class<T>, DBObject) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
createQuery(String, Class<T>) - Method in interface dev.morphia.AdvancedDatastore
Deprecated.
this feature is being removed. no replacement is planned. see issue #1331
createQuery(String, Class<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
createQuery(String, Class<T>, DBObject) - Method in interface dev.morphia.AdvancedDatastore
Deprecated.
this feature is being removed. no replacement is planned. see issue #1331
createQuery(String, Class<T>, DBObject) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
createRef(Class<T>, V) - Method in interface dev.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 dev.morphia.DatastoreImpl
Deprecated.
 
createRef(T) - Method in interface dev.morphia.AdvancedDatastore
Creates a reference to the entity (using the current DB -can be null-, the collectionName, and id)
createRef(T) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
createSet(MappedField) - Method in class dev.morphia.mapping.DefaultCreator
 
createSet(MappedField) - Method in interface dev.morphia.ObjectFactory
Defines how morphia creates a Set object.
createUpdateOperations() - Method in class dev.morphia.dao.BasicDAO
Deprecated.
 
createUpdateOperations() - Method in interface dev.morphia.dao.DAO
Deprecated.
Starts a update-operations def for this DAO entities type
createUpdateOperations(Class<T>) - Method in interface dev.morphia.Datastore
The builder for all update operations
createUpdateOperations(Class<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
createUpdateOperations(Class<T>, DBObject) - Method in interface dev.morphia.AdvancedDatastore
Creates an UpdateOperations instance for the given type.
createUpdateOperations(Class<T>, DBObject) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
criteria(String) - Method in interface dev.morphia.query.CriteriaContainer
Creates a criteria against a field
criteria(String) - Method in class dev.morphia.query.CriteriaContainerImpl
 
criteria(String) - Method in interface dev.morphia.query.Query
Creates a criteria to apply against a field
criteria(String) - Method in class dev.morphia.query.QueryImpl
 
Criteria - Interface in dev.morphia.query
Internal class for building up query documents.
CriteriaContainer - Interface in dev.morphia.query
Internal class to represent groups of Criteria instances via $and and $or query clauses
CriteriaContainerImpl - Class in dev.morphia.query
Defines a container of Criteria and a join method.
CriteriaContainerImpl(CriteriaContainerImpl) - Constructor for class dev.morphia.query.CriteriaContainerImpl
 
CriteriaContainerImpl(CriteriaJoin) - Constructor for class dev.morphia.query.CriteriaContainerImpl
 
CriteriaContainerImpl(QueryImpl<?>, CriteriaJoin) - Constructor for class dev.morphia.query.CriteriaContainerImpl
 
CriteriaJoin - Enum in dev.morphia.query
Defines how to combine lists of criteria.
CRS_84 - Static variable in class dev.morphia.geo.NamedCoordinateReferenceSystem
The urn:ogc:def:crs:OGC:1.3:CRS84 Coordinate Reference System
CurrencyConverter - Class in dev.morphia.converters
 
CurrencyConverter() - Constructor for class dev.morphia.converters.CurrencyConverter
Creates the Converter.
cursor() - Method in class dev.morphia.query.internal.MappingIterable
 
cursor() - Method in class dev.morphia.query.QueryImpl
 
cursorType(CursorType) - Method in class dev.morphia.query.FindOptions
Sets the cursor type.
CustomConverters - Class in dev.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 dev.morphia.converters.CustomConverters
Creates a bundle with a particular Mapper.
CustomMapper - Interface in dev.morphia.mapping
Deprecated. 

D

DAO<T,​K> - Class in dev.morphia
Deprecated.
use dev.morphia.dao.BasicDAO
DAO<T,​K> - Interface in dev.morphia.dao
Deprecated.
This interface poorly tracks Datastore's API. Use Datastore directly or wrap in an application specific DAO
DAO(Class<T>, MongoClient, Morphia, String) - Constructor for class dev.morphia.DAO
Deprecated.
 
DAO(Class<T>, Datastore) - Constructor for class dev.morphia.DAO
Deprecated.
 
Datastore - Interface in dev.morphia
Datastore interface to get/delete/save objects
DatastoreImpl - Class in dev.morphia
Deprecated.
This is an internal implementation of a published API. No public alternative planned.
DatastoreImpl(Morphia, MongoClient, String) - Constructor for class dev.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 dev.morphia.DatastoreImpl
Deprecated.
This is not meant to be directly instantiated by end user code. Use Morphia.createDatastore(MongoClient, Mapper, String)
datastoreProvider(DatastoreProvider) - Method in class dev.morphia.mapping.MapperOptions.Builder
 
DatastoreProvider - Interface in dev.morphia.mapping.lazy
Deprecated.
DatastoreProviders are no longer necessary
DATE - dev.morphia.query.Type
 
DateConverter - Class in dev.morphia.converters
 
DateConverter() - Constructor for class dev.morphia.converters.DateConverter
Creates the Converter.
DateConverter(Class) - Constructor for class dev.morphia.converters.DateConverter
 
dateForm(DateStorage) - Method in class dev.morphia.mapping.MapperOptions.Builder
Deprecated.
This will be removed in 2.0. It is intended to bridge the gap when correcting the storage of data/time values in the database. DateStorage.UTC should be used and will be the default in 2.0. In 1.5 it is DateStorage.SYSTEM_DEFAULT for backwards compatibility.
DateStorage - Enum in dev.morphia.mapping
This enum is used to determine how Java 8 dates and times are stored in the database.
debug(String) - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
debug(String) - Method in class dev.morphia.logging.jdk.JDKLogger
 
debug(String) - Method in interface dev.morphia.logging.Logger
Logs a message at this level.
debug(String) - Method in class dev.morphia.logging.SilentLogger
 
debug(String, Object...) - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
debug(String, Object...) - Method in class dev.morphia.logging.jdk.JDKLogger
 
debug(String, Object...) - Method in interface dev.morphia.logging.Logger
Logs a message at this level.
debug(String, Object...) - Method in class dev.morphia.logging.SilentLogger
 
debug(String, Throwable) - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
debug(String, Throwable) - Method in class dev.morphia.logging.jdk.JDKLogger
 
debug(String, Throwable) - Method in interface dev.morphia.logging.Logger
Logs a message at this level.
debug(String, Throwable) - Method in class dev.morphia.logging.SilentLogger
 
dec(String) - Method in interface dev.morphia.query.UpdateOperations
Decrements the numeric field by 1
dec(String) - Method in class dev.morphia.query.UpdateOpsImpl
 
dec(String, Number) - Method in interface dev.morphia.query.UpdateOperations
Decrements the numeric field by value (must be a positive Double, Float, Long, or Integer).
dec(String, Number) - Method in class dev.morphia.query.UpdateOpsImpl
 
decode(Datastore, Mapper, MappedField, DBObject) - Static method in class dev.morphia.mapping.experimental.MapReference
Decodes a document in to entities
decode(Datastore, Mapper, MappedField, Class, DBObject) - Static method in class dev.morphia.mapping.experimental.CollectionReference
Decodes a document in to entities
decode(Datastore, Mapper, MappedField, Class, DBObject) - Static method in class dev.morphia.mapping.experimental.SingleReference
Decodes a document in to an entity
decode(Class<?>, Object, MappedField) - Method in class dev.morphia.converters.BigDecimalConverter
 
decode(Class<?>, Object, MappedField) - Method in class dev.morphia.converters.CurrencyConverter
 
decode(Class<?>, Object, MappedField) - Method in class dev.morphia.converters.DateConverter
 
decode(Class<?>, Object, MappedField) - Method in class dev.morphia.converters.experimental.ReferenceConverter
 
decode(Class<?>, Object, MappedField) - Method in class dev.morphia.converters.InstantConverter
 
decode(Class<?>, Object, MappedField) - Method in class dev.morphia.converters.LocalDateConverter
 
decode(Class<?>, Object, MappedField) - Method in class dev.morphia.converters.LocalDateTimeConverter
 
decode(Class<?>, Object, MappedField) - Method in class dev.morphia.converters.LocalTimeConverter
 
decode(Class<?>, Object, MappedField) - Method in class dev.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 dev.morphia.geo.GeometryConverter
 
decode(Class<?>, Object, MappedField) - Method in class dev.morphia.geo.GeometryQueryConverter
 
decode(Class<?>, Object, MappedField) - Method in class dev.morphia.geo.GeometryShapeConverter
 
decode(Class<?>, Object, MappedField) - Method in class dev.morphia.geo.NamedCoordinateReferenceSystemConverter
 
decode(Class, Object) - Method in class dev.morphia.converters.TypeConverter
decode the DBObject and provide the corresponding java (type-safe) object
decode(Class, Object, MappedField) - Method in class dev.morphia.converters.BooleanConverter
 
decode(Class, Object, MappedField) - Method in class dev.morphia.converters.ByteConverter
 
decode(Class, Object, MappedField) - Method in class dev.morphia.converters.CharacterConverter
 
decode(Class, Object, MappedField) - Method in class dev.morphia.converters.CharArrayConverter
 
decode(Class, Object, MappedField) - Method in class dev.morphia.converters.ClassConverter
 
decode(Class, Object, MappedField) - Method in class dev.morphia.converters.Converters
Deprecated.
decode the DBObject and provide the corresponding java (type-safe) object
NOTE: mf might be null
decode(Class, Object, MappedField) - Method in class dev.morphia.converters.DoubleConverter
 
decode(Class, Object, MappedField) - Method in class dev.morphia.converters.EnumConverter
 
decode(Class, Object, MappedField) - Method in class dev.morphia.converters.EnumSetConverter
 
decode(Class, Object, MappedField) - Method in class dev.morphia.converters.FloatConverter
 
decode(Class, Object, MappedField) - Method in class dev.morphia.converters.IdentityConverter
 
decode(Class, Object, MappedField) - Method in class dev.morphia.converters.IntegerConverter
 
decode(Class, Object, MappedField) - Method in class dev.morphia.converters.IterableConverter
 
decode(Class, Object, MappedField) - Method in class dev.morphia.converters.KeyConverter
 
decode(Class, Object, MappedField) - Method in class dev.morphia.converters.LocaleConverter
 
decode(Class, Object, MappedField) - Method in class dev.morphia.converters.LongConverter
 
decode(Class, Object, MappedField) - Method in class dev.morphia.converters.MapOfValuesConverter
 
decode(Class, Object, MappedField) - Method in class dev.morphia.converters.ObjectIdConverter
 
decode(Class, Object, MappedField) - Method in class dev.morphia.converters.SerializedObjectConverter
 
decode(Class, Object, MappedField) - Method in class dev.morphia.converters.ShortConverter
 
decode(Class, Object, MappedField) - Method in class dev.morphia.converters.StringConverter
 
decode(Class, Object, MappedField) - Method in class dev.morphia.converters.TimestampConverter
 
decode(Class, Object, MappedField) - Method in class dev.morphia.converters.URIConverter
 
decode(Class, Object, MappedField) - Method in class dev.morphia.converters.UUIDConverter
 
DefaultConverters - Class in dev.morphia.converters
Default encoders
DefaultConverters(Mapper) - Constructor for class dev.morphia.converters.DefaultConverters
Creates a bundle with a particular Mapper.
DefaultCreator - Class in dev.morphia.mapping
 
DefaultCreator() - Constructor for class dev.morphia.mapping.DefaultCreator
Creates a new DefaultCreator with no options
DefaultCreator(MapperOptions) - Constructor for class dev.morphia.mapping.DefaultCreator
Creates a new DefaultCreator with options
DefaultEntityCache - Class in dev.morphia.mapping.cache
This is the default EntityCache for Morphia
DefaultEntityCache() - Constructor for class dev.morphia.mapping.cache.DefaultEntityCache
 
DefaultEntityCacheFactory - Class in dev.morphia.mapping.cache
Default implementation of cache factory, returning the default entity cache.
DefaultEntityCacheFactory() - Constructor for class dev.morphia.mapping.cache.DefaultEntityCacheFactory
 
defaultField(Object) - Method in class dev.morphia.query.BucketOptions
Define default field for the bucket stage
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.
defaultMapper(CustomMapper) - Method in class dev.morphia.mapping.MapperOptions.Builder
 
DefaultQueryFactory - Class in dev.morphia.query
A default implementation of QueryFactory.
DefaultQueryFactory() - Constructor for class dev.morphia.query.DefaultQueryFactory
 
DefaultTypeValidator - Class in dev.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(Query<T>) - Method in interface dev.morphia.Datastore
Deletes entities based on the query
delete(Query<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
delete(Query<T>, WriteConcern) - Method in interface dev.morphia.Datastore
delete(Query<T>, WriteConcern) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
delete(Query<T>, DeleteOptions) - Method in interface dev.morphia.Datastore
Deletes entities based on the query
delete(Query<T>, DeleteOptions) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
delete(Class<T>, Iterable<V>) - Method in interface dev.morphia.Datastore
Deprecated.
delete(Class<T>, Iterable<V>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
delete(Class<T>, Iterable<V>, DeleteOptions) - Method in interface dev.morphia.Datastore
delete(Class<T>, Iterable<V>, DeleteOptions) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
delete(Class<T>, V) - Method in interface dev.morphia.Datastore
Deprecated.
delete(Class<T>, V) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
delete(Class<T>, V, DeleteOptions) - Method in interface dev.morphia.Datastore
delete(Class<T>, V, DeleteOptions) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
delete(String, Class<T>, V) - Method in interface dev.morphia.AdvancedDatastore
delete(String, Class<T>, V) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
delete(String, Class<T>, V, WriteConcern) - Method in interface dev.morphia.AdvancedDatastore
delete(String, Class<T>, V, WriteConcern) - Method in class dev.morphia.DatastoreImpl
Deprecated.
delete(String, Class<T>, V, DeleteOptions) - Method in interface dev.morphia.AdvancedDatastore
delete(String, Class<T>, V, DeleteOptions) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
delete(T) - Method in class dev.morphia.dao.BasicDAO
Deprecated.
 
delete(T) - Method in interface dev.morphia.dao.DAO
Deprecated.
Deletes an entity
delete(T) - Method in interface dev.morphia.Datastore
Deletes the given entity (by @Id)
delete(T) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
delete(T, WriteConcern) - Method in class dev.morphia.dao.BasicDAO
Deprecated.
 
delete(T, WriteConcern) - Method in interface dev.morphia.dao.DAO
Deprecated.
Deletes an entity
delete(T, WriteConcern) - Method in interface dev.morphia.Datastore
delete(T, WriteConcern) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
delete(T, DeleteOptions) - Method in interface dev.morphia.Datastore
Deletes the given entity (by @Id), with the WriteConcern
delete(T, DeleteOptions) - Method in class dev.morphia.DatastoreImpl
Deprecated.
Deletes the given entity (by @Id), with the WriteConcern
deleteById(K) - Method in class dev.morphia.dao.BasicDAO
Deprecated.
 
deleteById(K) - Method in interface dev.morphia.dao.DAO
Deprecated.
Delete the entity by id value
deleteByQuery(Query<T>) - Method in class dev.morphia.dao.BasicDAO
Deprecated.
 
deleteByQuery(Query<T>) - Method in interface dev.morphia.dao.DAO
Deprecated.
Delete the entity matching a query
DeleteOptions - Class in dev.morphia
The options to apply when removing documents from the DBCollection
DeleteOptions() - Constructor for class dev.morphia.DeleteOptions
Creates a new options instance.
descending(String) - Static method in class dev.morphia.aggregation.Sort
Deprecated.
descending(String) - Static method in class dev.morphia.query.Sort
Creates a descending sort on a field
deserialize(Object, boolean) - Static method in class dev.morphia.mapping.Serializer
deserializes DBBinary/byte[] to object
dev.morphia - package dev.morphia
 
dev.morphia.aggregation - package dev.morphia.aggregation
 
dev.morphia.annotations - package dev.morphia.annotations
 
dev.morphia.converters - package dev.morphia.converters
 
dev.morphia.converters.experimental - package dev.morphia.converters.experimental
 
dev.morphia.dao - package dev.morphia.dao
 
dev.morphia.geo - package dev.morphia.geo
 
dev.morphia.internal - package dev.morphia.internal
 
dev.morphia.logging - package dev.morphia.logging
 
dev.morphia.logging.jdk - package dev.morphia.logging.jdk
 
dev.morphia.mapping - package dev.morphia.mapping
 
dev.morphia.mapping.cache - package dev.morphia.mapping.cache
 
dev.morphia.mapping.experimental - package dev.morphia.mapping.experimental
 
dev.morphia.mapping.lazy - package dev.morphia.mapping.lazy
 
dev.morphia.mapping.lazy.proxy - package dev.morphia.mapping.lazy.proxy
 
dev.morphia.mapping.validation - package dev.morphia.mapping.validation
 
dev.morphia.mapping.validation.classrules - package dev.morphia.mapping.validation.classrules
 
dev.morphia.mapping.validation.fieldrules - package dev.morphia.mapping.validation.fieldrules
 
dev.morphia.query - package dev.morphia.query
 
dev.morphia.query.internal - package dev.morphia.query.internal
 
dev.morphia.query.validation - package dev.morphia.query.validation
 
disableCompression() - Method in annotation type dev.morphia.annotations.Serialized
Deprecated.
 
disableCursorTimeout() - Method in interface dev.morphia.query.Query
Deprecated.
use the methods that accept Options directly
disableCursorTimeout() - Method in class dev.morphia.query.QueryImpl
Deprecated.
disableEmbeddedIndexes(boolean) - Method in class dev.morphia.mapping.MapperOptions.Builder
 
disableValidation() - Method in annotation type dev.morphia.annotations.Index
Deprecated.
use the IndexOptions found in Index.options()
disableValidation() - Method in annotation type dev.morphia.annotations.IndexOptions
 
disableValidation() - Method in interface dev.morphia.query.Query
Turns off validation (for all calls made after)
disableValidation() - Method in class dev.morphia.query.QueryImpl
 
disableValidation() - Method in interface dev.morphia.query.UpdateOperations
Turns off validation (for all calls made after)
disableValidation() - Method in class dev.morphia.query.UpdateOpsImpl
 
discover(Mapper) - Method in class dev.morphia.mapping.MappedClass
Deprecated.
Discovers interesting (that we care about) things about the class.
discover(Mapper) - Method in class dev.morphia.mapping.MappedField
Deprecated.
Discovers interesting (that we care about) things about the field.
discoverType(Mapper) - Method in class dev.morphia.mapping.MappedField
Deprecated.
 
divide(Object, Object) - Static method in class dev.morphia.aggregation.Projection
Creates a division projection
doesNotExist() - Method in interface dev.morphia.query.FieldEnd
Checks that a field does not exist in a document
doesNotExist() - Method in class dev.morphia.query.FieldEndImpl
 
doesNotHaveThisElement(Object) - Method in interface dev.morphia.query.FieldEnd
Deprecated.
doesNotHaveThisElement(Object) - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
DOUBLE - dev.morphia.query.Type
 
DoubleConverter - Class in dev.morphia.converters
 
DoubleConverter() - Constructor for class dev.morphia.converters.DoubleConverter
Creates the Converter.
DoubleTypeValidator - Class in dev.morphia.query.validation
Validation for fields of Double/double type.
dropDups() - Method in annotation type dev.morphia.annotations.Index
Deprecated.
this functionality is no longer supported on the server
dropDups() - Method in annotation type dev.morphia.annotations.Indexed
Deprecated.
Support for this has been removed from the server. This value is ignored.
dropDups() - Method in annotation type dev.morphia.annotations.IndexOptions
Deprecated.
Support for this has been removed from the server. This value is ignored.
ds - Variable in class dev.morphia.dao.BasicDAO
Deprecated.
DuplicatedAttributeNames - Class in dev.morphia.mapping.validation.classrules
 
DuplicatedAttributeNames() - Constructor for class dev.morphia.mapping.validation.classrules.DuplicatedAttributeNames
 

E

E12 - dev.morphia.query.BucketAutoOptions.Granularity
 
E192 - dev.morphia.query.BucketAutoOptions.Granularity
 
E24 - dev.morphia.query.BucketAutoOptions.Granularity
 
E48 - dev.morphia.query.BucketAutoOptions.Granularity
 
E6 - dev.morphia.query.BucketAutoOptions.Granularity
 
E96 - dev.morphia.query.BucketAutoOptions.Granularity
 
EACH - dev.morphia.query.UpdateOperator
 
ELEMENT_MATCH - dev.morphia.query.FilterOperator
 
elemMatch(Query) - Method in interface dev.morphia.query.FieldEnd
Checks that a field matches the provided query definition
elemMatch(Query) - Method in class dev.morphia.query.FieldEndImpl
 
Embedded - Annotation Type in dev.morphia.annotations
 
EmbeddedAndId - Class in dev.morphia.mapping.validation.classrules
 
EmbeddedAndId() - Constructor for class dev.morphia.mapping.validation.classrules.EmbeddedAndId
 
EmbeddedAndValue - Class in dev.morphia.mapping.validation.classrules
 
EmbeddedAndValue() - Constructor for class dev.morphia.mapping.validation.classrules.EmbeddedAndValue
 
embeddedMapper(CustomMapper) - Method in class dev.morphia.mapping.MapperOptions.Builder
 
enableCaching(boolean) - Method in class dev.morphia.mapping.MapperOptions.Builder
 
enableCursorTimeout() - Method in interface dev.morphia.query.Query
Deprecated.
use the methods that accept Options directly
enableCursorTimeout() - Method in class dev.morphia.query.QueryImpl
Deprecated.
enableDocumentValidation() - Method in interface dev.morphia.Datastore
Process any Validation annotations for document validation.
enableDocumentValidation() - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
enableValidation() - Method in interface dev.morphia.query.Query
Turns on validation (for all calls made after); by default validation is on
enableValidation() - Method in class dev.morphia.query.QueryImpl
 
enableValidation() - Method in interface dev.morphia.query.UpdateOperations
Turns on validation (for all calls made after); by default validation is on
enableValidation() - Method in class dev.morphia.query.UpdateOpsImpl
 
encode(Mapper, Object, MappedField) - Method in class dev.morphia.mapping.experimental.CollectionReference
 
encode(Mapper, Object, MappedField) - Method in class dev.morphia.mapping.experimental.MapReference
encode(Mapper, Object, MappedField) - Method in class dev.morphia.mapping.experimental.MorphiaReference
 
encode(Mapper, Object, MappedField) - Method in class dev.morphia.mapping.experimental.SingleReference
encode(Class, Object) - Method in class dev.morphia.converters.Converters
Deprecated.
encode the type safe java object into the corresponding DBObject
encode(Object) - Method in class dev.morphia.converters.Converters
Deprecated.
encode the type safe java object into the corresponding DBObject
encode(Object) - Method in class dev.morphia.converters.TypeConverter
encode the type safe java object into the corresponding DBObject
encode(Object, MappedField) - Method in class dev.morphia.converters.BigDecimalConverter
 
encode(Object, MappedField) - Method in class dev.morphia.converters.ByteConverter
 
encode(Object, MappedField) - Method in class dev.morphia.converters.CharacterConverter
 
encode(Object, MappedField) - Method in class dev.morphia.converters.CharArrayConverter
 
encode(Object, MappedField) - Method in class dev.morphia.converters.ClassConverter
 
encode(Object, MappedField) - Method in class dev.morphia.converters.CurrencyConverter
 
encode(Object, MappedField) - Method in class dev.morphia.converters.EnumConverter
 
encode(Object, MappedField) - Method in class dev.morphia.converters.EnumSetConverter
 
encode(Object, MappedField) - Method in class dev.morphia.converters.experimental.ReferenceConverter
 
encode(Object, MappedField) - Method in class dev.morphia.converters.InstantConverter
 
encode(Object, MappedField) - Method in class dev.morphia.converters.IterableConverter
 
encode(Object, MappedField) - Method in class dev.morphia.converters.KeyConverter
 
encode(Object, MappedField) - Method in class dev.morphia.converters.LocalDateConverter
 
encode(Object, MappedField) - Method in class dev.morphia.converters.LocalDateTimeConverter
 
encode(Object, MappedField) - Method in class dev.morphia.converters.LocaleConverter
 
encode(Object, MappedField) - Method in class dev.morphia.converters.LocalTimeConverter
 
encode(Object, MappedField) - Method in class dev.morphia.converters.MapOfValuesConverter
 
encode(Object, MappedField) - Method in class dev.morphia.converters.SerializedObjectConverter
 
encode(Object, MappedField) - Method in class dev.morphia.converters.TimestampConverter
 
encode(Object, MappedField) - Method in class dev.morphia.converters.TypeConverter
encode the (type-safe) java object into the corresponding DBObject
encode(Object, MappedField) - Method in class dev.morphia.converters.URIConverter
 
encode(Object, MappedField) - Method in class dev.morphia.converters.UUIDConverter
 
encode(Object, MappedField) - Method in class dev.morphia.geo.GeometryQueryConverter
 
encode(Object, MappedField) - Method in class dev.morphia.geo.GeometryShapeConverter
 
encode(Object, MappedField) - Method in class dev.morphia.geo.NamedCoordinateReferenceSystemConverter
 
endsWith(String) - Method in interface dev.morphia.query.FieldEnd
Checks that a field ends with a value
endsWith(String) - Method in class dev.morphia.query.FieldEndImpl
 
endsWithIgnoreCase(String) - Method in interface dev.morphia.query.FieldEnd
Checks that a field ends with a value ignoring the case of the values
endsWithIgnoreCase(String) - Method in class dev.morphia.query.FieldEndImpl
 
ensureCaps() - Method in interface dev.morphia.Datastore
ensure capped collections for Entity(s)
ensureCaps() - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
ensureIndex(Class<T>, String) - Method in interface dev.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 dev.morphia.DatastoreImpl
Deprecated.
ensureIndex(Class<T>, String, String, boolean, boolean) - Method in interface dev.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 class dev.morphia.DatastoreImpl
Deprecated.
ensureIndex(String, Class<T>, String) - Method in interface dev.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) - Method in class dev.morphia.DatastoreImpl
Deprecated.
ensureIndex(String, Class<T>, String, String, boolean, boolean) - Method in interface dev.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 class dev.morphia.DatastoreImpl
Deprecated.
ensureIndexes() - Method in class dev.morphia.dao.BasicDAO
Deprecated.
 
ensureIndexes() - Method in interface dev.morphia.dao.DAO
Deprecated.
ensures indexed for this DAO
ensureIndexes() - Method in interface dev.morphia.Datastore
Ensures (creating if necessary) the indexes found during class mapping
ensureIndexes() - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
ensureIndexes(boolean) - Method in interface dev.morphia.Datastore
Deprecated.
ensureIndexes(boolean) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
ensureIndexes(Class<T>) - Method in interface dev.morphia.Datastore
Ensures (creating if necessary) the indexes found during class mapping
ensureIndexes(Class<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
ensureIndexes(Class<T>, boolean) - Method in interface dev.morphia.Datastore
Deprecated.
ensureIndexes(Class<T>, boolean) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
ensureIndexes(String, Class<T>) - Method in interface dev.morphia.AdvancedDatastore
Deprecated.
this feature is being removed. no replacement is planned. see issue #1331
ensureIndexes(String, Class<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
ensureIndexes(String, Class<T>, boolean) - Method in interface dev.morphia.AdvancedDatastore
Deprecated.
use AdvancedDatastore.ensureIndexes(String, Class) instead and specify background true or false in the annotations
ensureIndexes(String, Class<T>, boolean) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
Entity - Annotation Type in dev.morphia.annotations
Allows marking and naming the collectionName
EntityAndEmbed - Class in dev.morphia.mapping.validation.classrules
 
EntityAndEmbed() - Constructor for class dev.morphia.mapping.validation.classrules.EntityAndEmbed
 
EntityAnnotatedValueValidator - Class in dev.morphia.query.validation
Ensures that a Class is annotated with @Entity.
EntityCache - Interface in dev.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 dev.morphia.mapping.cache
Factory for entity caches.
EntityCacheStatistics - Class in dev.morphia.mapping.cache
This class stores various statistics on an EntityCache
EntityCacheStatistics() - Constructor for class dev.morphia.mapping.cache.EntityCacheStatistics
 
EntityCannotBeMapOrIterable - Class in dev.morphia.mapping.validation.classrules
 
EntityCannotBeMapOrIterable() - Constructor for class dev.morphia.mapping.validation.classrules.EntityCannotBeMapOrIterable
 
entityClazz - Variable in class dev.morphia.dao.BasicDAO
Deprecated.
EntityInterceptor - Interface in dev.morphia
Interface for intercepting @Entity lifecycle events
EntityListeners - Annotation Type in dev.morphia.annotations
Specifies other classes to participate in the @Entity's lifecycle
EntityObjectReference - Class in dev.morphia.mapping.lazy.proxy
A serializable object reference
EntityObjectReference(Datastore, Class, Key, boolean) - Constructor for class dev.morphia.mapping.lazy.proxy.EntityObjectReference
Creates an object reference
EntityTypeAndIdValueValidator - Class in dev.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 dev.morphia.converters
 
EnumConverter() - Constructor for class dev.morphia.converters.EnumConverter
 
EnumSetConverter - Class in dev.morphia.converters
 
EnumSetConverter() - Constructor for class dev.morphia.converters.EnumSetConverter
Creates the Converter.
EphemeralMappedField - Class in dev.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 dev.morphia.mapping.EphemeralMappedField
Creates an EphemeralMappedField.
EphemeralMappedField(Type, MappedField, Mapper) - Constructor for class dev.morphia.mapping.EphemeralMappedField
Creates an EphemeralMappedField.
EPSG_4326 - Static variable in class dev.morphia.geo.NamedCoordinateReferenceSystem
The EPSG:4326 Coordinate Reference System.
EPSG_4326_STRICT_WINDING - Static variable in class dev.morphia.geo.NamedCoordinateReferenceSystem
A custom MongoDB EPSG:4326 Coordinate Reference System that uses a strict counter-clockwise winding order.
equal(Object) - Method in interface dev.morphia.query.FieldEnd
Checks that a field equals a value
equal(Object) - Method in class dev.morphia.query.FieldEndImpl
 
EQUAL - dev.morphia.query.FilterOperator
 
equalIgnoreCase(Object) - Method in interface dev.morphia.query.FieldEnd
Checks that a field equals a value
equalIgnoreCase(Object) - Method in class dev.morphia.query.FieldEndImpl
 
equals(Object) - Method in class dev.morphia.converters.TypeConverter
 
equals(Object) - Method in class dev.morphia.geo.GeometryCollection
 
equals(Object) - Method in class dev.morphia.geo.LineString
 
equals(Object) - Method in class dev.morphia.geo.MultiLineString
 
equals(Object) - Method in class dev.morphia.geo.MultiPoint
 
equals(Object) - Method in class dev.morphia.geo.MultiPolygon
 
equals(Object) - Method in class dev.morphia.geo.NamedCoordinateReferenceSystem
 
equals(Object) - Method in class dev.morphia.geo.Point
 
equals(Object) - Method in class dev.morphia.geo.Polygon
 
equals(Object) - Method in class dev.morphia.Key
 
equals(Object) - Method in class dev.morphia.mapping.MappedClass
Deprecated.
 
equals(Object) - Method in class dev.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 dev.morphia.logging.jdk.FastestJDKLogger
 
error(String) - Method in class dev.morphia.logging.jdk.JDKLogger
 
error(String) - Method in interface dev.morphia.logging.Logger
Logs a message at this level.
error(String) - Method in class dev.morphia.logging.SilentLogger
 
error(String, Object...) - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
error(String, Object...) - Method in class dev.morphia.logging.jdk.JDKLogger
 
error(String, Object...) - Method in interface dev.morphia.logging.Logger
Logs a message at this level.
error(String, Object...) - Method in class dev.morphia.logging.SilentLogger
 
error(String, Throwable) - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
error(String, Throwable) - Method in class dev.morphia.logging.jdk.JDKLogger
 
error(String, Throwable) - Method in interface dev.morphia.logging.Logger
Logs a message at this level.
error(String, Throwable) - Method in class dev.morphia.logging.SilentLogger
 
exists() - Method in interface dev.morphia.query.FieldEnd
Checks that a field exists in a document
exists() - Method in class dev.morphia.query.FieldEndImpl
 
exists(Key<?>) - Method in class dev.morphia.mapping.cache.DefaultEntityCache
 
exists(Key<?>) - Method in interface dev.morphia.mapping.cache.EntityCache
Looks for a Key in the cache
exists(Query<T>) - Method in class dev.morphia.dao.BasicDAO
Deprecated.
 
exists(Query<T>) - Method in interface dev.morphia.dao.DAO
Deprecated.
checks for entities which match the criteria
exists(Object) - Method in interface dev.morphia.Datastore
Deprecated.
use MongoIterable.first() instead
exists(Object) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
exists(Object, ReadPreference) - Method in interface dev.morphia.AdvancedDatastore
Deprecated.
use MongoIterable.first() instead
exists(Object, ReadPreference) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
exists(String, Object) - Method in class dev.morphia.dao.BasicDAO
Deprecated.
 
exists(String, Object) - Method in interface dev.morphia.dao.DAO
Deprecated.
checks for entities which match criteria {key:value}
EXISTS - dev.morphia.query.FilterOperator
 
ExistsOperationValidator - Class in dev.morphia.query.validation
Checks if the value can have the FilterOperator.EXISTS operator applied to it.
expireAfterSeconds() - Method in annotation type dev.morphia.annotations.Index
Deprecated.
use the IndexOptions found in Index.options()
expireAfterSeconds() - Method in annotation type dev.morphia.annotations.Indexed
Deprecated.
expireAfterSeconds() - Method in annotation type dev.morphia.annotations.IndexOptions
 
explain() - Method in interface dev.morphia.query.Query
Provides information on the query plan.
explain() - Method in class dev.morphia.query.QueryImpl
 
explain(FindOptions) - Method in interface dev.morphia.query.Query
Provides information on the query plan.
explain(FindOptions) - Method in class dev.morphia.query.QueryImpl
 
expression(String, Object...) - Static method in class dev.morphia.aggregation.Projection
Provides access to arbitrary expressions taking an array of arguments, such as $concat

F

FasterJDKLogger - Class in dev.morphia.logging.jdk
Provides a faster logger.
FasterJDKLogger(Class) - Constructor for class dev.morphia.logging.jdk.FasterJDKLogger
Creates a logger.
FastestJDKLogger - Class in dev.morphia.logging.jdk
 
FastestJDKLogger(Class) - Constructor for class dev.morphia.logging.jdk.FastestJDKLogger
 
FATAL - dev.morphia.mapping.validation.ConstraintViolation.Level
 
fetch() - Method in class dev.morphia.mapping.lazy.proxy.AbstractReference
 
fetch() - Method in class dev.morphia.mapping.lazy.proxy.CollectionObjectReference
 
fetch() - Method in class dev.morphia.mapping.lazy.proxy.EntityObjectReference
 
fetch() - Method in class dev.morphia.mapping.lazy.proxy.MapObjectReference
 
fetch() - Method in interface dev.morphia.query.Query
Deprecated.
fetch() - Method in class dev.morphia.query.QueryImpl
 
fetch(Key<?>) - Method in class dev.morphia.mapping.lazy.proxy.AbstractReference
 
fetch(FindOptions) - Method in interface dev.morphia.query.Query
Deprecated.
fetch(FindOptions) - Method in class dev.morphia.query.QueryImpl
 
fetchEmptyEntities() - Method in interface dev.morphia.query.Query
Deprecated.
use Query.keys() instead
fetchEmptyEntities() - Method in class dev.morphia.query.QueryImpl
 
fetchEmptyEntities(FindOptions) - Method in interface dev.morphia.query.Query
Deprecated.
fetchEmptyEntities(FindOptions) - Method in class dev.morphia.query.QueryImpl
 
fetchKeys() - Method in interface dev.morphia.query.Query
Deprecated.
fetchKeys() - Method in class dev.morphia.query.QueryImpl
 
fetchKeys(FindOptions) - Method in interface dev.morphia.query.Query
Deprecated.
fetchKeys(FindOptions) - Method in class dev.morphia.query.QueryImpl
 
field(String) - Method in interface dev.morphia.query.Query
Fluent query interface: createQuery(Ent.class).field("count").greaterThan(7)...
field(String) - Method in class dev.morphia.query.QueryImpl
 
Field - Annotation Type in dev.morphia.annotations
Define a field to be used in an index;
FieldConstraint - Class in dev.morphia.mapping.validation.fieldrules
 
FieldConstraint() - Constructor for class dev.morphia.mapping.validation.fieldrules.FieldConstraint
 
FieldEnd<T> - Interface in dev.morphia.query
Represents a document field in a query and presents the operations available to querying against that field.
FieldEndImpl<T extends CriteriaContainer> - Class in dev.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 dev.morphia.query.FieldEndImpl
Creates a FieldEnd for a particular field.
FieldEnumString - Class in dev.morphia.mapping.validation.classrules
 
FieldEnumString(MappedField...) - Constructor for class dev.morphia.mapping.validation.classrules.FieldEnumString
Creates a FieldEnumString for the given fields
FieldEnumString(List<MappedField>) - Constructor for class dev.morphia.mapping.validation.classrules.FieldEnumString
Creates a FieldEnumString for the given fields
fields() - Method in annotation type dev.morphia.annotations.Index
 
filter(String, Object) - Method in interface dev.morphia.query.Query
Create a filter based on the specified condition and value.
filter(String, Object) - Method in class dev.morphia.query.QueryImpl
 
FilterOperator - Enum in dev.morphia.query
 
finalize(String) - Method in class dev.morphia.MapReduceOptions
Deprecated.
Sets the Finalize JS Function
find() - Method in class dev.morphia.dao.BasicDAO
Deprecated.
 
find() - Method in interface dev.morphia.dao.DAO
Deprecated.
Finds all the documents in the collection mapped by the entity class
find() - Method in interface dev.morphia.query.Query
Execute the query and get the results.
find() - Method in class dev.morphia.query.QueryImpl
 
find(FindOptions) - Method in interface dev.morphia.query.Query
Execute the query and get the results.
find(FindOptions) - Method in class dev.morphia.query.QueryImpl
 
find(Query<T>) - Method in class dev.morphia.dao.BasicDAO
Deprecated.
 
find(Query<T>) - Method in interface dev.morphia.dao.DAO
Deprecated.
Finds entities matching a query
find(Class<T>) - Method in interface dev.morphia.Datastore
Find all instances by type
find(Class<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
find(Class<T>, String, V) - Method in interface dev.morphia.Datastore
Deprecated.
use Query instead
find(Class<T>, String, V) - Method in class dev.morphia.DatastoreImpl
Deprecated.
find(Class<T>, String, V, int, int) - Method in interface dev.morphia.Datastore
Deprecated.
use Query instead
find(Class<T>, String, V, int, int) - Method in class dev.morphia.DatastoreImpl
Deprecated.
find(String, Class<T>) - Method in interface dev.morphia.AdvancedDatastore
Deprecated.
this feature is being removed. no replacement is planned. see issue #1331
find(String, Class<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
find(String, Class<T>, String, V, int, int) - Method in interface dev.morphia.AdvancedDatastore
Deprecated.
use AdvancedDatastore.find(String, Class) and apply the options to the com.mongodb.client.model.FindOptions parameter
find(String, Class<T>, String, V, int, int) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
find(String, Class<T>, String, V, int, int, boolean) - Method in class dev.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 dev.morphia.Datastore
Deletes the given entities based on the query (first item only).
findAndDelete(Query<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
findAndDelete(Query<T>, FindAndModifyOptions) - Method in interface dev.morphia.Datastore
Deletes the given entities based on the query (first item only).
findAndDelete(Query<T>, FindAndModifyOptions) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
findAndModify(Query<T>, UpdateOperations<T>) - Method in interface dev.morphia.Datastore
Find the first Entity from the Query, and modify it.
findAndModify(Query<T>, UpdateOperations<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
findAndModify(Query<T>, UpdateOperations<T>, boolean) - Method in interface dev.morphia.Datastore
findAndModify(Query<T>, UpdateOperations<T>, boolean) - Method in class dev.morphia.DatastoreImpl
Deprecated.
findAndModify(Query<T>, UpdateOperations<T>, boolean, boolean) - Method in interface dev.morphia.Datastore
findAndModify(Query<T>, UpdateOperations<T>, boolean, boolean) - Method in class dev.morphia.DatastoreImpl
Deprecated.
findAndModify(Query<T>, UpdateOperations<T>, FindAndModifyOptions) - Method in interface dev.morphia.Datastore
Find the first Entity from the Query, and modify it.
findAndModify(Query<T>, UpdateOperations<T>, FindAndModifyOptions) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
FindAndModifyOptions - Class in dev.morphia
The options for find and modify operations.
FindAndModifyOptions() - Constructor for class dev.morphia.FindAndModifyOptions
Creates a new options instance.
findIds() - Method in class dev.morphia.dao.BasicDAO
Deprecated.
 
findIds() - Method in interface dev.morphia.dao.DAO
Deprecated.
Finds the entities Ts
findIds(Query<T>) - Method in class dev.morphia.dao.BasicDAO
Deprecated.
 
findIds(Query<T>) - Method in interface dev.morphia.dao.DAO
Deprecated.
Finds the entities Ts by the criteria {key:value}
findIds(String, Object) - Method in class dev.morphia.dao.BasicDAO
Deprecated.
 
findIds(String, Object) - Method in interface dev.morphia.dao.DAO
Deprecated.
Finds the entities Key by the criteria {key:value}
findOne(Query<T>) - Method in class dev.morphia.dao.BasicDAO
Deprecated.
 
findOne(Query<T>) - Method in interface dev.morphia.dao.DAO
Deprecated.
Finds the first entity matching the query.
findOne(String, Object) - Method in class dev.morphia.dao.BasicDAO
Deprecated.
 
findOne(String, Object) - Method in interface dev.morphia.dao.DAO
Deprecated.
Finds the first entity matching the query.
findOneId() - Method in class dev.morphia.dao.BasicDAO
Deprecated.
 
findOneId() - Method in interface dev.morphia.dao.DAO
Deprecated.
Finds the first entity's ID
findOneId(Query<T>) - Method in class dev.morphia.dao.BasicDAO
Deprecated.
 
findOneId(Query<T>) - Method in interface dev.morphia.dao.DAO
Deprecated.
Finds the first entity's ID
findOneId(String, Object) - Method in class dev.morphia.dao.BasicDAO
Deprecated.
 
findOneId(String, Object) - Method in interface dev.morphia.dao.DAO
Deprecated.
Finds the first entity's ID matching a query
FindOptions - Class in dev.morphia.query
The options to apply to a find operation (also commonly referred to as a query).
FindOptions() - Constructor for class dev.morphia.query.FindOptions
Creates an empty options instance.
first() - Method in class dev.morphia.query.internal.MappingIterable
 
first() - Method in class dev.morphia.query.QueryImpl
 
first(FindOptions) - Method in interface dev.morphia.query.Query
Gets the first entity in the result set.
first(FindOptions) - Method in class dev.morphia.query.QueryImpl
 
first(String) - Static method in class dev.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 dev.morphia.converters
 
FloatConverter() - Constructor for class dev.morphia.converters.FloatConverter
Creates the Converter.
flush() - Method in class dev.morphia.mapping.cache.DefaultEntityCache
 
flush() - Method in interface dev.morphia.mapping.cache.EntityCache
Clears the cache
Foo - dev.morphia.query.UpdateOperator
 
forEach(Consumer<? super T>) - Method in class dev.morphia.query.QueryImpl
 
forEach(Consumer<? super V>) - Method in class dev.morphia.query.internal.MappingIterable
 
format(LogRecord) - Method in class dev.morphia.logging.jdk.ShortFormatter
 
fromDb(Datastore, DBObject, T, EntityCache) - Method in class dev.morphia.mapping.Mapper
Deprecated.
no replacement is planned
fromDBObject(DBObject, MappedField, Object) - Method in class dev.morphia.converters.Converters
Deprecated.
Creates an entity and populates its state based on the dbObject given.
fromDBObject(Datastore, DBObject, MappedField, Object, EntityCache, Mapper) - Method in interface dev.morphia.mapping.CustomMapper
Deprecated.
Creates an entity and populates its state based on the dbObject given.
fromDBObject(Datastore, Class<T>, DBObject) - Method in class dev.morphia.Morphia
Creates an entity and populates its state based on the dbObject given.
fromDBObject(Datastore, Class<T>, DBObject, EntityCache) - Method in class dev.morphia.mapping.Mapper
Deprecated.
no replacement is planned
fromDBObject(Datastore, Class<T>, DBObject, EntityCache) - Method in class dev.morphia.Morphia
Creates an entity and populates its state based on the dbObject given.
fromString(String) - Static method in enum dev.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 dev.morphia.MapreduceType
Deprecated.
Finds the type represented by the value given
fromString(String) - Static method in enum dev.morphia.query.FilterOperator
Creates a FilterOperator from a String
fromString(String) - Static method in enum dev.morphia.query.UpdateOperator
Creates an UpdateOperator from a String

G

GEO_NEAR - dev.morphia.query.FilterOperator
 
GEO_WITHIN - dev.morphia.query.FilterOperator
 
GeoJson - Class in dev.morphia.geo
Factory class for creating GeoJSON types.
GeoJsonType - Enum in dev.morphia.geo
Enumerates all the GeoJson types that are currently supported by Morphia.
Geometry - Interface in dev.morphia.geo
Interface to denote which entities are classes that will serialise into a MongoDB GeoJson object.
geometryCollection(Geometry...) - Static method in class dev.morphia.geo.GeoJson
Return a GeometryCollection that will let you create a GeoJSON GeometryCollection.
GeometryCollection - Class in dev.morphia.geo
This class represents a collection of mixed GeoJson objects as per the GeoJSON specification.
GeometryConverter - Class in dev.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 dev.morphia.geo.GeometryConverter
Sets up this converter to work with things that implement the Geometry interface
GeometryQueryConverter - Class in dev.morphia.geo
Converts Point objects into DBObjects for querying only.
GeometryQueryConverter(Mapper) - Constructor for class dev.morphia.geo.GeometryQueryConverter
Create a new converter.
GeometryShapeConverter - Class in dev.morphia.geo
Converter that understands most Geometry instances are effectively just lists of either other geometry objects or double coordinates.
GeometryShapeConverter.LineStringConverter - Class in dev.morphia.geo
Defines a new LineStringConverter.
GeometryShapeConverter.MultiLineStringConverter - Class in dev.morphia.geo
Defines a new MultiLineStringConverter.
GeometryShapeConverter.MultiPointConverter - Class in dev.morphia.geo
Defines a new MultiPointConverter.
GeometryShapeConverter.MultiPolygonConverter - Class in dev.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 dev.morphia.geo
Defines a new PointConverter.
GeometryShapeConverter.PolygonConverter - Class in dev.morphia.geo
Defines a new PolygonConverter.
geoNear(GeoNear) - Method in interface dev.morphia.aggregation.AggregationPipeline
Returns an ordered stream of documents based on the proximity to a geospatial point.
geoNear(GeoNear) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
 
GeoNear - Class in dev.morphia.aggregation
Outputs documents in order of nearest to farthest from a specified point.
GeoNear.GeoNearBuilder - Class in dev.morphia.aggregation
Provides a builder for GeoNear instances.
GeoNearBuilder(String) - Constructor for class dev.morphia.aggregation.GeoNear.GeoNearBuilder
 
GeoWithinOperationValidator - Class in dev.morphia.query.validation
Supports validation for queries using the FilterOperator.GEO_WITHIN operator.
get() - Method in class dev.morphia.mapping.experimental.CollectionReference
get() - Method in class dev.morphia.mapping.experimental.MapReference
get() - Method in class dev.morphia.mapping.experimental.MorphiaReference
 
get() - Method in class dev.morphia.mapping.experimental.SingleReference
get() - Method in interface dev.morphia.mapping.lazy.DatastoreProvider
Deprecated.
 
get() - Method in class dev.morphia.mapping.lazy.proxy.AbstractReference
 
get() - Method in interface dev.morphia.query.Query
Deprecated.
use MongoIterable.first()
get() - Method in class dev.morphia.query.QueryImpl
 
get(FindOptions) - Method in interface dev.morphia.query.Query
Deprecated.
get(FindOptions) - Method in class dev.morphia.query.QueryImpl
 
get(Class<?>) - Method in class dev.morphia.logging.jdk.JDKLoggerFactory
 
get(Class<?>) - Method in interface dev.morphia.logging.LoggerFactory
Gets or creates a Logger for the given class.
get(Class<?>) - Static method in class dev.morphia.logging.MorphiaLoggerFactory
Gets or creates a Logger for the given class.
get(Class<T>, DBRef) - Method in interface dev.morphia.AdvancedDatastore
Deprecated.
get(Class<T>, DBRef) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
get(Class<T>, Iterable<V>) - Method in interface dev.morphia.Datastore
Deprecated.
use Query instead.
get(Class<T>, Iterable<V>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
get(Class<T>, V) - Method in interface dev.morphia.Datastore
Deprecated.
use Query instead
get(Class<T>, V) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
get(Object) - Method in class relocated.morphia.org.apache.commons.collections.ReferenceMap
Returns the value associated with the given key, if any.
get(String, Class<T>, V) - Method in interface dev.morphia.AdvancedDatastore
Deprecated.
get(String, Class<T>, V) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
get(K) - Method in class dev.morphia.dao.BasicDAO
Deprecated.
 
get(K) - Method in interface dev.morphia.dao.DAO
Deprecated.
Loads the entity by id value
get(T) - Method in interface dev.morphia.Datastore
Deprecated.
use Query instead
get(T) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
getAccumulator() - Method in class dev.morphia.aggregation.Group
 
getAccumulators() - Method in class dev.morphia.query.BucketAutoOptions
 
getAccumulators() - Method in class dev.morphia.query.BucketOptions
 
getAnnotation(Class<? extends Annotation>) - Method in class dev.morphia.mapping.MappedClass
Deprecated.
Looks for an annotation of the type given
getAnnotation(Class<T>) - Method in class dev.morphia.mapping.MappedField
Deprecated.
 
getAnnotations() - Method in class dev.morphia.mapping.MappedField
Deprecated.
 
getAnnotations(Class<? extends Annotation>) - Method in class dev.morphia.mapping.MappedClass
Deprecated.
Looks for an annotation in the annotations found on a class while mapping
getArguments() - Method in class dev.morphia.aggregation.Projection
 
getAttachedTo() - Method in class dev.morphia.query.AbstractCriteria
 
getBatchSize() - Method in class dev.morphia.query.FindOptions
Gets the number of documents to return per batch.
getBatchSize() - Method in interface dev.morphia.query.Query
Deprecated.
use the methods that accept Options directly
getBatchSize() - Method in class dev.morphia.query.QueryImpl
Deprecated.
getByKey(Class<T>, Key<T>) - Method in interface dev.morphia.Datastore
Deprecated.
use a Query instead
getByKey(Class<T>, Key<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
getByKeys(Class<T>, Iterable<Key<T>>) - Method in interface dev.morphia.Datastore
Deprecated.
use a Query instead
getByKeys(Class<T>, Iterable<Key<T>>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
getByKeys(Iterable<Key<T>>) - Method in interface dev.morphia.Datastore
Deprecated.
use a Query instead
getByKeys(Iterable<Key<T>>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
getBypassDocumentValidation() - Method in class dev.morphia.FindAndModifyOptions
Returns the bypassDocumentValidation
getBypassDocumentValidation() - Method in class dev.morphia.InsertOptions
Gets whether to bypass document validation, or null if unspecified.
getBypassDocumentValidation() - Method in class dev.morphia.UpdateOptions
Gets the the bypass document level validation flag
getCacheFactory() - Method in class dev.morphia.mapping.MapperOptions
 
getCaller() - Method in class dev.morphia.logging.jdk.JDKLogger
returns an array (class, method) of the caller before our logger class in the stack
getClassFromCollection(String) - Method in class dev.morphia.mapping.Mapper
Deprecated.
no replacement is planned
getClassLoader() - Method in class dev.morphia.mapping.MapperOptions
Returns the classloader used, in theory, when loading the entity types.
getClassName() - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
getClassNameCache() - Method in class dev.morphia.mapping.DefaultCreator
 
getClazz() - Method in class dev.morphia.mapping.MappedClass
Deprecated.
 
getClazz() - Method in class dev.morphia.query.MorphiaIterator
Deprecated.
 
getCollation() - Method in class dev.morphia.DeleteOptions
Returns the collation options
getCollation() - Method in class dev.morphia.FindAndModifyOptions
Returns the collation options
getCollation() - Method in class dev.morphia.query.CountOptions
Returns the collation options
getCollation() - Method in class dev.morphia.query.FindOptions
Returns the collation options
getCollation() - Method in class dev.morphia.UpdateOptions
Returns the collation options
getCollection() - Method in class dev.morphia.dao.BasicDAO
Deprecated.
 
getCollection() - Method in interface dev.morphia.dao.DAO
Deprecated.
the return type for this method will change in 2.0
getCollection() - Method in class dev.morphia.Key
 
getCollection() - Method in class dev.morphia.query.MorphiaIterator
Deprecated.
 
getCollection() - Method in interface dev.morphia.query.Query
Deprecated.
This is an internal method and subject to change or removal. Do not use.
getCollection() - Method in class dev.morphia.query.QueryImpl
Deprecated.
getCollection(Class) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
getCollection(Class<?>) - Method in interface dev.morphia.Datastore
Deprecated.
the return type for this method will change in 2.0
getCollection(Object) - Method in class dev.morphia.DatastoreImpl
Deprecated.
this is an internal method. no replacement is planned.
getCollectionName() - Method in class dev.morphia.mapping.MappedClass
Deprecated.
 
getCollectionName(Object) - Method in class dev.morphia.mapping.Mapper
Deprecated.
no replacement is planned
getComment() - Method in class dev.morphia.query.FindOptions
 
getConcreteType() - Method in class dev.morphia.mapping.MappedField
Deprecated.
 
getConverters() - Method in class dev.morphia.mapping.Mapper
Deprecated.
 
getCoordinates() - Method in interface dev.morphia.geo.Geometry
Returns a list of coordinates for this Geometry type.
getCoordinates() - Method in class dev.morphia.geo.LineString
 
getCoordinates() - Method in class dev.morphia.geo.MultiLineString
 
getCoordinates() - Method in class dev.morphia.geo.MultiPoint
 
getCoordinates() - Method in class dev.morphia.geo.MultiPolygon
 
getCoordinates() - Method in class dev.morphia.geo.Point
 
getCoordinates() - Method in class dev.morphia.geo.Polygon
 
getCount(Query<T>) - Method in interface dev.morphia.Datastore
Deprecated.
use Query.count() instead
getCount(Query<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
getCount(Query<T>, CountOptions) - Method in interface dev.morphia.Datastore
Deprecated.
getCount(Query<T>, CountOptions) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
getCount(Class<T>) - Method in interface dev.morphia.Datastore
Deprecated.
use Query.count() instead
getCount(Class<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
getCount(String) - Method in interface dev.morphia.AdvancedDatastore
Deprecated.
use Query.count() instead
getCount(String) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
getCount(T) - Method in interface dev.morphia.Datastore
Deprecated.
use Query.count() instead
getCount(T) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
getCounts() - Method in class dev.morphia.MapreduceResults
Deprecated.
 
getCTor() - Method in class dev.morphia.mapping.MappedField
Deprecated.
 
getCursor() - Method in class dev.morphia.query.MorphiaIterator
Deprecated.
 
getCursorType() - Method in class dev.morphia.query.FindOptions
Get the cursor type.
getDatabase() - Method in interface dev.morphia.Datastore
 
getDatabase() - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
getDatastore() - Method in class dev.morphia.dao.BasicDAO
Deprecated.
 
getDatastore() - Method in interface dev.morphia.dao.DAO
Deprecated.
 
getDatastore() - Method in class dev.morphia.mapping.lazy.proxy.AbstractReference
 
getDatastore() - Method in class dev.morphia.query.QueryImpl
Deprecated.
this is an internal method that exposes an internal type and will likely go away soon
getDatastoreProvider() - Method in class dev.morphia.mapping.MapperOptions
Deprecated.
unused
getDateStorage() - Method in class dev.morphia.mapping.MapperOptions
 
getDB() - Method in interface dev.morphia.Datastore
Deprecated.
use #getDatabase(). In general, should you need a DB reference, please use the MongoClient used to create this Datastore to retrieve it.
getDB() - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
getDbObjectValue(DBObject) - Method in class dev.morphia.mapping.EphemeralMappedField
 
getDbObjectValue(DBObject) - Method in class dev.morphia.mapping.MappedField
Deprecated.
 
getDeclaringClass() - Method in class dev.morphia.mapping.MappedField
Deprecated.
 
getDecoderFact() - Method in interface dev.morphia.AdvancedDatastore
Deprecated.
unused in 2.0 and will be removed
getDecoderFact() - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
getDefaultField() - Method in class dev.morphia.query.BucketOptions
 
getDefaultMapper() - Method in class dev.morphia.mapping.MapperOptions
 
getDefaultWriteConcern() - Method in interface dev.morphia.Datastore
Deprecated. 
getDefaultWriteConcern() - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
getDirection() - Method in class dev.morphia.aggregation.Sort
Deprecated.
Use Sort.getOrder() instead.
getDiscriminatorField() - Method in class dev.morphia.mapping.MapperOptions
 
getDistanceField() - Method in class dev.morphia.aggregation.GeoNear
 
getDistanceMultiplier() - Method in class dev.morphia.aggregation.GeoNear
 
getDriverTime() - Method in class dev.morphia.query.MorphiaIterator
Deprecated.
 
getDs() - Method in class dev.morphia.dao.BasicDAO
Deprecated.
getElapsedMillis() - Method in class dev.morphia.MapreduceResults
Deprecated.
 
getEmbeddedAnnotation() - Method in class dev.morphia.mapping.MappedClass
Deprecated.
 
getEmbeddedMapper() - Method in class dev.morphia.mapping.MapperOptions
 
getEmitCount() - Method in class dev.morphia.MapreduceResults.Stats
Deprecated.
 
getEncoder(Class) - Method in class dev.morphia.converters.Converters
Deprecated.
 
getEncoder(Class) - Method in class dev.morphia.converters.CustomConverters
 
getEncoder(Class) - Method in class dev.morphia.converters.DefaultConverters
 
getEncoder(Object, MappedField) - Method in class dev.morphia.converters.Converters
Deprecated.
 
getEncoder(Object, MappedField) - Method in class dev.morphia.converters.CustomConverters
 
getEncoder(Object, MappedField) - Method in class dev.morphia.converters.DefaultConverters
 
getEntity(Key<T>) - Method in class dev.morphia.mapping.cache.DefaultEntityCache
 
getEntity(Key<T>) - Method in interface dev.morphia.mapping.cache.EntityCache
Returns the entity for a Key
getEntityAnnotation() - Method in class dev.morphia.mapping.MappedClass
Deprecated.
 
getEntityClass() - Method in class dev.morphia.dao.BasicDAO
Deprecated.
 
getEntityClass() - Method in interface dev.morphia.dao.DAO
Deprecated.
The type of entities for this DAO
getEntityClass() - Method in interface dev.morphia.query.Query
Deprecated. 
getEntityClass() - Method in class dev.morphia.query.QueryImpl
 
getEntityClazz() - Method in class dev.morphia.dao.BasicDAO
Deprecated.
getError() - Method in class dev.morphia.MapreduceResults
Deprecated.
getExteriorBoundary() - Method in class dev.morphia.geo.Polygon
Returns a LineString representing the exterior boundary of this Polygon.
getField() - Method in class dev.morphia.aggregation.Accumulator
Deprecated.
getField() - Method in class dev.morphia.mapping.MappedField
Deprecated.
 
getField() - Method in class dev.morphia.query.Meta
 
getField() - Method in class dev.morphia.query.Sort
 
getFieldName() - Method in interface dev.morphia.query.Criteria
 
getFieldName() - Method in class dev.morphia.query.CriteriaContainerImpl
 
getFieldName() - Method in class dev.morphia.query.QueryImpl
 
getFieldName() - Method in class dev.morphia.query.WhereCriteria
Deprecated.
 
getFieldsAnnotatedWith(Class<? extends Annotation>) - Method in class dev.morphia.mapping.MappedClass
Deprecated.
Returns fields annotated with the clazz
getFieldsObject() - Method in interface dev.morphia.query.Query
Deprecated. 
getFieldsObject() - Method in class dev.morphia.query.QueryImpl
Deprecated.
getFieldValue(Object) - Method in class dev.morphia.mapping.EphemeralMappedField
 
getFieldValue(Object) - Method in class dev.morphia.mapping.MappedField
Deprecated.
Gets the value of the field mapped on the instance given.
getFirstAnnotation(Class<? extends Annotation>) - Method in class dev.morphia.mapping.MappedClass
Deprecated.
Returns the first found Annotation, or null.
getFirstFieldName(DBObject) - Method in class dev.morphia.mapping.MappedField
Deprecated.
Gets the field name to use when converting from a DBObject
getFullName() - Method in class dev.morphia.mapping.MappedField
Deprecated.
 
getGeometry() - Method in class dev.morphia.query.Shape
 
getGranulality() - Method in enum dev.morphia.query.BucketAutoOptions.Granularity
 
getGranurality() - Method in class dev.morphia.query.BucketAutoOptions
 
getHint() - Method in class dev.morphia.query.CountOptions
Gets the hint to apply.
getHint() - Method in class dev.morphia.query.FindOptions
 
getId() - Method in class dev.morphia.Key
 
getId(Object) - Method in class dev.morphia.DatastoreImpl
Deprecated.
getId(Object) - Method in class dev.morphia.mapping.Mapper
Deprecated.
Gets the ID value for an entity
getIdField() - Method in class dev.morphia.mapping.MappedClass
Deprecated.
 
getIncludeLocations() - Method in class dev.morphia.aggregation.GeoNear
This specifies the output field that identifies the location used to calculate the distance.
getInlineResults() - Method in class dev.morphia.MapreduceResults
Deprecated.
Creates an Iterator over the results of the operation.
getInputCount() - Method in class dev.morphia.MapreduceResults.Stats
Deprecated.
 
getInsertedCount() - Method in class dev.morphia.query.UpdateResults
 
getInstance() - Static method in class dev.morphia.query.validation.AllOperationValidator
Get the instance.
getInstance() - Static method in class dev.morphia.query.validation.DefaultTypeValidator
Get the instance.
getInstance() - Static method in class dev.morphia.query.validation.DoubleTypeValidator
Get the instance.
getInstance() - Static method in class dev.morphia.query.validation.EntityAnnotatedValueValidator
Get the instance.
getInstance() - Static method in class dev.morphia.query.validation.EntityTypeAndIdValueValidator
Get the instance.
getInstance() - Static method in class dev.morphia.query.validation.ExistsOperationValidator
Get the instance.
getInstance() - Static method in class dev.morphia.query.validation.GeoWithinOperationValidator
Get the instance.
getInstance() - Static method in class dev.morphia.query.validation.InOperationValidator
Get the instance.
getInstance() - Static method in class dev.morphia.query.validation.IntegerTypeValidator
Get the instance.
getInstance() - Static method in class dev.morphia.query.validation.KeyValueTypeValidator
Get the instance.
getInstance() - Static method in class dev.morphia.query.validation.ListValueValidator
Get the instance.
getInstance() - Static method in class dev.morphia.query.validation.LongTypeValidator
Get the instance.
getInstance() - Static method in class dev.morphia.query.validation.ModOperationValidator
Get the instance.
getInstance() - Static method in class dev.morphia.query.validation.NotInOperationValidator
Get the instance
getInstance() - Static method in class dev.morphia.query.validation.PatternValueValidator
Get the instance.
getInstance() - Static method in class dev.morphia.query.validation.SizeOperationValidator
Get the instance
getInstanceCache() - Method in class dev.morphia.mapping.Mapper
Deprecated.
no replacement is planned
getInterceptors() - Method in class dev.morphia.mapping.Mapper
Deprecated.
Gets list of EntityInterceptors
getInteriorBoundaries() - Method in class dev.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 dev.morphia.mapping.MappedField
Deprecated.
 
getKey() - Method in interface dev.morphia.query.Query
Deprecated.
use MongoIterable.first() instead
getKey() - Method in class dev.morphia.query.QueryImpl
 
getKey() - Method in class relocated.morphia.org.apache.commons.collections.DefaultMapEntry
Returns the key.
getKey(FindOptions) - Method in interface dev.morphia.query.Query
Deprecated.
use MongoIterable.first() instead
getKey(FindOptions) - Method in class dev.morphia.query.QueryImpl
 
getKey(T) - Method in interface dev.morphia.Datastore
Deprecated. 
getKey(T) - Method in class dev.morphia.DatastoreImpl
Deprecated.
getKey(T) - Method in class dev.morphia.mapping.Mapper
Deprecated.
Gets the Key for an entity
getKey(T, String) - Method in class dev.morphia.mapping.Mapper
Deprecated.
Gets the Key for an entity and a specific collection
getKeysByManualRefs(Class<T>, List<Object>) - Method in class dev.morphia.mapping.Mapper
Deprecated.
Gets the Keys for a list of objects
getKeysByRefs(List<DBRef>) - Method in class dev.morphia.mapping.Mapper
Deprecated.
Gets the Keys for a list of objects
getLatitude() - Method in class dev.morphia.geo.Point
Return the latitude of this point.
getLevel() - Method in class dev.morphia.mapping.validation.ConstraintViolation
 
getLimit() - Method in class dev.morphia.aggregation.GeoNear
 
getLimit() - Method in class dev.morphia.query.ArraySlice
 
getLimit() - Method in class dev.morphia.query.CountOptions
Gets the limit to apply.
getLimit() - Method in class dev.morphia.query.FindOptions
Gets the limit to apply.
getLimit() - Method in interface dev.morphia.query.Query
Deprecated.
use the methods that accept Options directly
getLimit() - Method in class dev.morphia.query.QueryImpl
Deprecated.
getLoadNames() - Method in class dev.morphia.mapping.MappedField
Deprecated.
 
getLogger() - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
getLongitude() - Method in class dev.morphia.geo.Point
Return the longitude of this point.
getMapKeyClass() - Method in class dev.morphia.mapping.EphemeralMappedField
 
getMapKeyClass() - Method in class dev.morphia.mapping.MappedField
Deprecated.
If the underlying java type is a map then it returns T from Map<T,V>
getMappedClass(Object) - Method in class dev.morphia.mapping.Mapper
Deprecated.
Gets the MappedClass for the object (type).
getMappedClasses() - Method in class dev.morphia.mapping.Mapper
Deprecated.
 
getMappedField(String) - Method in class dev.morphia.mapping.MappedClass
Deprecated.
Returns the MappedField by the name that it will stored in mongodb as
getMappedFieldByJavaField(String) - Method in class dev.morphia.mapping.MappedClass
Deprecated.
Returns MappedField for a given java field name on the this MappedClass
getMappedFieldName() - Method in class dev.morphia.mapping.EphemeralMappedField
 
getMappedFieldName() - Method in class dev.morphia.mapping.MappedField
Deprecated.
 
getMappedIdField() - Method in class dev.morphia.mapping.MappedClass
Deprecated.
 
getMappedVersionField() - Method in class dev.morphia.mapping.MappedClass
Deprecated.
 
getMapper() - Method in class dev.morphia.converters.TypeConverter
 
getMapper() - Method in interface dev.morphia.Datastore
 
getMapper() - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
getMapper() - Method in class dev.morphia.Morphia
 
getMapper() - Method in class dev.morphia.query.MorphiaIterator
Deprecated.
 
getMapperTime() - Method in class dev.morphia.query.MorphiaIterator
Deprecated.
 
getMax() - Method in class dev.morphia.query.FindOptions
 
getMaxAwaitTime(TimeUnit) - Method in class dev.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 dev.morphia.aggregation.GeoNear
The maximum distance from the center point that the documents can be.
getMaxDocuments() - Method in class dev.morphia.aggregation.GeoNear
The num option provides the same function as the limit option.
getMaxTime(TimeUnit) - Method in class dev.morphia.FindAndModifyOptions
Gets the maximum execution time on the server for this operation.
getMaxTime(TimeUnit) - Method in class dev.morphia.query.CountOptions
Gets the maximum execution time on the server for this operation.
getMaxTime(TimeUnit) - Method in class dev.morphia.query.FindOptions
Gets the maximum execution time on the server for this operation.
getMCMap() - Method in class dev.morphia.mapping.Mapper
Deprecated.
 
getMin() - Method in class dev.morphia.query.FindOptions
 
getMongo() - Method in interface dev.morphia.Datastore
Deprecated.
no replacement is planned
getMongo() - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
getN() - Method in class dev.morphia.query.UpdateResults
 
getName() - Method in class dev.morphia.aggregation.Group
 
getName() - Method in class dev.morphia.geo.NamedCoordinateReferenceSystem
Gets the name of this Coordinate Reference System.
getName() - Method in enum dev.morphia.query.Meta.MetaDataKeyword
 
getNameToStore() - Method in class dev.morphia.mapping.EphemeralMappedField
 
getNameToStore() - Method in class dev.morphia.mapping.MappedField
Deprecated.
 
getNear() - Method in class dev.morphia.aggregation.GeoNear
The point for which to find the closest documents.
getNested() - Method in class dev.morphia.aggregation.Group
 
getNewId() - Method in class dev.morphia.query.UpdateResults
 
getNext() - Method in class dev.morphia.query.internal.MorphiaCursor
 
getNext() - Method in class dev.morphia.query.MorphiaIterator
Deprecated.
 
getObjectFactory() - Method in class dev.morphia.mapping.MapperOptions
 
getOffset() - Method in interface dev.morphia.query.Query
Deprecated.
use the methods that accept Options directly
getOffset() - Method in class dev.morphia.query.QueryImpl
Deprecated.
getOperation() - Method in class dev.morphia.aggregation.Accumulator
 
getOperator() - Method in class dev.morphia.query.validation.AllOperationValidator
 
getOperator() - Method in class dev.morphia.query.validation.ExistsOperationValidator
 
getOperator() - Method in class dev.morphia.query.validation.GeoWithinOperationValidator
 
getOperator() - Method in class dev.morphia.query.validation.InOperationValidator
 
getOperator() - Method in class dev.morphia.query.validation.ModOperationValidator
 
getOperator() - Method in class dev.morphia.query.validation.NotInOperationValidator
 
getOperator() - Method in class dev.morphia.query.validation.OperationValidator
This method is called by the apply method to determine whether to validate the query.
getOperator() - Method in class dev.morphia.query.validation.SizeOperationValidator
 
getOps() - Method in class dev.morphia.query.UpdateOpsImpl
 
getOptions() - Method in class dev.morphia.mapping.Mapper
Deprecated.
 
getOrder() - Method in class dev.morphia.query.Sort
Returns the sort order.
getOutputCount() - Method in class dev.morphia.MapreduceResults.Stats
Deprecated.
 
getOutputType() - Method in class dev.morphia.MapreduceResults
Deprecated.
 
getParent() - Method in class dev.morphia.mapping.EphemeralMappedField
 
getPersistenceFields() - Method in class dev.morphia.mapping.MappedClass
Deprecated.
 
getPoints() - Method in class dev.morphia.query.Shape
 
getPrefix() - Method in class dev.morphia.mapping.validation.ConstraintViolation
 
getProjections() - Method in class dev.morphia.aggregation.Group
 
getProjections() - Method in class dev.morphia.aggregation.Projection
 
getProxy(Key<T>) - Method in class dev.morphia.mapping.cache.DefaultEntityCache
 
getProxy(Key<T>) - Method in interface dev.morphia.mapping.cache.EntityCache
Returns a proxy for the entity for a Key
getProxyFactory() - Method in class dev.morphia.mapping.Mapper
Deprecated.
 
getQuery() - Method in class dev.morphia.aggregation.GeoNear
Limits the results to the documents that match the query.
getQuery() - Method in class dev.morphia.query.CriteriaContainerImpl
 
getQueryFactory() - Method in interface dev.morphia.Datastore
 
getQueryFactory() - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
getQueryObject() - Method in interface dev.morphia.query.Query
Deprecated. 
getQueryObject() - Method in class dev.morphia.query.QueryImpl
Deprecated.
getReadConcern() - Method in class dev.morphia.query.CountOptions
Returns the readConcern
getReadConcern() - Method in class dev.morphia.query.FindOptions
Returns the readConcern
getReadPreference() - Method in class dev.morphia.query.CountOptions
Returns the readPreference
getReadPreference() - Method in class dev.morphia.query.FindOptions
Returns the readPreference
getReferenceMapper() - Method in class dev.morphia.mapping.MapperOptions
 
getReferentClass(Object) - Static method in class dev.morphia.mapping.lazy.proxy.ProxyHelper
Returns the class backing this entity
getRelevantAnnotations() - Method in class dev.morphia.mapping.MappedClass
Deprecated.
 
getRequiredValueType() - Method in class dev.morphia.query.validation.KeyValueTypeValidator
 
getRequiredValueType() - Method in class dev.morphia.query.validation.ListValueValidator
 
getRequiredValueType() - Method in class dev.morphia.query.validation.PatternValueValidator
 
getRequiredValueType() - Method in class dev.morphia.query.validation.ValueValidator
Used by apply to figure out whether to apply the validation or simply return.
getServerAddress() - Method in class dev.morphia.query.internal.MorphiaCursor
 
getServerAddress() - Method in class dev.morphia.query.internal.MorphiaKeyCursor
 
getServerCursor() - Method in class dev.morphia.query.internal.MorphiaCursor
 
getServerCursor() - Method in class dev.morphia.query.internal.MorphiaKeyCursor
 
getSkip() - Method in class dev.morphia.query.ArraySlice
 
getSkip() - Method in class dev.morphia.query.CountOptions
Gets the number of documents to skip.
getSkip() - Method in class dev.morphia.query.FindOptions
Gets the number of documents to skip.
getSort() - Method in class dev.morphia.query.FindOptions
 
getSortObject() - Method in interface dev.morphia.query.Query
Deprecated. 
getSortObject() - Method in class dev.morphia.query.QueryImpl
Deprecated.
getSource() - Method in class dev.morphia.aggregation.Projection
 
getSourceField() - Method in class dev.morphia.aggregation.Group
 
getSpherical() - Method in class dev.morphia.aggregation.GeoNear
Required if using a 2dsphere index.
getStages() - Method in class dev.morphia.aggregation.AggregationPipelineImpl
 
getSubClass() - Method in class dev.morphia.mapping.EphemeralMappedField
 
getSubClass() - Method in class dev.morphia.mapping.MappedField
Deprecated.
If the java field is a list/array/map then the sub-type T is returned (ex.
getSubType() - Method in class dev.morphia.mapping.EphemeralMappedField
 
getSubType() - Method in class dev.morphia.mapping.MappedField
Deprecated.
If the java field is a list/array/map then the sub-type T is returned (ex.
getSubTypes(MappedClass) - Method in class dev.morphia.mapping.Mapper
Deprecated.
Finds any subtypes for the given MappedClass.
getSuperClass() - Method in class dev.morphia.mapping.MappedClass
Deprecated.
This is an internal method subject to change without notice.
getSupportTypes() - Method in class dev.morphia.converters.TypeConverter
Deprecated.
use #getSupportedTypes()
getTarget() - Method in class dev.morphia.aggregation.Projection
 
getTarget() - Method in class dev.morphia.internal.PathTarget
Returns the MappedField found at the end of a path.
getType() - Method in class dev.morphia.geo.CoordinateReferenceSystem
Gets the type of this Coordinate Reference System.
getType() - Method in enum dev.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 dev.morphia.geo.NamedCoordinateReferenceSystem
 
getType() - Method in class dev.morphia.Key
 
getType() - Method in class dev.morphia.mapping.EphemeralMappedField
 
getType() - Method in class dev.morphia.mapping.MappedField
Deprecated.
 
getType() - Method in class dev.morphia.MapreduceResults
Deprecated.
getTypeClass() - Method in enum dev.morphia.geo.GeoJsonType
Returns a concrete class that implements Geometry, the class that represents this GeoJsonType.
getTypeName() - Method in enum dev.morphia.geo.CoordinateReferenceSystemType
Gets the GeoJSON-defined name for the type.
getTypeParameters() - Method in class dev.morphia.mapping.MappedField
Deprecated.
 
getUniqueDocuments() - Method in class dev.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 dev.morphia.query.UpdateResults
 
getUpdatedExisting() - Method in class dev.morphia.query.UpdateResults
 
getUseBulkWriteOperations() - Method in class dev.morphia.Morphia
Deprecated. 
getValue() - Method in class dev.morphia.aggregation.Accumulator
 
getValue() - Method in class dev.morphia.mapping.EphemeralMappedField
 
getValue() - Method in class relocated.morphia.org.apache.commons.collections.DefaultMapEntry
Returns the value.
getValueMapper() - Method in class dev.morphia.mapping.MapperOptions
 
getWriteConcern() - Method in class dev.morphia.DeleteOptions
The write concern to use for the delete.
getWriteConcern() - Method in class dev.morphia.FindAndModifyOptions
Returns the writeConcern
getWriteConcern() - Method in class dev.morphia.InsertOptions
The write concern to use for the insertion.
getWriteConcern() - Method in class dev.morphia.UpdateOptions
The write concern to use for the insertion.
getWriteResult() - Method in class dev.morphia.query.UpdateResults
 
getZone() - Method in enum dev.morphia.mapping.DateStorage
 
granularity(BucketAutoOptions.Granularity) - Method in class dev.morphia.query.BucketAutoOptions
Define granularity field for the bucketauto stage
GREATER_THAN - dev.morphia.query.FilterOperator
 
GREATER_THAN_OR_EQUAL - dev.morphia.query.FilterOperator
 
greaterThan(Object) - Method in interface dev.morphia.query.FieldEnd
Checks that a field is greater than the value given
greaterThan(Object) - Method in class dev.morphia.query.FieldEndImpl
 
greaterThanOrEq(Object) - Method in interface dev.morphia.query.FieldEnd
Checks that a field is greater than or equal to the value given
greaterThanOrEq(Object) - Method in class dev.morphia.query.FieldEndImpl
 
group(Group...) - Method in interface dev.morphia.aggregation.AggregationPipeline
Groups input documents by a specified identifier expression and applies the accumulator expression(s), if specified, to each group .
group(Group...) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
 
group(String, Group...) - Method in interface dev.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 class dev.morphia.aggregation.AggregationPipelineImpl
 
group(List<Group>, Group...) - Method in interface dev.morphia.aggregation.AggregationPipeline
 
group(List<Group>, Group...) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
 
Group - Class in dev.morphia.aggregation
Defines a group pipeline stage.
grouping(String) - Static method in class dev.morphia.aggregation.Group
Creates a named grouping
grouping(String, Accumulator) - Static method in class dev.morphia.aggregation.Group
Creates a named grouping on a field
grouping(String, Group) - Static method in class dev.morphia.aggregation.Group
Creates a named grouping
grouping(String, Projection...) - Static method in class dev.morphia.aggregation.Group
Creates a named grouping
grouping(String, String) - Static method in class dev.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 dev.morphia.query.FieldEnd
Checks that a field has all of the values listed.
hasAllOf(Iterable<?>) - Method in class dev.morphia.query.FieldEndImpl
 
hasAnnotation(Class) - Method in class dev.morphia.mapping.EphemeralMappedField
 
hasAnnotation(Class) - Method in class dev.morphia.mapping.MappedField
Deprecated.
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 dev.morphia.query.FieldEnd
Checks that a field has any of the values listed.
hasAnyOf(Iterable<?>) - Method in class dev.morphia.query.FieldEndImpl
 
hasDbObjectConverter(MappedField) - Method in class dev.morphia.converters.Converters
Deprecated.
 
hasDbObjectConverter(Class) - Method in class dev.morphia.converters.Converters
Deprecated.
 
hashCode() - Method in class dev.morphia.converters.TypeConverter
 
hashCode() - Method in class dev.morphia.geo.GeometryCollection
 
hashCode() - Method in class dev.morphia.geo.LineString
 
hashCode() - Method in class dev.morphia.geo.MultiLineString
 
hashCode() - Method in class dev.morphia.geo.MultiPoint
 
hashCode() - Method in class dev.morphia.geo.MultiPolygon
 
hashCode() - Method in class dev.morphia.geo.NamedCoordinateReferenceSystem
 
hashCode() - Method in class dev.morphia.geo.Point
 
hashCode() - Method in class dev.morphia.geo.Polygon
 
hashCode() - Method in class dev.morphia.Key
 
hashCode() - Method in class dev.morphia.mapping.MappedClass
Deprecated.
 
hashCode() - Method in class dev.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 dev.morphia.query.internal.MorphiaCursor
 
hasNext() - Method in class dev.morphia.query.internal.MorphiaKeyCursor
 
hasNext() - Method in class dev.morphia.query.MorphiaIterator
Deprecated.
 
hasNoneOf(Iterable<?>) - Method in interface dev.morphia.query.FieldEnd
Checks that a field has none of the values listed.
hasNoneOf(Iterable<?>) - Method in class dev.morphia.query.FieldEndImpl
 
hasSimpleValueConverter(MappedField) - Method in class dev.morphia.converters.Converters
Deprecated.
 
hasSimpleValueConverter(Class) - Method in class dev.morphia.converters.Converters
Deprecated.
 
hasSimpleValueConverter(Object) - Method in class dev.morphia.converters.Converters
Deprecated.
 
hasThisElement(Object) - Method in interface dev.morphia.query.FieldEnd
Deprecated.
hasThisElement(Object) - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
hasThisOne(Object) - Method in interface dev.morphia.query.FieldEnd
Checks that a field has the value listed.
hasThisOne(Object) - Method in class dev.morphia.query.FieldEndImpl
 
hint(DBObject) - Method in class dev.morphia.query.FindOptions
 
hint(String) - Method in class dev.morphia.query.CountOptions
Sets the hint to apply.
hintIndex(String) - Method in interface dev.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 dev.morphia.query.QueryImpl
Deprecated.
hintString(String) - Method in class dev.morphia.query.FindOptions
Defines the index hint value

I

id(Group...) - Static method in class dev.morphia.aggregation.Group
Create a group of Groups for use as an ID
Id - Annotation Type in dev.morphia.annotations
 
ID_KEY - Static variable in class dev.morphia.mapping.Mapper
Deprecated.
use "_id" directly
IdDoesNotMix - Class in dev.morphia.mapping.validation.fieldrules
 
IdDoesNotMix() - Constructor for class dev.morphia.mapping.validation.fieldrules.IdDoesNotMix
 
IdentityConverter - Class in dev.morphia.converters
 
IdentityConverter(Class...) - Constructor for class dev.morphia.converters.IdentityConverter
Creates the Converter.
IdGetter - Annotation Type in dev.morphia.annotations
This annotation allows the lazy-load proxy to return the ID of a referenced entity without reading the reference from the database.
idOnly() - Method in annotation type dev.morphia.annotations.Reference
 
IGNORED_FIELDNAME - Static variable in class dev.morphia.mapping.Mapper
Deprecated.
Special name that can never be used.
ignoreFinals(boolean) - Method in class dev.morphia.mapping.MapperOptions.Builder
 
ignoreMissing - Variable in class dev.morphia.mapping.lazy.proxy.AbstractReference
 
ignoreMissing() - Method in annotation type dev.morphia.annotations.Reference
 
in(Iterable<?>) - Method in interface dev.morphia.query.FieldEnd
in(Iterable<?>) - Method in class dev.morphia.query.FieldEndImpl
 
IN - dev.morphia.query.FilterOperator
 
inc(String) - Method in interface dev.morphia.query.UpdateOperations
Increments the numeric field by 1
inc(String) - Method in class dev.morphia.query.UpdateOpsImpl
 
inc(String, Number) - Method in interface dev.morphia.query.UpdateOperations
increments the numeric field by value (negatives are allowed)
inc(String, Number) - Method in class dev.morphia.query.UpdateOpsImpl
 
INC - dev.morphia.query.UpdateOperator
 
incEntities() - Method in class dev.morphia.mapping.cache.EntityCacheStatistics
Increments the entity count
incHits() - Method in class dev.morphia.mapping.cache.EntityCacheStatistics
Increments the hit count
incMisses() - Method in class dev.morphia.mapping.cache.EntityCacheStatistics
Increments the miss count
Index - Annotation Type in dev.morphia.annotations
Defines an index
Indexed - Annotation Type in dev.morphia.annotations
Specified on fields that should be Indexed.
Indexes - Annotation Type in dev.morphia.annotations
Defines indexes for this entity type (on the collection)
IndexOptions - Annotation Type in dev.morphia.annotations
Defines the options to be used when declaring an index.
inferLoadNames() - Method in class dev.morphia.mapping.MappedField
Deprecated.
 
info(String) - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
info(String) - Method in class dev.morphia.logging.jdk.JDKLogger
 
info(String) - Method in interface dev.morphia.logging.Logger
Logs a message at this level.
info(String) - Method in class dev.morphia.logging.SilentLogger
 
info(String, Object...) - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
info(String, Object...) - Method in class dev.morphia.logging.jdk.JDKLogger
 
info(String, Object...) - Method in interface dev.morphia.logging.Logger
Logs a message at this level.
info(String, Object...) - Method in class dev.morphia.logging.SilentLogger
 
info(String, Throwable) - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
info(String, Throwable) - Method in class dev.morphia.logging.jdk.JDKLogger
 
info(String, Throwable) - Method in interface dev.morphia.logging.Logger
Logs a message at this level.
info(String, Throwable) - Method in class dev.morphia.logging.SilentLogger
 
INFO - dev.morphia.mapping.validation.ConstraintViolation.Level
 
initDS(MongoClient, Morphia, String) - Method in class dev.morphia.dao.BasicDAO
Deprecated.
 
initType(Class<T>) - Method in class dev.morphia.dao.BasicDAO
Deprecated.
 
INLINE - dev.morphia.MapreduceType
Deprecated.
 
InOperationValidator - Class in dev.morphia.query.validation
Checks if the value can have the FilterOperator.IN operator applied to it.
inputCollection(String) - Method in class dev.morphia.MapReduceOptions
Deprecated.
Sets the input collection for the job should that collection differ from the mapped collection used in the query
insert(DBCollection, T, InsertOptions) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
insert(Iterable<T>) - Method in interface dev.morphia.AdvancedDatastore
insert(Iterable<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
Inserts entities in to the database
insert(Iterable<T>, WriteConcern) - Method in interface dev.morphia.AdvancedDatastore
insert(Iterable<T>, WriteConcern) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
insert(Iterable<T>, InsertOptions) - Method in interface dev.morphia.AdvancedDatastore
insert(Iterable<T>, InsertOptions) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
insert(String, Iterable<T>) - Method in interface dev.morphia.AdvancedDatastore
Deprecated.
this feature is being removed. no replacement is planned. see issue #1331
insert(String, Iterable<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
insert(String, Iterable<T>, WriteConcern) - Method in interface dev.morphia.AdvancedDatastore
insert(String, Iterable<T>, WriteConcern) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
insert(String, Iterable<T>, InsertOptions) - Method in interface dev.morphia.AdvancedDatastore
Deprecated.
this feature is being removed. no replacement is planned. see issue #1331
insert(String, Iterable<T>, InsertOptions) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
insert(String, T) - Method in interface dev.morphia.AdvancedDatastore
Deprecated.
this feature is being removed. no replacement is planned. see issue #1331
insert(String, T) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
insert(String, T, WriteConcern) - Method in class dev.morphia.DatastoreImpl
Deprecated.
Inserts an entity in to the database
insert(String, T, InsertOptions) - Method in interface dev.morphia.AdvancedDatastore
Deprecated.
this feature is being removed. no replacement is planned. see issue #1331
insert(String, T, InsertOptions) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
insert(List<T>) - Method in interface dev.morphia.AdvancedDatastore
Inserts entities in to the mapped collection.
insert(List<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
Inserts entities in to the database
insert(List<T>, InsertOptions) - Method in interface dev.morphia.AdvancedDatastore
Inserts entities in to the mapped collection.
insert(List<T>, InsertOptions) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
insert(T) - Method in interface dev.morphia.AdvancedDatastore
Inserts an entity in to the mapped collection.
insert(T) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
insert(T...) - Method in interface dev.morphia.AdvancedDatastore
Deprecated.
insert(T...) - Method in class dev.morphia.DatastoreImpl
Deprecated.
insert(T, WriteConcern) - Method in interface dev.morphia.AdvancedDatastore
insert(T, WriteConcern) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
insert(T, InsertOptions) - Method in interface dev.morphia.AdvancedDatastore
Inserts an entity in to the mapped collection.
insert(T, InsertOptions) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
InsertOptions - Class in dev.morphia
Options related to insertion of documents into MongoDB.
InsertOptions() - Constructor for class dev.morphia.InsertOptions
Creates a new options instance.
InstantConverter - Class in dev.morphia.converters
This converter will take a Instant and convert it to a java.util.Date instance.
InstantConverter() - Constructor for class dev.morphia.converters.InstantConverter
Creates the Converter.
INTEGER_32_BIT - dev.morphia.query.Type
 
INTEGER_64_BIT - dev.morphia.query.Type
 
IntegerConverter - Class in dev.morphia.converters
 
IntegerConverter() - Constructor for class dev.morphia.converters.IntegerConverter
Creates the Converter.
IntegerTypeValidator - Class in dev.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 dev.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 dev.morphia.query.FieldEndImpl
 
intersects(Geometry, CoordinateReferenceSystem) - Method in interface dev.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 class dev.morphia.query.FieldEndImpl
 
INTERSECTS - dev.morphia.query.FilterOperator
 
into(A) - Method in class dev.morphia.query.internal.MappingIterable
 
into(A) - Method in class dev.morphia.query.QueryImpl
 
isAbstract() - Method in class dev.morphia.mapping.MappedClass
Deprecated.
This is an internal method subject to change without notice.
isActLikeSerializer() - Method in class dev.morphia.mapping.MapperOptions
Deprecated.
this is actually the default and proper behavior. this setting is redundant
isArray() - Method in class dev.morphia.mapping.MappedField
Deprecated.
 
isCacheClassLookups() - Method in class dev.morphia.mapping.MapperOptions
 
isCachingEnabled() - Method in class dev.morphia.mapping.MapperOptions
 
isContinueOnError() - Method in class dev.morphia.InsertOptions
Deprecated.
this value is not supported in 2.0
isDebugEnabled() - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
isDebugEnabled() - Method in class dev.morphia.logging.jdk.JDKLogger
 
isDebugEnabled() - Method in interface dev.morphia.logging.Logger
 
isDebugEnabled() - Method in class dev.morphia.logging.SilentLogger
 
isDisableEmbeddedIndexes() - Method in class dev.morphia.mapping.MapperOptions
 
isEmpty() - Method in class relocated.morphia.org.apache.commons.collections.ReferenceMap
Returns true if this map is empty.
isErrorEnabled() - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
isErrorEnabled() - Method in class dev.morphia.logging.jdk.JDKLogger
 
isErrorEnabled() - Method in interface dev.morphia.logging.Logger
 
isErrorEnabled() - Method in class dev.morphia.logging.SilentLogger
 
isFetched(Object) - Static method in class dev.morphia.mapping.lazy.proxy.ProxyHelper
Checks if the proxied entity has been fetched.
isIgnoreFinals() - Method in class dev.morphia.mapping.MapperOptions
 
isInfoEnabled() - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
isInfoEnabled() - Method in class dev.morphia.logging.jdk.JDKLogger
 
isInfoEnabled() - Method in interface dev.morphia.logging.Logger
 
isInfoEnabled() - Method in class dev.morphia.logging.SilentLogger
 
isInterface() - Method in class dev.morphia.mapping.MappedClass
Deprecated.
 
isIsolated() - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
this functionality is deprecated in mongodb 3.6 and has been removed from 4.0
isIsolated() - Method in class dev.morphia.query.UpdateOpsImpl
 
isMap() - Method in class dev.morphia.mapping.MappedField
Deprecated.
 
isMapped(Class) - Method in class dev.morphia.mapping.Mapper
Deprecated.
Checks to see if a Class has been mapped.
isMapped(Class) - Method in class dev.morphia.Morphia
Check whether a specific class is mapped by this instance.
isMapSubPackages() - Method in class dev.morphia.mapping.MapperOptions
 
isMulti() - Method in class dev.morphia.UpdateOptions
Gets whether all documents matching the query filter will be removed.
isMultipleValues() - Method in class dev.morphia.mapping.MappedField
Deprecated.
 
isNoCursorTimeout() - Method in class dev.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 dev.morphia.MapreduceResults
Deprecated.
isolated() - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
this functionality is deprecated in mongodb 3.6 and has been removed from 4.0
isolated() - Method in class dev.morphia.query.UpdateOpsImpl
 
isOplogReplay() - Method in class dev.morphia.query.FindOptions
Users should not set this under normal circumstances.
isPartial() - Method in class dev.morphia.query.FindOptions
Get partial results from a sharded cluster if one or more shards are unreachable (instead of throwing an error).
isProxied(Class<?>) - Static method in class dev.morphia.mapping.lazy.proxy.ProxyHelper
Checks if the Class passed is a ProxiedReference
isProxy(Object) - Static method in class dev.morphia.mapping.lazy.proxy.ProxyHelper
Checks if the Java reference passed is a proxy
isReference() - Method in class dev.morphia.mapping.MappedField
Deprecated.
 
isRegistered(Class<? extends TypeConverter>) - Method in class dev.morphia.converters.Converters
Deprecated.
 
isRegistered(Class<? extends TypeConverter>) - Method in class dev.morphia.converters.CustomConverters
 
isRemove() - Method in class dev.morphia.FindAndModifyOptions
Returns the remove
isResolved() - Method in class dev.morphia.mapping.experimental.CollectionReference
isResolved() - Method in class dev.morphia.mapping.experimental.MapReference
isResolved() - Method in class dev.morphia.mapping.experimental.MorphiaReference
 
isResolved() - Method in class dev.morphia.mapping.experimental.SingleReference
isReturnKey() - Method in class dev.morphia.query.FindOptions
 
isReturnNew() - Method in class dev.morphia.FindAndModifyOptions
Returns the returnNew
isSet() - Method in class dev.morphia.mapping.MappedField
Deprecated.
 
isShowRecordId() - Method in class dev.morphia.query.FindOptions
 
isSingleValue() - Method in class dev.morphia.mapping.EphemeralMappedField
 
isSingleValue() - Method in class dev.morphia.mapping.MappedField
Deprecated.
 
isStoreEmpties() - Method in class dev.morphia.mapping.MapperOptions
 
isStoreNulls() - Method in class dev.morphia.mapping.MapperOptions
 
isSupported(Class<?>, MappedField) - Method in class dev.morphia.converters.MapOfValuesConverter
 
isSupported(Class<?>, MappedField) - Method in class dev.morphia.converters.TypeConverter
checks if the class is supported for this converter.
isSupported(Class<?>, MappedField) - Method in class dev.morphia.geo.NamedCoordinateReferenceSystemConverter
 
isSupported(Class, MappedField) - Method in class dev.morphia.converters.EnumConverter
 
isSupported(Class, MappedField) - Method in class dev.morphia.converters.IdentityConverter
 
isSupported(Class, MappedField) - Method in class dev.morphia.converters.IterableConverter
 
isSupported(Class, MappedField) - Method in class dev.morphia.converters.SerializedObjectConverter
 
isSupportedType(Class<?>) - Static method in class dev.morphia.mapping.MappedClass
Deprecated.
Checks to see if it a Map/Set/List or a property supported by the MongoDB java driver
isSuppressed() - Method in class dev.morphia.aggregation.Projection
 
isTraceEnabled() - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
isTraceEnabled() - Method in class dev.morphia.logging.jdk.JDKLogger
 
isTraceEnabled() - Method in interface dev.morphia.logging.Logger
 
isTraceEnabled() - Method in class dev.morphia.logging.SilentLogger
 
isTransient() - Method in class dev.morphia.mapping.MappedField
Deprecated.
 
isTypeMongoCompatible() - Method in class dev.morphia.mapping.MappedField
Deprecated.
 
isUnFetched(Object) - Static method in class dev.morphia.mapping.lazy.proxy.ProxyHelper
Checks if the proxied entity has been fetched.
isUpsert() - Method in class dev.morphia.FindAndModifyOptions
Returns the upsert
isUpsert() - Method in class dev.morphia.UpdateOptions
Returns true if a new document should be inserted if there are no matches to the query filter.
isUseBulkWriteOperations() - Method in class dev.morphia.Morphia
Deprecated. 
isUseLowerCaseCollectionNames() - Method in class dev.morphia.mapping.MapperOptions
 
isValidatingNames() - Method in class dev.morphia.query.QueryImpl
 
isValidatingTypes() - Method in class dev.morphia.query.QueryImpl
 
isWarningEnabled() - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
isWarningEnabled() - Method in class dev.morphia.logging.jdk.JDKLogger
 
isWarningEnabled() - Method in interface dev.morphia.logging.Logger
 
isWarningEnabled() - Method in class dev.morphia.logging.SilentLogger
 
IterableConverter - Class in dev.morphia.converters
 
IterableConverter() - Constructor for class dev.morphia.converters.IterableConverter
 
iterator() - Method in class dev.morphia.MapreduceResults
Deprecated.
Creates an Iterator over the results of the operation.
iterator() - Method in class dev.morphia.query.internal.MappingIterable
 
iterator() - Method in class dev.morphia.query.MorphiaIterator
Deprecated.
 
iterator() - Method in class dev.morphia.query.QueryImpl
 

J

JAVA_8 - Static variable in class dev.morphia.converters.DefaultConverters
 
JAVASCRIPT - dev.morphia.query.Type
 
JAVASCRIPT_WITH_SCOPE - dev.morphia.query.Type
 
JDKLogger - Class in dev.morphia.logging.jdk
Provides a logger using the JDK logging facilities.
JDKLogger(Class) - Constructor for class dev.morphia.logging.jdk.JDKLogger
Creates a logger.
JDKLoggerFactory - Class in dev.morphia.logging.jdk
A logger factory using the JDK's logging.
JDKLoggerFactory() - Constructor for class dev.morphia.logging.jdk.JDKLoggerFactory
 
join(List<String>, char) - Static method in class dev.morphia.internal.MorphiaUtils
Joins strings with the given delimiter
jsMode(Boolean) - Method in class dev.morphia.MapReduceOptions
Deprecated.
Sets the (optional) JavaScript Mode

K

Key<T> - Class in dev.morphia
The key object; this class is take from the app-engine datastore (mostly) implementation.
Key() - Constructor for class dev.morphia.Key
For GWT serialization
Key(Class<? extends T>, String, byte[]) - Constructor for class dev.morphia.Key
Create a key with an id
Key(Class<? extends T>, String, Object) - Constructor for class dev.morphia.Key
Create a key with an id
KeyConverter - Class in dev.morphia.converters
 
KeyConverter() - Constructor for class dev.morphia.converters.KeyConverter
Creates the Converter.
keys() - Method in interface dev.morphia.query.Query
Execute the query and get the results (as a MorphiaCursor<Key<T>>)
keys() - Method in class dev.morphia.query.QueryImpl
 
keys(FindOptions) - Method in interface dev.morphia.query.Query
Execute the query and get the results (as a MorphiaCursor<Key<T>>)
keys(FindOptions) - Method in class dev.morphia.query.QueryImpl
 
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 dev.morphia.dao.BasicDAO
Deprecated.
Converts from a List to their id values
keyToDBRef(Key) - Method in class dev.morphia.mapping.Mapper
Deprecated.
Converts a Key to a DBRef
KeyValueTypeValidator - Class in dev.morphia.query.validation
This makes sure that the field type and the Key type match.

L

language() - Method in annotation type dev.morphia.annotations.IndexOptions
 
languageOverride() - Method in annotation type dev.morphia.annotations.IndexOptions
 
last(String) - Static method in class dev.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 dev.morphia.geo.PointBuilder
Add a latitude.
lazy() - Method in annotation type dev.morphia.annotations.Reference
 
LazyFeatureDependencies - Class in dev.morphia.mapping.lazy
 
LazyProxyFactory - Interface in dev.morphia.mapping.lazy
 
LazyReferenceFetchingException - Exception in dev.morphia.mapping.lazy.proxy
 
LazyReferenceFetchingException(String) - Constructor for exception dev.morphia.mapping.lazy.proxy.LazyReferenceFetchingException
Creates a LazyReferenceFetchingException with the given message
LazyReferenceMissingDependencies - Class in dev.morphia.mapping.validation.fieldrules
 
LazyReferenceMissingDependencies() - Constructor for class dev.morphia.mapping.validation.fieldrules.LazyReferenceMissingDependencies
 
LazyReferenceOnArray - Class in dev.morphia.mapping.validation.fieldrules
 
LazyReferenceOnArray() - Constructor for class dev.morphia.mapping.validation.fieldrules.LazyReferenceOnArray
 
legacy() - Static method in class dev.morphia.mapping.MapperOptions
 
LESS_THAN - dev.morphia.query.FilterOperator
 
LESS_THAN_OR_EQUAL - dev.morphia.query.FilterOperator
 
lessThan(Object) - Method in interface dev.morphia.query.FieldEnd
Checks that a field is less than the value given
lessThan(Object) - Method in class dev.morphia.query.FieldEndImpl
 
lessThanOrEq(Object) - Method in interface dev.morphia.query.FieldEnd
Checks that a field is less than or equal to the value given
lessThanOrEq(Object) - Method in class dev.morphia.query.FieldEndImpl
 
level() - Method in annotation type dev.morphia.annotations.Validation
 
level() - Method in class dev.morphia.ValidationBuilder
 
level(ValidationLevel) - Method in class dev.morphia.ValidationBuilder
 
limit(int) - Method in interface dev.morphia.aggregation.AggregationPipeline
Passes the first n documents unmodified to the pipeline where n is the specified limit.
limit(int) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
 
limit(int) - Method in class dev.morphia.MapReduceOptions
Deprecated.
Sets the (optional) limit on input
limit(int) - Method in class dev.morphia.query.CountOptions
Sets the limit to apply.
limit(int) - Method in class dev.morphia.query.FindOptions
Sets the limit to apply.
limit(int) - Method in interface dev.morphia.query.Query
Deprecated.
use the methods that accept Options directly
limit(int) - Method in class dev.morphia.query.QueryImpl
Deprecated.
LINE_STRING - dev.morphia.geo.GeoJsonType
 
lineString(Point...) - Static method in class dev.morphia.geo.GeoJson
Create a new LineString representing a GeoJSON LineString type.
LineString - Class in dev.morphia.geo
Represents a GeoJSON LineString type.
LineStringConverter() - Constructor for class dev.morphia.geo.GeometryShapeConverter.LineStringConverter
Creates a new LineStringConverter.
LINK - dev.morphia.geo.CoordinateReferenceSystemType
A coordinate reference system that is specified by a dereferenceable URI
list(Object...) - Static method in class dev.morphia.aggregation.Projection
Creates a list projection
ListValueValidator - Class in dev.morphia.query.validation
Validates Lists.
LocalDateConverter - Class in dev.morphia.converters
Provides a converter for LocalDate converting the value to the Date at the start of that day.
LocalDateConverter(Mapper) - Constructor for class dev.morphia.converters.LocalDateConverter
Creates the Converter.
LocalDateTimeConverter - Class in dev.morphia.converters
Provides a converter for LocalDateTime converting the value to a Date.
LocalDateTimeConverter(Mapper) - Constructor for class dev.morphia.converters.LocalDateTimeConverter
Creates the Converter.
locale() - Method in annotation type dev.morphia.annotations.Collation
 
LocaleConverter - Class in dev.morphia.converters
Converts a Locale to/from a valid database structure.
LocaleConverter() - Constructor for class dev.morphia.converters.LocaleConverter
Creates the Converter.
LocalTimeConverter - Class in dev.morphia.converters
Provides a converter for LocalTime and convert it to its numeric form of milliseconds since midnight.
LocalTimeConverter() - Constructor for class dev.morphia.converters.LocalTimeConverter
Creates the Converter.
log(Level, String, Object...) - Method in class dev.morphia.logging.jdk.FasterJDKLogger
 
log(Level, String, Object...) - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
log(Level, String, Object...) - Method in class dev.morphia.logging.jdk.JDKLogger
 
log(Level, String, Throwable) - Method in class dev.morphia.logging.jdk.FasterJDKLogger
 
log(Level, String, Throwable) - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
log(Level, String, Throwable) - Method in class dev.morphia.logging.jdk.JDKLogger
 
Logger - Interface in dev.morphia.logging
A generic logger interface used internally by Morphia.
LoggerFactory - Interface in dev.morphia.logging
A generic logger factory interface used internally by Morphia.
Logr - Interface in dev.morphia.logging
Deprecated.
Use Logger directly
LogrFactory - Interface in dev.morphia.logging
Deprecated.
Use LoggerFactory directly
LongConverter - Class in dev.morphia.converters
 
LongConverter() - Constructor for class dev.morphia.converters.LongConverter
Creates the Converter.
longitude(double) - Method in class dev.morphia.geo.PointBuilder
Add a longitude.
LongTypeValidator - Class in dev.morphia.query.validation
Checks the type of the value if the type of the field is a Long or long.
LongTypeValidator() - Constructor for class dev.morphia.query.validation.LongTypeValidator
 
lookup(String, String, String, String) - Method in interface dev.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 dev.morphia.aggregation.AggregationPipelineImpl
 
lowerIndexBound(DBObject) - Method in interface dev.morphia.query.Query
Deprecated.
use the methods that accept Options directly.
lowerIndexBound(DBObject) - Method in class dev.morphia.query.QueryImpl
Deprecated.

M

manualRefToKey(Class<T>, Object) - Method in class dev.morphia.mapping.Mapper
Deprecated.
Creates a Key for a type and an ID value
map(Function<T, U>) - Method in class dev.morphia.query.QueryImpl
 
map(Function<V, W>) - Method in class dev.morphia.query.internal.MappingIterable
 
map(Class...) - Method in class dev.morphia.Morphia
Maps a set of classes
map(String) - Method in class dev.morphia.MapReduceOptions
Deprecated.
Set the JavaScript function that associates or "maps" a value with a key and emits the key and value pair.
map(Set<Class>) - Method in class dev.morphia.Morphia
Maps a set of classes
MapKeyDifferentFromString - Class in dev.morphia.mapping.validation.fieldrules
 
MapKeyDifferentFromString() - Constructor for class dev.morphia.mapping.validation.fieldrules.MapKeyDifferentFromString
 
MapNotSerializable - Class in dev.morphia.mapping.validation.fieldrules
 
MapNotSerializable() - Constructor for class dev.morphia.mapping.validation.fieldrules.MapNotSerializable
 
MapObjectReference - Class in dev.morphia.mapping.lazy.proxy
 
MapObjectReference(Datastore, Map, Class, boolean) - Constructor for class dev.morphia.mapping.lazy.proxy.MapObjectReference
Creates a MapObjectReference
MapOfValuesConverter - Class in dev.morphia.converters
 
MapOfValuesConverter() - Constructor for class dev.morphia.converters.MapOfValuesConverter
 
mapPackage(String) - Method in class dev.morphia.Morphia
Tries to map all classes in the package specified.
mapPackage(String, boolean) - Method in class dev.morphia.Morphia
Tries to map all classes in the package specified.
mapPackageFromClass(Class) - Method in class dev.morphia.Morphia
Maps all the classes found in the package to which the given class belongs.
MappedClass - Class in dev.morphia.mapping
Deprecated. 
MappedClass(Class<?>, Mapper) - Constructor for class dev.morphia.mapping.MappedClass
Deprecated.
Creates a MappedClass instance
MappedField - Class in dev.morphia.mapping
Deprecated. 
Mapper - Class in dev.morphia.mapping
Deprecated.
this class will be internalized in 2.0
Mapper() - Constructor for class dev.morphia.mapping.Mapper
Deprecated.
Creates a Mapper with default options
Mapper(MapperOptions) - Constructor for class dev.morphia.mapping.Mapper
Deprecated.
Creates a Mapper with the given options.
Mapper(MapperOptions, Mapper) - Constructor for class dev.morphia.mapping.Mapper
Deprecated.
Creates a new Mapper with the given options and a Mapper to copy.
MapperOptions - Class in dev.morphia.mapping
Options to control mapping behavior.
MapperOptions() - Constructor for class dev.morphia.mapping.MapperOptions
Deprecated.
use the Builder instead
MapperOptions(MapperOptions) - Constructor for class dev.morphia.mapping.MapperOptions
Deprecated.
use the Builder instead
MapperOptions.Builder - Class in dev.morphia.mapping
A builder class for setting mapping options
MappingException - Exception in dev.morphia.mapping
 
MappingException(String) - Constructor for exception dev.morphia.mapping.MappingException
Creates an exception with a message
MappingException(String, Throwable) - Constructor for exception dev.morphia.mapping.MappingException
Creates an exception with a message and a cause
MappingIterable<U,​V> - Class in dev.morphia.query.internal
Copied from the Java driver
MappingIterable(MongoIterable<U>, Function<U, V>) - Constructor for class dev.morphia.query.internal.MappingIterable
 
MappingValidator - Class in dev.morphia.mapping.validation
 
MappingValidator(ObjectFactory) - Constructor for class dev.morphia.mapping.validation.MappingValidator
Creates a mapping validator
mapReduce(MapReduceOptions<T>) - Method in interface dev.morphia.Datastore
Deprecated.
This feature will not be supported in 2.0
mapReduce(MapReduceOptions<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
mapReduce(MapreduceType, Query, Class<T>, MapReduceCommand) - Method in interface dev.morphia.Datastore
Deprecated.
This feature will not be supported in 2.0
mapReduce(MapreduceType, Query, Class<T>, MapReduceCommand) - Method in class dev.morphia.DatastoreImpl
Deprecated.
mapReduce(MapreduceType, Query, String, String, String, Map<String, Object>, Class<T>) - Method in interface dev.morphia.Datastore
Deprecated.
This feature will not be supported in 2.0
mapReduce(MapreduceType, Query, String, String, String, Map<String, Object>, Class<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
MapReduceOptions<T> - Class in dev.morphia
Deprecated.
This feature will not be supported in 2.0
MapReduceOptions() - Constructor for class dev.morphia.MapReduceOptions
Deprecated.
 
MapreduceResults<T> - Class in dev.morphia
Deprecated.
This feature will not be supported in 2.0
MapreduceResults(MapReduceOutput) - Constructor for class dev.morphia.MapreduceResults
Deprecated.
Creates a results instance for the given output
MapreduceResults.Stats - Class in dev.morphia
Deprecated.
This class represents various statistics about a map reduce operation
MapreduceType - Enum in dev.morphia
Deprecated.
use MapReduceCommand.OutputType instead
MapReference<T> - Class in dev.morphia.mapping.experimental
 
mapSubPackages(boolean) - Method in class dev.morphia.mapping.MapperOptions.Builder
 
match(Query) - Method in interface dev.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 dev.morphia.aggregation.AggregationPipelineImpl
 
matches(String) - Method in enum dev.morphia.query.FilterOperator
Returns true if the given filter matches the filters on this FilterOperator
max(DBObject) - Method in class dev.morphia.query.FindOptions
 
max(String) - Static method in class dev.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 dev.morphia.query.UpdateOperations
Sets the numeric field to value if it is greater than the current value.
max(String, Number) - Method in class dev.morphia.query.UpdateOpsImpl
 
MAX - dev.morphia.query.UpdateOperator
 
MAX_KEY - dev.morphia.query.Type
 
maxAwaitTime(long, TimeUnit) - Method in class dev.morphia.query.FindOptions
Sets the maximum await execution time on the server for this operation.
maxScan(int) - Method in interface dev.morphia.query.Query
Deprecated.
no replacement is planned
maxScan(int) - Method in class dev.morphia.query.QueryImpl
 
maxTime(long, TimeUnit) - Method in class dev.morphia.FindAndModifyOptions
Sets the maximum execution time on the server for this operation.
maxTime(long, TimeUnit) - Method in class dev.morphia.query.CountOptions
Sets the maximum execution time on the server for this operation.
maxTime(long, TimeUnit) - Method in class dev.morphia.query.FindOptions
Sets the maximum execution time on the server for this operation.
maxTime(long, TimeUnit) - Method in interface dev.morphia.query.Query
Deprecated.
maxTime(long, TimeUnit) - Method in class dev.morphia.query.QueryImpl
Deprecated.
maxTimeMS(long) - Method in class dev.morphia.MapReduceOptions
Deprecated.
Sets the max execution time for this command, in the given time unit.
maxVariable() - Method in annotation type dev.morphia.annotations.Collation
 
merge(T) - Method in interface dev.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 dev.morphia.DatastoreImpl
Deprecated.
 
merge(T, WriteConcern) - Method in interface dev.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 class dev.morphia.DatastoreImpl
Deprecated.
 
MERGE - dev.morphia.MapreduceType
Deprecated.
 
Meta - Class in dev.morphia.query
Defines $meta expression object
Meta(Meta.MetaDataKeyword) - Constructor for class dev.morphia.query.Meta
Specify the meta
Meta(Meta.MetaDataKeyword, String) - Constructor for class dev.morphia.query.Meta
 
Meta.MetaDataKeyword - Enum in dev.morphia.query
Representing specified metadata keyword
min(DBObject) - Method in class dev.morphia.query.FindOptions
 
min(String) - Static method in class dev.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 dev.morphia.query.UpdateOperations
sets the numeric field to value if it is less than the current value.
min(String, Number) - Method in class dev.morphia.query.UpdateOpsImpl
 
MIN - dev.morphia.query.UpdateOperator
 
MIN_KEY - dev.morphia.query.Type
 
MINOR - dev.morphia.mapping.validation.ConstraintViolation.Level
 
MisplacedProperty - Class in dev.morphia.mapping.validation.fieldrules
 
MisplacedProperty() - Constructor for class dev.morphia.mapping.validation.fieldrules.MisplacedProperty
 
mod(long, long) - Method in interface dev.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 dev.morphia.query.FieldEndImpl
 
mod(Object, Object) - Static method in class dev.morphia.aggregation.Projection
Creates a modulo projection
MOD - dev.morphia.query.FilterOperator
 
ModOperationValidator - Class in dev.morphia.query.validation
Validates queries using the FilterOperator.MOD.
Morphia - Class in dev.morphia
 
Morphia() - Constructor for class dev.morphia.Morphia
Creates a Morphia instance with a default Mapper and an empty class set.
Morphia(Mapper) - Constructor for class dev.morphia.Morphia
Creates a Morphia instance with the given Mapper
Morphia(Mapper, Set<Class>) - Constructor for class dev.morphia.Morphia
Creates a Morphia instance with the given Mapper and class set.
Morphia(Set<Class>) - Constructor for class dev.morphia.Morphia
Creates a Morphia instance with the given classes
MorphiaCursor<T> - Class in dev.morphia.query.internal
 
MorphiaCursor(Datastore, Cursor, Mapper, Class<T>, EntityCache) - Constructor for class dev.morphia.query.internal.MorphiaCursor
Creates a MorphiaCursor
MorphiaIterator<T,​V> - Class in dev.morphia.query
Deprecated.
this is being replaced by MongoCursor
MorphiaIterator(Datastore, Iterator<DBObject>, Mapper, Class<T>, String, EntityCache) - Constructor for class dev.morphia.query.MorphiaIterator
Deprecated.
Creates a MorphiaIterator
MorphiaKeyCursor<T> - Class in dev.morphia.query.internal
Defines an Iterator across the Key values for a given type.
MorphiaKeyCursor(Datastore, Cursor, Mapper, Class<T>, String) - Constructor for class dev.morphia.query.internal.MorphiaKeyCursor
Create
MorphiaKeyIterator<T> - Class in dev.morphia.query
Deprecated.
this is being replaced by MongoCursor
MorphiaKeyIterator(Datastore, DBCursor, Mapper, Class<T>, String) - Constructor for class dev.morphia.query.MorphiaKeyIterator
Deprecated.
Create
MorphiaLoggerFactory - Class in dev.morphia.logging
Morphia's logging factory that can return either an slf4j LoggerFactory or a JDK LoggerFactory.
MorphiaReference<T> - Class in dev.morphia.mapping.experimental
Wrapper type for references to entities in other collections
MorphiaUtils - Class in dev.morphia.internal
This class provides a set of utilities for use in Morphia.
multi(boolean) - Method in class dev.morphia.UpdateOptions
Sets whether all documents matching the query filter will be removed.
MULTI_LINE_STRING - dev.morphia.geo.GeoJsonType
 
MULTI_POINT - dev.morphia.geo.GeoJsonType
 
MULTI_POLYGON - dev.morphia.geo.GeoJsonType
 
multiLineString(LineString...) - Static method in class dev.morphia.geo.GeoJson
Create a new MultiLineString representing a GeoJSON MultiLineString type.
MultiLineString - Class in dev.morphia.geo
This class represents a series of lines, which will saved into MongoDB as per the GeoJSON specification.
MultiLineStringConverter() - Constructor for class dev.morphia.geo.GeometryShapeConverter.MultiLineStringConverter
Creates a new MultiLineStringConverter.
MultipleId - Class in dev.morphia.mapping.validation.classrules
 
MultipleId() - Constructor for class dev.morphia.mapping.validation.classrules.MultipleId
 
MultipleVersions - Class in dev.morphia.mapping.validation.classrules
 
MultipleVersions() - Constructor for class dev.morphia.mapping.validation.classrules.MultipleVersions
 
multiply(Object...) - Static method in class dev.morphia.aggregation.Projection
Creates a multiplication projection
multiPoint(Point...) - Static method in class dev.morphia.geo.GeoJson
Create a new MultiPoint representing a GeoJSON MultiPoint type.
MultiPoint - Class in dev.morphia.geo
This class represents a series of points, which will saved into MongoDB as per the GeoJSON specification.
MultiPointConverter() - Constructor for class dev.morphia.geo.GeometryShapeConverter.MultiPointConverter
Creates a new MultiPointConverter.
multiPolygon(Polygon...) - Static method in class dev.morphia.geo.GeoJson
Create a new MultiPolygon representing a GeoJSON MultiPolygon type.
MultiPolygon - Class in dev.morphia.geo
This class represents a set of polygons, which will saved into MongoDB as per the GeoJSON specification.
MultiPolygonConverter() - Constructor for class dev.morphia.geo.GeometryShapeConverter.MultiPolygonConverter
Creates a new MultiPolygonConverter.

N

name() - Method in annotation type dev.morphia.annotations.Index
Deprecated.
use the IndexOptions found in Index.options()
name() - Method in annotation type dev.morphia.annotations.Indexed
Deprecated.
name() - Method in annotation type dev.morphia.annotations.IndexOptions
 
NAME - dev.morphia.geo.CoordinateReferenceSystemType
A coordinate reference system that is specified by name
NamedCoordinateReferenceSystem - Class in dev.morphia.geo
A GeoJSON named Coordinate Reference System.
NamedCoordinateReferenceSystemConverter - Class in dev.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 dev.morphia.geo.NamedCoordinateReferenceSystemConverter
Sets up this converter to work with things that implement the Geometry interface
naturalAscending() - Static method in class dev.morphia.query.Sort
Creates an ascending sort on a field
naturalDescending() - Static method in class dev.morphia.query.Sort
Creates a descending natural sort on a field
near(double, double) - Method in interface dev.morphia.query.FieldEnd
Specifies a point for which a geospatial query returns the documents from nearest to farthest.
near(double, double) - Method in class dev.morphia.query.FieldEndImpl
 
near(double, double, boolean) - Method in interface dev.morphia.query.FieldEnd
Specifies a point for which a geospatial query returns the documents from nearest to farthest.
near(double, double, boolean) - Method in class dev.morphia.query.FieldEndImpl
 
near(double, double, double) - Method in interface dev.morphia.query.FieldEnd
Specifies a point for which a geospatial query returns the documents from nearest to farthest.
near(double, double, double) - Method in class dev.morphia.query.FieldEndImpl
 
near(double, double, double, boolean) - Method in interface dev.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 class dev.morphia.query.FieldEndImpl
 
near(Point) - Method in interface dev.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 class dev.morphia.query.FieldEndImpl
 
near(Point, int) - Method in interface dev.morphia.query.FieldEnd
near(Point, int) - Method in class dev.morphia.query.FieldEndImpl
 
near(Point, Double, Double) - Method in interface dev.morphia.query.FieldEnd
Specifies a point for which a geospatial query returns the documents from nearest to farthest.
near(Point, Double, Double) - Method in class dev.morphia.query.FieldEndImpl
 
NEAR - dev.morphia.query.FilterOperator
 
NEAR_SPHERE - dev.morphia.query.FilterOperator
 
nearSphere(Point) - Method in interface dev.morphia.query.FieldEnd
Specifies a point for which a geospatial query returns the documents from nearest to farthest.
nearSphere(Point) - Method in class dev.morphia.query.FieldEndImpl
 
nearSphere(Point, Double, Double) - Method in interface dev.morphia.query.FieldEnd
Specifies a point for which a geospatial query returns the documents from nearest to farthest.
nearSphere(Point, Double, Double) - Method in class dev.morphia.query.FieldEndImpl
 
next() - Method in class dev.morphia.query.internal.MorphiaCursor
 
next() - Method in class dev.morphia.query.internal.MorphiaKeyCursor
 
next() - Method in class dev.morphia.query.MorphiaIterator
Deprecated.
 
noClassnameStored() - Method in annotation type dev.morphia.annotations.Entity
Deprecated.
to be replaced in 2.0 where the default will be to store the discriminator
noCursorTimeout(boolean) - Method in class dev.morphia.query.FindOptions
The server normally times out idle cursors after an inactivity period (10 minutes) to prevent excess memory use.
NoId - Class in dev.morphia.mapping.validation.classrules
 
NoId() - Constructor for class dev.morphia.mapping.validation.classrules.NoId
 
normalization() - Method in annotation type dev.morphia.annotations.Collation
 
not() - Method in interface dev.morphia.query.FieldEnd
Negates the criteria applied to the field
not() - Method in class dev.morphia.query.FieldEndImpl
 
NOT - dev.morphia.query.FilterOperator
 
NOT_EQUAL - dev.morphia.query.FilterOperator
 
NOT_IN - dev.morphia.query.FilterOperator
 
notEqual(Object) - Method in interface dev.morphia.query.FieldEnd
Checks that a field doesn't equal a value
notEqual(Object) - Method in class dev.morphia.query.FieldEndImpl
 
notifyExists(Key<?>, boolean) - Method in class dev.morphia.mapping.cache.DefaultEntityCache
 
notifyExists(Key<?>, boolean) - Method in interface dev.morphia.mapping.cache.EntityCache
Notifies the cache of the existence of a Key
notIn(Iterable<?>) - Method in interface dev.morphia.query.FieldEnd
notIn(Iterable<?>) - Method in class dev.morphia.query.FieldEndImpl
 
NotInOperationValidator - Class in dev.morphia.query.validation
Checks if the value can have the FilterOperator.NOT_IN operator applied to it.
NotSaved - Annotation Type in dev.morphia.annotations
When placed on an entity field, the field will not be written to mongodb.
NULL - dev.morphia.query.Type
 
numericOrdering() - Method in annotation type dev.morphia.annotations.Collation
 

O

object - Variable in class dev.morphia.mapping.lazy.proxy.AbstractReference
 
OBJECT - dev.morphia.query.Type
 
OBJECT_ID - dev.morphia.query.Type
 
objectFactory(ObjectFactory) - Method in class dev.morphia.mapping.MapperOptions.Builder
 
ObjectFactory - Interface in dev.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 dev.morphia.converters
Convert to an ObjectId from string
ObjectIdConverter() - Constructor for class dev.morphia.converters.ObjectIdConverter
Creates the Converter.
offset(int) - Method in interface dev.morphia.query.Query
Deprecated.
use the methods that accept Options directly
offset(int) - Method in class dev.morphia.query.QueryImpl
Deprecated.
ONE_TWO_FIVE - dev.morphia.query.BucketAutoOptions.Granularity
 
oneOf(Class, Class...) - Method in class dev.morphia.converters.TypeConverter
checks if Class f is in classes *
oneOfClasses(Class, Class[]) - Method in class dev.morphia.converters.TypeConverter
checks if Class f is in classes *
OperationValidator - Class in dev.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 dev.morphia.query.validation.OperationValidator
 
oplogReplay(boolean) - Method in class dev.morphia.query.FindOptions
Users should not set this under normal circumstances.
options() - Method in annotation type dev.morphia.annotations.Index
 
options() - Method in annotation type dev.morphia.annotations.Indexed
 
options() - Method in annotation type dev.morphia.annotations.Text
 
options() - Static method in class dev.morphia.query.PushOptions
Helper method to create a PushOptions instance
or(Criteria...) - Method in interface dev.morphia.query.CriteriaContainer
Ors Criteria with this CriteriaContainer.
or(Criteria...) - Method in class dev.morphia.query.CriteriaContainerImpl
 
or(Criteria...) - Method in interface dev.morphia.query.Query
Creates a container to hold 'or' clauses
or(Criteria...) - Method in class dev.morphia.query.QueryImpl
 
OR - dev.morphia.query.CriteriaJoin
 
order(Meta) - Method in interface dev.morphia.query.Query
Deprecated.
order(Meta) - Method in class dev.morphia.query.QueryImpl
 
order(Sort...) - Method in interface dev.morphia.query.Query
Deprecated.
order(Sort...) - Method in class dev.morphia.query.QueryImpl
 
order(String) - Method in interface dev.morphia.query.Query
Deprecated.
order(String) - Method in class dev.morphia.query.QueryImpl
 
out(Class<U>) - Method in interface dev.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>) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
 
out(Class<U>, AggregationOptions) - Method in interface dev.morphia.aggregation.AggregationPipeline
Places the output of the aggregation in the collection mapped by the target type.
out(Class<U>, AggregationOptions) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
 
out(String, Class<U>) - Method in interface dev.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>) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
 
out(String, Class<U>, AggregationOptions) - Method in interface dev.morphia.aggregation.AggregationPipeline
Places the output of the aggregation in the collection mapped by the target type.
out(String, Class<U>, AggregationOptions) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
 
output(String) - Method in class dev.morphia.query.BucketAutoOptions
Define output field for the bucketauto stage
output(String) - Method in class dev.morphia.query.BucketOptions
Define output field for the bucket stage
outputCollection(String) - Method in class dev.morphia.MapReduceOptions
Deprecated.
Sets the output collection for the job
outputDB(String) - Method in class dev.morphia.MapReduceOptions
Deprecated.
Sets the (optional) database name where the output collection should reside
OutputOperation(String) - Constructor for class dev.morphia.query.BucketAutoOptions.OutputOperation
Creates the output operation for given fieldname
OutputOperation(String) - Constructor for class dev.morphia.query.BucketOptions.OutputOperation
Creates the output operation for given fieldname
outputType(MapReduceCommand.OutputType) - Method in class dev.morphia.MapReduceOptions
Deprecated.
Sets the output type of the job

P

parseFieldsString(String, Class, Mapper, boolean) - Static method in class dev.morphia.query.QueryImpl
Deprecated.
this is an internal method and will be removed in the next version
partial(boolean) - Method in class dev.morphia.query.FindOptions
Get partial results from a sharded cluster if one or more shards are unreachable (instead of throwing an error).
partialFilter() - Method in annotation type dev.morphia.annotations.IndexOptions
 
PathTarget - Class in dev.morphia.internal
 
PathTarget(Mapper, MappedClass, String) - Constructor for class dev.morphia.internal.PathTarget
Creates a resolution context for the given root and path.
PathTarget(Mapper, MappedClass, String, boolean) - Constructor for class dev.morphia.internal.PathTarget
Creates a resolution context for the given root and path.
PathTarget(Mapper, Class<T>, String) - Constructor for class dev.morphia.internal.PathTarget
 
PathTarget(Mapper, Class<T>, String, boolean) - Constructor for class dev.morphia.internal.PathTarget
 
PatternValueValidator - Class in dev.morphia.query.validation
Validates query values that are Pattern to check the field type is a String.
point(double, double) - Static method in class dev.morphia.geo.GeoJson
Create a new Point representing a GeoJSON point type.
Point - Class in dev.morphia.geo
Represents a GeoJSON Point type.
Point(double, double) - Constructor for class dev.morphia.query.Shape.Point
Creates a point using longitude and latitude values
POINT - dev.morphia.geo.GeoJsonType
 
pointBuilder() - Static method in class dev.morphia.geo.PointBuilder
Convenience method to return a new PointBuilder.
PointBuilder - Class in dev.morphia.geo
Creates Point instances representing a GeoJSON point type.
PointBuilder() - Constructor for class dev.morphia.geo.PointBuilder
 
PointConverter() - Constructor for class dev.morphia.geo.GeometryShapeConverter.PointConverter
Creates a new PointConverter.
polygon(LineString, LineString...) - Static method in class dev.morphia.geo.GeoJson
Lets you create a Polygon representing a GeoJSON Polygon type.
polygon(Point...) - Static method in class dev.morphia.geo.GeoJson
Create a new Polygon representing a GeoJSON Polygon type.
polygon(Shape.Point...) - Static method in class dev.morphia.query.Shape
Specifies a polygon for a geospatial $geoWithin query on legacy coordinate pairs.
Polygon - Class in dev.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 - dev.morphia.geo.GeoJsonType
 
PolygonConverter() - Constructor for class dev.morphia.geo.GeometryShapeConverter.PolygonConverter
Creates a new PolygonConverter.
Polymorphic - Annotation Type in dev.morphia.annotations
Deprecated.
Currently unused
POP - dev.morphia.query.UpdateOperator
 
position(int) - Method in class dev.morphia.query.PushOptions
Sets the position for the update
postLoad(Object, DBObject, Mapper) - Method in class dev.morphia.AbstractEntityInterceptor
 
postLoad(Object, DBObject, Mapper) - Method in interface dev.morphia.EntityInterceptor
 
PostLoad - Annotation Type in dev.morphia.annotations
Called after the data has been loaded into the java object.
postPersist(Object, DBObject, Mapper) - Method in class dev.morphia.AbstractEntityInterceptor
 
postPersist(Object, DBObject, Mapper) - Method in interface dev.morphia.EntityInterceptor
 
PostPersist - Annotation Type in dev.morphia.annotations
Called after the data has been persisted from the java object.
POWERSOF2 - dev.morphia.query.BucketAutoOptions.Granularity
 
preLoad(Object, DBObject, Mapper) - Method in class dev.morphia.AbstractEntityInterceptor
 
preLoad(Object, DBObject, Mapper) - Method in interface dev.morphia.EntityInterceptor
 
PreLoad - Annotation Type in dev.morphia.annotations
Called before the data has been loaded from the datastore.
prepareCursor() - Method in class dev.morphia.query.QueryImpl
Deprecated.
this is an internal method. no replacement is planned.
prePersist(Object, DBObject, Mapper) - Method in class dev.morphia.AbstractEntityInterceptor
 
prePersist(Object, DBObject, Mapper) - Method in interface dev.morphia.EntityInterceptor
 
PrePersist - Annotation Type in dev.morphia.annotations
Called before the data has been persisted to the datastore (before mapping is done).
preSave(Object, DBObject, Mapper) - Method in class dev.morphia.AbstractEntityInterceptor
 
preSave(Object, DBObject, Mapper) - Method in interface dev.morphia.EntityInterceptor
Deprecated.
removed in 2.0
PreSave - Annotation Type in dev.morphia.annotations
Deprecated.
use PostPersist instead
project(Projection...) - Method in interface dev.morphia.aggregation.AggregationPipeline
Reshapes each document in the stream, such as by adding new fields or removing existing fields.
project(Projection...) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
 
project(Meta) - Method in interface dev.morphia.query.Query
Deprecated.
project(Meta) - Method in class dev.morphia.query.QueryImpl
 
project(String, boolean) - Method in interface dev.morphia.query.Query
Deprecated.
project(String, boolean) - Method in class dev.morphia.query.QueryImpl
 
project(String, ArraySlice) - Method in interface dev.morphia.query.Query
Deprecated.
project(String, ArraySlice) - Method in class dev.morphia.query.QueryImpl
 
projection(String) - Static method in class dev.morphia.aggregation.Projection
Creates a projection on a field
projection(String, Projection, Projection...) - Static method in class dev.morphia.aggregation.Projection
Creates a projection on a field with subsequent projects applied.
projection(String, String) - Static method in class dev.morphia.aggregation.Projection
Creates a projection on a field and renames it
Projection - Class in dev.morphia.aggregation
Defines a projection for use in aggregation
Property - Annotation Type in dev.morphia.annotations
Optional annotation for specifying persistence behavior
ProxiedEntityReference - Interface in dev.morphia.mapping.lazy.proxy
 
ProxiedEntityReferenceList - Interface in dev.morphia.mapping.lazy.proxy
 
ProxiedEntityReferenceMap - Interface in dev.morphia.mapping.lazy.proxy
 
ProxiedReference - Interface in dev.morphia.mapping.lazy.proxy
 
ProxyHelper - Class in dev.morphia.mapping.lazy.proxy
 
PULL - dev.morphia.query.UpdateOperator
 
PULL_ALL - dev.morphia.query.UpdateOperator
 
push(String) - Static method in class dev.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 dev.morphia.query.UpdateOperations
Adds new values to an array field.
push(String, Object) - Method in class dev.morphia.query.UpdateOpsImpl
 
push(String, Object, PushOptions) - Method in interface dev.morphia.query.UpdateOperations
Adds new values to an array field at the given position
push(String, Object, PushOptions) - Method in class dev.morphia.query.UpdateOpsImpl
 
push(String, List<?>) - Method in interface dev.morphia.query.UpdateOperations
Adds new values to an array field.
push(String, List<?>) - Method in class dev.morphia.query.UpdateOpsImpl
 
push(String, List<?>, PushOptions) - Method in interface dev.morphia.query.UpdateOperations
Adds new values to an array field at the given position
push(String, List<?>, PushOptions) - Method in class dev.morphia.query.UpdateOpsImpl
 
PUSH - dev.morphia.query.UpdateOperator
 
PUSH_ALL - dev.morphia.query.UpdateOperator
 
PushOptions - Class in dev.morphia.query
The options to apply to a $push update operator.
PushOptions() - Constructor for class dev.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 dev.morphia.mapping.MappedField
Deprecated.
unused
putEntity(Key<T>, T) - Method in class dev.morphia.mapping.cache.DefaultEntityCache
 
putEntity(Key<T>, T) - Method in interface dev.morphia.mapping.cache.EntityCache
Adds an entity to the cache
putProxy(Key<T>, T) - Method in class dev.morphia.mapping.cache.DefaultEntityCache
 
putProxy(Key<T>, T) - Method in interface dev.morphia.mapping.cache.EntityCache
Adds a proxy to the cache

Q

query(Query) - Method in class dev.morphia.MapReduceOptions
Deprecated.
Sets the query defining the input for the job.
Query<T> - Interface in dev.morphia.query
 
queryByExample(String, T) - Method in interface dev.morphia.AdvancedDatastore
Returns a new query based on the example object
queryByExample(String, T) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
queryByExample(T) - Method in interface dev.morphia.Datastore
Returns a new query based on the example object
queryByExample(T) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
QueryException - Exception in dev.morphia.query
Error during query.
QueryException(String) - Constructor for exception dev.morphia.query.QueryException
Creates a QueryException with a message
QueryException(String, Throwable) - Constructor for exception dev.morphia.query.QueryException
Creates a QueryException with a message and a cause
QueryFactory - Interface in dev.morphia.query
A factory for Queryies.
QueryImpl<T> - Class in dev.morphia.query
Implementation of Query
QueryImpl(Class<T>, DBCollection, Datastore) - Constructor for class dev.morphia.query.QueryImpl
Creates a Query for the given type and collection
queryNonPrimary() - Method in annotation type dev.morphia.annotations.Entity
Deprecated.
no replacement is planned
queryNonPrimary() - Method in interface dev.morphia.query.Query
Deprecated.
use the methods that accept Options directly
queryNonPrimary() - Method in class dev.morphia.query.QueryImpl
Deprecated.
queryPrimaryOnly() - Method in interface dev.morphia.query.Query
Deprecated.
use the methods that accept Options directly.
queryPrimaryOnly() - Method in class dev.morphia.query.QueryImpl
Deprecated.
QueryResults<T> - Interface in dev.morphia.query
Deprecated.
use Query instead

R

R10 - dev.morphia.query.BucketAutoOptions.Granularity
 
R20 - dev.morphia.query.BucketAutoOptions.Granularity
 
R40 - dev.morphia.query.BucketAutoOptions.Granularity
 
R5 - dev.morphia.query.BucketAutoOptions.Granularity
 
R80 - dev.morphia.query.BucketAutoOptions.Granularity
 
readConcern(ReadConcern) - Method in class dev.morphia.query.CountOptions
Sets the readConcern
readConcern(ReadConcern) - Method in class dev.morphia.query.FindOptions
Sets the readConcern
readPreference(ReadPreference) - Method in class dev.morphia.MapReduceOptions
Deprecated.
Sets the read preference for this command.
readPreference(ReadPreference) - Method in class dev.morphia.query.CountOptions
Sets the readPreference
readPreference(ReadPreference) - Method in class dev.morphia.query.FindOptions
Sets the readPreference
reduce(String) - Method in class dev.morphia.MapReduceOptions
Deprecated.
Sets the JavaScript function that "reduces" to a single object all the values associated with a particular key.
REDUCE - dev.morphia.MapreduceType
Deprecated.
 
Reference - Annotation Type in dev.morphia.annotations
 
ReferenceConverter - Class in dev.morphia.converters.experimental
A converter for MorphiaReference values
ReferenceConverter(Mapper) - Constructor for class dev.morphia.converters.experimental.ReferenceConverter
Creates the Converter.
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.
referenceMapper(CustomMapper) - Method in class dev.morphia.mapping.MapperOptions.Builder
 
referenceObjClass - Variable in class dev.morphia.mapping.lazy.proxy.AbstractReference
 
ReferenceToUnidentifiable - Class in dev.morphia.mapping.validation.fieldrules
 
ReferenceToUnidentifiable() - Constructor for class dev.morphia.mapping.validation.fieldrules.ReferenceToUnidentifiable
 
refToKey(DBRef) - Method in class dev.morphia.mapping.Mapper
Deprecated.
Converts a DBRef to a Key
register(Datastore) - Method in interface dev.morphia.mapping.lazy.DatastoreProvider
Deprecated.
Registers a Datastore with this provider
registerLogger(Class<? extends LoggerFactory>) - Static method in class dev.morphia.logging.MorphiaLoggerFactory
Register a LoggerFactory; last one registered is used.
REGULAR_EXPRESSION - dev.morphia.query.Type
 
relocated.morphia.org.apache.commons.collections - package relocated.morphia.org.apache.commons.collections
 
remove() - Method in class dev.morphia.query.internal.MorphiaCursor
 
remove() - Method in class dev.morphia.query.internal.MorphiaKeyCursor
 
remove() - Method in class dev.morphia.query.MorphiaIterator
Deprecated.
 
remove(boolean) - Method in class dev.morphia.FindAndModifyOptions
Deprecated.
This will be removed in 2.0. use Datastore.findAndDelete(Query) to remove items.
remove(Criteria) - Method in interface dev.morphia.query.CriteriaContainer
Removes Criteria to this container
remove(Criteria) - Method in class dev.morphia.query.CriteriaContainerImpl
 
remove(Criteria) - Method in class dev.morphia.query.QueryImpl
 
remove(Object) - Method in class relocated.morphia.org.apache.commons.collections.ReferenceMap
Removes the key and its associated value from this map.
remove(String, boolean) - Method in class dev.morphia.query.UpdateOpsImpl
 
removeAll(String, Object) - Method in interface dev.morphia.query.UpdateOperations
removes the value from the array field
removeAll(String, Object) - Method in class dev.morphia.query.UpdateOpsImpl
 
removeAll(String, List<?>) - Method in interface dev.morphia.query.UpdateOperations
removes the values from the array field
removeAll(String, List<?>) - Method in class dev.morphia.query.UpdateOpsImpl
 
removeConverter(TypeConverter) - Method in class dev.morphia.converters.Converters
Deprecated.
Removes the type converter.
removeConverter(TypeConverter) - Method in class dev.morphia.converters.CustomConverters
 
removeFirst(String) - Method in interface dev.morphia.query.UpdateOperations
removes the first value from the array
removeFirst(String) - Method in class dev.morphia.query.UpdateOpsImpl
 
removeLast(String) - Method in interface dev.morphia.query.UpdateOperations
removes the last value from the array
removeLast(String) - Method in class dev.morphia.query.UpdateOpsImpl
 
render() - Method in class dev.morphia.mapping.validation.ConstraintViolation
 
REPLACE - dev.morphia.MapreduceType
Deprecated.
 
reset() - Static method in class dev.morphia.logging.MorphiaLoggerFactory
Clears the logger factory
reset() - Method in class dev.morphia.mapping.cache.EntityCacheStatistics
Clears the statistics
resultType(Class<T>) - Method in class dev.morphia.MapReduceOptions
Deprecated.
Sets the result type of the job
retrievedFields(boolean, String...) - Method in interface dev.morphia.query.Query
Deprecated.
retrievedFields(boolean, String...) - Method in class dev.morphia.query.QueryImpl
Deprecated.
retrieveKnownFields() - Method in interface dev.morphia.query.Query
Limits the fields retrieved to those of the query type -- dangerous with interfaces and abstract classes
retrieveKnownFields() - Method in class dev.morphia.query.QueryImpl
 
returnKey() - Method in interface dev.morphia.query.Query
Deprecated.
use the methods that accept Options directly.
returnKey() - Method in class dev.morphia.query.QueryImpl
Deprecated.
returnKey(boolean) - Method in class dev.morphia.query.FindOptions
 
returnNew(boolean) - Method in class dev.morphia.FindAndModifyOptions
Sets the returnNew

S

sample(int) - Method in interface dev.morphia.aggregation.AggregationPipeline
Randomly selects the specified number of documents from the previous pipeline stage.
sample(int) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
 
save(DBCollection, T, InsertOptions) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
save(Iterable<T>) - Method in interface dev.morphia.Datastore
Saves the entities (Objects) and updates the @Id field The return type will change in 2.0
save(Iterable<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
save(Iterable<T>, WriteConcern) - Method in interface dev.morphia.Datastore
save(Iterable<T>, WriteConcern) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
save(Iterable<T>, InsertOptions) - Method in interface dev.morphia.Datastore
Saves the entities (Objects) and updates the @Id field, with the WriteConcern The return type will change in 2.0
save(Iterable<T>, InsertOptions) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
save(String, T) - Method in interface dev.morphia.AdvancedDatastore
Deprecated.
this feature is being removed. no replacement is planned. see issue #1331
save(String, T) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
save(String, T, WriteConcern) - Method in interface dev.morphia.AdvancedDatastore
save(String, T, WriteConcern) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
save(String, T, InsertOptions) - Method in interface dev.morphia.AdvancedDatastore
Deprecated.
this feature is being removed. no replacement is planned. see issue #1331
save(String, T, InsertOptions) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
save(T) - Method in class dev.morphia.dao.BasicDAO
Deprecated.
 
save(T) - Method in interface dev.morphia.dao.DAO
Deprecated.
Saves the entity; either inserting or overriding the existing document
save(T) - Method in interface dev.morphia.Datastore
Saves an entity (Object) and updates the @Id field The return type will change in 2.0
save(T) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
save(T...) - Method in interface dev.morphia.Datastore
save(T...) - Method in class dev.morphia.DatastoreImpl
Deprecated.
save(T, WriteConcern) - Method in class dev.morphia.dao.BasicDAO
Deprecated.
 
save(T, WriteConcern) - Method in interface dev.morphia.dao.DAO
Deprecated.
Saves the entity; either inserting or overriding the existing document
save(T, WriteConcern) - Method in interface dev.morphia.Datastore
Deprecated.
save(T, WriteConcern) - Method in class dev.morphia.DatastoreImpl
Deprecated.
save(T, InsertOptions) - Method in interface dev.morphia.Datastore
Saves an entity (Object) and updates the @Id field The return type will change in 2.0
save(T, InsertOptions) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
scope(Map<String, Object>) - Method in class dev.morphia.MapReduceOptions
Deprecated.
Sets the (optional) JavaScript scope
search(String) - Method in interface dev.morphia.query.Query
Perform a text search on the content of the fields indexed with a text index..
search(String) - Method in class dev.morphia.query.QueryImpl
 
search(String, String) - Method in interface dev.morphia.query.Query
Perform a text search on the content of the fields indexed with a text index..
search(String, String) - Method in class dev.morphia.query.QueryImpl
 
serialize(Object, boolean) - Static method in class dev.morphia.mapping.Serializer
serializes object to byte[]
Serialized - Annotation Type in dev.morphia.annotations
Deprecated.
if this feature is needed, do the serialization manually in a lifecycle event
SerializedObjectConverter - Class in dev.morphia.converters
 
SerializedObjectConverter() - Constructor for class dev.morphia.converters.SerializedObjectConverter
 
Serializer - Class in dev.morphia.mapping
 
set(Object) - Method in class dev.morphia.mapping.lazy.proxy.AbstractReference
 
set(String, Object) - Method in interface dev.morphia.query.UpdateOperations
sets the field value
set(String, Object) - Method in class dev.morphia.query.UpdateOpsImpl
 
SET - dev.morphia.query.UpdateOperator
 
SET_ON_INSERT - dev.morphia.query.UpdateOperator
 
setActLikeSerializer(boolean) - Method in class dev.morphia.mapping.MapperOptions
Deprecated.
this is actually the default and proper behavior. this setting is redundant
setAttachedTo(CriteriaContainer) - Method in class dev.morphia.query.AbstractCriteria
Sets the parents CriteriaContainer for this Criteria
setCacheClassLookups(boolean) - Method in class dev.morphia.mapping.MapperOptions
Deprecated.
use the Builder instead
setCacheFactory(EntityCacheFactory) - Method in class dev.morphia.mapping.MapperOptions
Deprecated.
use the Builder instead
setCachingEnabled(boolean) - Method in class dev.morphia.mapping.MapperOptions
 
setCollection(String) - Method in class dev.morphia.Key
Sets the collection name.
setDatastoreProvider(DatastoreProvider) - Method in class dev.morphia.mapping.MapperOptions
Deprecated.
unused
setDateStorage(DateStorage) - Method in class dev.morphia.mapping.MapperOptions
Deprecated.
This will be removed in 2.0. It is intended to bridge the gap when correcting the storage of data/time values in the database. DateStorage.UTC should be used and will be the default in 2.0. In 1.5 it is DateStorage.SYSTEM_DEFAULT for backwards compatibility.
setDecoderFact(DBDecoderFactory) - Method in interface dev.morphia.AdvancedDatastore
Deprecated.
unused in 2.0 and will be removed
setDecoderFact(DBDecoderFactory) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
setDefaultMapper(CustomMapper) - Method in class dev.morphia.mapping.MapperOptions
Deprecated.
use the Builder instead
setDefaultWriteConcern(WriteConcern) - Method in interface dev.morphia.Datastore
Deprecated.
MongoClient#setWriteConcern(WriteConcern)
setDefaultWriteConcern(WriteConcern) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
setDisableEmbeddedIndexes(boolean) - Method in class dev.morphia.mapping.MapperOptions
Disables indexing of embedded types
setDistanceMultiplier(Double) - Method in class dev.morphia.aggregation.GeoNear.GeoNearBuilder
The factor to multiply all distances returned by the query.
setEmbeddedMapper(CustomMapper) - Method in class dev.morphia.mapping.MapperOptions
Deprecated.
use the Builder instead
setFieldValue(Object, Object) - Method in class dev.morphia.mapping.EphemeralMappedField
 
setFieldValue(Object, Object) - Method in class dev.morphia.mapping.MappedField
Deprecated.
Sets the value for the java field
setIgnoreFinals(boolean) - Method in class dev.morphia.mapping.MapperOptions
Deprecated.
use the Builder instead
setIncludeLocations(String) - Method in class dev.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 dev.morphia.MapreduceResults
Deprecated.
Sets the required options when the operation type was INLINE
setKey(Object) - Method in class relocated.morphia.org.apache.commons.collections.DefaultMapEntry
Sets the key.
setLimit(Long) - Method in class dev.morphia.aggregation.GeoNear.GeoNearBuilder
The maximum number of documents to return.
setMapper(Mapper) - Method in class dev.morphia.converters.TypeConverter
Sets the Mapper to use.
setMapper(Mapper) - Method in class dev.morphia.DatastoreImpl
Deprecated.
Sets the Mapper this Datastore uses
setMapSubPackages(boolean) - Method in class dev.morphia.mapping.MapperOptions
Deprecated.
use the Builder instead
setMaxDistance(Double) - Method in class dev.morphia.aggregation.GeoNear.GeoNearBuilder
A distance from the center point.
setMaxDocuments(Long) - Method in class dev.morphia.aggregation.GeoNear.GeoNearBuilder
The maxDocuments option provides the same function as the limit option.
setNear(double, double) - Method in class dev.morphia.aggregation.GeoNear.GeoNearBuilder
Sets the point for which to find the closest documents.
setNear(Point) - Method in class dev.morphia.aggregation.GeoNear.GeoNearBuilder
Sets the point for which to find the closest documents.
setObjectFactory(ObjectFactory) - Method in class dev.morphia.mapping.MapperOptions
Deprecated.
use the Builder instead
setOnInsert(String, Object) - Method in interface dev.morphia.query.UpdateOperations
sets the field on insert.
setOnInsert(String, Object) - Method in class dev.morphia.query.UpdateOpsImpl
 
setOps(DBObject) - Method in class dev.morphia.query.UpdateOpsImpl
Sets the operations for this UpdateOpsImpl
setOptions(MapperOptions) - Method in class dev.morphia.mapping.Mapper
Deprecated.
Sets the options this Mapper should use
setOutputType(MapReduceCommand.OutputType) - Method in class dev.morphia.MapreduceResults
Deprecated.
Sets the output type for this mapreduce job
setQuery(Query) - Method in class dev.morphia.aggregation.GeoNear.GeoNearBuilder
Limits the results to the documents that match the query.
setQuery(QueryImpl<?>) - Method in class dev.morphia.query.CriteriaContainerImpl
Sets the Query for this CriteriaContainer
setQueryFactory(QueryFactory) - Method in interface dev.morphia.Datastore
Replaces the current QueryFactory with the given value.
setQueryFactory(QueryFactory) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
setQueryObject(DBObject) - Method in class dev.morphia.query.QueryImpl
Sets query structure directly
setReferenceMapper(CustomMapper) - Method in class dev.morphia.mapping.MapperOptions
Deprecated.
use the Builder instead
setSpherical(Boolean) - Method in class dev.morphia.aggregation.GeoNear.GeoNearBuilder
If true, MongoDB references points using a spherical surface.
setStoreEmpties(boolean) - Method in class dev.morphia.mapping.MapperOptions
Deprecated.
use the Builder instead
setStoreNulls(boolean) - Method in class dev.morphia.mapping.MapperOptions
Deprecated.
use the Builder instead
setSupportedTypes(Class[]) - Method in class dev.morphia.converters.TypeConverter
Sets the types supported by this converter.
setSupportTypes(Class[]) - Method in class dev.morphia.converters.TypeConverter
Deprecated.
use #setSupportedTypes(Class[])
setType(Class<? extends T>) - Method in class dev.morphia.Key
Sets the type of the entity for this Key
setUniqueDocuments(Boolean) - Method in class dev.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 dev.morphia.Morphia
Deprecated.
Setting this value has no value functionally or performance-wise.
setUseLowerCaseCollectionNames(boolean) - Method in class dev.morphia.mapping.MapperOptions
Deprecated.
use the Builder instead
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 dev.morphia.mapping.MapperOptions
Deprecated.
use the Builder instead
SEVERE - dev.morphia.mapping.validation.ConstraintViolation.Level
 
Shape - Class in dev.morphia.query
This encapsulates the data necessary to define a shape for queries.
Shape.Point - Class in dev.morphia.query
Defines a Point
ShortConverter - Class in dev.morphia.converters
 
ShortConverter() - Constructor for class dev.morphia.converters.ShortConverter
Creates the Converter.
ShortFormatter - Class in dev.morphia.logging.jdk
A formatter providing a short format
ShortFormatter() - Constructor for class dev.morphia.logging.jdk.ShortFormatter
 
showRecordId(boolean) - Method in class dev.morphia.query.FindOptions
 
SilentLogger - Class in dev.morphia.logging
Silent logger; it doesn't do anything!
SilentLogger() - Constructor for class dev.morphia.logging.SilentLogger
 
SimpleValueConverter - Interface in dev.morphia.converters
Marker interface that the TypeConverter returns simple values (int/long, string, etc...)
SingleReference<T> - Class in dev.morphia.mapping.experimental
 
size() - Method in class relocated.morphia.org.apache.commons.collections.ReferenceMap
Returns the size of this map.
size(Object) - Static method in class dev.morphia.aggregation.Projection
Counts and returns the total the number of items in an array
SIZE - dev.morphia.query.FilterOperator
 
sizeEq(int) - Method in interface dev.morphia.query.FieldEnd
Checks the size of a field.
sizeEq(int) - Method in class dev.morphia.query.FieldEndImpl
 
SizeOperationValidator - Class in dev.morphia.query.validation
Checks if the value can have the FilterOperator.ALL operator applied to it.
skip(int) - Method in interface dev.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 dev.morphia.aggregation.AggregationPipelineImpl
 
skip(int) - Method in class dev.morphia.query.CountOptions
Sets the number of documents to skip.
skip(int) - Method in class dev.morphia.query.FindOptions
Sets the number of documents to skip.
slice(int) - Method in class dev.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(int) - Method in class dev.morphia.query.PushOptions
Sets the sort value for the update
sort(Sort...) - Method in interface dev.morphia.aggregation.AggregationPipeline
Reorders the document stream by a specified sort key.
sort(Sort...) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
 
sort(String, int) - Method in class dev.morphia.query.PushOptions
Sets the sort value for the update
Sort - Class in dev.morphia.aggregation
Deprecated.
Use Sort instead.
Sort - Class in dev.morphia.query
Used for sorting query results or defining a sort stage in an aggregation pipeline
Sort(String, int) - Constructor for class dev.morphia.aggregation.Sort
Deprecated.
Creates a sort on a field with a direction.
Sort(String, int) - Constructor for class dev.morphia.query.Sort
Creates a sort on a field with a direction.
sortByCount(String) - Method in interface dev.morphia.aggregation.AggregationPipeline
Groups incoming documents based on the value of a specified expression, then computes the count of documents in each distinct group.
sortByCount(String) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
 
sparse() - Method in annotation type dev.morphia.annotations.Index
Deprecated.
use the IndexOptions found in Index.options()
sparse() - Method in annotation type dev.morphia.annotations.Indexed
Deprecated.
sparse() - Method in annotation type dev.morphia.annotations.IndexOptions
 
startsWith(String) - Method in interface dev.morphia.query.FieldEnd
Checks that a field starts with a value
startsWith(String) - Method in class dev.morphia.query.FieldEndImpl
 
startsWithIgnoreCase(String) - Method in interface dev.morphia.query.FieldEnd
Checks that a field starts with a value ignoring the case of the values
startsWithIgnoreCase(String) - Method in class dev.morphia.query.FieldEndImpl
 
stats() - Method in class dev.morphia.mapping.cache.DefaultEntityCache
 
stats() - Method in interface dev.morphia.mapping.cache.EntityCache
 
Stats() - Constructor for class dev.morphia.MapreduceResults.Stats
Deprecated.
 
storeEmpties(boolean) - Method in class dev.morphia.mapping.MapperOptions.Builder
 
storeNulls(boolean) - Method in class dev.morphia.mapping.MapperOptions.Builder
 
strength() - Method in annotation type dev.morphia.annotations.Collation
 
STRING - dev.morphia.query.Type
 
StringConverter - Class in dev.morphia.converters
 
StringConverter() - Constructor for class dev.morphia.converters.StringConverter
Creates the Converter.
subtract(Object, Object) - Static method in class dev.morphia.aggregation.Projection
Creates a subtraction projection
sum(Object) - Method in class dev.morphia.query.BucketAutoOptions.OutputOperation
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.
sum(Object) - Method in class dev.morphia.query.BucketOptions.OutputOperation
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.
sum(String) - Static method in class dev.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 dev.morphia.aggregation.Projection
Marks this field to be suppressed from the output of this stage
SYMBOL - dev.morphia.query.Type
 
SYSTEM_DEFAULT - dev.morphia.mapping.DateStorage
Deprecated.
This will be removed in 2.0. It is intended to bridge the gap when correcting the storage of data/time values in the database. DateStorage.UTC should be used and will be the default in 2.0. In 1.5 it is DateStorage.SYSTEM_DEFAULT for backwards compatibility.

T

tail() - Method in interface dev.morphia.query.Query
Deprecated.
set the CursorType on FindOptions and use Query.find(FindOptions) instead
tail() - Method in class dev.morphia.query.QueryImpl
Deprecated.
tail(boolean) - Method in interface dev.morphia.query.Query
Deprecated.
set the CursorType on FindOptions and use Query.find(FindOptions) instead. This can be replicated using findOptions.cursorType (awaitData ? TailableAwait : Tailable)
tail(boolean) - Method in class dev.morphia.query.QueryImpl
Deprecated.
testDependencyFullFilled() - Static method in class dev.morphia.mapping.lazy.LazyFeatureDependencies
Checks that the dependencies to support lazy proxies are present
Text - Annotation Type in dev.morphia.annotations
Marks this field for inclusion in text indexing.
textScore - dev.morphia.query.Meta.MetaDataKeyword
 
textScore() - Static method in class dev.morphia.query.Meta
factory method for textScore metaDataKeyword
textScore(String) - Static method in class dev.morphia.query.Meta
 
TIMESTAMP - dev.morphia.query.Type
 
TimestampConverter - Class in dev.morphia.converters
 
TimestampConverter() - Constructor for class dev.morphia.converters.TimestampConverter
Creates the Converter.
toClass(Type) - Method in class dev.morphia.mapping.MappedField
Deprecated.
 
toDBObject() - Method in class dev.morphia.aggregation.Accumulator
 
toDBObject() - Method in class dev.morphia.query.BucketAutoOptions
Converts a BucketAutoOptions to a DBObject for use by the Java driver.
toDBObject() - Method in class dev.morphia.query.BucketOptions
Deprecated.
this is an internal method and is removed in 2.0
toDBObject() - Method in interface dev.morphia.query.Criteria
 
toDBObject() - Method in class dev.morphia.query.CriteriaContainerImpl
 
toDBObject() - Method in class dev.morphia.query.QueryImpl
 
toDBObject() - Method in class dev.morphia.query.Shape.Point
Creates a DBObject from this Point
toDBObject() - Method in class dev.morphia.query.Shape
Creates a DBObject from this Shape
toDBObject() - Method in class dev.morphia.query.WhereCriteria
Deprecated.
 
toDBObject(Object) - Method in class dev.morphia.mapping.Mapper
Deprecated.
/** Converts an entity (POJO) to a DBObject.
toDBObject(Object) - Method in class dev.morphia.Morphia
Converts an entity to a DBObject.
toDBObject(Object, MappedField, DBObject, MapperOptions) - Method in class dev.morphia.converters.Converters
Deprecated.
Converts an entity to a DBObject
toDBObject(Object, MappedField, DBObject, Map<Object, DBObject>, Mapper) - Method in interface dev.morphia.mapping.CustomMapper
Deprecated.
Converts an entity to a DBObject.
toDBObject(Object, Map<Object, DBObject>) - Method in class dev.morphia.mapping.Mapper
Deprecated.
Converts an entity (POJO) to a DBObject.
toDBObjList(MappedField, List<?>) - Method in class dev.morphia.query.UpdateOpsImpl
 
toList() - Method in class dev.morphia.query.internal.MorphiaCursor
Converts this cursor to a List.
toList() - Method in class dev.morphia.query.internal.MorphiaKeyCursor
Converts this cursor to a List.
toMongoObject(MappedField, MappedClass, Object) - Method in class dev.morphia.mapping.Mapper
Deprecated.
Converts a java object to a mongo-compatible object (possibly a DBObject for complex mappings).
toString() - Method in class dev.morphia.aggregation.AggregationPipelineImpl
 
toString() - Method in class dev.morphia.aggregation.Projection
 
toString() - Method in class dev.morphia.geo.GeometryCollection
 
toString() - Method in class dev.morphia.geo.LineString
 
toString() - Method in class dev.morphia.geo.MultiLineString
 
toString() - Method in class dev.morphia.geo.MultiPoint
 
toString() - Method in class dev.morphia.geo.MultiPolygon
 
toString() - Method in class dev.morphia.geo.NamedCoordinateReferenceSystem
 
toString() - Method in class dev.morphia.geo.Point
 
toString() - Method in class dev.morphia.geo.Polygon
 
toString() - Method in class dev.morphia.internal.PathTarget
 
toString() - Method in class dev.morphia.Key
 
toString() - Method in class dev.morphia.mapping.cache.EntityCacheStatistics
 
toString() - Method in class dev.morphia.mapping.EphemeralMappedField
 
toString() - Method in class dev.morphia.mapping.MappedClass
Deprecated.
 
toString() - Method in class dev.morphia.mapping.MappedField
Deprecated.
 
toString() - Method in class dev.morphia.mapping.validation.classrules.FieldEnumString
 
toString() - Method in class dev.morphia.query.CriteriaContainerImpl
 
toString() - Method in enum dev.morphia.query.CriteriaJoin
 
toString() - Method in class dev.morphia.query.QueryImpl
 
toString() - Method in class dev.morphia.query.UpdateResults
 
toString() - Method in class dev.morphia.query.validation.ValidationFailure
 
trace(String) - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
trace(String) - Method in class dev.morphia.logging.jdk.JDKLogger
 
trace(String) - Method in interface dev.morphia.logging.Logger
 
trace(String) - Method in class dev.morphia.logging.SilentLogger
 
trace(String, Object...) - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
trace(String, Object...) - Method in class dev.morphia.logging.jdk.JDKLogger
 
trace(String, Object...) - Method in interface dev.morphia.logging.Logger
 
trace(String, Object...) - Method in class dev.morphia.logging.SilentLogger
 
trace(String, Throwable) - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
trace(String, Throwable) - Method in class dev.morphia.logging.jdk.JDKLogger
 
trace(String, Throwable) - Method in interface dev.morphia.logging.Logger
 
trace(String, Throwable) - Method in class dev.morphia.logging.SilentLogger
 
Transient - Annotation Type in dev.morphia.annotations
 
translatedPath() - Method in class dev.morphia.internal.PathTarget
Returns the translated path for this context.
tryNext() - Method in class dev.morphia.query.internal.MorphiaCursor
 
tryNext() - Method in class dev.morphia.query.internal.MorphiaKeyCursor
 
type() - Method in annotation type dev.morphia.annotations.Field
 
type(Type) - Method in interface dev.morphia.query.FieldEnd
Checks the type of a field
type(Type) - Method in class dev.morphia.query.FieldEndImpl
 
Type - Enum in dev.morphia.query
Defines BSON types for use in querying against field types.
TYPE - dev.morphia.query.FilterOperator
 
TypeConverter - Class in dev.morphia.converters
 
TypeConverter() - Constructor for class dev.morphia.converters.TypeConverter
 
TypeConverter(Class...) - Constructor for class dev.morphia.converters.TypeConverter
 
TypeValidator - Class in dev.morphia.query.validation
Extend this class to provide specific validation for field types for query validation.
TypeValidator() - Constructor for class dev.morphia.query.validation.TypeValidator
 

U

UNDEFINED - dev.morphia.query.Type
 
unique() - Method in annotation type dev.morphia.annotations.Index
Deprecated.
use the IndexOptions found in Index.options()
unique() - Method in annotation type dev.morphia.annotations.Indexed
Deprecated.
unique() - Method in annotation type dev.morphia.annotations.IndexOptions
 
unset(String) - Method in interface dev.morphia.query.UpdateOperations
removes the field
unset(String) - Method in class dev.morphia.query.UpdateOpsImpl
 
UNSET - dev.morphia.query.UpdateOperator
 
unwind(String) - Method in interface dev.morphia.aggregation.AggregationPipeline
Deconstructs an array field from the input documents to output a document for each element.
unwind(String) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
 
unwind(String, UnwindOptions) - Method in interface dev.morphia.aggregation.AggregationPipeline
Deconstructs an array field from the input documents to output a document for each element.
unwind(String, UnwindOptions) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
 
unwrap(T) - Static method in class dev.morphia.mapping.lazy.proxy.ProxyHelper
If proxied, returns the unwrapped entity.
update() - Method in class dev.morphia.mapping.MappedClass
Deprecated.
Update mappings based on fields/annotations.
update(Key<T>, UpdateOperations<T>) - Method in interface dev.morphia.Datastore
update(Key<T>, UpdateOperations<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
update(Query<T>, UpdateOperations<T>) - Method in class dev.morphia.dao.BasicDAO
Deprecated.
 
update(Query<T>, UpdateOperations<T>) - Method in interface dev.morphia.dao.DAO
Deprecated.
Updates all entities matched by the constraints with the modifiers supplied.
update(Query<T>, UpdateOperations<T>) - Method in interface dev.morphia.Datastore
Updates all entities found with the operations; this is an atomic operation per entity
update(Query<T>, UpdateOperations<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
update(Query<T>, UpdateOperations<T>, boolean) - Method in interface dev.morphia.Datastore
Deprecated.
use Datastore.update(Query, UpdateOperations, UpdateOptions) with upsert set to the value of createIfMissing
update(Query<T>, UpdateOperations<T>, boolean) - Method in class dev.morphia.DatastoreImpl
Deprecated.
update(Query<T>, UpdateOperations<T>, boolean, WriteConcern) - Method in interface dev.morphia.Datastore
Deprecated.
use Datastore.update(Query, UpdateOperations, UpdateOptions) with upsert set to the value of createIfMissing
update(Query<T>, UpdateOperations<T>, boolean, WriteConcern) - Method in class dev.morphia.DatastoreImpl
Deprecated.
update(Query<T>, UpdateOperations<T>, UpdateOptions) - Method in interface dev.morphia.Datastore
Updates all entities found with the operations; this is an atomic operation per entity
update(Query<T>, UpdateOperations<T>, UpdateOptions) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
update(T, UpdateOperations<T>) - Method in interface dev.morphia.Datastore
update(T, UpdateOperations<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
updateCollection(Key) - Method in class dev.morphia.mapping.Mapper
Deprecated.
Updates the collection value on a Key with the mapped value on the Key's type Class
UpdateException - Exception in dev.morphia.query
Error during update.
UpdateException(String) - Constructor for exception dev.morphia.query.UpdateException
Creates a UpdateException with a message and a cause
UpdateException(String, Throwable) - Constructor for exception dev.morphia.query.UpdateException
Creates a UpdateException with a message and a cause
updateFirst(Query<T>, UpdateOperations<T>) - Method in class dev.morphia.dao.BasicDAO
Deprecated.
 
updateFirst(Query<T>, UpdateOperations<T>) - Method in interface dev.morphia.dao.DAO
Deprecated.
Updates the first entity matched by the constraints with the modifiers supplied.
updateFirst(Query<T>, UpdateOperations<T>) - Method in interface dev.morphia.Datastore
updateFirst(Query<T>, UpdateOperations<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
updateFirst(Query<T>, UpdateOperations<T>, boolean) - Method in interface dev.morphia.Datastore
Deprecated.
use Datastore.update(Query, UpdateOperations, UpdateOptions) with upsert set to the value of createIfMissing
updateFirst(Query<T>, UpdateOperations<T>, boolean) - Method in class dev.morphia.DatastoreImpl
Deprecated.
updateFirst(Query<T>, UpdateOperations<T>, boolean, WriteConcern) - Method in interface dev.morphia.Datastore
Deprecated.
use Datastore.update(Query, UpdateOperations, UpdateOptions) with upsert set to the value of createIfMissing
updateFirst(Query<T>, UpdateOperations<T>, boolean, WriteConcern) - Method in class dev.morphia.DatastoreImpl
Deprecated.
updateFirst(Query<T>, T, boolean) - Method in interface dev.morphia.Datastore
Deprecated.
use Datastore.update(Query, UpdateOperations, UpdateOptions) with upsert set to the value of createIfMissing
updateFirst(Query<T>, T, boolean) - Method in class dev.morphia.DatastoreImpl
Deprecated.
updateKeyAndVersionInfo(Datastore, DBObject, EntityCache, Object) - Method in class dev.morphia.mapping.Mapper
Deprecated.
Updates the @Id and @Version fields.
UpdateOperations<T> - Interface in dev.morphia.query
A nicer interface to the update operations in monogodb.
UpdateOperator - Enum in dev.morphia.query
 
UpdateOpsImpl<T> - Class in dev.morphia.query
 
UpdateOpsImpl(Class<T>, Mapper) - Constructor for class dev.morphia.query.UpdateOpsImpl
Creates an UpdateOpsImpl for the type given.
UpdateOptions - Class in dev.morphia
The options to apply when updating documents in the DBCollection
UpdateOptions() - Constructor for class dev.morphia.UpdateOptions
Creates a new options instance.
UpdateResults - Class in dev.morphia.query
This class holds various metrics about the results of an update operation.
UpdateResults(WriteResult) - Constructor for class dev.morphia.query.UpdateResults
Creates an UpdateResults
upperIndexBound(DBObject) - Method in interface dev.morphia.query.Query
Deprecated.
use the methods that accept Options directly.
upperIndexBound(DBObject) - Method in class dev.morphia.query.QueryImpl
Deprecated.
upsert(boolean) - Method in class dev.morphia.FindAndModifyOptions
Indicates that an upsert should be performed
upsert(boolean) - Method in class dev.morphia.UpdateOptions
Set to true if a new document should be inserted if there are no matches to the query filter.
URIConverter - Class in dev.morphia.converters
 
URIConverter() - Constructor for class dev.morphia.converters.URIConverter
Creates the Converter.
URIConverter(Class) - Constructor for class dev.morphia.converters.URIConverter
 
useLowerCaseCollectionNames(boolean) - Method in class dev.morphia.mapping.MapperOptions.Builder
 
useReadPreference(ReadPreference) - Method in interface dev.morphia.query.Query
Deprecated.
use the methods that accept Options directly
useReadPreference(ReadPreference) - Method in class dev.morphia.query.QueryImpl
Deprecated.
UTC - dev.morphia.mapping.DateStorage
 
UUIDConverter - Class in dev.morphia.converters
provided by http://code.google.com/p/morphia/issues/detail?id=320
UUIDConverter() - Constructor for class dev.morphia.converters.UUIDConverter
Creates the Converter.

V

val() - Method in enum dev.morphia.query.FilterOperator
 
val() - Method in enum dev.morphia.query.Type
 
val() - Method in enum dev.morphia.query.UpdateOperator
 
validate(MappedField, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.AllOperationValidator
 
validate(MappedField, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.ExistsOperationValidator
 
validate(MappedField, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.GeoWithinOperationValidator
 
validate(MappedField, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.InOperationValidator
 
validate(MappedField, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.ModOperationValidator
 
validate(MappedField, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.NotInOperationValidator
 
validate(MappedField, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.OperationValidator
Performs the actual validation, and assumes appliesTo has returned true
validate(MappedField, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.SizeOperationValidator
 
validate(Mapper) - Method in class dev.morphia.mapping.MappedClass
Deprecated.
Validates this MappedClass
validate(Mapper, MappedClass) - Method in class dev.morphia.mapping.validation.MappingValidator
Deprecated.
validate(Mapper, List<MappedClass>) - Method in class dev.morphia.mapping.validation.MappingValidator
Validates a List of MappedClasses
validate(Class<?>, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.DefaultTypeValidator
 
validate(Class<?>, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.DoubleTypeValidator
 
validate(Class<?>, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.EntityAnnotatedValueValidator
 
validate(Class<?>, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.IntegerTypeValidator
 
validate(Class<?>, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.KeyValueTypeValidator
 
validate(Class<?>, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.ListValueValidator
 
validate(Class<?>, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.LongTypeValidator
 
validate(Class<?>, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.PatternValueValidator
 
validate(Class<?>, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.TypeValidator
 
validate(Class<?>, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.ValueValidator
 
Validation - Annotation Type in dev.morphia.annotations
Defines the document validation logic for a collection.
ValidationBuilder - Class in dev.morphia
This is an internal class subject to change and removal.
ValidationBuilder() - Constructor for class dev.morphia.ValidationBuilder
 
ValidationException - Exception in dev.morphia.query
Error during validation.
ValidationException(String) - Constructor for exception dev.morphia.query.ValidationException
Creates a ValidationException with a message and a cause
ValidationException(String, Throwable) - Constructor for exception dev.morphia.query.ValidationException
Creates a ValidationException with a message and a cause
ValidationFailure - Class in dev.morphia.query.validation
Represents a validation failure.
ValidationFailure(String) - Constructor for class dev.morphia.query.validation.ValidationFailure
Creates a ValidationFailure with a message
Validator - Interface in dev.morphia.query.validation
Marker interface for validators.
value() - Method in annotation type dev.morphia.annotations.AlsoLoad
 
value() - Method in annotation type dev.morphia.annotations.CappedAt
 
value() - Method in annotation type dev.morphia.annotations.ConstructorArgs
Deprecated.
 
value() - Method in annotation type dev.morphia.annotations.Converters
 
value() - Method in annotation type dev.morphia.annotations.Embedded
 
value() - Method in annotation type dev.morphia.annotations.Entity
 
value() - Method in annotation type dev.morphia.annotations.EntityListeners
 
value() - Method in annotation type dev.morphia.annotations.Field
 
value() - Method in annotation type dev.morphia.annotations.Index
Deprecated.
value() - Method in annotation type dev.morphia.annotations.Indexed
 
value() - Method in annotation type dev.morphia.annotations.Indexes
 
value() - Method in annotation type dev.morphia.annotations.Property
 
value() - Method in annotation type dev.morphia.annotations.Reference
 
value() - Method in annotation type dev.morphia.annotations.Serialized
Deprecated.
 
value() - Method in annotation type dev.morphia.annotations.Text
 
value() - Method in annotation type dev.morphia.annotations.Validation
 
value() - Method in annotation type dev.morphia.annotations.Version
 
value() - Method in class dev.morphia.ValidationBuilder
 
value(String) - Method in class dev.morphia.ValidationBuilder
 
valueMapper(CustomMapper) - Method in class dev.morphia.mapping.MapperOptions.Builder
 
valueOf(String) - Static method in enum dev.morphia.geo.CoordinateReferenceSystemType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum dev.morphia.geo.GeoJsonType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum dev.morphia.mapping.DateStorage
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum dev.morphia.mapping.validation.ConstraintViolation.Level
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum dev.morphia.MapreduceType
Deprecated.
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum dev.morphia.query.BucketAutoOptions.Granularity
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum dev.morphia.query.CriteriaJoin
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum dev.morphia.query.FilterOperator
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum dev.morphia.query.Meta.MetaDataKeyword
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum dev.morphia.query.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum dev.morphia.query.UpdateOperator
Returns the enum constant of this type with the specified name.
values() - Static method in enum dev.morphia.geo.CoordinateReferenceSystemType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum dev.morphia.geo.GeoJsonType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum dev.morphia.mapping.DateStorage
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum dev.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 dev.morphia.MapreduceType
Deprecated.
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum dev.morphia.query.BucketAutoOptions.Granularity
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum dev.morphia.query.CriteriaJoin
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum dev.morphia.query.FilterOperator
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum dev.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 dev.morphia.query.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum dev.morphia.query.UpdateOperator
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 dev.morphia.query.validation
Provides validation based on the Value in the query
ValueValidator() - Constructor for class dev.morphia.query.validation.ValueValidator
 
verbose(Boolean) - Method in class dev.morphia.MapReduceOptions
Deprecated.
Sets the verbosity of the MapReduce job, defaults to 'true'
Version - Annotation Type in dev.morphia.annotations
supposed to be used on a Long or long field for optimistic locking.
VersionMisuse - Class in dev.morphia.mapping.validation.fieldrules
 
VersionMisuse(ObjectFactory) - Constructor for class dev.morphia.mapping.validation.fieldrules.VersionMisuse
Creates a version validator.

W

warning(String) - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
warning(String) - Method in class dev.morphia.logging.jdk.JDKLogger
 
warning(String) - Method in interface dev.morphia.logging.Logger
 
warning(String) - Method in class dev.morphia.logging.SilentLogger
 
warning(String, Object...) - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
warning(String, Object...) - Method in class dev.morphia.logging.jdk.JDKLogger
 
warning(String, Object...) - Method in interface dev.morphia.logging.Logger
 
warning(String, Object...) - Method in class dev.morphia.logging.SilentLogger
 
warning(String, Throwable) - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
warning(String, Throwable) - Method in class dev.morphia.logging.jdk.JDKLogger
 
warning(String, Throwable) - Method in interface dev.morphia.logging.Logger
 
warning(String, Throwable) - Method in class dev.morphia.logging.SilentLogger
 
WARNING - dev.morphia.mapping.validation.ConstraintViolation.Level
 
WEAK - Static variable in class relocated.morphia.org.apache.commons.collections.ReferenceMap
Constant indicating that weak references should be used.
weight() - Method in annotation type dev.morphia.annotations.Field
 
where(String) - Method in interface dev.morphia.query.Query
Deprecated.
no replacement is planned
where(String) - Method in class dev.morphia.query.QueryImpl
 
where(CodeWScope) - Method in interface dev.morphia.query.Query
Deprecated.
no replacement is planned
where(CodeWScope) - Method in class dev.morphia.query.QueryImpl
 
WHERE - dev.morphia.query.FilterOperator
 
WhereCriteria - Class in dev.morphia.query
Deprecated.
no replacement is planned
WhereCriteria(String) - Constructor for class dev.morphia.query.WhereCriteria
Deprecated.
Creates a WhereCriteria with the given javascript
WhereCriteria(CodeWScope) - Constructor for class dev.morphia.query.WhereCriteria
Deprecated.
Creates a WhereCriteria with the given javascript
within(MultiPolygon) - Method in interface dev.morphia.query.FieldEnd
This runs the $geoWithin query, returning documents with GeoJson fields whose area falls within the given boundaries.
within(MultiPolygon) - Method in class dev.morphia.query.FieldEndImpl
 
within(MultiPolygon, CoordinateReferenceSystem) - Method in interface dev.morphia.query.FieldEnd
This runs the $geoWithin query, returning documents with GeoJson fields whose area falls within the given boundaries.
within(MultiPolygon, CoordinateReferenceSystem) - Method in class dev.morphia.query.FieldEndImpl
 
within(Polygon) - Method in interface dev.morphia.query.FieldEnd
This runs the $geoWithin query, returning documents with GeoJson fields whose area falls within the given boundary.
within(Polygon) - Method in class dev.morphia.query.FieldEndImpl
 
within(Polygon, CoordinateReferenceSystem) - Method in interface dev.morphia.query.FieldEnd
This runs the $geoWithin query, returning documents with GeoJson fields whose area falls within the given boundary.
within(Polygon, CoordinateReferenceSystem) - Method in class dev.morphia.query.FieldEndImpl
 
within(Shape) - Method in interface dev.morphia.query.FieldEnd
This implements the $geoWithin operator and is only compatible with mongo 2.4 or greater.
within(Shape) - Method in class dev.morphia.query.FieldEndImpl
 
WITHIN - dev.morphia.query.FilterOperator
Deprecated.
New in server version 2.4: $geoWithin replaces $within which is deprecated.
WITHIN_BOX - dev.morphia.query.FilterOperator
 
WITHIN_CIRCLE - dev.morphia.query.FilterOperator
 
WITHIN_CIRCLE_SPHERE - dev.morphia.query.FilterOperator
 
wrap(V) - Static method in class dev.morphia.mapping.experimental.MorphiaReference
Wraps an value in a MorphiaReference to storing on an entity
writeConcern(WriteConcern) - Method in class dev.morphia.DeleteOptions
Sets the write concern
writeConcern(WriteConcern) - Method in class dev.morphia.FindAndModifyOptions
Sets the writeConcern
writeConcern(WriteConcern) - Method in class dev.morphia.InsertOptions
Set the write concern to use for the insert.
writeConcern(WriteConcern) - Method in class dev.morphia.UpdateOptions
Sets the write concern

_

__add(Key) - Method in class dev.morphia.mapping.lazy.proxy.CollectionObjectReference
 
__add(Key<?>) - Method in interface dev.morphia.mapping.lazy.proxy.ProxiedEntityReferenceList
 
__addAll(Collection<? extends Key<?>>) - Method in class dev.morphia.mapping.lazy.proxy.CollectionObjectReference
 
__addAll(Collection<? extends Key<?>>) - Method in interface dev.morphia.mapping.lazy.proxy.ProxiedEntityReferenceList
 
__getKey() - Method in class dev.morphia.mapping.lazy.proxy.EntityObjectReference
 
__getKey() - Method in interface dev.morphia.mapping.lazy.proxy.ProxiedEntityReference
 
__getKeysAsList() - Method in class dev.morphia.mapping.lazy.proxy.CollectionObjectReference
 
__getKeysAsList() - Method in interface dev.morphia.mapping.lazy.proxy.ProxiedEntityReferenceList
 
__getReferenceMap() - Method in class dev.morphia.mapping.lazy.proxy.MapObjectReference
 
__getReferenceMap() - Method in interface dev.morphia.mapping.lazy.proxy.ProxiedEntityReferenceMap
 
__getReferenceObjClass() - Method in class dev.morphia.mapping.lazy.proxy.AbstractReference
 
__getReferenceObjClass() - Method in interface dev.morphia.mapping.lazy.proxy.ProxiedReference
 
__isFetched() - Method in class dev.morphia.mapping.lazy.proxy.AbstractReference
 
__isFetched() - Method in interface dev.morphia.mapping.lazy.proxy.ProxiedReference
 
__put(Object, Key) - Method in class dev.morphia.mapping.lazy.proxy.MapObjectReference
 
__put(Object, Key<?>) - Method in interface dev.morphia.mapping.lazy.proxy.ProxiedEntityReferenceMap
 
__unwrap() - Method in class dev.morphia.mapping.lazy.proxy.AbstractReference
 
__unwrap() - Method in interface dev.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 _ 
All Classes All Packages