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
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
Adds the given Annotation to the internal list for the given Class.
addAnnotation(Class<? extends Annotation>, Annotation) - Method in class dev.morphia.mapping.MappedField
Adds the annotation, if it exists on the field.
addConverter(TypeConverter) - Method in class dev.morphia.converters.Converters
Add a type converter.
addConverter(Class<? extends TypeConverter>) - Method in class dev.morphia.converters.Converters
Adds a TypeConverter to this bundle.
addInterceptor(EntityInterceptor) - Method in class dev.morphia.mapping.Mapper
addInterestingAnnotation(Class<? extends Annotation>) - Static method in class dev.morphia.mapping.MappedClass
Adds an annotation for Morphia to retain when mapping.
addInterestingAnnotation(Class<? extends Annotation>) - Static method in class dev.morphia.mapping.MappedField
Adds an annotation for Morphia to retain when mapping.
addMappedClass(Class) - Method in class dev.morphia.mapping.Mapper
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
Deprecated.
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, Iterable<?>) - Method in interface dev.morphia.query.Updates
adds the values to an array field if they doesn't already exist in the array
addToSet(String, Object) - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
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, Object) - Method in interface dev.morphia.query.Updates
adds the value to an array field if it doesn't already exist in the array
addToSet(String, List<?>) - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
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
 
