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

A

AbstractCriteria - Class in 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 - Class in dev.morphia.aggregation
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.
Accumulator(String, Object) - Constructor for 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(String, Object) - Static method in class dev.morphia.aggregation.Accumulator
Defines an accumulator for use in an aggregation pipeline.
action(ValidationAction) - Method in class dev.morphia.ValidationBuilder
 
action() - Method in class dev.morphia.ValidationBuilder
 
add(Object...) - Static method in class dev.morphia.aggregation.Projection
Creates an addition projection
add(Criteria...) - Method in interface dev.morphia.query.CriteriaContainer
Adds Criteria to this container
add(Criteria...) - Method in class dev.morphia.query.CriteriaContainerImpl
 
add(String, Object) - Method in interface dev.morphia.query.UpdateOperations
add(String, Object, boolean) - Method in interface dev.morphia.query.UpdateOperations
add(String, Object) - Method in class dev.morphia.query.UpdateOpsImpl
Deprecated.
add(String, Object, boolean) - Method in class dev.morphia.query.UpdateOpsImpl
Deprecated.
add(UpdateOperator, String, Object, boolean) - Method in class dev.morphia.query.UpdateOpsImpl
 
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>, 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>) - 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.MappedField
Adds the annotation, if it exists on the field.
addConverter(Class<? extends TypeConverter>) - Method in class dev.morphia.converters.Converters
Adds a TypeConverter to this bundle.
addConverter(TypeConverter) - Method in class dev.morphia.converters.Converters
Add a type converter.
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.
addTo(DBObject) - Method in interface dev.morphia.query.Criteria
Adds this Criteria's information to the DBObject
addTo(DBObject) - Method in class dev.morphia.query.CriteriaContainerImpl
 
addTo(DBObject) - Method in class dev.morphia.query.WhereCriteria
 
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, Object) - Method in interface dev.morphia.query.UpdateOperations
adds the value to an array field if it doesn't already exist in the array
addToSet(String, List<?>) - Method in interface dev.morphia.query.UpdateOperations
adds the values to an array field if they doesn't already exist in the array
addToSet(String, Object) - Method in class dev.morphia.query.UpdateOpsImpl
 
addToSet(String, List<?>) - Method in class dev.morphia.query.UpdateOpsImpl
 