addToSet(String, List<?>) - Method in interface dev.morphia.query.Updates
adds the values to an array field if they doesn't already exist in the array
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(Datastore, 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
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
Signifies an error trying to authenticate against the database.
AuthenticationException(String) - Constructor for exception dev.morphia.AuthenticationException
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.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
basicValidate() - Method in class dev.morphia.mapping.MappedClass
 
batchSize(int) - Method in class dev.morphia.query.FindOptions
Sets the number of documents to return per batch.
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
 
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.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
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.
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.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
 
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
 
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
Indicates that this field can be constructed from the stored fields; it doesn't require a no-args constructor.
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
Check java field name that will be stored in mongodb
continueOnError(boolean) - Method in class dev.morphia.InsertOptions
Set whether documents will continue to be inserted after a failure to insert one.
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
Defines a bundle of converters
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
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.FindAndModifyOptions
 
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.
count() - Method in annotation type dev.morphia.annotations.CappedAt
 
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
 
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(String, Class<?>) - Method in interface dev.morphia.AdvancedDatastore
Returns an AggregationPipeline bound to the given collection and class.
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
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(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
Deprecated, for removal: This API element is subject to removal in a future version.
createQuery(Class<T>, DBObject) - Method in interface dev.morphia.AdvancedDatastore
 
createQuery(String, Class<T>) - Method in interface dev.morphia.AdvancedDatastore
 
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(T) - Method in interface dev.morphia.AdvancedDatastore
Creates a reference to the entity (using the current DB -can be null-, the collectionName, and id)
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(Class<T>) - Method in interface dev.morphia.Datastore
Deprecated, for removal: This API element is subject to removal in a future version.
use Query.update() instead
createUpdateOperations(Class<T>, DBObject) - Method in interface dev.morphia.AdvancedDatastore
Deprecated, for removal: This API element is subject to removal in a future version.
use Query.update() instead
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(Mapper, 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.
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

Datastore - Interface in dev.morphia
Datastore interface to get/delete/save objects
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.
dec(String) - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
Decrements the numeric field by 1
dec(String) - Method in class dev.morphia.query.UpdateOpsImpl
 
dec(String) - Method in interface dev.morphia.query.Updates
Decrements the numeric field by 1
dec(String, Number) - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
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
 
dec(String, Number) - Method in interface dev.morphia.query.Updates
Decrements the numeric field by value (must be a positive Double, Float, Long, or Integer).
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
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
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() - Method in interface dev.morphia.query.Query
 
delete() - Method in class dev.morphia.query.QueryImpl
 
delete(FindAndModifyOptions) - Method in interface dev.morphia.query.Query
 
delete(FindAndModifyOptions) - Method in class dev.morphia.query.QueryImpl
 
delete(Query<T>) - Method in interface dev.morphia.Datastore
Deprecated, for removal: This API element is subject to removal in a future version.
use Query.remove() instead
delete(Query<T>, DeleteOptions) - Method in interface dev.morphia.Datastore
Deprecated, for removal: This API element is subject to removal in a future version.
delete(T) - Method in interface dev.morphia.Datastore
Deletes the given entity (by @Id)
delete(T, DeleteOptions) - Method in interface dev.morphia.Datastore
Deletes the given entity (by @Id), with the WriteConcern
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.geo - package dev.morphia.geo
 
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.validation - package dev.morphia.query.validation
 
disableCompression() - Method in annotation type dev.morphia.annotations.Serialized
 
disableEmbeddedIndexes(boolean) - Method in class dev.morphia.mapping.MapperOptions.Builder
 
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
Deprecated.
Turns off validation (for all calls made after)
disableValidation() - Method in class dev.morphia.query.UpdateOpsImpl
 
disableValidation() - Method in interface dev.morphia.query.Updates
Turns off validation (for all calls made after)
discover(Mapper) - Method in class dev.morphia.mapping.MappedClass
Discovers interesting (that we care about) things about the class.
discover(Mapper) - Method in class dev.morphia.mapping.MappedField
Discovers interesting (that we care about) things about the field.
discoverType(Mapper) - Method in class dev.morphia.mapping.MappedField
 
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.
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
 
enableDocumentValidation() - Method in interface dev.morphia.Datastore
Process any Validation annotations for document validation.
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
Deprecated.
Turns on validation (for all calls made after); by default validation is on
enableValidation() - Method in class dev.morphia.query.UpdateOpsImpl
 
enableValidation() - Method in interface dev.morphia.query.Updates
Turns on validation (for all calls made after); by default validation is on
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
encode the type safe java object into the corresponding DBObject
encode(Object) - Method in class dev.morphia.converters.Converters
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)
ensureIndexes() - Method in interface dev.morphia.Datastore
Ensures (creating if necessary) the indexes found during class mapping
ensureIndexes(Class<T>) - Method in interface dev.morphia.Datastore
Ensures (creating if necessary) the indexes found during class mapping
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
 
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.
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
 
equals(Object) - Method in class dev.morphia.query.QueryImpl
 
execute() - Method in class dev.morphia.query.Modify
 
execute() - Method in interface dev.morphia.query.Query
Execute the query and get the results.
execute() - Method in class dev.morphia.query.QueryImpl
 
execute() - Method in class dev.morphia.query.QueryImpl.Update
 
execute(FindAndModifyOptions) - Method in class dev.morphia.query.Modify
 
execute(FindOptions) - Method in interface dev.morphia.query.Query
Execute the query and get the results.
execute(FindOptions) - Method in class dev.morphia.query.QueryImpl
 
execute(UpdateOptions) - Method in class dev.morphia.query.QueryImpl.Update
 
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 - 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.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

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(Key<?>) - Method in class dev.morphia.mapping.lazy.proxy.AbstractReference
 
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(Mapper, 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
 
find() - Method in interface dev.morphia.query.Query
Deprecated, for removal: This API element is subject to removal in a future version.
find(FindOptions) - Method in interface dev.morphia.query.Query
Deprecated, for removal: This API element is subject to removal in a future version.
find(Class<T>) - Method in interface dev.morphia.Datastore
Find all instances by type
find(String) - Method in interface dev.morphia.AdvancedDatastore
Find all instances by type in a different collection than what is mapped on the class given.
findAndDelete(Query<T>) - Method in interface dev.morphia.Datastore
Deprecated, for removal: This API element is subject to removal in a future version.
use Query.delete() instead
findAndDelete(Query<T>, FindAndModifyOptions) - Method in interface dev.morphia.Datastore
Deprecated, for removal: This API element is subject to removal in a future version.
findAndModify(Query<T>, UpdateOperations<T>) - Method in interface dev.morphia.Datastore
Deprecated, for removal: This API element is subject to removal in a future version.
use Query.modify() instead
FindAndModifyOptions - Class in dev.morphia
The options for find and modify operations.
FindAndModifyOptions() - Constructor for class dev.morphia.FindAndModifyOptions
Creates a new options instance.
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 interface dev.morphia.query.Query
Gets the first entity in the result set.
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
 
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
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.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(Class<T>, Iterable<V>) - Method in interface dev.morphia.Datastore
Deprecated.
use Query instead.
get(T) - Method in interface dev.morphia.Datastore
Deprecated.
use Query instead
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
Looks for an annotation of the type given
getAnnotation(Class<T>) - Method in class dev.morphia.mapping.MappedField
 
getAnnotations() - Method in class dev.morphia.mapping.MappedField
 
getAnnotations(Class<? extends Annotation>) - Method in class dev.morphia.mapping.MappedClass
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
getByKeys(Class<T>, Iterable<Key<T>>) - Method in interface dev.morphia.Datastore
Deprecated.
use a Query instead
getByKeys(Iterable<Key<T>>) - Method in interface dev.morphia.Datastore
Deprecated.
use a Query instead
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
 
getClassFromCollection(String) - Method in class dev.morphia.mapping.Mapper
Deprecated.
no replacement is planned
getClassLoaderForClass() - Method in class dev.morphia.mapping.DefaultCreator
 
getClassNameCache() - Method in class dev.morphia.mapping.DefaultCreator
 
getClazz() - Method in class dev.morphia.mapping.MappedClass
 
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.Key
 
getCollection() - Method in class dev.morphia.query.MorphiaIterator
Deprecated.
 
getCollection() - Method in class dev.morphia.query.QueryImpl
 
getCollection(Class<?>) - Method in interface dev.morphia.Datastore
Deprecated.
the return type for this method will change in 2.0
getCollectionName() - Method in class dev.morphia.mapping.MappedClass
 
getCollectionName(Object) - Method in class dev.morphia.mapping.Mapper
Gets the mapped collection for an object instance or Class reference.
getConcreteType() - Method in class dev.morphia.mapping.MappedField
 
getConverters() - Method in class dev.morphia.mapping.Mapper
 
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
 
getCTor() - Method in class dev.morphia.mapping.MappedField
 
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
 
getDatastore() - Method in class dev.morphia.mapping.lazy.proxy.AbstractReference
 
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.
getDbObjectValue(DBObject) - Method in class dev.morphia.mapping.EphemeralMappedField
 
getDbObjectValue(DBObject) - Method in class dev.morphia.mapping.MappedField
 
getDeclaringClass() - Method in class dev.morphia.mapping.MappedField
 
getDefaultField() - Method in class dev.morphia.query.BucketOptions
 
getDefaultMapper() - Method in class dev.morphia.mapping.MapperOptions
 
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.
 
getEmbeddedAnnotation() - Method in class dev.morphia.mapping.MappedClass
 
getEmbeddedMapper() - Method in class dev.morphia.mapping.MapperOptions
 
getEncoder(Class) - Method in class dev.morphia.converters.Converters
 
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
 
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
 
getEntityClass() - Method in class dev.morphia.query.QueryImpl
 
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
 
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
 
getFieldsAnnotatedWith(Class<? extends Annotation>) - Method in class dev.morphia.mapping.MappedClass
Returns fields annotated with the clazz
getFieldsObject() - Method in class dev.morphia.query.QueryImpl
 
getFieldValue(Object) - Method in class dev.morphia.mapping.EphemeralMappedField
 
getFieldValue(Object) - Method in class dev.morphia.mapping.MappedField
Gets the value of the field mapped on the instance given.
getFirstAnnotation(Class<? extends Annotation>) - Method in class dev.morphia.mapping.MappedClass
Returns the first found Annotation, or null.
getFirstFieldName(DBObject) - Method in class dev.morphia.mapping.MappedField
Gets the field name to use when converting from a DBObject
getFullName() - Method in class dev.morphia.mapping.MappedField
 
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.
getId() - Method in class dev.morphia.Key
 
getId(Object) - Method in class dev.morphia.mapping.Mapper
Gets the ID value for an entity
getIdField() - Method in class dev.morphia.mapping.MappedClass
 
getIncludeLocations() - Method in class dev.morphia.aggregation.GeoNear
This specifies the output field that identifies the location used to calculate the distance.
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
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
 
getKey() - Method in interface dev.morphia.query.Query
Deprecated.
use Query.first() instead
getKey() - Method in class dev.morphia.query.QueryImpl
 
getKey(FindOptions) - Method in interface dev.morphia.query.Query
Deprecated.
use Query.first() instead
getKey(FindOptions) - Method in class dev.morphia.query.QueryImpl
 
getKey(T) - Method in interface dev.morphia.Datastore
Creates a (type-safe) reference to the entity; if stored this will become a DBRef
getKey(T) - Method in class dev.morphia.mapping.Mapper
Gets the Key for an entity
getKey(T, String) - Method in class dev.morphia.mapping.Mapper
Gets the Key for an entity and a specific collection
getKeysByManualRefs(Class<T>, List<Object>) - Method in class dev.morphia.mapping.Mapper
Gets the Keys for a list of objects
getKeysByRefs(List<DBRef>) - Method in class dev.morphia.mapping.Mapper
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.
getLoadNames() - Method in class dev.morphia.mapping.MappedField
 
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
If the underlying java type is a map then it returns T from Map
getMappedClass(Object) - Method in class dev.morphia.mapping.Mapper
Gets the MappedClass for the object (type).
getMappedClasses() - Method in class dev.morphia.mapping.Mapper
 
getMappedField(String) - Method in class dev.morphia.mapping.MappedClass
Returns the MappedField by the name that it will stored in mongodb as
getMappedFieldByJavaField(String) - Method in class dev.morphia.mapping.MappedClass
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
 
getMappedIdField() - Method in class dev.morphia.mapping.MappedClass
 
getMappedVersionField() - Method in class dev.morphia.mapping.MappedClass
 
getMapper() - Method in class dev.morphia.converters.TypeConverter
 
getMapper() - Method in interface dev.morphia.Datastore
 
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.
 
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
 
getMongo() - Method in interface dev.morphia.Datastore
Deprecated.
no replacement is planned
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
 
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.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.DeleteOptions
 
getOptions() - Method in class dev.morphia.FindAndModifyOptions
 
getOptions() - Method in class dev.morphia.mapping.Mapper
 
getOptions() - Method in class dev.morphia.UpdateOptions
 
getOrder() - Method in class dev.morphia.query.Sort
Returns the sort order.
getParent() - Method in class dev.morphia.mapping.EphemeralMappedField
 
getPersistenceFields() - Method in class dev.morphia.mapping.MappedClass
 
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
 
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
 
getQueryObject() - Method in class dev.morphia.query.QueryImpl
 
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
 
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.
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.
getSortObject() - Method in class dev.morphia.query.QueryImpl
 
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
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
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
Finds any subtypes for the given MappedClass.
getSuperClass() - Method in class dev.morphia.mapping.MappedClass
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
 
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
 
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
 
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
 
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

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
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
 
hasDbObjectConverter(Class) - Method in class dev.morphia.converters.Converters
 
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
 
hashCode() - Method in class dev.morphia.query.QueryImpl
 
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
 
hasSimpleValueConverter(Class) - Method in class dev.morphia.converters.Converters
 
hasSimpleValueConverter(Object) - Method in class dev.morphia.converters.Converters
 
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(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.

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
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
Deprecated.
Increments the numeric field by 1
inc(String) - Method in class dev.morphia.query.UpdateOpsImpl
 
inc(String) - Method in interface dev.morphia.query.Updates
Increments the numeric field by 1
inc(String, Number) - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
increments the numeric field by value (negatives are allowed)
inc(String, Number) - Method in class dev.morphia.query.UpdateOpsImpl
 
inc(String, Number) - Method in interface dev.morphia.query.Updates
increments the numeric field by value (negatives are allowed)
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
 
INFO - dev.morphia.mapping.validation.ConstraintViolation.Level
 
InOperationValidator - Class in dev.morphia.query.validation
Checks if the value can have the FilterOperator.IN operator applied to it.
insert(Iterable<T>) - Method in interface dev.morphia.AdvancedDatastore
Inserts entities in to the mapped collection.
insert(Iterable<T>, InsertOptions) - Method in interface dev.morphia.AdvancedDatastore
Inserts entities in to the mapped collection.
insert(T) - Method in interface dev.morphia.AdvancedDatastore
Inserts an entity in to the mapped collection.
insert(T, InsertOptions) - Method in interface dev.morphia.AdvancedDatastore
Inserts an entity in to the mapped collection.
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
 
isAbstract() - Method in class dev.morphia.mapping.MappedClass
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
 
isCacheClassLookups() - Method in class dev.morphia.mapping.MapperOptions
 
isContinueOnError() - Method in class dev.morphia.InsertOptions
Whether documents will continue to be inserted after a failure to insert one (most commonly due to a duplicate key error).
isDisableEmbeddedIndexes() - Method in class dev.morphia.mapping.MapperOptions
 
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
 
isInterface() - Method in class dev.morphia.mapping.MappedClass
 
isMap() - Method in class dev.morphia.mapping.MappedField
 
isMapped(Class) - Method in class dev.morphia.mapping.Mapper
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
 
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.
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
 
isRegistered(Class<? extends TypeConverter>) - Method in class dev.morphia.converters.Converters
 
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
isReturnNew() - Method in class dev.morphia.FindAndModifyOptions
Returns the returnNew
isSet() - Method in class dev.morphia.mapping.MappedField
 
isSingleValue() - Method in class dev.morphia.mapping.EphemeralMappedField
 
isSingleValue() - Method in class dev.morphia.mapping.MappedField
 
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
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
 
isTransient() - Method in class dev.morphia.mapping.MappedField
 
isTypeMongoCompatible() - Method in class dev.morphia.mapping.MappedField
 
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
 
IterableConverter - Class in dev.morphia.converters
 
IterableConverter() - Constructor for class dev.morphia.converters.IterableConverter
 
iterator() - Method in class dev.morphia.query.MorphiaIterator
Deprecated.
 

J

JAVA_8 - Static variable in class dev.morphia.converters.DefaultConverters
 
JAVASCRIPT - dev.morphia.query.Type
 
JAVASCRIPT_WITH_SCOPE - dev.morphia.query.Type
 

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
 
keyToDBRef(Key) - Method in class dev.morphia.mapping.Mapper
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
 
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.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.
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. This can be replicated using options.modifier("$min", new Document(...))
lowerIndexBound(DBObject) - Method in class dev.morphia.query.QueryImpl
Deprecated.

M

manualRefToKey(Class<T>, Object) - Method in class dev.morphia.mapping.Mapper
Creates a Key for a type and an ID value
map(Class...) - Method in class dev.morphia.Morphia
Maps a set of classes
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
 
MappedClass(Class<?>, Mapper) - Constructor for class dev.morphia.mapping.MappedClass
Creates a MappedClass instance
MappedField - Class in dev.morphia.mapping
 
Mapper - Class in dev.morphia.mapping
 
Mapper() - Constructor for class dev.morphia.mapping.Mapper
Creates a Mapper with default options
Mapper(MapperOptions) - Constructor for class dev.morphia.mapping.Mapper
Creates a Mapper with the given options.
Mapper(MapperOptions, Mapper) - Constructor for class dev.morphia.mapping.Mapper
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
MappingValidator - Class in dev.morphia.mapping.validation
 
MappingValidator(ObjectFactory) - Constructor for class dev.morphia.mapping.validation.MappingValidator
Creates a mapping validator
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(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
Deprecated.
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(String, Number) - Method in interface dev.morphia.query.Updates
Sets the numeric field to value if it is greater than the current value.
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.
use the methods that accept Options directly. This can be replicated using options.modifier("$maxScan", value)
maxScan(int) - Method in class dev.morphia.query.QueryImpl
Deprecated.
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.
use the methods that accept Options directly. This can be replicated using options.maxTime(value, unit)
maxTime(long, TimeUnit) - Method in class dev.morphia.query.QueryImpl
Deprecated.
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, 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.
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(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
Deprecated.
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(String, Number) - Method in interface dev.morphia.query.Updates
sets the numeric field to value if it is less than the current value.
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
 
modifier(String, Object) - Method in class dev.morphia.query.FindOptions
Adds a modifier to the find operation
modify() - Method in interface dev.morphia.query.Query
 
modify() - Method in class dev.morphia.query.QueryImpl
 
modify(UpdateOperations<T>) - Method in interface dev.morphia.query.Query
Deprecated. 
modify(UpdateOperations<T>) - Method in class dev.morphia.query.QueryImpl
 
Modify<R> - Class in dev.morphia.query
 
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
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
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
MorphiaReference<T> - Class in dev.morphia.mapping.experimental
Wrapper type for references to entities in other collections
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.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.MorphiaIterator
Deprecated.
 
noClassnameStored() - Method in annotation type dev.morphia.annotations.Entity
 
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
Sorts based on a metadata (defines return order).
order(Meta) - Method in class dev.morphia.query.QueryImpl
 
order(Sort...) - Method in interface dev.morphia.query.Query
Sorts based on a specified sort keys (defines return order).
order(Sort...) - 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
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

P

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
 
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
 
PreSave - Annotation Type in dev.morphia.annotations
Called right before DBCollection.save() is called.
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
Adds a metadata field to a projection.
project(Meta) - Method in class dev.morphia.query.QueryImpl
 
project(String, boolean) - Method in interface dev.morphia.query.Query
Adds a field to the projection clause.
project(String, boolean) - Method in class dev.morphia.query.QueryImpl
 
project(String, ArraySlice) - Method in interface dev.morphia.query.Query
Adds an sliced array field to a projection.
project(String, ArraySlice) - Method in class dev.morphia.query.QueryImpl
 
projection(DBObject) - Method in class dev.morphia.FindAndModifyOptions
 
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
Deprecated.
Adds new values to an array field.
push(String, Object) - Method in class dev.morphia.query.UpdateOpsImpl
 
push(String, Object) - Method in interface dev.morphia.query.Updates
Adds new values to an array field.
push(String, Object, PushOptions) - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
Adds new values to an array field at the given position
push(String, Object, PushOptions) - Method in class dev.morphia.query.UpdateOpsImpl
 
push(String, Object, PushOptions) - Method in interface dev.morphia.query.Updates
Adds new values to an array field at the given position
push(String, List<?>) - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
Adds new values to an array field.
push(String, List<?>) - Method in class dev.morphia.query.UpdateOpsImpl
 
push(String, List<?>) - Method in interface dev.morphia.query.Updates
Adds new values to an array field.
push(String, List<?>, PushOptions) - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
Adds new values to an array field at the given position
push(String, List<?>, PushOptions) - Method in class dev.morphia.query.UpdateOpsImpl
 
push(String, List<?>, PushOptions) - Method in interface dev.morphia.query.Updates
Adds new values to an array field at the given position
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
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<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(T) - Method in interface dev.morphia.Datastore
Returns a new query based on the example object
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
QueryImpl.Update - Class in dev.morphia.query
 
queryNonPrimary() - Method in annotation type dev.morphia.annotations.Entity
 
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.

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.query.CountOptions
Sets the readPreference
readPreference(ReadPreference) - Method in class dev.morphia.query.FindOptions
Sets the readPreference
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.
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
Converts a DBRef to a Key
register(Datastore) - Method in interface dev.morphia.mapping.lazy.DatastoreProvider
Deprecated.
Registers a Datastore with this provider
REGULAR_EXPRESSION - dev.morphia.query.Type
 
remove() - Method in class dev.morphia.query.MorphiaIterator
Deprecated.
 
remove() - Method in interface dev.morphia.query.Query
 
remove(boolean) - Method in class dev.morphia.FindAndModifyOptions
Indicates whether to remove the elements matching the query or not
remove(DeleteOptions) - Method in interface dev.morphia.query.Query
 
remove(DeleteOptions) - Method in class dev.morphia.query.QueryImpl
 
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(String, boolean) - Method in class dev.morphia.query.UpdateOpsImpl
 
removeAll(String, Object) - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
removes the value from the array field
removeAll(String, Object) - Method in class dev.morphia.query.UpdateOpsImpl
 
removeAll(String, Object) - Method in interface dev.morphia.query.Updates
removes the value from the array field
removeAll(String, List<?>) - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
removes the values from the array field
removeAll(String, List<?>) - Method in class dev.morphia.query.UpdateOpsImpl
 
removeAll(String, List<?>) - Method in interface dev.morphia.query.Updates
removes the values from the array field
removeConverter(TypeConverter) - Method in class dev.morphia.converters.Converters
Removes the type converter.
removeConverter(TypeConverter) - Method in class dev.morphia.converters.CustomConverters
 
removeFirst(String) - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
removes the first value from the array
removeFirst(String) - Method in class dev.morphia.query.UpdateOpsImpl
 
removeFirst(String) - Method in interface dev.morphia.query.Updates
removes the first value from the array
removeLast(String) - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
removes the last value from the array
removeLast(String) - Method in class dev.morphia.query.UpdateOpsImpl
 
removeLast(String) - Method in interface dev.morphia.query.Updates
removes the last value from the array
render() - Method in class dev.morphia.mapping.validation.ConstraintViolation
 
reset() - Method in class dev.morphia.mapping.cache.EntityCacheStatistics
Clears the statistics
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. This can be replicated using options.modifier("$returnKey", true)
returnKey() - Method in class dev.morphia.query.QueryImpl
Deprecated.
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(Iterable<T>) - Method in interface dev.morphia.Datastore
Saves the entities (Objects) and updates the @Id field
save(Iterable<T>, InsertOptions) - Method in interface dev.morphia.Datastore
Saves the entities (Objects) and updates the @Id field, with the WriteConcern
save(T) - Method in interface dev.morphia.Datastore
Saves an entity (Object) and updates the @Id field
save(T, InsertOptions) - Method in interface dev.morphia.Datastore
Saves an entity (Object) and updates the @Id field
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
Marker for fields that should be (java) serialized
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
Deprecated.
sets the field value
set(String, Object) - Method in class dev.morphia.query.UpdateOpsImpl
 
set(String, Object) - Method in interface dev.morphia.query.Updates
sets the field value
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
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.
setDefaultMapper(CustomMapper) - Method in class dev.morphia.mapping.MapperOptions
Deprecated.
use the Builder instead
setDisableEmbeddedIndexes(boolean) - Method in class dev.morphia.mapping.MapperOptions
Deprecated.
this option is no longer used
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
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.
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.
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
Deprecated.
sets the field on insert.
setOnInsert(String, Object) - Method in class dev.morphia.query.UpdateOpsImpl
 
setOnInsert(String, Object) - Method in interface dev.morphia.query.Updates
sets the field on insert.
setOps(DBObject) - Method in class dev.morphia.query.UpdateOpsImpl
Sets the operations for this UpdateOpsImpl
setOptions(MapperOptions) - Method in class dev.morphia.mapping.Mapper
Sets the options this Mapper should use
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.
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
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.
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(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
sort(int) - Method in class dev.morphia.query.PushOptions
Sets the sort value for the update
sort(DBObject) - Method in class dev.morphia.FindAndModifyOptions
Sets the sort
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.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
 
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 {@see #SYSTEM_DEFAULT} for backwards compatibility.

T

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
 
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
Converts a BucketOptions to a DBObject for use by the Java driver.
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
 
toDBObject(Object) - Method in class dev.morphia.mapping.Mapper
/** 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
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
Converts an entity (POJO) to a DBObject.
toDBObjList(MappedField, List<?>) - Method in class dev.morphia.query.UpdateOpsImpl
 
toMongoObject(MappedField, MappedClass, Object) - Method in class dev.morphia.mapping.Mapper
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.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
 
toString() - Method in class dev.morphia.mapping.MappedField
 
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
 
Transient - Annotation Type in dev.morphia.annotations
 
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.IndexOptions
 
unset(String) - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
removes the field
unset(String) - Method in class dev.morphia.query.UpdateOpsImpl
 
unset(String) - Method in interface dev.morphia.query.Updates
removes the field
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
Update mappings based on fields/annotations.
update() - Method in interface dev.morphia.query.Query
 
update() - Method in class dev.morphia.query.QueryImpl
 
update(DBObject) - Method in class dev.morphia.FindAndModifyOptions
Sets the update
update(DBObject) - Method in interface dev.morphia.query.Query
 
update(DBObject) - Method in class dev.morphia.query.QueryImpl
Deprecated, for removal: This API element is subject to removal in a future version.
update(Query<T>, UpdateOperations<T>) - Method in interface dev.morphia.Datastore
Deprecated, for removal: This API element is subject to removal in a future version.
use Query.update() instead. Please note the default has changed from multi- to single- document updates.
update(Query<T>, UpdateOperations<T>, UpdateOptions) - Method in interface dev.morphia.Datastore
Deprecated, for removal: This API element is subject to removal in a future version.
use Query.update() instead
update(UpdateOperations) - Method in interface dev.morphia.query.Query
Deprecated, for removal: This API element is subject to removal in a future version. 
update(UpdateOperations) - Method in class dev.morphia.query.QueryImpl
Deprecated, for removal: This API element is subject to removal in a future version.
updateCollection(Key) - Method in class dev.morphia.mapping.Mapper
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
updateKeyAndVersionInfo(Datastore, DBObject, EntityCache, Object) - Method in class dev.morphia.mapping.Mapper
Updates the @Id and @Version fields.
UpdateOperations<T> - Interface in dev.morphia.query
Deprecated, for removal: This API element is subject to removal in a future version.
updates should be performed using the Query.update() instead of this class directly
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
 
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
Updates<Updater extends Updates> - Interface in dev.morphia.query
 
upperIndexBound(DBObject) - Method in interface dev.morphia.query.Query
Deprecated.
use the methods that accept Options directly. This can be replicated using options.modifier("$max", new Document(...))
upperIndexBound(DBObject) - Method in class 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
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
 
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.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
 
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.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.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.
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
 
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 - dev.morphia.mapping.validation.ConstraintViolation.Level
 
weight() - Method in annotation type dev.morphia.annotations.Field
 
where(String) - Method in interface dev.morphia.query.Query
Limit the query using this javascript block; only one per query
where(String) - Method in class dev.morphia.query.QueryImpl
 
where(CodeWScope) - Method in interface dev.morphia.query.Query
Limit the query using this javascript block; only one per query
where(CodeWScope) - Method in class dev.morphia.query.QueryImpl
 
WHERE - dev.morphia.query.FilterOperator
 
WhereCriteria - Class in dev.morphia.query
Creates a Criteria for a $where clause.
WhereCriteria(String) - Constructor for class dev.morphia.query.WhereCriteria
Creates a WhereCriteria with the given javascript
WhereCriteria(CodeWScope) - Constructor for class dev.morphia.query.WhereCriteria
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