AdvancedDatastore - Interface in dev.morphia
This interface exposes advanced Datastore features, like interacting with DBObject and low-level options.
aggregate(Class<U>) - Method in interface dev.morphia.aggregation.AggregationPipeline
Executes the pipeline and aggregates the output in to the type mapped by the target type using the default options as defined in AggregationOptions.
aggregate(Class<U>, 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, 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 interface dev.morphia.aggregation.AggregationPipeline
Executes the pipeline and aggregates the output in to the type mapped by the target type.
aggregate(Class<U>) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
 
aggregate(Class<U>, AggregationOptions) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
 
aggregate(Class<U>, AggregationOptions, ReadPreference) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
 
aggregate(String, Class<U>, AggregationOptions, ReadPreference) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
 
AggregationPipeline - Interface in dev.morphia.aggregation
This defines the pipeline used in aggregation operations
AggregationPipelineImpl - Class in dev.morphia.aggregation
Implementation of an AggregationPipeline.
AggregationPipelineImpl(DatastoreImpl, DBCollection, Class) - Constructor for class dev.morphia.aggregation.AggregationPipelineImpl
Creates an AggregationPipeline
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.
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
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.
ArraySlice - Class in dev.morphia.query
Defines array slicing options for query projections.
ArraySlice(int) - Constructor for class dev.morphia.query.ArraySlice
Specifies the number of array elements to return
ArraySlice(int, int) - Constructor for class dev.morphia.query.ArraySlice
Specifies the number of array elements to skip.
ascending(String) - Static method in class dev.morphia.aggregation.Sort
Deprecated.
ascending(String) - Static method in class dev.morphia.query.Sort
Creates an ascending sort on a field
asKeyList() - Method in class dev.morphia.query.QueryImpl
 
asKeyList(FindOptions) - Method in class dev.morphia.query.QueryImpl
 
asKeyList() - Method in interface dev.morphia.query.QueryResults
Execute the query and get the results (as a List<Key<T>>) This method is provided as a convenience;
asKeyList(FindOptions) - Method in interface dev.morphia.query.QueryResults
Execute the query and get the results (as a List<Key<T>>) This method is provided as a convenience;
asList() - Method in class dev.morphia.query.QueryImpl
 
asList(FindOptions) - Method in class dev.morphia.query.QueryImpl
 
asList() - Method in interface dev.morphia.query.QueryResults
Execute the query and get the results.
asList(FindOptions) - Method in interface dev.morphia.query.QueryResults
Execute the query and get the results.
Assert - Class in dev.morphia.utils
Provides various assertions for Morphia during validation
Assert.AssertionFailedException - Exception in dev.morphia.utils
Represents a failed Morphia Assertion
assertDependencyFullFilled() - Static method in class dev.morphia.mapping.lazy.LazyFeatureDependencies
Checks that the dependencies to support lazy proxies are present
AssertionFailedException(String) - Constructor for exception dev.morphia.utils.Assert.AssertionFailedException
Creates a AssertionFailedException with a message and a cause
AssertionFailedException(String, Throwable) - Constructor for exception dev.morphia.utils.Assert.AssertionFailedException
Creates a AssertionFailedException with a message and a cause
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
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.

B

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

class MyDao extends DAO<MyEntity, String>

BasicDAO(Datastore) - Constructor for class dev.morphia.dao.BasicDAO
 
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.
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.
build() - Method in class dev.morphia.aggregation.GeoNear.GeoNearBuilder
 
build() - Method in class dev.morphia.geo.PointBuilder
Creates an immutable point
builder(String) - Static method in class dev.morphia.aggregation.GeoNear
Creates a builder for a GeoNear pipeline stage
bypassDocumentValidation(Boolean) - Method in class dev.morphia.FindAndModifyOptions
Sets the bypassDocumentValidation
bypassDocumentValidation(Boolean) - Method in class dev.morphia.InsertOptions
Sets whether to bypass document validation.
bypassDocumentValidation(Boolean) - Method in class dev.morphia.MapReduceOptions
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

callLifecycleMethods(Class<? extends Annotation>, Object, DBObject, Mapper) - Method in class dev.morphia.mapping.MappedClass
Call the lifecycle methods
CappedAt - Annotation Type in dev.morphia.annotations
Properties for capped collections; used in Entity
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, 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, MappedField, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.ContradictingFieldAnnotation
 
check(Mapper, MappedClass, 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.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
 
CLASS_NAME_FIELDNAME - Static variable in class dev.morphia.mapping.Mapper
Special field used by morphia to support various possibly loading issues; will be replaced when discriminators are implemented to support polymorphism
ClassConstraint - Interface in dev.morphia.mapping.validation
 
ClassConverter - Class in dev.morphia.converters
 
ClassConverter() - Constructor for class dev.morphia.converters.ClassConverter
Creates the Converter.
cloneQuery() - Method in interface dev.morphia.query.Query
Creates and returns a copy of this Query.
cloneQuery() - Method in class dev.morphia.query.QueryImpl
 
close() - Method in class dev.morphia.query.MorphiaIterator
Closes the underlying cursor.
Collation - Annotation Type in dev.morphia.annotations
Defines the collation options for an index
collation(Collation) - Method in class dev.morphia.DeleteOptions
Sets the collation
collation(Collation) - Method in class dev.morphia.FindAndModifyOptions
Sets the collation
collation(Collation) - Method in class dev.morphia.MapReduceOptions
Sets the collation options
collation(Collation) - Method in class dev.morphia.query.CountOptions
Sets the collation
collation(Collation) - Method in class dev.morphia.query.FindOptions
Sets the collation
collation(Collation) - Method in class dev.morphia.UpdateOptions
Sets the collation
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
comment(String) - Method in interface dev.morphia.query.Query
Deprecated.
use the methods that accept Options directly. This can be replicated with options.modifier("$comment", comment)
comment(String) - Method in class dev.morphia.query.QueryImpl
Deprecated.
compareTo(Key<T>) - Method in class dev.morphia.Key
 
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(Collection<ConstraintViolation>) - Constructor for exception dev.morphia.mapping.validation.ConstraintViolationException
Creates a ConstraintViolationException with the set of violations
ConstraintViolationException(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.
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 - 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 - Class in dev.morphia.converters
Defines a bundle of converters
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
 
convertItem(DBObject) - Method in class dev.morphia.query.MorphiaKeyIterator
 
convertToArray(Class, List<?>) - Static method in class dev.morphia.utils.ReflectionUtils
Converts a List to an array
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(String) - Method in class dev.morphia.DatastoreImpl
copy() - Method in class dev.morphia.DeleteOptions
Copies this instance to a new one.
copy() - Method in class dev.morphia.InsertOptions
Create a copy of the options instance.
copy() - Method in class dev.morphia.mapping.cache.EntityCacheStatistics
Copies the statistics
copy() - Method in class dev.morphia.query.FindOptions
Makes a copy of these find options
copy(DBObject) - Method in class dev.morphia.query.QueryImpl
 
copy() - Method in class dev.morphia.UpdateOptions
Create a copy of the options instance.
count() - Method in class dev.morphia.dao.BasicDAO
 
count(String, Object) - Method in class dev.morphia.dao.BasicDAO
 
count(Query<T>) - Method in class dev.morphia.dao.BasicDAO
 
count() - Method in interface dev.morphia.dao.DAO
 
count(String, Object) - Method in interface dev.morphia.dao.DAO
 
count(Query<T>) - Method in interface dev.morphia.dao.DAO
 
count() - Method in class dev.morphia.query.QueryImpl
 
count(CountOptions) - Method in class dev.morphia.query.QueryImpl
 
count() - Method in interface dev.morphia.query.QueryResults
Count the total number of values in the result, ignoring limit and offset
count(CountOptions) - Method in interface dev.morphia.query.QueryResults
Count the total number of values in the result, ignoring limit and offset
countAll() - Method in class dev.morphia.query.QueryImpl
Deprecated.
countAll() - Method in interface dev.morphia.query.QueryResults
Deprecated.
CountOptions - Class in dev.morphia.query
The options for a count operation.
CountOptions() - Constructor for class dev.morphia.query.CountOptions
 
createAggregation(String, Class<?>) - Method in interface dev.morphia.AdvancedDatastore
Returns an AggregationPipeline bound to the given collection and class.
createAggregation(Class) - Method in interface dev.morphia.Datastore
Returns a new query bound to the kind (a specific DBCollection)
createAggregation(Class) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
createAggregation(String, Class<?>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
createCache() - Method in class dev.morphia.mapping.cache.DefaultEntityCacheFactory
Creates a new DefaultEntityCache
createCache() - Method in interface dev.morphia.mapping.cache.EntityCacheFactory
Called for every query.
createDatastore(MongoClient, String) - Method in class dev.morphia.Morphia
It is best to use a Mongo singleton instance here.
createDatastore(MongoClient, Mapper, String) - Method in class dev.morphia.Morphia
Creates a new Datastore for interacting with MongoDB using POJOs
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(Class<T>) - Method in class dev.morphia.mapping.DefaultCreator
 
createInstance(Class<T>, DBObject) - Method in class dev.morphia.mapping.DefaultCreator
 
createInstance(Mapper, MappedField, DBObject) - 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 interface dev.morphia.ObjectFactory
Creates an instance of the class defined in the Mapper.CLASS_NAME_FIELDNAME field in the dbObject passed in.
createInstance(Mapper, MappedField, DBObject) - Method in interface dev.morphia.ObjectFactory
Creates an instance of the class defined in the Mapper.CLASS_NAME_FIELDNAME field in the dbObject passed in.
createList(MappedField) - Method in class 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(String, Class<T>) - Method in interface dev.morphia.AdvancedDatastore
 
createQuery(Class<T>, DBObject) - Method in interface dev.morphia.AdvancedDatastore
 
createQuery(String, Class<T>, DBObject) - Method in interface dev.morphia.AdvancedDatastore
 
createQuery() - Method in class dev.morphia.dao.BasicDAO
 
createQuery() - Method in interface dev.morphia.dao.DAO
Starts a query for this DAO entities type
createQuery(Class<T>) - Method in interface dev.morphia.Datastore
Returns a new query bound to the collection (a specific DBCollection)
createQuery(Class<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
createQuery(String, Class<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
createQuery(Class<T>, DBObject) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
createQuery(String, Class<T>, DBObject) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
createQuery() - Method in class dev.morphia.MapreduceResults
 
createQuery(Datastore, DBCollection, Class<T>) - Method in class dev.morphia.query.AbstractQueryFactory
 
createQuery(Datastore) - Method in class dev.morphia.query.AbstractQueryFactory
 
createQuery(Datastore, DBCollection, Class<T>, DBObject) - Method in class dev.morphia.query.DefaultQueryFactory
 
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 interface dev.morphia.query.QueryFactory
Creates and returns a Query for the given arguments.
createQuery(Datastore) - Method in interface dev.morphia.query.QueryFactory
Creates an unvalidated Query typically for use in aggregation pipelines.
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)
createRef(Class<T>, V) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
createRef(T) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
createSet(MappedField) - Method in class dev.morphia.mapping.DefaultCreator
 
createSet(MappedField) - Method in interface dev.morphia.ObjectFactory
Defines how morphia creates a Set object.
createUpdateOperations(Class<T>, DBObject) - Method in interface dev.morphia.AdvancedDatastore
Creates an UpdateOperations instance for the given type.
createUpdateOperations() - Method in class dev.morphia.dao.BasicDAO
 
createUpdateOperations() - Method in interface dev.morphia.dao.DAO
Starts a update-operations def for this DAO entities type
createUpdateOperations(Class<T>) - Method in interface dev.morphia.Datastore
The builder for all update operations
createUpdateOperations(Class<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
createUpdateOperations(Class<T>, DBObject) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
Criteria - Interface in dev.morphia.query
Internal class for building up query documents.
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
 
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(QueryImpl<?>, CriteriaJoin) - Constructor for class dev.morphia.query.CriteriaContainerImpl
 
CriteriaContainerImpl(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
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
A CustomMapper if one that implements the methods needed to map to/from POJO/DBObject

D

DAO<T,K> - Class in dev.morphia
Deprecated.
use dev.morphia.dao.BasicDAO
DAO(Class<T>, MongoClient, Morphia, String) - Constructor for class dev.morphia.DAO
Deprecated.
 
DAO(Class<T>, Datastore) - Constructor for class dev.morphia.DAO
Deprecated.
 
DAO<T,K> - Interface in dev.morphia.dao
Defines a basic interface for use in applications
Datastore - Interface in dev.morphia
Datastore interface to get/delete/save objects
DatastoreImpl - Class in dev.morphia
Deprecated.
This is an internal implementation of a published API. No public alternative planned.
DatastoreImpl(Morphia, MongoClient, String) - Constructor for class dev.morphia.DatastoreImpl
Deprecated.
This is not meant to be directly instantiated by end user code. Use Morphia.createDatastore(MongoClient, Mapper, String)
DatastoreImpl(Morphia, Mapper, MongoClient, String) - Constructor for class dev.morphia.DatastoreImpl
Deprecated.
This is not meant to be directly instantiated by end user code. Use Morphia.createDatastore(MongoClient, Mapper, String)
DatastoreProvider - Interface in dev.morphia.mapping.lazy
Deprecated.
DatastoreProviders are no longer necessary
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
 
debug(String) - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
debug(String, Object...) - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
debug(String, Throwable) - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
debug(String) - Method in class dev.morphia.logging.jdk.JDKLogger
 
debug(String, Object...) - Method in class dev.morphia.logging.jdk.JDKLogger
 
debug(String, Throwable) - Method in class dev.morphia.logging.jdk.JDKLogger
 
debug(String) - Method in interface dev.morphia.logging.Logger
Logs a message at this level.
debug(String, Object...) - Method in interface dev.morphia.logging.Logger
Logs a message at this level.
debug(String, Throwable) - Method in interface dev.morphia.logging.Logger
Logs a message at this level.
debug(String) - Method in class dev.morphia.logging.SilentLogger
 
debug(String, Object...) - Method in class dev.morphia.logging.SilentLogger
 
debug(String, Throwable) - Method in class dev.morphia.logging.SilentLogger
 
dec(String) - Method in interface dev.morphia.query.UpdateOperations
Decrements the numeric field by 1
dec(String, Number) - Method in interface dev.morphia.query.UpdateOperations
Decrements the numeric field by value (must be a positive Double, Float, Long, or Integer).
dec(String) - Method in class dev.morphia.query.UpdateOpsImpl
 
dec(String, Number) - Method in class dev.morphia.query.UpdateOpsImpl
 
decode(Class<?>, Object, MappedField) - Method in class dev.morphia.converters.BigDecimalConverter
 
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.DateConverter
 
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.InstantConverter
 
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.LocalDateConverter
 
decode(Class<?>, Object, MappedField) - Method in class dev.morphia.converters.LocalDateTimeConverter
 
decode(Class, Object, MappedField) - Method in class dev.morphia.converters.LocaleConverter
 
decode(Class<?>, Object, MappedField) - Method in class dev.morphia.converters.LocalTimeConverter
 
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) - 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.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.converters.URIConverter
 
decode(Class, Object, MappedField) - Method in class dev.morphia.converters.UUIDConverter
 
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
 
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
 
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(String, Class<T>, V) - Method in interface dev.morphia.AdvancedDatastore
Deletes an entity of the given type T, with the given id, from the collection with the name in the kind param.
delete(String, Class<T>, V, DeleteOptions) - Method in interface dev.morphia.AdvancedDatastore
Deletes an entity of the given type T, with the given id, from the collection with the name in the kind param.
delete(String, Class<T>, V, WriteConcern) - Method in interface dev.morphia.AdvancedDatastore
delete(T) - Method in class dev.morphia.dao.BasicDAO
 
delete(T, WriteConcern) - Method in class dev.morphia.dao.BasicDAO
 
delete(T) - Method in interface dev.morphia.dao.DAO
Deletes an entity
delete(T, WriteConcern) - Method in interface dev.morphia.dao.DAO
Deletes an entity
delete(Class<T>, V) - Method in interface dev.morphia.Datastore
Deletes the given entity (by id)
delete(Class<T>, V, DeleteOptions) - Method in interface dev.morphia.Datastore
Deletes the given entity (by id)
delete(Class<T>, Iterable<V>) - Method in interface dev.morphia.Datastore
Deletes the given entities (by id)
delete(Class<T>, Iterable<V>, DeleteOptions) - Method in interface dev.morphia.Datastore
Deletes the given entities (by id)
delete(Query<T>) - Method in interface dev.morphia.Datastore
Deletes entities based on the query
delete(Query<T>, DeleteOptions) - Method in interface dev.morphia.Datastore
Deletes entities based on the query
delete(Query<T>, WriteConcern) - Method in interface dev.morphia.Datastore
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
delete(T, WriteConcern) - Method in interface dev.morphia.Datastore
delete(Query<T>, DeleteOptions) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
delete(Class<T>, V) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
delete(Class<T>, V, DeleteOptions) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
delete(Class<T>, Iterable<V>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
delete(Class<T>, Iterable<V>, DeleteOptions) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
delete(Query<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
delete(Query<T>, WriteConcern) - Method in class dev.morphia.DatastoreImpl
Deprecated.
delete(T) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
delete(T, DeleteOptions) - Method in class dev.morphia.DatastoreImpl
Deprecated.
Deletes the given entity (by @Id), with the WriteConcern
delete(T, WriteConcern) - Method in class dev.morphia.DatastoreImpl
Deprecated.
delete(String, Class<T>, V) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
delete(String, Class<T>, V, DeleteOptions) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
delete(String, Class<T>, V, WriteConcern) - Method in class dev.morphia.DatastoreImpl
Deprecated.
delete(Class<T>, V, WriteConcern) - Method in class dev.morphia.DatastoreImpl
deleteById(K) - Method in class dev.morphia.dao.BasicDAO
 
deleteById(K) - Method in interface dev.morphia.dao.DAO
Delete the entity by id value
deleteByQuery(Query<T>) - Method in class dev.morphia.dao.BasicDAO
 
deleteByQuery(Query<T>) - Method in interface dev.morphia.dao.DAO
Delete the entity matching a query
DeleteOptions - Class in dev.morphia
The options to apply when removing documents from the DBCollection
DeleteOptions() - Constructor for class dev.morphia.DeleteOptions
 
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
This is the base package for all Morphia classes.
dev.morphia.aggregation - package dev.morphia.aggregation
Defines various elements for the creation and processing of aggregation pipelines.
dev.morphia.annotations - package dev.morphia.annotations
Defines the annotations used by Morphia.
dev.morphia.converters - package dev.morphia.converters
Defines the standard set of Converters provided by Morphia
dev.morphia.dao - package dev.morphia.dao
Defines basic DAO types
dev.morphia.geo - package dev.morphia.geo
Provides implementation types for geo queries
dev.morphia.internal - package dev.morphia.internal
Defines internal classes for use in Morphia.
dev.morphia.logging - package dev.morphia.logging
Provides the logging API for Morphia
dev.morphia.logging.jdk - package dev.morphia.logging.jdk
Provides logging facilities using the JDK's built-in logging.
dev.morphia.mapping - package dev.morphia.mapping
Provides types used for mapping
dev.morphia.mapping.cache - package dev.morphia.mapping.cache
Provides various caching entities
dev.morphia.mapping.lazy - package dev.morphia.mapping.lazy
Provides support for lazy references
dev.morphia.mapping.lazy.proxy - package dev.morphia.mapping.lazy.proxy
Provides support for proxies
dev.morphia.mapping.validation - package dev.morphia.mapping.validation
Provides validation mechanisms to check mapping metadata
dev.morphia.mapping.validation.classrules - package dev.morphia.mapping.validation.classrules
Defines class level validations
dev.morphia.mapping.validation.fieldrules - package dev.morphia.mapping.validation.fieldrules
Defines field level validations
dev.morphia.query - package dev.morphia.query
Defines the query capabilities for Morphia
dev.morphia.query.validation - package dev.morphia.query.validation
Defines the validations to performed against a query definition
dev.morphia.utils - package dev.morphia.utils
Provides various utilities used my Morphia.
disableCursorTimeout() - Method in interface dev.morphia.query.Query
Deprecated.
use the methods that accept Options directly
disableCursorTimeout() - Method in class dev.morphia.query.QueryImpl
Deprecated.
disableSnapshotMode() - Method in interface dev.morphia.query.Query
Deprecated.
use the methods that accept Options directly. This can be replicated using options.modifier("$snapshot", false)
disableSnapshotMode() - Method in class dev.morphia.query.QueryImpl
Deprecated.
disableValidation() - Method in class dev.morphia.internal.PathTarget
Disables validation of path segments.
disableValidation() - Method in interface dev.morphia.query.Query
Turns off validation (for all calls made after)
disableValidation() - Method in class dev.morphia.query.QueryImpl
 
disableValidation() - Method in interface dev.morphia.query.UpdateOperations
Turns off validation (for all calls made after)
disableValidation() - Method in class dev.morphia.query.UpdateOpsImpl
 
discover(Mapper) - Method in class dev.morphia.mapping.MappedClass
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.
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.
ds - Variable in class dev.morphia.dao.BasicDAO
Deprecated.
DuplicatedAttributeNames - Class in dev.morphia.mapping.validation.classrules
 
DuplicatedAttributeNames() - Constructor for class dev.morphia.mapping.validation.classrules.DuplicatedAttributeNames
 

E

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
 
enableCursorTimeout() - Method in interface dev.morphia.query.Query
Deprecated.
use the methods that accept Options directly
enableCursorTimeout() - Method in class dev.morphia.query.QueryImpl
Deprecated.
enableDocumentValidation() - Method in interface dev.morphia.Datastore
Process any Validation annotations for document validation.
enableDocumentValidation() - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
enableSnapshotMode() - Method in interface dev.morphia.query.Query
Deprecated.
use the methods that accept Options directly. This can be replicated using options.modifier("$snapshot", true)
enableSnapshotMode() - Method in class dev.morphia.query.QueryImpl
Deprecated.
enableValidation() - Method in interface dev.morphia.query.Query
Turns on validation (for all calls made after); by default validation is on
enableValidation() - Method in class dev.morphia.query.QueryImpl
 
enableValidation() - Method in interface dev.morphia.query.UpdateOperations
Turns on validation (for all calls made after); by default validation is on
enableValidation() - Method in class dev.morphia.query.UpdateOpsImpl
 
encode(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) - Method in class dev.morphia.converters.Converters
encode the type safe java object into the corresponding DBObject
encode(Class, Object) - Method in class dev.morphia.converters.Converters
encode the type safe java object into the corresponding DBObject
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.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) - 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.TypeConverter
encode the (type-safe) java object into the corresponding DBObject
encode(Object, MappedField) - Method in class dev.morphia.converters.URIConverter
 
encode(Object, MappedField) - Method in class dev.morphia.converters.UUIDConverter
 
encode(Object, MappedField) - Method in class dev.morphia.geo.GeometryQueryConverter
 
encode(Object, MappedField) - Method in class dev.morphia.geo.GeometryShapeConverter
 
encode(Object, MappedField) - Method in class dev.morphia.geo.NamedCoordinateReferenceSystemConverter
 
endsWith(String) - Method in interface dev.morphia.query.FieldEnd
Checks that a field ends with a value
endsWith(String) - Method in class dev.morphia.query.FieldEndImpl
 
endsWithIgnoreCase(String) - Method in interface dev.morphia.query.FieldEnd
Checks that a field ends with a value ignoring the case of the values
endsWithIgnoreCase(String) - Method in class dev.morphia.query.FieldEndImpl
 
ensureCaps() - Method in interface dev.morphia.Datastore
ensure capped collections for Entity(s)
ensureCaps() - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
ensureIndex(String, Class<T>, String) - Method in interface dev.morphia.AdvancedDatastore
Deprecated.
This method uses the legacy approach for defining indexes. Switch to using annotations on entity classes or the methods in the Java driver itself.
ensureIndex(String, Class<T>, String, String, boolean, boolean) - Method in interface dev.morphia.AdvancedDatastore
Deprecated.
This method uses the legacy approach for defining indexes. Switch to using annotations on entity classes or the methods in the Java driver itself.
ensureIndex(Class<T>, String) - Method in interface dev.morphia.Datastore
Deprecated.
This method uses the legacy approach for defining indexes. Switch to using annotations on entity classes or the methods in the Java driver itself.
ensureIndex(Class<T>, String, String, boolean, boolean) - Method in interface dev.morphia.Datastore
Deprecated.
This method uses the legacy approach for defining indexes. Switch to using annotations on entity classes or the methods in the Java driver itself.
ensureIndex(Class<T>, String) - Method in class dev.morphia.DatastoreImpl
Deprecated.
ensureIndex(Class<T>, String, String, boolean, boolean) - Method in class dev.morphia.DatastoreImpl
Deprecated.
ensureIndex(String, Class<T>, String) - Method in class dev.morphia.DatastoreImpl
Deprecated.
ensureIndex(String, Class<T>, String, String, boolean, boolean) - Method in class dev.morphia.DatastoreImpl
Deprecated.
ensureIndexes(String, Class<T>) - Method in interface dev.morphia.AdvancedDatastore
Ensures (creating if necessary) the indexes found during class mapping (using @Indexed, @Indexes) on the given collection name.
ensureIndexes(String, Class<T>, boolean) - Method in interface dev.morphia.AdvancedDatastore
Ensures (creating if necessary) the indexes found during class mapping (using @Indexed, @Indexes) on the given collection name, possibly in the background
ensureIndexes() - Method in class dev.morphia.dao.BasicDAO
 
ensureIndexes() - Method in interface dev.morphia.dao.DAO
ensures indexed for this DAO
ensureIndexes() - Method in interface dev.morphia.Datastore
Ensures (creating if necessary) the indexes found during class mapping
ensureIndexes(boolean) - Method in interface dev.morphia.Datastore
Ensures (creating if necessary) the indexes found during class mapping (using @Indexed, @Indexes) on the given collection name, possibly in the background
ensureIndexes(Class<T>) - Method in interface dev.morphia.Datastore
Ensures (creating if necessary) the indexes found during class mapping
ensureIndexes(Class<T>, boolean) - Method in interface dev.morphia.Datastore
Ensures (creating if necessary) the indexes found during class mapping
ensureIndexes() - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
ensureIndexes(boolean) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
ensureIndexes(Class<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
ensureIndexes(Class<T>, boolean) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
ensureIndexes(String, Class<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
ensureIndexes(String, Class<T>, boolean) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
Entity - Annotation Type in dev.morphia.annotations
Allows marking and naming the collectionName
EntityAndEmbed - Class in dev.morphia.mapping.validation.classrules
 
EntityAndEmbed() - Constructor for class dev.morphia.mapping.validation.classrules.EntityAndEmbed
 
EntityAnnotatedValueValidator - Class in dev.morphia.query.validation
Ensures that a Class is annotated with @Entity.
EntityCache - Interface in dev.morphia.mapping.cache
A primarily internal class used by MorphiaIterator to track entities loaded from mongo to prevent multiple loads of objects when keys are seen multiple times in a query result.
EntityCacheFactory - Interface in dev.morphia.mapping.cache
Factory for entity caches.
EntityCacheStatistics - Class in dev.morphia.mapping.cache
This class stores various statistics on an EntityCache
EntityCacheStatistics() - Constructor for class dev.morphia.mapping.cache.EntityCacheStatistics
 
EntityCannotBeMapOrIterable - Class in dev.morphia.mapping.validation.classrules
 
EntityCannotBeMapOrIterable() - Constructor for class dev.morphia.mapping.validation.classrules.EntityCannotBeMapOrIterable
 
entityClazz - Variable in class dev.morphia.dao.BasicDAO
Deprecated.
EntityInterceptor - Interface in dev.morphia
Interface for intercepting @Entity lifecycle events
EntityListeners - Annotation Type in dev.morphia.annotations
Specifies other classes to participate in the @Entity's lifecycle
EntityObjectReference - Class in dev.morphia.mapping.lazy.proxy
A serializable object reference
EntityObjectReference(Datastore, Class, Key, boolean) - Constructor for class dev.morphia.mapping.lazy.proxy.EntityObjectReference
Creates an object reference
EntityTypeAndIdValueValidator - Class in dev.morphia.query.validation
Checks the class of the value against the type of the ID for the type.
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
 
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
 
error(String) - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
error(String, Object...) - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
error(String, Throwable) - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
error(String) - Method in class dev.morphia.logging.jdk.JDKLogger
 
error(String, Object...) - Method in class dev.morphia.logging.jdk.JDKLogger
 
error(String, Throwable) - Method in class dev.morphia.logging.jdk.JDKLogger
 
error(String) - Method in interface dev.morphia.logging.Logger
Logs a message at this level.
error(String, Object...) - Method in interface dev.morphia.logging.Logger
Logs a message at this level.
error(String, Throwable) - Method in interface dev.morphia.logging.Logger
Logs a message at this level.
error(String) - Method in class dev.morphia.logging.SilentLogger
 
error(String, Object...) - Method in class dev.morphia.logging.SilentLogger
 
error(String, Throwable) - Method in class dev.morphia.logging.SilentLogger
 
eval(V) - Method in class dev.morphia.utils.IterHelper.IterCallback
The method to call in the callback
eval(K, V) - Method in class dev.morphia.utils.IterHelper.MapIterCallback
The method to call in the callback
exists(Object, ReadPreference) - Method in interface dev.morphia.AdvancedDatastore
Checks that an entity exists for the given key or entity
exists(String, Object) - Method in class dev.morphia.dao.BasicDAO
 
exists(Query<T>) - Method in class dev.morphia.dao.BasicDAO
 
exists(String, Object) - Method in interface dev.morphia.dao.DAO
checks for entities which match criteria {key:value}
exists(Query<T>) - Method in interface dev.morphia.dao.DAO
checks for entities which match the criteria
exists(Object) - Method in interface dev.morphia.Datastore
Does a query to check if the keyOrEntity exists in mongodb
exists(Object) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
exists(Object, ReadPreference) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
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() - Method in interface dev.morphia.query.FieldEnd
Checks that a field exists in a document
exists() - Method in class dev.morphia.query.FieldEndImpl
 
ExistsOperationValidator - Class in dev.morphia.query.validation
Checks if the value can have the FilterOperator.EXISTS operator applied to it.
explain() - Method in interface dev.morphia.query.Query
Provides information on the query plan.
explain(FindOptions) - 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 class dev.morphia.query.QueryImpl
 
expression(String, Object...) - Static method in class dev.morphia.aggregation.Projection
Provides access to arbitrary expressions taking an array of arguments, such as $concat

F

FasterJDKLogger - Class in dev.morphia.logging.jdk
Provides a faster logger.
FasterJDKLogger(Class) - Constructor for class dev.morphia.logging.jdk.FasterJDKLogger
Creates a logger.
FastestJDKLogger - Class in dev.morphia.logging.jdk
 
FastestJDKLogger(Class) - Constructor for class dev.morphia.logging.jdk.FastestJDKLogger
 
fetch(Key<?>) - Method in class dev.morphia.mapping.lazy.proxy.AbstractReference
 
fetch() - Method in class dev.morphia.mapping.lazy.proxy.AbstractReference
 
fetch() - Method in class dev.morphia.mapping.lazy.proxy.CollectionObjectReference
 
fetch() - Method in class dev.morphia.mapping.lazy.proxy.EntityObjectReference
 
fetch() - Method in class dev.morphia.mapping.lazy.proxy.MapObjectReference
 
fetch() - Method in class dev.morphia.query.QueryImpl
 
fetch(FindOptions) - Method in class dev.morphia.query.QueryImpl
 
fetch() - Method in interface dev.morphia.query.QueryResults
Execute the query and get the results.
fetch(FindOptions) - Method in interface dev.morphia.query.QueryResults
Execute the query and get the results.
fetchEmptyEntities() - Method in class dev.morphia.query.QueryImpl
 
fetchEmptyEntities(FindOptions) - Method in class dev.morphia.query.QueryImpl
 
fetchEmptyEntities() - Method in interface dev.morphia.query.QueryResults
Execute the query and get only the ids of the results.
fetchEmptyEntities(FindOptions) - Method in interface dev.morphia.query.QueryResults
Execute the query and get only the ids of the results.
fetchKeys() - Method in class dev.morphia.query.QueryImpl
 
fetchKeys(FindOptions) - Method in class dev.morphia.query.QueryImpl
 
fetchKeys() - Method in interface dev.morphia.query.QueryResults
Execute the query and get the keys for the objects.
fetchKeys(FindOptions) - Method in interface dev.morphia.query.QueryResults
Execute the query and get the keys for the objects.
Field - Annotation Type in dev.morphia.annotations
Define a field to be used in an index;
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
 
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 CriteriaContainerImpl> - Class in dev.morphia.query
Represents a document field in a query and presents the operations available to querying against that field.
FieldEndImpl(QueryImpl<?>, String, T) - Constructor for class dev.morphia.query.FieldEndImpl
Creates a FieldEnd for a particular field.
FieldEnumString - Class in dev.morphia.mapping.validation.classrules
 
FieldEnumString(MappedField...) - Constructor for class dev.morphia.mapping.validation.classrules.FieldEnumString
Creates a FieldEnumString for the given fields
FieldEnumString(List<MappedField>) - Constructor for class dev.morphia.mapping.validation.classrules.FieldEnumString
Creates a FieldEnumString for the given fields
filter(String, Object) - Method in interface dev.morphia.query.Query
Create a filter based on the specified condition and value.
filter(String, Object) - Method in class dev.morphia.query.QueryImpl
 
FilterOperator - Enum in dev.morphia.query
 
finalize(String) - Method in class dev.morphia.MapReduceOptions
Sets the Finalize JS Function
find(String, Class<T>) - Method in interface dev.morphia.AdvancedDatastore
Find all instances by type in a different collection than what is mapped on the class given.
find(String, Class<T>, String, V, int, int) - Method in interface dev.morphia.AdvancedDatastore
Find all instances by type in a different collection than what is mapped on the class given skipping some documents and returning a fixed number of the remaining.
find() - Method in class dev.morphia.dao.BasicDAO
 
find(Query<T>) - Method in class dev.morphia.dao.BasicDAO
 
find() - Method in interface dev.morphia.dao.DAO
Finds all the documents in the collection mapped by the entity class
find(Query<T>) - Method in interface dev.morphia.dao.DAO
Finds entities matching a query
find(Class<T>) - Method in interface dev.morphia.Datastore
Find all instances by type
find(Class<T>, String, V) - Method in interface dev.morphia.Datastore
Deprecated.
use FindOptions when running the query instead
find(Class<T>, String, V, int, int) - Method in interface dev.morphia.Datastore
Deprecated.
use FindOptions when running the query instead
find(Class<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
find(Class<T>, String, V) - Method in class dev.morphia.DatastoreImpl
Deprecated.
find(Class<T>, String, V, int, int) - Method in class dev.morphia.DatastoreImpl
Deprecated.
find(String, Class<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
find(String, Class<T>, String, V, int, int) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
find(String, Class<T>, String, V, int, int, boolean) - Method in class dev.morphia.DatastoreImpl
Deprecated.
Find all instances by type in a different collection than what is mapped on the class given skipping some documents and returning a fixed number of the remaining.
findAndDelete(Query<T>) - Method in interface dev.morphia.Datastore
Deletes the given entities based on the query (first item only).
findAndDelete(Query<T>, FindAndModifyOptions) - Method in interface dev.morphia.Datastore
Deletes the given entities based on the query (first item only).
findAndDelete(Query<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
findAndDelete(Query<T>, FindAndModifyOptions) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
findAndModify(Query<T>, UpdateOperations<T>, FindAndModifyOptions) - Method in interface dev.morphia.Datastore
Find the first Entity from the Query, and modify it.
findAndModify(Query<T>, UpdateOperations<T>) - Method in interface dev.morphia.Datastore
Find the first Entity from the Query, and modify it.
findAndModify(Query<T>, UpdateOperations<T>, boolean) - Method in interface dev.morphia.Datastore
findAndModify(Query<T>, UpdateOperations<T>, boolean, boolean) - Method in interface dev.morphia.Datastore
findAndModify(Query<T>, UpdateOperations<T>, FindAndModifyOptions) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
findAndModify(Query<T>, UpdateOperations<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
findAndModify(Query<T>, UpdateOperations<T>, boolean) - Method in class dev.morphia.DatastoreImpl
Deprecated.
findAndModify(Query<T>, UpdateOperations<T>, boolean, boolean) - Method in class dev.morphia.DatastoreImpl
Deprecated.
FindAndModifyOptions - Class in dev.morphia
The options for find and modify operations.
FindAndModifyOptions() - Constructor for class dev.morphia.FindAndModifyOptions
 
findIds() - Method in class dev.morphia.dao.BasicDAO
 
findIds(String, Object) - Method in class dev.morphia.dao.BasicDAO
 
findIds(Query<T>) - Method in class dev.morphia.dao.BasicDAO
 
findIds() - Method in interface dev.morphia.dao.DAO
Finds the entities Ts
findIds(String, Object) - Method in interface dev.morphia.dao.DAO
Finds the entities Key by the criteria {key:value}
findIds(Query<T>) - Method in interface dev.morphia.dao.DAO
Finds the entities Ts by the criteria {key:value}
findOne(String, Object) - Method in class dev.morphia.dao.BasicDAO
 
findOne(Query<T>) - Method in class dev.morphia.dao.BasicDAO
 
findOne(String, Object) - Method in interface dev.morphia.dao.DAO
Finds the first entity matching the query.
findOne(Query<T>) - Method in interface dev.morphia.dao.DAO
Finds the first entity matching the query.
findOneId() - Method in class dev.morphia.dao.BasicDAO
 
findOneId(String, Object) - Method in class dev.morphia.dao.BasicDAO
 
findOneId(Query<T>) - Method in class dev.morphia.dao.BasicDAO
 
findOneId() - Method in interface dev.morphia.dao.DAO
Finds the first entity's ID
findOneId(String, Object) - Method in interface dev.morphia.dao.DAO
Finds the first entity's ID matching a query
findOneId(Query<T>) - Method in interface dev.morphia.dao.DAO
Finds the first entity's ID
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(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
format(LogRecord) - Method in class dev.morphia.logging.jdk.ShortFormatter
 
fromDb(Datastore, DBObject, T, EntityCache) - Method in class dev.morphia.mapping.Mapper
Converts a DBObject back to a type-safe java object (POJO)
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
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
Converts a DBObject back to a type-safe java object (POJO)
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.Morphia
Creates an entity and populates its state based on the dbObject given.
fromString(String) - Static method in enum dev.morphia.geo.GeoJsonType
Allows you to turn String values of types into the Enum that corresponds to this type.
fromString(String) - Static method in enum dev.morphia.MapreduceType
Deprecated.
Finds the type represented by the value given
fromString(String) - Static method in enum dev.morphia.query.FilterOperator
Creates a FilterOperator from a String
fromString(String) - Static method in enum dev.morphia.query.UpdateOperator
Creates an UpdateOperator from a String
fromValue(Object) - Static method in enum dev.morphia.utils.IndexType
Returns the enum instance for the given value

G

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(Class<T>, DBRef) - Method in interface dev.morphia.AdvancedDatastore
Find the given entity (by collectionName/id);
get(String, Class<T>, V) - Method in interface dev.morphia.AdvancedDatastore
Finds an entity in the named collection whose id matches the value given.
get(K) - Method in class dev.morphia.dao.BasicDAO
 
get(K) - Method in interface dev.morphia.dao.DAO
Loads the entity by id value
get(Class<T>, Iterable<V>) - Method in interface dev.morphia.Datastore
Find the given entities (by id); shorthand for find("_id in", ids)
get(Class<T>, V) - Method in interface dev.morphia.Datastore
Find the given entity (by id); shorthand for find("_id ", id)
get(T) - Method in interface dev.morphia.Datastore
Find the given entity (by collectionName/id); think of this as refresh
get(Class<T>, Iterable<V>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
get(Class<T>, V) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
get(T) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
get(Class<T>, DBRef) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
get(String, Class<T>, V) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
get(Class<?>) - Method in class dev.morphia.logging.jdk.JDKLoggerFactory
 
get(Class<?>) - Method in interface dev.morphia.logging.LoggerFactory
Gets or creates a Logger for the given class.
get(Class<?>) - Static method in class dev.morphia.logging.MorphiaLoggerFactory
Gets or creates a Logger for the given class.
get() - Method in interface dev.morphia.mapping.lazy.DatastoreProvider
Deprecated.
 
get() - Method in class dev.morphia.mapping.lazy.proxy.AbstractReference
 
get() - Method in class dev.morphia.query.QueryImpl
 
get(FindOptions) - Method in class dev.morphia.query.QueryImpl
 
get() - Method in interface dev.morphia.query.QueryResults
Gets the first entity in the result set.
get(FindOptions) - Method in interface dev.morphia.query.QueryResults
Gets the first entity in the result set.
getAccumulator() - Method in class dev.morphia.aggregation.Group
 
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
 
getAnnotation(Class, Class<T>) - Static method in class dev.morphia.utils.ReflectionUtils
Returns an annotation on a Class if present
getAnnotations(Class<? extends Annotation>) - Method in class dev.morphia.mapping.MappedClass
Looks for an annotation in the annotations found on a class while mapping
getAnnotations() - Method in class dev.morphia.mapping.MappedField
 
getAnnotations(Class, Class<T>) - Static method in class dev.morphia.utils.ReflectionUtils
Returns the (first) instance of the annotation, on the class (or any superclass, or interfaces implemented).
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
Find the given entity (by collectionName/id);
getByKey(Class<T>, Key<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
getByKeys(Class<T>, Iterable<Key<T>>) - Method in interface dev.morphia.Datastore
Find the given entities (by id), verifying they are of the correct type; shorthand for find("_id in", ids)
getByKeys(Iterable<Key<T>>) - Method in interface dev.morphia.Datastore
Find the given entities (by id); shorthand for find("_id in", ids)
getByKeys(Class<T>, Iterable<Key<T>>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
getByKeys(Iterable<Key<T>>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
getBypassDocumentValidation() - Method in class dev.morphia.FindAndModifyOptions
Returns the bypassDocumentValidation
getBypassDocumentValidation() - Method in class dev.morphia.InsertOptions
Gets whether to bypass document validation, or null if unspecified.
getBypassDocumentValidation() - Method in class dev.morphia.UpdateOptions
Gets the the bypass document level validation flag
getCacheFactory() - Method in class dev.morphia.mapping.MapperOptions
 
getCaller() - Method in class dev.morphia.logging.jdk.JDKLogger
returns an array (class, method) of the caller before our logger class in the stack
getChildren() - Method in class dev.morphia.query.CriteriaContainerImpl
 
getClass(Type) - Static method in class dev.morphia.utils.ReflectionUtils
Get the underlying class for a type, or null if the type is a variable type.
getClassEmbeddedAnnotation(Class) - Static method in class dev.morphia.utils.ReflectionUtils
Returns the @Embedded annotation on a Class if present
getClassEntityAnnotation(Class) - Static method in class dev.morphia.utils.ReflectionUtils
Returns the @Entity annotation on a Class if present
getClasses(String) - Static method in class dev.morphia.utils.ReflectionUtils
Returns the classes in a package
getClasses(String, boolean) - Static method in class dev.morphia.utils.ReflectionUtils
Returns the classes in a package
getClasses(ClassLoader, String) - Static method in class dev.morphia.utils.ReflectionUtils
Returns the classes in a package
getClasses(ClassLoader, String, boolean) - Static method in class dev.morphia.utils.ReflectionUtils
Returns the classes in a package
getClassFromCollection(String) - Method in class dev.morphia.mapping.Mapper
Looks up the class mapped to a named collection.
getClassLoaderForClass() - Method in class dev.morphia.mapping.DefaultCreator
 
getClassName() - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
getClassNameCache() - Method in class dev.morphia.mapping.DefaultCreator
 
getClazz() - Method in class dev.morphia.mapping.MappedClass
 
getClazz() - Method in class dev.morphia.query.MorphiaIterator
 
getCollation() - Method in class dev.morphia.DeleteOptions
Returns the collation options
getCollation() - Method in class dev.morphia.FindAndModifyOptions
Returns the collation options
getCollation() - Method in class dev.morphia.query.CountOptions
Returns the collation options
getCollation() - Method in class dev.morphia.query.FindOptions
Returns the collation options
getCollation() - Method in class dev.morphia.UpdateOptions
Returns the collation options
getCollection() - Method in class dev.morphia.dao.BasicDAO
 
getCollection() - Method in interface dev.morphia.dao.DAO
 
getCollection(Class<?>) - Method in interface dev.morphia.Datastore
 
getCollection(Object) - Method in class dev.morphia.DatastoreImpl
Deprecated.
this is an internal method. no replacement is planned.
getCollection(Class) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
getCollection(String) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
getCollection() - Method in class dev.morphia.Key
 
getCollection() - Method in class dev.morphia.query.MorphiaIterator
 
getCollection() - Method in interface dev.morphia.query.Query
Deprecated.
This is an internal method and subject to change or removal. Do not use.
getCollection() - Method in class dev.morphia.query.QueryImpl
Deprecated.
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
 
getCount(String) - Method in interface dev.morphia.AdvancedDatastore
Gets the count this collection
getCount(T) - Method in interface dev.morphia.Datastore
Gets the count this kind (DBCollection)
getCount(Class<T>) - Method in interface dev.morphia.Datastore
Gets the count this kind (DBCollection)
getCount(Query<T>) - Method in interface dev.morphia.Datastore
Gets the count of items returned by this query; same as query.countAll()
getCount(Query<T>, CountOptions) - Method in interface dev.morphia.Datastore
Gets the count of items returned by this query; same as query.countAll()
getCount(T) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
getCount(Class<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
getCount(Query<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
getCount(Query<T>, CountOptions) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
getCount(String) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
getCounts() - Method in class dev.morphia.MapreduceResults
 
getCTor() - Method in class dev.morphia.mapping.MappedField
 
getCursor() - Method in class dev.morphia.query.MorphiaIterator
 
getCursorType() - Method in class dev.morphia.query.FindOptions
Get the cursor type.
getDatastore() - Method in class dev.morphia.dao.BasicDAO
 
getDatastore() - Method in interface dev.morphia.dao.DAO
 
getDatastore() - Method in class dev.morphia.mapping.lazy.proxy.AbstractReference
 
getDatastore() - Method in class dev.morphia.query.QueryImpl
Deprecated.
this is an internal method that exposes an internal type and will likely go away soon
getDatastoreProvider() - Method in class dev.morphia.mapping.MapperOptions
Deprecated.
unused
getDB() - Method in interface dev.morphia.Datastore
 
getDB() - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
getDbObjectValue(DBObject) - Method in class dev.morphia.mapping.EphemeralMappedField
 
getDbObjectValue(DBObject) - Method in class dev.morphia.mapping.MappedField
 
getDeclaredAndInheritedFields(Class, boolean) - Static method in class dev.morphia.utils.ReflectionUtils
Get an array of all fields declared in the supplied class, and all its superclasses (except java.lang.Object).
getDeclaredAndInheritedMethods(Class) - Static method in class dev.morphia.utils.ReflectionUtils
Get a list of all methods declared in the supplied class, and all its superclasses (except java.lang.Object), recursively.
getDeclaringClass() - Method in class dev.morphia.mapping.MappedField
 
getDecoderFact() - Method in interface dev.morphia.AdvancedDatastore
Returns the DBDecoderFactory used by this Datastore
getDecoderFact() - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
getDefaultMapper() - Method in class dev.morphia.mapping.MapperOptions
 
getDefaultWriteConcern() - Method in interface dev.morphia.Datastore
 
getDefaultWriteConcern() - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
getDirection() - Method in class dev.morphia.aggregation.Sort
Deprecated.
Use Sort.getOrder() instead.
getDistanceField() - Method in class dev.morphia.aggregation.GeoNear
 
getDistanceMultiplier() - Method in class dev.morphia.aggregation.GeoNear
 
getDriverTime() - Method in class dev.morphia.query.MorphiaIterator
 
getDs() - Method in class dev.morphia.dao.BasicDAO
Deprecated.
getElapsedMillis() - Method in class dev.morphia.MapreduceResults
 
getEmbeddedAnnotation() - Method in class dev.morphia.mapping.MappedClass
 
getEmbeddedMapper() - Method in class dev.morphia.mapping.MapperOptions
 
getEmitCount() - Method in class dev.morphia.MapreduceResults.Stats
 
getEncoder(Class) - Method in class dev.morphia.converters.Converters
 
getEncoder(Object, MappedField) - Method in class dev.morphia.converters.Converters
 
getEncoder(Class) - Method in class dev.morphia.converters.CustomConverters
 
getEncoder(Object, MappedField) - 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.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.dao.BasicDAO
 
getEntityClass() - Method in interface dev.morphia.dao.DAO
The type of entities for this DAO
getEntityClass() - Method in interface dev.morphia.query.Query
 
getEntityClass() - Method in class dev.morphia.query.QueryImpl
 
getEntityClazz() - Method in class dev.morphia.dao.BasicDAO
Deprecated.
getError() - Method in class dev.morphia.MapreduceResults
Deprecated.
getExteriorBoundary() - Method in class dev.morphia.geo.Polygon
Returns a LineString representing the exterior boundary of this Polygon.
getField() - Method in class dev.morphia.aggregation.Accumulator
Deprecated.
getField() - Method in class dev.morphia.mapping.MappedField
 
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 interface dev.morphia.query.Query
Deprecated.
This is an internal method and subject to change or removal. Do not use.
getFieldsObject() - Method in class dev.morphia.query.QueryImpl
Deprecated.
getFieldValue(Object) - Method in class dev.morphia.mapping.EphemeralMappedField
 
getFieldValue(Object) - Method in class dev.morphia.mapping.MappedField
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
getFromDirectory(ClassLoader, File, String) - Static method in class dev.morphia.utils.ReflectionUtils
Returns the classes in a package found in a directory
getFromDirectory(ClassLoader, File, String, boolean) - Static method in class dev.morphia.utils.ReflectionUtils
Returns the classes in a package found in a directory
getFromJARFile(ClassLoader, String, String) - Static method in class dev.morphia.utils.ReflectionUtils
Returns the classes in a package found in a jar
getFromJARFile(ClassLoader, String, String, boolean) - Static method in class dev.morphia.utils.ReflectionUtils
Returns the classes in a package found in a jar
getFullName() - Method in class dev.morphia.mapping.MappedField
 
getGeometry() - Method in class dev.morphia.query.Shape
 
getHint() - Method in class dev.morphia.query.CountOptions
Gets the hint to apply.
getId(Object) - Method in class dev.morphia.DatastoreImpl
Deprecated.
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.
getInlineResults() - Method in class dev.morphia.MapreduceResults
Creates an Iterator over the results of the operation.
getInputCount() - Method in class dev.morphia.MapreduceResults.Stats
 
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
 
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
 
getJoinMethod() - Method in class dev.morphia.query.CriteriaContainerImpl
 
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.DatastoreImpl
Deprecated.
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
getKey() - Method in class dev.morphia.query.QueryImpl
 
getKey(FindOptions) - Method in class dev.morphia.query.QueryImpl
 
getKey() - Method in interface dev.morphia.query.QueryResults
Get the key of the first entity in the result set.
getKey(FindOptions) - Method in interface dev.morphia.query.QueryResults
Get the key of the first entity in the result set.
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
 
getLifecycleMethods(Class<Annotation>) - Method in class dev.morphia.mapping.MappedClass
Gets the lifecycle methods for particular annotation.
getLimit() - Method in class dev.morphia.aggregation.GeoNear
 
getLimit() - Method in class dev.morphia.query.ArraySlice
 
getLimit() - Method in class dev.morphia.query.CountOptions
Gets the limit to apply.
getLimit() - Method in class dev.morphia.query.FindOptions
Gets the limit to apply.
getLimit() - Method in interface dev.morphia.query.Query
Deprecated.
use the methods that accept Options directly
getLimit() - Method in class dev.morphia.query.QueryImpl
Deprecated.
getLoadNames() - Method in class dev.morphia.mapping.MappedField
 
getLogger() - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
getLongitude() - Method in class dev.morphia.geo.Point
Return the longitude of this point.
getMapKeyClass() - Method in class dev.morphia.mapping.EphemeralMappedField
 
getMapKeyClass() - Method in class dev.morphia.mapping.MappedField
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 class dev.morphia.DatastoreImpl
Deprecated.
 
getMapper() - Method in class dev.morphia.Morphia
 
getMapper() - Method in class dev.morphia.query.MorphiaIterator
 
getMapperTime() - Method in class dev.morphia.query.MorphiaIterator
 
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
Get the underlying MongoClient that allows connection to the MongoDB instance being used.
getMongo() - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
getN() - Method in class dev.morphia.query.UpdateResults
 
getName() - Method in class dev.morphia.aggregation.Group
 
getName() - Method in class dev.morphia.geo.NamedCoordinateReferenceSystem
Gets the name of this Coordinate Reference System.
getName() - Method in enum dev.morphia.query.Meta.MetaDataKeyword
 
getNameToStore() - Method in class dev.morphia.mapping.EphemeralMappedField
 
getNameToStore() - Method in class dev.morphia.mapping.MappedField
 
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
 
getObjectFactory() - Method in class dev.morphia.mapping.MapperOptions
 
getOffset() - Method in interface dev.morphia.query.Query
Deprecated.
use the methods that accept Options directly
getOffset() - Method in class dev.morphia.query.QueryImpl
Deprecated.
getOperation() - Method in class dev.morphia.aggregation.Accumulator
 
getOperator() - Method in class dev.morphia.query.validation.AllOperationValidator
 
getOperator() - Method in class dev.morphia.query.validation.ExistsOperationValidator
 
getOperator() - Method in class dev.morphia.query.validation.GeoWithinOperationValidator
 
getOperator() - Method in class dev.morphia.query.validation.InOperationValidator
 
getOperator() - Method in class dev.morphia.query.validation.ModOperationValidator
 
getOperator() - Method in class dev.morphia.query.validation.NotInOperationValidator
 
getOperator() - Method in class dev.morphia.query.validation.OperationValidator
This method is called by the apply method to determine whether to validate the query.
getOperator() - Method in class dev.morphia.query.validation.SizeOperationValidator
 
getOps() - Method in class dev.morphia.query.UpdateOpsImpl
 
getOptions() - Method in class dev.morphia.mapping.Mapper
 
getOrder() - Method in class dev.morphia.query.Sort
Returns the sort order.
getOutputCount() - Method in class dev.morphia.MapreduceResults.Stats
 
getOutputType() - Method in class dev.morphia.MapreduceResults
 
getParameterizedClass(Field) - Static method in class dev.morphia.utils.ReflectionUtils
Get the (first) class that parameterizes the Field supplied.
getParameterizedClass(Field, int) - Static method in class dev.morphia.utils.ReflectionUtils
Get the class that parameterizes the Field supplied, at the index supplied (field can be parameterized with multiple param classes).
getParameterizedClass(Class) - Static method in class dev.morphia.utils.ReflectionUtils
Returns the parameterized type of a Class
getParameterizedClass(Class, int) - Static method in class dev.morphia.utils.ReflectionUtils
Returns the parameterized type in the given position
getParameterizedType(Field, int) - Static method in class dev.morphia.utils.ReflectionUtils
Returns the parameterized type for a field
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
 
getQueryFactory() - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
getQueryObject() - Method in interface dev.morphia.query.Query
Deprecated.
This is an internal method and subject to change or removal. Do not use.
getQueryObject() - Method in class dev.morphia.query.QueryImpl
Deprecated.
getReadConcern() - Method in class dev.morphia.query.CountOptions
Returns the readConcern
getReadConcern() - Method in class dev.morphia.query.FindOptions
Returns the readConcern
getReadPreference() - Method in class dev.morphia.query.CountOptions
Returns the readPreference
getReadPreference() - Method in class dev.morphia.query.FindOptions
Returns the readPreference
getReferenceMapper() - Method in class dev.morphia.mapping.MapperOptions
 
getReferentClass(Object) - Static method in class dev.morphia.mapping.lazy.proxy.ProxyHelper
Returns the class backing this entity
getRelevantAnnotations() - Method in class dev.morphia.mapping.MappedClass
 
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 interface dev.morphia.query.Query
Deprecated.
This is an internal method and subject to change or removal. Do not use.
getSortObject() - Method in class dev.morphia.query.QueryImpl
Deprecated.
getSource() - Method in class dev.morphia.aggregation.Projection
 
getSourceField() - Method in class dev.morphia.aggregation.Group
 
getSpherical() - Method in class dev.morphia.aggregation.GeoNear
Required if using a 2dsphere index.
getStages() - Method in class dev.morphia.aggregation.AggregationPipelineImpl
Returns the internal list of stages for this pipeline.
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
 
getTarget() - Method in class dev.morphia.internal.PathTarget
Returns the MappedField found at the end of a path.
getType() - Method in class dev.morphia.geo.CoordinateReferenceSystem
Gets the type of this Coordinate Reference System.
getType() - Method in enum dev.morphia.geo.GeoJsonType
Returns the value that needs to be stored with the GeoJson values in the database to declare which GeoJson type the coordinates represent.
getType() - Method in class dev.morphia.geo.NamedCoordinateReferenceSystem
 
getType() - Method in class dev.morphia.Key
 
getType() - Method in class dev.morphia.mapping.EphemeralMappedField
 
getType() - Method in class dev.morphia.mapping.MappedField
 
getType() - Method in class dev.morphia.MapreduceResults
Deprecated.
getTypeArgument(Class<? extends T>, TypeVariable<? extends GenericDeclaration>) - Static method in class dev.morphia.utils.ReflectionUtils
Returns the type argument
getTypeArguments(Class<T>, Class<? extends T>) - Static method in class dev.morphia.utils.ReflectionUtils
Deprecated.
this class is unused in morphia and will be removed in a future release
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. 
getValidFields(Field[], boolean) - Static method in class dev.morphia.utils.ReflectionUtils
Scans the array fields and returns any fields that are not static or (optionally) final.
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
 
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(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(List<Group>, Group...) - Method in interface dev.morphia.aggregation.AggregationPipeline
 
group(Group...) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
 
group(String, Group...) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
 
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, Projection...) - Static method in class dev.morphia.aggregation.Group
Creates a named grouping
grouping(String, Group) - 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
grouping(String, Accumulator) - 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
 
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(Object) - Method in class dev.morphia.converters.Converters
 
hasSimpleValueConverter(Class) - Method in class dev.morphia.converters.Converters
 
hasSimpleValueConverter(MappedField) - 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
The @Id field name that is stored with mongodb.
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.
IGNORED_FIELDNAME - Static variable in class dev.morphia.mapping.Mapper
Special name that can never be used.
ignoreMissing - Variable in class dev.morphia.mapping.lazy.proxy.AbstractReference
 
implementsInterface(Class<?>, Class<?>) - Static method in class dev.morphia.utils.ReflectionUtils
Check if a class implements a specific interface.
in(Iterable<?>) - Method in interface dev.morphia.query.FieldEnd
in(Iterable<?>) - Method in class dev.morphia.query.FieldEndImpl
 
inc(String) - Method in interface dev.morphia.query.UpdateOperations
Increments the numeric field by 1
inc(String, Number) - Method in interface dev.morphia.query.UpdateOperations
increments the numeric field by value (negatives are allowed)
inc(String) - Method in class dev.morphia.query.UpdateOpsImpl
 
inc(String, Number) - Method in class dev.morphia.query.UpdateOpsImpl
 
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
IndexDirection - Enum in dev.morphia.utils
Defines the "direction" of 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.
IndexType - Enum in dev.morphia.utils
Defines the type of the index to create for a field.
info(String) - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
info(String, Object...) - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
info(String, Throwable) - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
info(String) - Method in class dev.morphia.logging.jdk.JDKLogger
 
info(String, Object...) - Method in class dev.morphia.logging.jdk.JDKLogger
 
info(String, Throwable) - Method in class dev.morphia.logging.jdk.JDKLogger
 
info(String) - Method in interface dev.morphia.logging.Logger
Logs a message at this level.
info(String, Object...) - Method in interface dev.morphia.logging.Logger
Logs a message at this level.
info(String, Throwable) - Method in interface dev.morphia.logging.Logger
Logs a message at this level.
info(String) - Method in class dev.morphia.logging.SilentLogger
 
info(String, Object...) - Method in class dev.morphia.logging.SilentLogger
 
info(String, Throwable) - Method in class dev.morphia.logging.SilentLogger
 
initDS(MongoClient, Morphia, String) - Method in class dev.morphia.dao.BasicDAO
 
initType(Class<T>) - Method in class dev.morphia.dao.BasicDAO
 
InOperationValidator - Class in dev.morphia.query.validation
Checks if the value can have the FilterOperator.IN operator applied to it.
inputCollection(String) - Method in class dev.morphia.MapReduceOptions
Sets the input collection for the job should that collection differ from the mapped collection used in the query
insert(T) - Method in interface dev.morphia.AdvancedDatastore
Inserts an entity in to the mapped collection.
insert(T, WriteConcern) - Method in interface dev.morphia.AdvancedDatastore
insert(T, InsertOptions) - Method in interface dev.morphia.AdvancedDatastore
Inserts an entity in to the mapped collection.
insert(String, T) - Method in interface dev.morphia.AdvancedDatastore
Inserts an entity in to the named collection.
insert(String, T, InsertOptions) - Method in interface dev.morphia.AdvancedDatastore
Inserts an entity in to the named collection.
insert(T...) - Method in interface dev.morphia.AdvancedDatastore
Deprecated.
insert(Iterable<T>) - Method in interface dev.morphia.AdvancedDatastore
Inserts entities in to the mapped collection.
insert(Iterable<T>, WriteConcern) - Method in interface dev.morphia.AdvancedDatastore
insert(Iterable<T>, InsertOptions) - Method in interface dev.morphia.AdvancedDatastore
Inserts entities in to the mapped collection.
insert(String, Iterable<T>) - Method in interface dev.morphia.AdvancedDatastore
Inserts an entity in to the named collection.
insert(String, Iterable<T>, WriteConcern) - Method in interface dev.morphia.AdvancedDatastore
insert(String, Iterable<T>, InsertOptions) - Method in interface dev.morphia.AdvancedDatastore
Inserts entities in to the named collection.
insert(String, T) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
insert(String, T, InsertOptions) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
insert(T) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
insert(T, WriteConcern) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
insert(T, InsertOptions) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
insert(T...) - Method in class dev.morphia.DatastoreImpl
Deprecated.
insert(Iterable<T>, WriteConcern) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
insert(Iterable<T>, InsertOptions) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
insert(String, Iterable<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
insert(String, Iterable<T>, WriteConcern) - Method in class dev.morphia.DatastoreImpl
Deprecated.
insert(String, Iterable<T>, InsertOptions) - Method in class dev.morphia.DatastoreImpl
Deprecated.
insert(Iterable<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
Inserts entities in to the database
insert(String, T, WriteConcern) - Method in class dev.morphia.DatastoreImpl
Deprecated.
Inserts an entity in to the database
insert(DBCollection, T, InsertOptions) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
InsertOptions - Class in dev.morphia
Options related to insertion of documents into MongoDB.
InsertOptions() - Constructor for class dev.morphia.InsertOptions
 
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.
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, 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) - Method in class dev.morphia.query.FieldEndImpl
 
intersects(Geometry, CoordinateReferenceSystem) - Method in class dev.morphia.query.FieldEndImpl
 
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).
isDebugEnabled() - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
isDebugEnabled() - Method in class dev.morphia.logging.jdk.JDKLogger
 
isDebugEnabled() - Method in interface dev.morphia.logging.Logger
 
isDebugEnabled() - Method in class dev.morphia.logging.SilentLogger
 
isErrorEnabled() - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
isErrorEnabled() - Method in class dev.morphia.logging.jdk.JDKLogger
 
isErrorEnabled() - Method in interface dev.morphia.logging.Logger
 
isErrorEnabled() - Method in class dev.morphia.logging.SilentLogger
 
isFetched(Object) - Static method in class dev.morphia.mapping.lazy.proxy.ProxyHelper
Checks if the proxied entity has been fetched.
isFieldParameterizedWithClass(Field, Class) - Static method in class dev.morphia.utils.ReflectionUtils
Deprecated.
this class is unused in morphia and will be removed in a future release
isFieldParameterizedWithPropertyType(Field) - Static method in class dev.morphia.utils.ReflectionUtils
Deprecated.
this class is unused in morphia and will be removed in a future release
isIgnoreFinals() - Method in class dev.morphia.mapping.MapperOptions
 
isInfoEnabled() - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
isInfoEnabled() - Method in class dev.morphia.logging.jdk.JDKLogger
 
isInfoEnabled() - Method in interface dev.morphia.logging.Logger
 
isInfoEnabled() - Method in class dev.morphia.logging.SilentLogger
 
isIntegerType(Class) - Static method in class dev.morphia.utils.ReflectionUtils
Checks if the class is an integer type, i.e., is numeric but not a floating point type.
isInterface() - Method in class dev.morphia.mapping.MappedClass
 
isIsolated() - Method in interface dev.morphia.query.UpdateOperations
 
isIsolated() - Method in class dev.morphia.query.UpdateOpsImpl
 
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.
isOk() - Method in class dev.morphia.MapreduceResults
Deprecated.
isolated() - Method in interface dev.morphia.query.UpdateOperations
Enables isolation (so this update happens in one shot, without yielding)
isolated() - Method in class dev.morphia.query.UpdateOpsImpl
 
isOplogReplay() - Method in class dev.morphia.query.FindOptions
Users should not set this under normal circumstances.
isPartial() - Method in class dev.morphia.query.FindOptions
Get partial results from a sharded cluster if one or more shards are unreachable (instead of throwing an error).
isPrimitiveLike(Class) - Static method in class dev.morphia.utils.ReflectionUtils
Checks if the Class given is a primitive type.
isPropertyType(Type) - Static method in class dev.morphia.utils.ReflectionUtils
Check if the class supplied represents a valid property type.
isPropertyType(Class) - Static method in class dev.morphia.utils.ReflectionUtils
Checks if the Class given is a property type
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
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.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.MapOfValuesConverter
 
isSupported(Class, MappedField) - Method in class dev.morphia.converters.SerializedObjectConverter
 
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
 
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
 
isTraceEnabled() - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
isTraceEnabled() - Method in class dev.morphia.logging.jdk.JDKLogger
 
isTraceEnabled() - Method in interface dev.morphia.logging.Logger
 
isTraceEnabled() - Method in class dev.morphia.logging.SilentLogger
 
isTransient() - Method in class dev.morphia.mapping.MappedField
 
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
 
isValidatingTypes() - Method in class dev.morphia.query.QueryImpl
 
isWarningEnabled() - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
isWarningEnabled() - Method in class dev.morphia.logging.jdk.JDKLogger
 
isWarningEnabled() - Method in interface dev.morphia.logging.Logger
 
isWarningEnabled() - Method in class dev.morphia.logging.SilentLogger
 
IterableConverter - Class in dev.morphia.converters
 
IterableConverter() - Constructor for class dev.morphia.converters.IterableConverter
 
iterator() - Method in class dev.morphia.MapreduceResults
Creates an Iterator over the results of the operation.
iterator() - Method in class dev.morphia.query.MorphiaIterator
 
iterator() - Method in class dev.morphia.query.QueryImpl
 
IterCallback() - Constructor for class dev.morphia.utils.IterHelper.IterCallback
 
IterHelper<K,V> - Class in dev.morphia.utils
Helper to allow for optimizations for different types of Map/Collections
IterHelper() - Constructor for class dev.morphia.utils.IterHelper
 
IterHelper.IterCallback<V> - Class in dev.morphia.utils
A callback mechanism for processing Iterables
IterHelper.MapIterCallback<K,V> - Class in dev.morphia.utils
A callback mechanism for processing Maps
iterToList(Iterable<T>) - Static method in class dev.morphia.utils.ReflectionUtils
Converts an Iterable to a List

J

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

K

Key<T> - Class in dev.morphia
The key object; this class is take from the app-engine datastore (mostly) implementation.
Key() - Constructor for class dev.morphia.Key
For GWT serialization
Key(Class<? extends T>, String, Object) - Constructor for class dev.morphia.Key
Create a key with an id
Key(Class<? extends T>, String, byte[]) - 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.
keysToIds(List<Key<T>>) - Method in class dev.morphia.dao.BasicDAO
Converts from a List to their id values
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

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.
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
 
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(ValidationLevel) - Method in class dev.morphia.ValidationBuilder
 
level() - Method in class dev.morphia.ValidationBuilder
 
limit(int) - Method in interface dev.morphia.aggregation.AggregationPipeline
Passes the first n documents unmodified to the pipeline where n is the specified limit.
limit(int) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
 
limit(int) - Method in class dev.morphia.MapReduceOptions
Sets the (optional) limit on input
limit(int) - Method in class dev.morphia.query.CountOptions
Sets the limit to apply.
limit(int) - Method in class dev.morphia.query.FindOptions
Sets the limit to apply.
limit(int) - Method in interface dev.morphia.query.Query
Deprecated.
use the methods that accept Options directly
limit(int) - Method in class dev.morphia.query.QueryImpl
Deprecated.
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.
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() - 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() - Constructor for class dev.morphia.converters.LocalDateTimeConverter
Creates the Converter.
LocaleConverter - Class in dev.morphia.converters
Converts a Locale to/from a valid database structure.
LocaleConverter() - Constructor for class dev.morphia.converters.LocaleConverter
Creates the Converter.
LocalTimeConverter - Class in dev.morphia.converters
Provides a converter for LocalTime and convert it to its numeric form of milliseconds since midnight.
LocalTimeConverter() - Constructor for class dev.morphia.converters.LocalTimeConverter
Creates the Converter.
log(Level, String, Throwable) - Method in class dev.morphia.logging.jdk.FasterJDKLogger
 
log(Level, String, Object...) - Method in class dev.morphia.logging.jdk.FasterJDKLogger
 
log(Level, String, Throwable) - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
log(Level, String, Object...) - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
log(Level, String, Object...) - Method in class dev.morphia.logging.jdk.JDKLogger
 
log(Level, String, Throwable) - Method in class dev.morphia.logging.jdk.JDKLogger
 
Logger - Interface in dev.morphia.logging
A generic logger interface used internally by Morphia.
LoggerFactory - Interface in dev.morphia.logging
A generic logger factory interface used internally by Morphia.
Logr - Interface in dev.morphia.logging
Deprecated.
Use Logger directly
LogrFactory - Interface in dev.morphia.logging
Deprecated.
Use LoggerFactory directly
LongConverter - Class in dev.morphia.converters
 
LongConverter() - Constructor for class dev.morphia.converters.LongConverter
Creates the Converter.
longitude(double) - Method in class dev.morphia.geo.PointBuilder
Add a longitude.
LongTypeValidator - Class in dev.morphia.query.validation
Checks the type of the value if the type of the field is a Long or long.
LongTypeValidator() - Constructor for class dev.morphia.query.validation.LongTypeValidator
 
lookup(String, String, String, String) - Method in interface dev.morphia.aggregation.AggregationPipeline
Performs a left outer join to an unsharded collection in the same database to filter in documents from the “joined” collection for processing.
lookup(String, String, String, String) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
 
loopMap(Object, IterHelper.MapIterCallback<K, V>) - Method in class dev.morphia.utils.IterHelper
Process a Map
loopOrSingle(Object, IterHelper.IterCallback<V>) - Method in class dev.morphia.utils.IterHelper
Calls eval for each entry found, or just once if the "x" isn't iterable/collection/list/etc.
lowerIndexBound(DBObject) - Method in interface 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(String) - Method in class dev.morphia.MapReduceOptions
Set the JavaScript function that associates or "maps" a value with a key and emits the key and value pair.
map(Class...) - Method in class dev.morphia.Morphia
Maps a set of classes
map(Set<Class>) - Method in class dev.morphia.Morphia
Maps a set of classes
MapIterCallback() - Constructor for class dev.morphia.utils.IterHelper.MapIterCallback
 
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
Represents a mapped class between the MongoDB DBObject and the java POJO.
MappedClass(Class<?>, Mapper) - Constructor for class dev.morphia.mapping.MappedClass
Creates a MappedClass instance
MappedField - Class in dev.morphia.mapping
Represents the mapping of this field to/from mongodb (name, list)
Mapper - Class in dev.morphia.mapping
This is the heart of Morphia and takes care of mapping from/to POJOs/DBObjects
Mapper(MapperOptions) - Constructor for class dev.morphia.mapping.Mapper
Creates a Mapper with the given options.
Mapper() - Constructor for class dev.morphia.mapping.Mapper
Creates a Mapper with default 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
Creates a default options instance.
MapperOptions(MapperOptions) - Constructor for class dev.morphia.mapping.MapperOptions
Copy Constructor
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
mapReduce(MapReduceOptions<T>) - Method in interface dev.morphia.Datastore
Runs a map/reduce job at the server
mapReduce(MapreduceType, Query, String, String, String, Map<String, Object>, Class<T>) - Method in interface dev.morphia.Datastore
Deprecated.
mapReduce(MapreduceType, Query, Class<T>, MapReduceCommand) - Method in interface dev.morphia.Datastore
Deprecated.
mapReduce(MapReduceOptions<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
mapReduce(MapreduceType, Query, String, String, String, Map<String, Object>, Class<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
mapReduce(MapreduceType, Query, Class<T>, MapReduceCommand) - Method in class dev.morphia.DatastoreImpl
Deprecated.
MapReduceOptions<T> - Class in dev.morphia
This defines options that can be applied to a mapreduce job
MapReduceOptions() - Constructor for class dev.morphia.MapReduceOptions
 
MapreduceResults<T> - Class in dev.morphia
Stores the results of a map reduce operation
MapreduceResults(MapReduceOutput) - Constructor for class dev.morphia.MapreduceResults
Creates a results instance for the given output
MapreduceResults.Stats - Class in dev.morphia
This class represents various statistics about a map reduce operation
MapreduceType - Enum in dev.morphia
Deprecated.
use MapReduceCommand.OutputType instead
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
Sets the numeric field to value if it is greater than the current value.
max(String, Number) - Method in class dev.morphia.query.UpdateOpsImpl
 
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.modifier("$maxTimeMS", MILLISECONDS.convert(value, unit))
maxTime(long, TimeUnit) - Method in class dev.morphia.query.QueryImpl
Deprecated.
maxTimeMS(long) - Method in class dev.morphia.MapReduceOptions
Sets the max execution time for this command, in the given time unit.
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.
merge(T) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
merge(T, WriteConcern) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
Meta - Class in dev.morphia.query
Defines $meta expression object
Meta(Meta.MetaDataKeyword) - Constructor for class dev.morphia.query.Meta
Specify the meta
Meta(Meta.MetaDataKeyword, String) - Constructor for class dev.morphia.query.Meta
 
Meta.MetaDataKeyword - Enum in dev.morphia.query
Representing specified metadata keyword
min(String) - Static method in class dev.morphia.aggregation.Group
Returns the lowest value that results from applying an expression to each document in a group of documents that share the same group by key.
min(String, Number) - Method in interface dev.morphia.query.UpdateOperations
sets the numeric field to value if it is less than the current value.
min(String, Number) - Method in class dev.morphia.query.UpdateOpsImpl
 
MisplacedProperty - Class in dev.morphia.mapping.validation.fieldrules
 
MisplacedProperty() - Constructor for class dev.morphia.mapping.validation.fieldrules.MisplacedProperty
 
mod(Object, Object) - Static method in class dev.morphia.aggregation.Projection
Creates a modulo projection
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
 
modifier(String, Object) - Method in class dev.morphia.query.FindOptions
Adds a modifier to the find operation
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, Set<Class>) - Constructor for class dev.morphia.Morphia
Creates a Morphia instance with the given Mapper and class set.
Morphia(Mapper) - Constructor for class dev.morphia.Morphia
Creates a Morphia instance with the given Mapper
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
 
MorphiaIterator(Datastore, Iterator<DBObject>, Mapper, Class<T>, String, EntityCache) - Constructor for class dev.morphia.query.MorphiaIterator
Creates a MorphiaIterator
MorphiaKeyIterator<T> - Class in dev.morphia.query
Defines an Iterator across the Key values for a given type.
MorphiaKeyIterator(Datastore, DBCursor, Mapper, Class<T>, String) - Constructor for class dev.morphia.query.MorphiaKeyIterator
Create
MorphiaLoggerFactory - Class in dev.morphia.logging
Morphia's logging factory that can return either an slf4j LoggerFactory or a JDK LoggerFactory.
MorphiaUtils - Class in dev.morphia.internal
This class provides a set of utilities for use in Morphia.
multi(boolean) - Method in class dev.morphia.UpdateOptions
Sets whether all documents matching the query filter will be removed.
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

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, 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) - 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 interface dev.morphia.query.FieldEnd
Specifies a point for which a geospatial query returns the documents from nearest to farthest.
near(Point, int) - 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 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(double, double) - Method in class dev.morphia.query.FieldEndImpl
 
near(double, double, boolean) - Method in class dev.morphia.query.FieldEndImpl
 
near(double, double, double) - Method in class dev.morphia.query.FieldEndImpl
 
near(double, double, double, boolean) - Method in class dev.morphia.query.FieldEndImpl
 
near(Point, int) - Method in class dev.morphia.query.FieldEndImpl
 
near(Point) - Method in class dev.morphia.query.FieldEndImpl
 
next() - Method in class dev.morphia.query.MorphiaIterator
 
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
 
not() - Method in interface dev.morphia.query.FieldEnd
Negates the criteria applied to the field
not() - Method in class dev.morphia.query.FieldEndImpl
 
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.

O

object - Variable in class dev.morphia.mapping.lazy.proxy.AbstractReference
 
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.
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() - 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
order(String) - Method in interface dev.morphia.query.Query
Sorts based on a property (defines return order).
order(Meta) - Method in interface dev.morphia.query.Query
Sorts based on a metadata (defines return order).
order(Sort...) - Method in interface dev.morphia.query.Query
Sorts based on a specified sort keys (defines return order).
order(String) - Method in class dev.morphia.query.QueryImpl
 
order(Meta) - Method in class dev.morphia.query.QueryImpl
 
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>, 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>) - 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>, 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>) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
 
out(Class<U>, AggregationOptions) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
 
out(String, Class<U>) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
 
out(String, Class<U>, AggregationOptions) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
 
outputCollection(String) - Method in class dev.morphia.MapReduceOptions
Sets the output collection for the job
outputDB(String) - Method in class dev.morphia.MapReduceOptions
Sets the (optional) database name where the output collection should reside
outputType(MapReduceCommand.OutputType) - Method in class dev.morphia.MapReduceOptions
Sets the output type of the job

P

parameterNotEmpty(String, Iterable) - Static method in class dev.morphia.utils.Assert
Validates that the Iterable is not empty
parameterNotEmpty(String, String) - Static method in class dev.morphia.utils.Assert
Validates that the value is not empty
parameterNotNull(String, Object) - Static method in class dev.morphia.utils.Assert
Validates that the parameter is not null
parametersNotNull(String, Object...) - Static method in class dev.morphia.utils.Assert
Validates that all the parameters are not null
parseFieldsString(String, Class, Mapper, boolean) - Static method in class dev.morphia.query.QueryImpl
Parses the string and validates each part
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).
PathTarget - Class in dev.morphia.internal
This is an internal class and is subject to change or removal.
PathTarget(Mapper, MappedClass, String) - Constructor for class dev.morphia.internal.PathTarget
Creates a resolution context for the given root and path.
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
PointBuilder - Class in dev.morphia.geo
Creates Point instances representing a GeoJSON point type.
PointBuilder() - Constructor for class dev.morphia.geo.PointBuilder
 
pointBuilder() - Static method in class dev.morphia.geo.PointBuilder
Convenience method to return a new PointBuilder.
PointConverter() - Constructor for class dev.morphia.geo.GeometryShapeConverter.PointConverter
Creates a new PointConverter.
polygon(Point...) - Static method in class dev.morphia.geo.GeoJson
Create a new Polygon representing a GeoJSON Polygon type.
polygon(LineString, LineString...) - Static method in class dev.morphia.geo.GeoJson
Lets you create a Polygon representing a GeoJSON Polygon type.
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(Shape.Point...) - Static method in class dev.morphia.query.Shape
Specifies a polygon for a geospatial $geoWithin query on legacy coordinate pairs.
PolygonConverter() - Constructor for class dev.morphia.geo.GeometryShapeConverter.PolygonConverter
Creates a new PolygonConverter.
Polymorphic - Annotation Type in dev.morphia.annotations
Deprecated.
Currently unused
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 - Annotation Type in dev.morphia.annotations
Called after the data has been loaded into the java object.
postLoad(Object, DBObject, Mapper) - Method in interface dev.morphia.EntityInterceptor
 
postPersist(Object, DBObject, Mapper) - Method in class dev.morphia.AbstractEntityInterceptor
 
PostPersist - Annotation Type in dev.morphia.annotations
Called after the data has been persisted from the java object.
postPersist(Object, DBObject, Mapper) - Method in interface dev.morphia.EntityInterceptor
 
preLoad(Object, DBObject, Mapper) - Method in class dev.morphia.AbstractEntityInterceptor
 
PreLoad - Annotation Type in dev.morphia.annotations
Called before the data has been loaded from the datastore.
preLoad(Object, DBObject, Mapper) - Method in interface dev.morphia.EntityInterceptor
 
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 - Annotation Type in dev.morphia.annotations
Called before the data has been persisted to the datastore (before mapping is done).
prePersist(Object, DBObject, Mapper) - Method in interface dev.morphia.EntityInterceptor
 
preSave(Object, DBObject, Mapper) - Method in class dev.morphia.AbstractEntityInterceptor
 
PreSave - Annotation Type in dev.morphia.annotations
Called right before DBCollection.save() is called.
preSave(Object, DBObject, Mapper) - Method in interface dev.morphia.EntityInterceptor
 
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(String, boolean) - Method in interface dev.morphia.query.Query
Adds a field to the projection clause.
project(String, ArraySlice) - Method in interface dev.morphia.query.Query
Adds an sliced array field to a projection.
project(Meta) - Method in interface dev.morphia.query.Query
Adds a metadata field to a projection.
project(String, boolean) - Method in class dev.morphia.query.QueryImpl
 
project(String, ArraySlice) - Method in class dev.morphia.query.QueryImpl
 
project(Meta) - Method in class dev.morphia.query.QueryImpl
 
Projection - Class in dev.morphia.aggregation
Defines a projection for use in aggregation
projection(String) - Static method in class dev.morphia.aggregation.Projection
Creates a projection on a field
projection(String, String) - Static method in class dev.morphia.aggregation.Projection
Creates a projection on a field and renames it
projection(String, Projection, Projection...) - Static method in class dev.morphia.aggregation.Projection
Creates a projection on a field with subsequent projects applied.
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
 
push(String) - Static method in class dev.morphia.aggregation.Group
Returns an array of all values that result from applying an expression to each document in a group of documents that share the same group by key.
push(String, Object) - Method in interface dev.morphia.query.UpdateOperations
Adds new values to an array field.
push(String, Object, PushOptions) - Method in interface dev.morphia.query.UpdateOperations
Adds new values to an array field at the given position
push(String, List<?>) - Method in interface dev.morphia.query.UpdateOperations
Adds new values to an array field.
push(String, List<?>, PushOptions) - Method in interface dev.morphia.query.UpdateOperations
Adds new values to an array field at the given position
push(String, Object) - Method in class dev.morphia.query.UpdateOpsImpl
 
push(String, Object, PushOptions) - Method in class dev.morphia.query.UpdateOpsImpl
 
push(String, List<?>) - Method in class dev.morphia.query.UpdateOpsImpl
 
push(String, List<?>, PushOptions) - Method in class dev.morphia.query.UpdateOpsImpl
 
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
Adds the annotation even if not on the declared class/field.
putEntity(Key<T>, T) - Method in class dev.morphia.mapping.cache.DefaultEntityCache
 
putEntity(Key<T>, T) - Method in interface dev.morphia.mapping.cache.EntityCache
Adds an entity to the cache
putProxy(Key<T>, T) - Method in class dev.morphia.mapping.cache.DefaultEntityCache
 
putProxy(Key<T>, T) - Method in interface dev.morphia.mapping.cache.EntityCache
Adds a proxy to the cache

Q

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

R

raiseError(String) - Static method in class dev.morphia.utils.Assert
Throws an AssertionFailedException with the given error message.
readConcern(ReadConcern) - Method in class dev.morphia.query.CountOptions
Sets the readConcern
readConcern(ReadConcern) - Method in class dev.morphia.query.FindOptions
Sets the readConcern
readPreference(ReadPreference) - Method in class dev.morphia.MapReduceOptions
Sets the read preference for this command.
readPreference(ReadPreference) - Method in class dev.morphia.query.CountOptions
Sets the readPreference
readPreference(ReadPreference) - Method in class dev.morphia.query.FindOptions
Sets the readPreference
reduce(String) - Method in class dev.morphia.MapReduceOptions
Sets the JavaScript function that "reduces" to a single object all the values associated with a particular key.
Reference - Annotation Type in dev.morphia.annotations
 
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
 
ReflectionUtils - Class in dev.morphia.utils
Various reflection utility methods, used mainly in the Mapper.
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
registerLogger(Class<? extends LoggerFactory>) - Static method in class dev.morphia.logging.MorphiaLoggerFactory
Register a LoggerFactory; last one registered is used.
remove(boolean) - Method in class dev.morphia.FindAndModifyOptions
Indicates whether to remove the elements matching the query or not
remove(Criteria) - Method in interface dev.morphia.query.CriteriaContainer
Removes Criteria to this container
remove(Criteria) - Method in class dev.morphia.query.CriteriaContainerImpl
 
remove() - Method in class dev.morphia.query.MorphiaIterator
 
remove(String, boolean) - Method in class dev.morphia.query.UpdateOpsImpl
 
removeAll(String, Object) - Method in interface dev.morphia.query.UpdateOperations
removes the value from the array field
removeAll(String, List<?>) - Method in interface dev.morphia.query.UpdateOperations
removes the values from the array field
removeAll(String, Object) - Method in class dev.morphia.query.UpdateOpsImpl
 
removeAll(String, List<?>) - Method in class dev.morphia.query.UpdateOpsImpl
 
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
removes the first value from the array
removeFirst(String) - Method in class dev.morphia.query.UpdateOpsImpl
 
removeLast(String) - Method in interface dev.morphia.query.UpdateOperations
removes the last value from the array
removeLast(String) - Method in class dev.morphia.query.UpdateOpsImpl
 
render() - Method in class dev.morphia.mapping.validation.ConstraintViolation
 
reset() - Static method in class dev.morphia.logging.MorphiaLoggerFactory
Clears the logger factory
reset() - Method in class dev.morphia.mapping.cache.EntityCacheStatistics
Clears the statistics
resultType(Class<T>) - Method in class dev.morphia.MapReduceOptions
Sets the result type of the job
retrievedFields(boolean, String...) - Method in interface dev.morphia.query.Query
Deprecated.
retrievedFields(boolean, String...) - Method in class dev.morphia.query.QueryImpl
Deprecated.
retrieveKnownFields() - Method in interface dev.morphia.query.Query
Limits the fields retrieved to those of the query type -- dangerous with interfaces and abstract classes
retrieveKnownFields() - Method in class dev.morphia.query.QueryImpl
 
returnKey() - Method in interface dev.morphia.query.Query
Deprecated.
use the methods that accept Options directly. 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

save(String, T) - Method in interface dev.morphia.AdvancedDatastore
Saves an entity in to the named collection.
save(String, T, WriteConcern) - Method in interface dev.morphia.AdvancedDatastore
save(String, T, InsertOptions) - Method in interface dev.morphia.AdvancedDatastore
Saves an entity in to the named collection.
save(T) - Method in class dev.morphia.dao.BasicDAO
 
save(T, WriteConcern) - Method in class dev.morphia.dao.BasicDAO
 
save(T) - Method in interface dev.morphia.dao.DAO
Saves the entity; either inserting or overriding the existing document
save(T, WriteConcern) - Method in interface dev.morphia.dao.DAO
Saves the entity; either inserting or overriding the existing document
save(Iterable<T>) - Method in interface dev.morphia.Datastore
Saves the entities (Objects) and updates the @Id field
save(Iterable<T>, WriteConcern) - Method in interface dev.morphia.Datastore
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
save(T) - Method in interface dev.morphia.Datastore
Saves an entity (Object) and updates the @Id field
save(T, WriteConcern) - Method in interface dev.morphia.Datastore
Deprecated.
save(T, InsertOptions) - Method in interface dev.morphia.Datastore
Saves an entity (Object) and updates the @Id field
save(Iterable<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
save(Iterable<T>, WriteConcern) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
save(Iterable<T>, InsertOptions) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
save(T...) - Method in class dev.morphia.DatastoreImpl
Deprecated.
save(T) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
save(T, WriteConcern) - Method in class dev.morphia.DatastoreImpl
Deprecated.
save(T, InsertOptions) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
save(String, T) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
save(String, T, WriteConcern) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
save(String, T, InsertOptions) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
save(DBCollection, T, InsertOptions) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
scope(Map<String, Object>) - Method in class dev.morphia.MapReduceOptions
Sets the (optional) JavaScript scope
search(String) - Method in interface dev.morphia.query.Query
Perform a text search on the content of the fields indexed with a text index..
search(String, 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 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
sets the field value
set(String, Object) - Method in class dev.morphia.query.UpdateOpsImpl
 
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
Sets whether Morphia should cache name -> Class lookups
setCacheFactory(EntityCacheFactory) - Method in class dev.morphia.mapping.MapperOptions
Sets the factory to create an EntityCache
setChildren(List<Criteria>) - Method in class dev.morphia.query.CriteriaContainerImpl
Sets the Criteria in this CriteriaContainer
setCollection(String) - Method in class dev.morphia.Key
Sets the collection name.
setDatastoreProvider(DatastoreProvider) - Method in class dev.morphia.mapping.MapperOptions
Deprecated.
unused
setDecoderFact(DBDecoderFactory) - Method in interface dev.morphia.AdvancedDatastore
Sets the DBDecoderFactory to use in this Datastore
setDecoderFact(DBDecoderFactory) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
setDefaultMapper(CustomMapper) - Method in class dev.morphia.mapping.MapperOptions
Sets the mapper to use for top level entities
setDefaultWriteConcern(WriteConcern) - Method in interface dev.morphia.Datastore
Sets the default WriteConcern for this Datastore
setDefaultWriteConcern(WriteConcern) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
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
Sets the mapper to use for embedded entities
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
Controls if final fields are stored.
setIncludeLocations(String) - Method in class dev.morphia.aggregation.GeoNear.GeoNearBuilder
This specifies the output field that identifies the location used to calculate the distance.
setInlineRequiredOptions(Datastore, Class<T>, Mapper, EntityCache) - Method in class dev.morphia.MapreduceResults
Sets the required options when the operation type was INLINE
setJoinMethod(CriteriaJoin) - Method in class dev.morphia.query.CriteriaContainerImpl
Sets the join method of this CriteriaContainer
setLimit(Long) - Method in class dev.morphia.aggregation.GeoNear.GeoNearBuilder
The maximum number of documents to return.
setMapper(Mapper) - Method in class dev.morphia.converters.TypeConverter
Sets the Mapper to use.
setMapper(Mapper) - Method in class dev.morphia.DatastoreImpl
Deprecated.
Sets the Mapper this Datastore uses
setMapSubPackages(boolean) - Method in class dev.morphia.mapping.MapperOptions
Controls if classes from sub-packages should be mapped.
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
Sets the ObjectFactory to use when instantiating entity classes.
setOnInsert(String, Object) - Method in interface dev.morphia.query.UpdateOperations
sets the field on insert.
setOnInsert(String, Object) - Method in class dev.morphia.query.UpdateOpsImpl
 
setOps(DBObject) - Method in class dev.morphia.query.UpdateOpsImpl
Sets the operations for this UpdateOpsImpl
setOptions(MapperOptions) - Method in class dev.morphia.mapping.Mapper
Sets the options this Mapper should use
setOutputType(MapReduceCommand.OutputType) - Method in class dev.morphia.MapreduceResults
Sets the output type for this mapreduce job
setQuery(Query) - Method in class dev.morphia.aggregation.GeoNear.GeoNearBuilder
Limits the results to the documents that match the query.
setQuery(QueryImpl<?>) - Method in class dev.morphia.query.CriteriaContainerImpl
Sets the Query for this CriteriaContainer
setQueryFactory(QueryFactory) - Method in interface dev.morphia.Datastore
Replaces the current QueryFactory with the given value.
setQueryFactory(QueryFactory) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
setQueryObject(DBObject) - Method in class dev.morphia.query.QueryImpl
Sets query structure directly
setReferenceMapper(CustomMapper) - Method in class dev.morphia.mapping.MapperOptions
Sets the mapper to use for references
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
Controls if Morphia should store empty values for lists/maps/sets/arrays
setStoreNulls(boolean) - Method in class dev.morphia.mapping.MapperOptions
Controls if null are stored.
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
Controls if default entity collection name should be lowercase.
setValueMapper(CustomMapper) - Method in class dev.morphia.mapping.MapperOptions
Sets the mapper to use when processing values
Shape - Class in dev.morphia.query
This encapsulates the data necessary to define a shape for queries.
Shape.Point - Class in dev.morphia.query
Defines a Point
ShortConverter - Class in dev.morphia.converters
 
ShortConverter() - Constructor for class dev.morphia.converters.ShortConverter
Creates the Converter.
ShortFormatter - Class in dev.morphia.logging.jdk
A formatter providing a short format
ShortFormatter() - Constructor for class dev.morphia.logging.jdk.ShortFormatter
 
SilentLogger - Class in dev.morphia.logging
Silent logger; it doesn't do anything!
SilentLogger() - Constructor for class dev.morphia.logging.SilentLogger
 
SimpleValueConverter - Interface in dev.morphia.converters
Marker interface that the TypeConverter returns simple values (int/long, string, etc...)
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(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 - Class in dev.morphia.aggregation
Deprecated.
Use Sort instead.
Sort(String, int) - Constructor for class dev.morphia.aggregation.Sort
Deprecated.
Creates a sort on a field with a direction.
sort(int) - Method in class dev.morphia.query.PushOptions
Sets the sort value for the update
sort(String, int) - Method in class dev.morphia.query.PushOptions
Sets the sort value for the update
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.query.Sort
Creates a sort on a field with a direction.
startsWith(String) - Method in interface dev.morphia.query.FieldEnd
Checks that a field starts with a value
startsWith(String) - Method in class dev.morphia.query.FieldEndImpl
 
startsWithIgnoreCase(String) - Method in interface dev.morphia.query.FieldEnd
Checks that a field starts with a value ignoring the case of the values
startsWithIgnoreCase(String) - Method in class dev.morphia.query.FieldEndImpl
 
stats() - Method in class dev.morphia.mapping.cache.DefaultEntityCache
 
stats() - Method in interface dev.morphia.mapping.cache.EntityCache
 
Stats() - Constructor for class dev.morphia.MapreduceResults.Stats
 
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(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

T

tail() - Method in class dev.morphia.query.QueryImpl
Deprecated.
tail(boolean) - Method in class dev.morphia.query.QueryImpl
Deprecated.
tail() - Method in interface dev.morphia.query.QueryResults
Deprecated.
set the CursorType on FindOptions and use QueryResults.fetch(FindOptions) instead
tail(boolean) - Method in interface dev.morphia.query.QueryResults
Deprecated.
set the CursorType on FindOptions and use QueryResults.fetch(FindOptions) instead. This can be replicated using findOptions.cursorType (awaitData ? TailableAwait : Tailable)
testDependencyFullFilled() - Static method in class 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() - Static method in class dev.morphia.query.Meta
factory method for textScore metaDataKeyword
textScore(String) - Static method in class dev.morphia.query.Meta
 
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(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
Converts an entity to a DBObject.
toDBObject(Object) - Method in class dev.morphia.mapping.Mapper
/** Converts an entity (POJO) to a DBObject.
toDBObject(Object, Map<Object, DBObject>) - 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() - 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
toDBObjList(MappedField, List<?>) - Method in class dev.morphia.query.UpdateOpsImpl
 
toIndexValue() - Method in enum dev.morphia.utils.IndexDirection
Returns the value as needed by the index definition document
toIndexValue() - Method in enum dev.morphia.utils.IndexType
Returns the value as needed by the index definition document
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.internal.PathTarget
 
toString() - Method in class dev.morphia.Key
 
toString() - Method in class dev.morphia.mapping.cache.EntityCacheStatistics
 
toString() - Method in class dev.morphia.mapping.EphemeralMappedField
 
toString() - Method in class dev.morphia.mapping.MappedClass
 
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.QueryImpl
 
toString() - Method in class dev.morphia.query.UpdateResults
 
toString() - Method in class dev.morphia.query.validation.ValidationFailure
 
trace(String) - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
trace(String, Object...) - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
trace(String, Throwable) - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
trace(String) - Method in class dev.morphia.logging.jdk.JDKLogger
 
trace(String, Object...) - Method in class dev.morphia.logging.jdk.JDKLogger
 
trace(String, Throwable) - Method in class dev.morphia.logging.jdk.JDKLogger
 
trace(String) - Method in interface dev.morphia.logging.Logger
 
trace(String, Object...) - Method in interface dev.morphia.logging.Logger
 
trace(String, Throwable) - Method in interface dev.morphia.logging.Logger
 
trace(String) - Method in class dev.morphia.logging.SilentLogger
 
trace(String, Object...) - Method in class dev.morphia.logging.SilentLogger
 
trace(String, Throwable) - Method in class dev.morphia.logging.SilentLogger
 
Transient - Annotation Type in dev.morphia.annotations
 
translate(String) - Method in class dev.morphia.query.QueryImpl
Converts the textual operator (">", "<=", etc) into a FilterOperator.
translatedPath() - Method in class dev.morphia.internal.PathTarget
Returns the translated path for this context.
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.
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

unset(String) - Method in interface dev.morphia.query.UpdateOperations
removes the field
unset(String) - Method in class dev.morphia.query.UpdateOpsImpl
 
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
 
unwrap(T) - Static method in class dev.morphia.mapping.lazy.proxy.ProxyHelper
If proxied, returns the unwrapped entity.
update(Query<T>, UpdateOperations<T>) - Method in class dev.morphia.dao.BasicDAO
 
update(Query<T>, UpdateOperations<T>) - Method in interface dev.morphia.dao.DAO
Updates all entities matched by the constraints with the modifiers supplied.
update(T, UpdateOperations<T>) - Method in interface dev.morphia.Datastore
Updates an entity with the operations; this is an atomic operation
update(Key<T>, UpdateOperations<T>) - Method in interface dev.morphia.Datastore
Updates an entity with the operations; this is an atomic operation
update(Query<T>, UpdateOperations<T>) - Method in interface dev.morphia.Datastore
Updates all entities found with the operations; this is an atomic operation per entity
update(Query<T>, UpdateOperations<T>, UpdateOptions) - Method in interface dev.morphia.Datastore
Updates all entities found with the operations; this is an atomic operation per entity
update(Query<T>, UpdateOperations<T>, boolean) - Method in interface dev.morphia.Datastore
Updates all entities found with the operations, if nothing is found insert the update as an entity if "createIfMissing" is true; this is an atomic operation per entity
update(Query<T>, UpdateOperations<T>, boolean, WriteConcern) - Method in interface dev.morphia.Datastore
Updates all entities found with the operations, if nothing is found insert the update as an entity if "createIfMissing" is true; this is an atomic operation per entity
update(T, UpdateOperations<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
update(Key<T>, UpdateOperations<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
update(Query<T>, UpdateOperations<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
update(Query<T>, UpdateOperations<T>, boolean) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
update(Query<T>, UpdateOperations<T>, boolean, WriteConcern) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
update(Query<T>, UpdateOperations<T>, UpdateOptions) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
update() - Method in class dev.morphia.mapping.MappedClass
Update mappings based on fields/annotations.
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
updateFirst(Query<T>, UpdateOperations<T>) - Method in class dev.morphia.dao.BasicDAO
 
updateFirst(Query<T>, UpdateOperations<T>) - Method in interface dev.morphia.dao.DAO
Updates the first entity matched by the constraints with the modifiers supplied.
updateFirst(Query<T>, UpdateOperations<T>) - Method in interface dev.morphia.Datastore
Updates the first entity found with the operations; this is an atomic operation
updateFirst(Query<T>, UpdateOperations<T>, boolean) - Method in interface dev.morphia.Datastore
Updates the first entity found with the operations, if nothing is found insert the update as an entity if "createIfMissing" is true.
updateFirst(Query<T>, UpdateOperations<T>, boolean, WriteConcern) - Method in interface dev.morphia.Datastore
Updates the first entity found with the operations, if nothing is found insert the update as an entity if "createIfMissing" is true.
updateFirst(Query<T>, T, boolean) - Method in interface dev.morphia.Datastore
updates the first entity found using the entity as a template, if nothing is found insert the update as an entity if "createIfMissing" is true.
updateFirst(Query<T>, UpdateOperations<T>) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
updateFirst(Query<T>, UpdateOperations<T>, boolean) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
updateFirst(Query<T>, UpdateOperations<T>, boolean, WriteConcern) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
updateFirst(Query<T>, T, boolean) - Method in class dev.morphia.DatastoreImpl
Deprecated.
 
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
A nicer interface to the update operations in monogodb.
UpdateOperator - Enum in dev.morphia.query
 
UpdateOpsImpl<T> - Class in dev.morphia.query
 
UpdateOpsImpl(Class<T>, Mapper) - Constructor for class dev.morphia.query.UpdateOpsImpl
Creates an UpdateOpsImpl for the type given.
UpdateOptions - Class in dev.morphia
The options to apply when updating documents in the DBCollection
UpdateOptions() - Constructor for class dev.morphia.UpdateOptions
 
UpdateResults - Class in dev.morphia.query
This class holds various metrics about the results of an update operation.
UpdateResults(WriteResult) - Constructor for class dev.morphia.query.UpdateResults
Creates an UpdateResults
upperIndexBound(DBObject) - Method in interface dev.morphia.query.Query
Deprecated.
use the methods that accept Options directly. 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
 
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.
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(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(MappedField, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.AllOperationValidator
 
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(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(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(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(Class<?>, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.PatternValueValidator
 
validate(MappedField, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.SizeOperationValidator
 
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 class dev.morphia.ValidationBuilder
 
value(String) - Method in class dev.morphia.ValidationBuilder
 
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.validation.ConstraintViolation.Level
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum dev.morphia.MapreduceType
Deprecated.
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum dev.morphia.query.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.
valueOf(String) - Static method in enum dev.morphia.utils.IndexDirection
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum dev.morphia.utils.IndexType
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.validation.ConstraintViolation.Level
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum dev.morphia.MapreduceType
Deprecated.
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum dev.morphia.query.CriteriaJoin
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum dev.morphia.query.FilterOperator
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum dev.morphia.query.Meta.MetaDataKeyword
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum dev.morphia.query.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum dev.morphia.query.UpdateOperator
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum dev.morphia.utils.IndexDirection
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum dev.morphia.utils.IndexType
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
 
verbose(Boolean) - Method in class dev.morphia.MapReduceOptions
Sets the verbosity of the MapReduce job, defaults to 'true'
Version - Annotation Type in dev.morphia.annotations
supposed to be used on a Long or long field for optimistic locking.
VersionMisuse - Class in dev.morphia.mapping.validation.fieldrules
 
VersionMisuse(ObjectFactory) - Constructor for class dev.morphia.mapping.validation.fieldrules.VersionMisuse
Creates a version validator.

W

warning(String) - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
warning(String, Object...) - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
warning(String, Throwable) - Method in class dev.morphia.logging.jdk.FastestJDKLogger
 
warning(String) - Method in class dev.morphia.logging.jdk.JDKLogger
 
warning(String, Object...) - Method in class dev.morphia.logging.jdk.JDKLogger
 
warning(String, Throwable) - Method in class dev.morphia.logging.jdk.JDKLogger
 
warning(String) - Method in interface dev.morphia.logging.Logger
 
warning(String, Object...) - Method in interface dev.morphia.logging.Logger
 
warning(String, Throwable) - Method in interface dev.morphia.logging.Logger
 
warning(String) - Method in class dev.morphia.logging.SilentLogger
 
warning(String, Object...) - Method in class dev.morphia.logging.SilentLogger
 
warning(String, Throwable) - Method in class dev.morphia.logging.SilentLogger
 
where(String) - Method in interface dev.morphia.query.Query
Limit the query using this javascript block; only one per query
where(CodeWScope) - 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 class dev.morphia.query.QueryImpl
 
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(Shape) - Method in interface dev.morphia.query.FieldEnd
This implements the $geoWithin operator and is only compatible with mongo 2.4 or greater.
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(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(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(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(Shape) - Method in class dev.morphia.query.FieldEndImpl
 
within(Polygon) - Method in class dev.morphia.query.FieldEndImpl
 
within(MultiPolygon) - Method in class dev.morphia.query.FieldEndImpl
 
within(Polygon, CoordinateReferenceSystem) - Method in class dev.morphia.query.FieldEndImpl
 
within(MultiPolygon, CoordinateReferenceSystem) - Method in class dev.morphia.query.FieldEndImpl
 
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 _ 
Skip navigation links

Copyright © 2019. All rights reserved.