A B C D E F G H I J K L M N O P Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- abortTransaction() - Method in class dev.morphia.experimental.BaseMorphiaSession
- AbstractCriteria - Class in dev.morphia.query
-
Defines the base Criteria implementation.
- AbstractCriteria() - Constructor for class dev.morphia.query.AbstractCriteria
- AbstractEntityInterceptor - Class in dev.morphia
-
Deprecated, for removal: This API element is subject to removal in a future version.the noop default methods have been moved to the interface. This class is now vestigial.
- AbstractEntityInterceptor() - Constructor for class dev.morphia.AbstractEntityInterceptor
-
Deprecated.
- AbstractQueryFactory - Class in dev.morphia.query
-
An abstract implementation of
QueryFactory
. - AbstractQueryFactory() - Constructor for class dev.morphia.query.AbstractQueryFactory
- accumulator(String, Object) - Static method in class dev.morphia.aggregation.Accumulator
-
Defines an accumulator for use in an aggregation pipeline.
- accumulator(String, String) - Static method in class dev.morphia.aggregation.Accumulator
-
Defines an accumulator for use in an aggregation pipeline.
- Accumulator - Class in dev.morphia.aggregation
-
Defines an accumulator for use in an aggregation pipeline.
- Accumulator(String, Object) - Constructor for class dev.morphia.aggregation.Accumulator
-
Defines an accumulator for use in an aggregation pipeline.
- Accumulator(String, String) - Constructor for class dev.morphia.aggregation.Accumulator
-
Defines an accumulator for use in an aggregation pipeline.
- action() - Method in annotation type dev.morphia.annotations.Validation
- action() - Method in class dev.morphia.ValidationBuilder
- action(ValidationAction) - Method in class dev.morphia.ValidationBuilder
- add(Criteria...) - Method in interface dev.morphia.query.CriteriaContainer
-
Adds Criteria to this container
- add(Criteria...) - Method in class dev.morphia.query.CriteriaContainerImpl
- add(Criteria...) - Method in class dev.morphia.query.QueryImpl
- add(UpdateOperator, String, Object, boolean) - Method in class dev.morphia.query.UpdateOpsImpl
- add(Object...) - Static method in class dev.morphia.aggregation.Projection
-
Creates an addition projection
- ADD_TO_SET - dev.morphia.query.UpdateOperator
- ADD_TO_SET_EACH - dev.morphia.query.UpdateOperator
- addAnnotation(Annotation) - Method in class dev.morphia.mapping.codec.pojo.FieldMetadata
-
Adds an annotation to the metadata
- addCodec(Codec<T>) - Method in class dev.morphia.mapping.codec.MorphiaTypesCodecProvider
- addConvention(MorphiaConvention) - Method in class dev.morphia.mapping.MapperOptions.Builder
-
Adds a custom convention to the list to be applied to all new MorphiaModels.
- addInterceptor(EntityInterceptor) - Method in class dev.morphia.mapping.Mapper
-
Adds an
EntityInterceptor
- addToSet(String) - Static method in class dev.morphia.aggregation.Group
-
Returns an array of all unique values that results from applying an expression to each document in a group of documents that share the same group by key.
- addToSet(String) - Method in class dev.morphia.query.BucketAutoOptions.OutputOperation
-
Returns an array of all unique values that results from applying an expression to each document in a group of documents that share the same group by key.
- addToSet(String) - Method in class dev.morphia.query.BucketOptions.OutputOperation
-
Returns an array of all unique values that results from applying an expression to each document in a group of documents that share the same group by key.
- addToSet(String, Iterable<?>) - Method in class dev.morphia.query.UpdateBase
- addToSet(String, Iterable<?>) - Method in interface dev.morphia.query.UpdateOperations
-
Deprecated.adds the values to an array field if they doesn't already exist in the array
- addToSet(String, Iterable<?>) - Method in class dev.morphia.query.UpdateOpsImpl
- addToSet(String, Iterable<?>) - Method in interface dev.morphia.query.Updates
-
adds the values to an array field if they doesn't already exist in the array
- addToSet(String, Object) - Method in class dev.morphia.query.UpdateBase
- addToSet(String, Object) - Method in interface dev.morphia.query.UpdateOperations
-
Deprecated.adds the value to an array field if it doesn't already exist in the array
- addToSet(String, Object) - Method in class dev.morphia.query.UpdateOpsImpl
- addToSet(String, Object) - Method in interface dev.morphia.query.Updates
-
adds the value to an array field if it doesn't already exist in the array
- addToSet(String, List<?>) - Method in class dev.morphia.query.UpdateBase
- addToSet(String, List<?>) - Method in interface dev.morphia.query.UpdateOperations
-
Deprecated.adds the values to an array field if they doesn't already exist in the array
- addToSet(String, List<?>) - Method in class dev.morphia.query.UpdateOpsImpl
- addToSet(String, List<?>) - Method in interface dev.morphia.query.Updates
-
adds the values to an array field if they doesn't already exist in the array
- advanceClusterTime(BsonDocument) - Method in class dev.morphia.experimental.BaseMorphiaSession
- AdvancedDatastore - Interface in dev.morphia
-
This interface exposes advanced
Datastore
features, like interacting with Document and low-level options. - advanceOperationTime(BsonTimestamp) - Method in class dev.morphia.experimental.BaseMorphiaSession
- aggregate(Class<U>) - Method in interface dev.morphia.aggregation.AggregationPipeline
-
Executes the pipeline and aggregates the output in to the type mapped by the target type using the default options as defined in
AggregationOptions
. - aggregate(Class<U>) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
- aggregate(Class<U>, AggregationOptions) - Method in interface dev.morphia.aggregation.AggregationPipeline
-
Executes the pipeline and aggregates the output in to the type mapped by the target type.
- aggregate(Class<U>, AggregationOptions) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
- aggregate(Class<U>, AggregationOptions, ReadPreference) - Method in interface dev.morphia.aggregation.AggregationPipeline
-
Executes the pipeline and aggregates the output in to the type mapped by the target type.
- aggregate(Class<U>, AggregationOptions, ReadPreference) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
- aggregate(String, Class<U>, AggregationOptions, ReadPreference) - Method in interface dev.morphia.aggregation.AggregationPipeline
-
Executes the pipeline and aggregates the output in to the type mapped by the target type.
- aggregate(String, Class<U>, AggregationOptions, ReadPreference) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
- AggregationPipeline - Interface in dev.morphia.aggregation
-
This defines the pipeline used in aggregation operations
- AggregationPipelineImpl - Class in dev.morphia.aggregation
-
Implementation of an AggregationPipeline.
- AggregationPipelineImpl(Datastore, MongoCollection, Class) - Constructor for class dev.morphia.aggregation.AggregationPipelineImpl
-
Creates an AggregationPipeline
- ALL - dev.morphia.query.FilterOperator
- AllOperationValidator - Class in dev.morphia.query.validation
-
Validates a query that uses the FilterOperator.ALL operator.
- AlsoLoad - Annotation Type in dev.morphia.annotations
-
Annotation which helps migrate schemas by loading one of several possible properties in the document into fields or methods.
- alternate() - Method in annotation type dev.morphia.annotations.Collation
-
Controls whether spaces and punctuation are considered base characters
- and(Criteria...) - Method in interface dev.morphia.query.CriteriaContainer
-
Ands Criteria with this CriteriaContainer.
- and(Criteria...) - Method in class dev.morphia.query.CriteriaContainerImpl
- and(Criteria...) - Method in interface dev.morphia.query.Query
-
Creates a container to hold 'and' clauses
- and(Criteria...) - Method in class dev.morphia.query.QueryImpl
- AND - dev.morphia.query.CriteriaJoin
- annotations(List<Annotation>) - Method in class dev.morphia.mapping.codec.pojo.FieldModelBuilder
-
Sets the annotations
- 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(MongoCollection) - Method in class dev.morphia.InsertManyOptions
-
Applies the options to the collection
- apply(MongoCollection<T>) - Method in class dev.morphia.DeleteOptions
-
Applies the options to the collection
- apply(MongoCollection<T>) - Method in class dev.morphia.FindAndModifyOptions
-
Applies the options to the collection
- apply(MongoCollection<T>) - Method in class dev.morphia.InsertOneOptions
-
Applies the configured WriteConcern to the collection
- apply(MongoCollection<T>) - Method in class dev.morphia.query.FindAndDeleteOptions
-
Applies the options to the collection
- apply(MongoCollection<T>) - Method in class dev.morphia.UpdateOptions
-
Updates the collection with the configured WriteConcern
- apply(Datastore, EntityModelBuilder<?>) - Method in interface dev.morphia.mapping.MorphiaConvention
-
This method applies this Convention to the given builder
- apply(Datastore, EntityModelBuilder<?>) - Method in class dev.morphia.mapping.MorphiaDefaultsConvention
- apply(EntityModelBuilder) - Method in class dev.morphia.mapping.DiscriminatorFunction
-
Applies the function to the given model to determine the discriminator value
- 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 thetype
. - apply(MappedField, FilterOperator, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.OperationValidator
-
Apply validation for the given operator.
- apply(QueryImpl, FindIterable<T>, Mapper, Class) - Method in class dev.morphia.query.FindOptions
- 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.
- apply(String) - Method in class dev.morphia.mapping.NamingStrategy
-
Applies this naming strategy to the given value
- apply(ClassModelBuilder<?>) - Method in interface dev.morphia.mapping.MorphiaConvention
- ARRAY - dev.morphia.query.Type
- ArrayFieldAccessor - Class in dev.morphia.mapping.codec
- ArrayFieldAccessor(TypeData, Field) - Constructor for class dev.morphia.mapping.codec.ArrayFieldAccessor
-
Creates the accessor
- arrayFilters(List<? extends Bson>) - Method in class dev.morphia.FindAndModifyOptions
- arrayFilters(List<? extends Bson>) - Method in class dev.morphia.UpdateOptions
- 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.query.Sort
-
Creates an ascending sort on a field
- assertProxyClassesPresent() - Static method in class dev.morphia.mapping.lazy.LazyFeatureDependencies
-
Checks that the dependencies to support lazy proxies are present
- attach(CriteriaContainer) - Method in class dev.morphia.query.AbstractCriteria
- attach(CriteriaContainer) - Method in interface dev.morphia.query.Criteria
-
Used to add this Criteria to a CriteriaContainer
- attach(CriteriaContainer) - Method in class dev.morphia.query.QueryImpl
- AuthenticationException - Exception in dev.morphia
-
Signifies an error trying to authenticate against the database.
- AuthenticationException(String) - Constructor for exception dev.morphia.AuthenticationException
-
Creates an instance with the given message
- average(String) - Static method in class dev.morphia.aggregation.Group
-
Returns the average value of the numeric values that result from applying a specified expression to each document in a group of documents that share the same group by key.
- average(String) - Method in class dev.morphia.query.BucketAutoOptions.OutputOperation
-
Returns the average value of the numeric values that result from applying a specified expression to each document in a group of documents that share the same group by key.
- average(String) - Method in class dev.morphia.query.BucketOptions.OutputOperation
-
Returns the average value of the numeric values that result from applying a specified expression to each document in a group of documents that share the same group by key.
B
- background() - Method in annotation type dev.morphia.annotations.IndexOptions
- backwards() - Method in annotation type dev.morphia.annotations.Collation
-
Causes secondary differences to be considered in reverse order, as it is done in the French language
- BaseMorphiaCodec<T> - Class in dev.morphia.mapping.codec
-
the base of the codec used by Morphia
- BaseMorphiaCodec(Datastore, List<PropertyCodecProvider>, DiscriminatorLookup, ClassModel<T>, CodecRegistry) - Constructor for class dev.morphia.mapping.codec.BaseMorphiaCodec
-
Creates a new codec
- BaseMorphiaCodec(Datastore, PropertyCodecRegistry, DiscriminatorLookup, ConcurrentMap<ClassModel<?>, Codec<?>>, boolean, ClassModel<T>, CodecRegistry) - Constructor for class dev.morphia.mapping.codec.BaseMorphiaCodec
-
Creates a new codec
- BaseMorphiaSession - Class in dev.morphia.experimental
- batchSize(int) - Method in class dev.morphia.query.FindOptions
-
Sets the batch size
- BINARY_DATA - dev.morphia.query.Type
- BOOLEAN - dev.morphia.query.Type
- box(Point, 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.
- BsonTypeMap - Class in dev.morphia.mapping.codec
-
Maps Java type to BSON types
- BsonTypeMap() - Constructor for class dev.morphia.mapping.codec.BsonTypeMap
-
Creates the map
- bucket(String, List<?>) - Method in interface dev.morphia.aggregation.AggregationPipeline
-
Categorizes incoming documents into groups, called buckets, based on a specified expression and bucket boundaries.
- bucket(String, List<?>) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
- bucket(String, List<?>, BucketOptions) - Method in interface dev.morphia.aggregation.AggregationPipeline
-
Categorizes incoming documents into groups, called buckets, based on a specified expression and bucket boundaries.
- bucket(String, List<?>, BucketOptions) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
- bucketAuto(String, int) - Method in interface dev.morphia.aggregation.AggregationPipeline
-
Categorizes incoming documents into a specific number of groups, called buckets, based on a specified expression.
- bucketAuto(String, int) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
- bucketAuto(String, int, BucketAutoOptions) - Method in interface dev.morphia.aggregation.AggregationPipeline
-
Categorizes incoming documents into a specific number of groups, called buckets, based on a specified expression.
- bucketAuto(String, int, BucketAutoOptions) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
- BucketAutoOptions - Class in dev.morphia.query
-
The options for a bucket auto stage of aggregation pipeline.
- BucketAutoOptions() - Constructor for class dev.morphia.query.BucketAutoOptions
- BucketAutoOptions.Granularity - Enum in dev.morphia.query
-
A value that specifies the preferred number series to use to ensure that the calculated boundary edges end on preferred round numbers or their powers of 10.
- BucketAutoOptions.OutputOperation - Class in dev.morphia.query
-
Defines an output for bucketauto stage, that consists of the fieldname and the accumulator
- BucketOptions - Class in dev.morphia.query
-
The options for a bucket stage of aggregation pipeline.
- BucketOptions() - Constructor for class dev.morphia.query.BucketOptions
- BucketOptions.OutputOperation - Class in dev.morphia.query
-
Defines an output for bucketauto stage, that consists of the fieldname and the accumulator
- build() - Method in class dev.morphia.aggregation.GeoNear.GeoNearBuilder
- build() - Method in class dev.morphia.geo.PointBuilder
-
Deprecated.Creates an immutable point
- build() - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
-
Creates a new ClassModel instance based on the mapping data provided.
- build() - Method in class dev.morphia.mapping.codec.pojo.FieldModelBuilder
-
Creates the
FieldModel
. - build() - Method in class dev.morphia.mapping.MapperOptions.Builder
- builder() - Static method in class dev.morphia.mapping.codec.pojo.FieldModel
-
Create a new
FieldModelBuilder
- builder() - Static method in class dev.morphia.mapping.MapperOptions
- builder(MapperOptions) - Static method in class dev.morphia.mapping.MapperOptions
- builder(String) - Static method in class dev.morphia.aggregation.GeoNear
-
Creates a builder for a GeoNear pipeline stage
- bypassDocumentValidation(Boolean) - Method in class dev.morphia.FindAndModifyOptions
- bypassDocumentValidation(Boolean) - Method in class dev.morphia.InsertManyOptions
-
Sets whether to bypass document validation.
- bypassDocumentValidation(Boolean) - Method in class dev.morphia.InsertOneOptions
-
Sets whether to bypass document validation.
- bypassDocumentValidation(Boolean) - Method in class dev.morphia.InsertOptions
-
Deprecated.Sets whether to bypass document validation.
- bypassDocumentValidation(Boolean) - Method in class dev.morphia.UpdateOptions
C
- cacheClassLookups(boolean) - Method in class dev.morphia.mapping.MapperOptions.Builder
- callLifecycleMethods(Class<? extends Annotation>, Object, Document, Mapper) - Method in class dev.morphia.mapping.codec.pojo.EntityModel
-
Invokes any lifecycle methods
- callLifecycleMethods(Class<? extends Annotation>, Object, Document, Mapper) - Method in class dev.morphia.mapping.MappedClass
-
Call the lifecycle methods
- camelCase() - Static method in class dev.morphia.mapping.NamingStrategy
-
Defines a naming strategy that returns camel case of the value passed
- cap() - Method in annotation type dev.morphia.annotations.Entity
- CappedAt - Annotation Type in dev.morphia.annotations
-
Properties for capped collections; used in
Entity
- caseFirst() - Method in annotation type dev.morphia.annotations.Collation
-
Determines if Uppercase or lowercase values should come first
- caseLevel() - Method in annotation type dev.morphia.annotations.Collation
-
Turns on case sensitivity
- center(Point, double) - Static method in class dev.morphia.query.Shape
-
Specifies a circle for a $geoWithin query.
- centerSphere(Point, double) - Static method in class dev.morphia.query.Shape
-
Specifies a circle for a geospatial query that uses spherical geometry.
- check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.ContradictingFieldAnnotation
- check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.FieldConstraint
- check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.IdDoesNotMix
- check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.LazyReferenceMissingDependencies
- check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.LazyReferenceOnArray
- check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.MapKeyTypeConstraint
- check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.ReferenceToUnidentifiable
- check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.VersionMisuse
- check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in interface dev.morphia.mapping.validation.ClassConstraint
-
Check that a MappedClass meets the constraint
- check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.classrules.DuplicatedAttributeNames
- check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.classrules.EmbeddedAndId
- check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.classrules.EmbeddedAndValue
- check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.classrules.EntityAndEmbed
- check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.classrules.EntityCannotBeMapOrIterable
- check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.classrules.MultipleId
- check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.classrules.MultipleVersions
- check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.classrules.NoId
- check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.ConstructorParameterNameConstraint
- check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.FieldConstraint
- ClassCodec - Class in dev.morphia.mapping.codec
-
Defines a codec for Class references
- ClassCodec() - Constructor for class dev.morphia.mapping.codec.ClassCodec
- ClassConstraint - Interface in dev.morphia.mapping.validation
-
Defines a constraint for validation
- classLoader(ClassLoader) - Method in class dev.morphia.mapping.MapperOptions.Builder
- ClassMethodPair - Class in dev.morphia.mapping.codec.pojo
- className - Static variable in class dev.morphia.mapping.DiscriminatorFunction
-
Defines a function to use the class name for the discriminator value
- clientSession() - Method in class dev.morphia.DeleteOptions
- clientSession() - Method in class dev.morphia.FindAndModifyOptions
- clientSession() - Method in class dev.morphia.InsertManyOptions
-
The client session to use for the insertion.
- clientSession() - Method in class dev.morphia.InsertOneOptions
- clientSession() - Method in class dev.morphia.query.CountOptions
- clientSession() - Method in class dev.morphia.query.FindAndDeleteOptions
- clientSession() - Method in class dev.morphia.query.FindOptions
-
The client session to use for the insertion.
- clientSession() - Method in class dev.morphia.UpdateOptions
- clientSession(ClientSession) - Method in class dev.morphia.DeleteOptions
- clientSession(ClientSession) - Method in class dev.morphia.FindAndModifyOptions
- clientSession(ClientSession) - Method in class dev.morphia.InsertManyOptions
-
Set the client session to use for the insert.
- clientSession(ClientSession) - Method in class dev.morphia.InsertOneOptions
- clientSession(ClientSession) - Method in class dev.morphia.query.CountOptions
- clientSession(ClientSession) - Method in class dev.morphia.query.FindAndDeleteOptions
- clientSession(ClientSession) - Method in class dev.morphia.query.FindOptions
-
Set the client session to use for the insert.
- clientSession(ClientSession) - Method in class dev.morphia.UpdateOptions
- close() - Method in class dev.morphia.experimental.BaseMorphiaSession
- close() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- codec(Codec<T>) - Method in class dev.morphia.mapping.codec.pojo.FieldModelBuilder
-
Sets a custom codec for the field
- collation() - Method in annotation type dev.morphia.annotations.IndexOptions
- collation(Collation) - Method in class dev.morphia.DeleteOptions
- collation(Collation) - Method in class dev.morphia.FindAndModifyOptions
- collation(Collation) - Method in class dev.morphia.query.CountOptions
- collation(Collation) - Method in class dev.morphia.query.FindAndDeleteOptions
- collation(Collation) - Method in class dev.morphia.query.FindOptions
-
Sets the collation to use
- collation(Collation) - Method in class dev.morphia.UpdateOptions
- Collation - Annotation Type in dev.morphia.annotations
-
Defines the collation options for an index
- CollectionCodec<T> - Class in dev.morphia.mapping.codec
-
A codec for Collection type
- CollectionCodec(Class<Collection<T>>, Codec<T>) - Constructor for class dev.morphia.mapping.codec.CollectionCodec
- collectionNaming(NamingStrategy) - Method in class dev.morphia.mapping.MapperOptions.Builder
-
Sets the naming strategy to use for collection names
- CollectionReference<C extends Collection> - Class in dev.morphia.mapping.experimental
- CollectionReference() - Constructor for class dev.morphia.mapping.experimental.CollectionReference
- comment(String) - Method in class dev.morphia.query.FindOptions
-
Sets the comment to log with the query
- commitTransaction() - Method in class dev.morphia.experimental.BaseMorphiaSession
- compareTo(Key<T>) - Method in class dev.morphia.Key
- compute(EntityModelBuilder) - Method in class dev.morphia.mapping.DiscriminatorFunction
- concern() - Method in annotation type dev.morphia.annotations.Entity
- concreteClass() - Method in annotation type dev.morphia.annotations.Property
- configure() - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
- ConstraintViolation - Class in dev.morphia.mapping.validation
- ConstraintViolation(ConstraintViolation.Level, MappedClass, MappedField, Class<? extends ClassConstraint>, String) - Constructor for class dev.morphia.mapping.validation.ConstraintViolation
-
Creates a violation instance to record invalid mapping metadata
- ConstraintViolation(ConstraintViolation.Level, MappedClass, Class<? extends ClassConstraint>, String) - Constructor for class dev.morphia.mapping.validation.ConstraintViolation
-
Creates a violation instance to record invalid mapping metadata
- ConstraintViolation.Level - Enum in dev.morphia.mapping.validation
-
Levels of constraint violations
- ConstraintViolationException - Exception in dev.morphia.mapping.validation
- ConstraintViolationException(ConstraintViolation...) - Constructor for exception dev.morphia.mapping.validation.ConstraintViolationException
-
Creates a ConstraintViolationException with the set of violations
- ConstraintViolationException(Collection<ConstraintViolation>) - Constructor for exception dev.morphia.mapping.validation.ConstraintViolationException
-
Creates a ConstraintViolationException with the set of violations
- Constructor - Annotation Type in dev.morphia.annotations.experimental
-
Marks an entity's constructor for use in creation rather than relying on a no arg constructor and field injection.
- ConstructorCreator<T> - Class in dev.morphia.mapping.experimental
-
Defines a Creator that uses a full constructor to create an instance rather than field injection.
- ConstructorCreator(EntityModel) - Constructor for class dev.morphia.mapping.experimental.ConstructorCreator
- ConstructorParameterNameConstraint - Class in dev.morphia.mapping.validation
-
Checks that named constructor parameters match field names
- ConstructorParameterNameConstraint() - Constructor for class dev.morphia.mapping.validation.ConstructorParameterNameConstraint
- 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
- 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
- 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.
- Conversions - Class in dev.morphia.mapping.codec
-
Defines basic type conversions
- convert() - Method in class dev.morphia.geo.CoordinateReferenceSystem
-
Deprecated.Converts this type to the driver type
- convert() - Method in interface dev.morphia.geo.Geometry
-
Deprecated.Converts this type to the driver type
- convert() - Method in class dev.morphia.geo.LineString
-
Deprecated.
- convert() - Method in class dev.morphia.geo.MultiLineString
-
Deprecated.
- convert() - Method in class dev.morphia.geo.MultiPoint
-
Deprecated.
- convert() - Method in class dev.morphia.geo.MultiPolygon
-
Deprecated.
- convert() - Method in class dev.morphia.geo.NamedCoordinateReferenceSystem
-
Deprecated.
- convert() - Method in class dev.morphia.geo.Point
-
Deprecated.
- convert() - Method in class dev.morphia.geo.Polygon
-
Deprecated.
- convert(CoordinateReferenceSystem) - Method in interface dev.morphia.geo.Geometry
-
Deprecated.Converts this type to the driver type
- convert(CoordinateReferenceSystem) - Method in class dev.morphia.geo.LineString
-
Deprecated.
- convert(CoordinateReferenceSystem) - Method in class dev.morphia.geo.MultiLineString
-
Deprecated.
- convert(CoordinateReferenceSystem) - Method in class dev.morphia.geo.MultiPoint
-
Deprecated.
- convert(CoordinateReferenceSystem) - Method in class dev.morphia.geo.MultiPolygon
-
Deprecated.
- convert(CoordinateReferenceSystem) - Method in class dev.morphia.geo.Point
-
Deprecated.
- convert(CoordinateReferenceSystem) - Method in class dev.morphia.geo.Polygon
-
Deprecated.
- convert(Object, Class<?>) - Static method in class dev.morphia.mapping.codec.Conversions
-
Attempts to convert a value to the given type
- Converters - Annotation Type in dev.morphia.annotations
-
Deprecated, for removal: This API element is subject to removal in a future version.
- convertLineStrings(List<LineString>) - Static method in class dev.morphia.geo.GeoJson
-
Deprecated.
- convertPoints(List<Point>) - Static method in class dev.morphia.geo.GeoJson
-
Deprecated.
- CoordinateReferenceSystem - Class in dev.morphia.geo
-
Deprecated, for removal: This API element is subject to removal in a future version.use the driver-provided types instead
- CoordinateReferenceSystem() - Constructor for class dev.morphia.geo.CoordinateReferenceSystem
-
Deprecated.
- CoordinateReferenceSystemType - Enum in dev.morphia.geo
-
Deprecated, for removal: This API element is subject to removal in a future version.use the driver-provided types instead
- copy() - Method in class dev.morphia.query.FindOptions
- count() - Method in annotation type dev.morphia.annotations.CappedAt
- count() - Method in interface dev.morphia.query.Query
-
Count the total number of values in the result, ignoring limit and offset
- count() - Method in class dev.morphia.query.QueryImpl
- count(CountOptions) - Method in interface dev.morphia.query.Query
-
Count the total number of values in the result, ignoring limit and offset
- count(CountOptions) - Method in class dev.morphia.query.QueryImpl
- CountOptions - Class in dev.morphia.query
-
The options for a count operation.
- CountOptions() - Constructor for class dev.morphia.query.CountOptions
- create() - Method in class dev.morphia.mapping.InstanceCreatorFactoryImpl
- 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
- createAggregation(String, Class<?>) - Method in interface dev.morphia.AdvancedDatastore
-
Returns an
AggregationPipeline
bound to the given collection and class. - createAggregation(String, Class<?>) - Method in class dev.morphia.DatastoreImpl
- createDatastore(MongoClient, String) - Static method in class dev.morphia.Morphia
-
It is best to use a Mongo singleton instance here.
- createDatastore(MongoClient, String, MapperOptions) - Static method in class dev.morphia.Morphia
-
It is best to use a Mongo singleton instance here.
- createDatastore(String) - Static method in class dev.morphia.Morphia
-
Creates a Datastore
- createDatastore(String, MapperOptions) - Static method in class dev.morphia.Morphia
-
Creates a Datastore
- createInstance(Mapper, MappedField, Document) - Method in interface dev.morphia.ObjectFactory
-
Creates an instance of the class defined in the discriminator field in the document passed in.
- createInstance(Class<T>) - Method in interface dev.morphia.ObjectFactory
-
Creates an instance of the given class.
- createInstance(Class<T>, Document) - Method in interface dev.morphia.ObjectFactory
-
Creates an instance of the class defined in the discriminator field in the document passed in.
- createList(MappedField) - Method in interface dev.morphia.ObjectFactory
-
Defines how morphia creates a List object.
- createMap(MappedField) - Method in interface dev.morphia.ObjectFactory
-
Defines how morphia creates a Map object.
- createMorphiaModel(Class<T>) - Method in class dev.morphia.mapping.Mapper
- createQuery(Datastore) - Method in class dev.morphia.query.AbstractQueryFactory
- createQuery(Datastore) - Method in interface dev.morphia.query.QueryFactory
-
Creates an unvalidated
Query
typically for use in aggregation pipelines. - createQuery(Datastore, Class<T>) - Method in class dev.morphia.query.AbstractQueryFactory
- createQuery(Datastore, Class<T>) - Method in interface dev.morphia.query.QueryFactory
-
Creates and returns a
Query
for the given arguments. - createQuery(Datastore, Class<T>, Document) - Method in class dev.morphia.query.DefaultQueryFactory
- createQuery(Datastore, Class<T>, Document) - Method in interface dev.morphia.query.QueryFactory
-
Creates and returns a
Query
for the given arguments. - createQuery(Class<T>) - Method in interface dev.morphia.Datastore
-
Deprecated, for removal: This API element is subject to removal in a future version.
- createQuery(Class<T>, Document) - Method in interface dev.morphia.AdvancedDatastore
- createQuery(Class<T>, Document) - Method in class dev.morphia.DatastoreImpl
- createQuery(String, Class<T>) - Method in interface dev.morphia.AdvancedDatastore
- createQuery(String, Class<T>) - Method in class dev.morphia.DatastoreImpl
- createRef(Class<T>, V) - Method in interface dev.morphia.AdvancedDatastore
-
Creates a reference to the entity (using the current DB -can be null-, the collectionName, and id)
- createRef(Class<T>, V) - Method in class dev.morphia.DatastoreImpl
- createRef(T) - Method in interface dev.morphia.AdvancedDatastore
-
Creates a reference to the entity (using the current DB -can be null-, the collectionName, and id)
- createRef(T) - Method in class dev.morphia.DatastoreImpl
- createSet(MappedField) - Method in interface dev.morphia.ObjectFactory
-
Defines how morphia creates a Set object.
- createUpdateOperations(Class<T>) - Method in interface dev.morphia.Datastore
-
Deprecated, for removal: This API element is subject to removal in a future version.use
Query.update()
instead - createUpdateOperations(Class<T>, DBObject) - Method in interface dev.morphia.AdvancedDatastore
-
Deprecated, for removal: This API element is subject to removal in a future version.use
Query.update()
instead - createUpdateOperations(Class<T>, Document) - Method in interface dev.morphia.AdvancedDatastore
-
Deprecated, for removal: This API element is subject to removal in a future version.use
Query.update()
instead - createUpdateOperations(Class<T>, Document) - Method in class dev.morphia.DatastoreImpl
- criteria(String) - Method in interface dev.morphia.query.CriteriaContainer
-
Creates a criteria against a field
- criteria(String) - Method in class dev.morphia.query.CriteriaContainerImpl
- criteria(String) - Method in interface dev.morphia.query.Query
-
Creates a criteria to apply against a field
- criteria(String) - Method in class dev.morphia.query.QueryImpl
- Criteria - Interface in dev.morphia.query
-
Internal class for building up query documents.
- CriteriaContainer - Interface in dev.morphia.query
-
Internal class to represent groups of
Criteria
instances via $and and $or query clauses - CriteriaContainerCodec - Class in dev.morphia.query
-
Defines the codec for CriteriaContainers
- CriteriaContainerCodec(Mapper) - Constructor for class dev.morphia.query.CriteriaContainerCodec
-
Creates the codec
- CriteriaContainerImpl - Class in dev.morphia.query
-
Defines a container of Criteria and a join method.
- CriteriaContainerImpl(Mapper, QueryImpl<?>, CriteriaJoin) - Constructor for class dev.morphia.query.CriteriaContainerImpl
- CriteriaJoin - Enum in dev.morphia.query
-
Defines how to combine lists of criteria.
- CRS_84 - Static variable in class dev.morphia.geo.NamedCoordinateReferenceSystem
-
Deprecated.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
D
- Datastore - Interface in dev.morphia
-
Datastore interface to get/delete/save objects
- DatastoreImpl - Class in dev.morphia
-
A generic (type-safe) wrapper around mongodb collections
- DatastoreImpl(MongoClient, MapperOptions, String) - Constructor for class dev.morphia.DatastoreImpl
- DatastoreImpl(MongoDatabase, MongoClient, Mapper, QueryFactory) - Constructor for class dev.morphia.DatastoreImpl
-
Copy constructor for a datastore
- DATE - dev.morphia.query.Type
- dec(String) - Method in class dev.morphia.query.UpdateBase
- dec(String) - Method in interface dev.morphia.query.UpdateOperations
-
Deprecated.Decrements the numeric field by 1
- dec(String) - Method in class dev.morphia.query.UpdateOpsImpl
- dec(String) - Method in interface dev.morphia.query.Updates
-
Decrements the numeric field by 1
- dec(String, Number) - Method in class dev.morphia.query.UpdateBase
- dec(String, Number) - Method in interface dev.morphia.query.UpdateOperations
-
Deprecated.Decrements the numeric field by value (must be a positive Double, Float, Long, or Integer).
- dec(String, Number) - Method in class dev.morphia.query.UpdateOpsImpl
- dec(String, Number) - Method in interface dev.morphia.query.Updates
-
Decrements the numeric field by value (must be a positive Double, Float, Long, or Integer).
- decode(Datastore, Mapper, MappedField, Class, Document) - Static method in class dev.morphia.mapping.experimental.SingleReference
-
Decodes a document in to an entity
- decode(Datastore, Mapper, MappedField, Document) - Static method in class dev.morphia.mapping.experimental.MapReference
-
Decodes a document in to entities
- decode(BsonReader, DecoderContext) - Method in class dev.morphia.geo.GeometryShapeConverter
- decode(BsonReader, DecoderContext) - Method in class dev.morphia.mapping.codec.ClassCodec
- decode(BsonReader, DecoderContext) - Method in class dev.morphia.mapping.codec.CollectionCodec
- decode(BsonReader, DecoderContext) - Method in class dev.morphia.mapping.codec.KeyCodec
- decode(BsonReader, DecoderContext) - Method in class dev.morphia.mapping.codec.LocaleCodec
- decode(BsonReader, DecoderContext) - Method in class dev.morphia.mapping.codec.ObjectCodec
- decode(BsonReader, DecoderContext) - Method in class dev.morphia.mapping.codec.pojo.MorphiaCodec
- decode(BsonReader, DecoderContext) - Method in class dev.morphia.mapping.codec.pojo.SpecializedMorphiaCodec
- decode(BsonReader, DecoderContext) - Method in class dev.morphia.mapping.codec.QueryCodec
- decode(BsonReader, DecoderContext) - Method in class dev.morphia.mapping.codec.references.ReferenceCodec
- decode(BsonReader, DecoderContext) - Method in class dev.morphia.mapping.codec.URICodec
- decode(BsonReader, DecoderContext) - Method in class dev.morphia.mapping.experimental.MorphiaReferenceCodec
- decode(BsonReader, DecoderContext) - Method in class dev.morphia.query.CriteriaContainerCodec
- decode(BsonReader, DecoderContext) - Method in class dev.morphia.query.FieldCriteriaCodec
- decodePropertyModel(BsonReader, DecoderContext, InstanceCreator<T>, String, PropertyModel<S>) - Method in class dev.morphia.mapping.codec.BaseMorphiaCodec
- decodePropertyModel(BsonReader, DecoderContext, InstanceCreator<T>, String, PropertyModel<S>) - Method in class dev.morphia.mapping.codec.pojo.MorphiaCodec
- DEFAULT - Static variable in class dev.morphia.mapping.MapperOptions
- defaultField(Object) - Method in class dev.morphia.query.BucketOptions
-
Define default field for the bucket stage
- DefaultQueryFactory - Class in dev.morphia.query
-
A default implementation of
QueryFactory
. - DefaultQueryFactory() - Constructor for class dev.morphia.query.DefaultQueryFactory
- DefaultTypeValidator - Class in dev.morphia.query.validation
-
This is a fall-through validator that looks at the type and at the class of the value and figures out if they're similar enough to be used to query.
- delete() - Method in interface dev.morphia.query.Query
-
Deletes an entity from the database and returns it.
- delete(FindAndModifyOptions) - Method in interface dev.morphia.query.Query
-
Deprecated, for removal: This API element is subject to removal in a future version.
- delete(FindAndDeleteOptions) - Method in interface dev.morphia.query.Query
-
Deletes an entity from the database and returns it.
- delete(FindAndDeleteOptions) - Method in class dev.morphia.query.QueryImpl
- delete(Query<T>) - Method in interface dev.morphia.Datastore
-
Deprecated, for removal: This API element is subject to removal in a future version.use
Query.remove()
instead - delete(Query<T>, DeleteOptions) - Method in interface dev.morphia.Datastore
-
Deprecated, for removal: This API element is subject to removal in a future version.use
Query.remove(DeleteOptions)
instead - delete(T) - Method in interface dev.morphia.Datastore
-
Deletes the given entity (by @Id)
- delete(T) - Method in class dev.morphia.DatastoreImpl
- delete(T, DeleteOptions) - Method in interface dev.morphia.Datastore
-
Deletes the given entity (by @Id), with the WriteConcern
- delete(T, DeleteOptions) - Method in class dev.morphia.DatastoreImpl
-
Deletes the given entity (by @Id), with the WriteConcern
- delete(T, DeleteOptions) - Method in class dev.morphia.experimental.MorphiaSessionImpl
- DeleteOptions - Class in dev.morphia
-
The options to apply when removing documents from the MongoCollection
- DeleteOptions() - Constructor for class dev.morphia.DeleteOptions
-
Creates a new options instance
- DeleteOptions(DeleteOptions) - Constructor for class dev.morphia.DeleteOptions
- descending(String) - Static method in class dev.morphia.query.Sort
-
Creates a descending sort on a field
- dev.morphia - package dev.morphia
- dev.morphia.aggregation - package dev.morphia.aggregation
- dev.morphia.annotations - package dev.morphia.annotations
- dev.morphia.annotations.experimental - package dev.morphia.annotations.experimental
- dev.morphia.experimental - package dev.morphia.experimental
- dev.morphia.geo - package dev.morphia.geo
- dev.morphia.mapping - package dev.morphia.mapping
- dev.morphia.mapping.codec - package dev.morphia.mapping.codec
- dev.morphia.mapping.codec.pojo - package dev.morphia.mapping.codec.pojo
- dev.morphia.mapping.codec.reader - package dev.morphia.mapping.codec.reader
- dev.morphia.mapping.codec.references - package dev.morphia.mapping.codec.references
- dev.morphia.mapping.experimental - package dev.morphia.mapping.experimental
- dev.morphia.mapping.lazy - package dev.morphia.mapping.lazy
- dev.morphia.mapping.lazy.proxy - package dev.morphia.mapping.lazy.proxy
- dev.morphia.mapping.validation - package dev.morphia.mapping.validation
- dev.morphia.mapping.validation.classrules - package dev.morphia.mapping.validation.classrules
- dev.morphia.mapping.validation.fieldrules - package dev.morphia.mapping.validation.fieldrules
- dev.morphia.query - package dev.morphia.query
- dev.morphia.query.validation - package dev.morphia.query.validation
- dev.morphia.transactions.experimental - package dev.morphia.transactions.experimental
- disableEmbeddedIndexes(boolean) - Method in class dev.morphia.mapping.MapperOptions.Builder
- disableValidation() - Method in annotation type dev.morphia.annotations.IndexOptions
- disableValidation() - Method in interface dev.morphia.query.Query
-
Turns off validation (for all calls made after)
- disableValidation() - Method in class dev.morphia.query.QueryImpl
- disableValidation() - Method in class dev.morphia.query.UpdateBase
- disableValidation() - Method in interface dev.morphia.query.UpdateOperations
-
Deprecated.Turns off validation (for all calls made after)
- disableValidation() - Method in class dev.morphia.query.UpdateOpsImpl
- disableValidation() - Method in interface dev.morphia.query.Updates
-
Turns off validation (for all calls made after)
- discriminator() - Method in annotation type dev.morphia.annotations.Embedded
- discriminator() - Method in annotation type dev.morphia.annotations.Entity
- discriminator(DiscriminatorFunction) - Method in class dev.morphia.mapping.MapperOptions.Builder
-
Sets the discriminator function to use
- DiscriminatorFunction - Class in dev.morphia.mapping
-
Defines a function to calculate a discriminator value.
- DiscriminatorFunction() - Constructor for class dev.morphia.mapping.DiscriminatorFunction
- discriminatorKey() - Method in annotation type dev.morphia.annotations.Embedded
- discriminatorKey() - Method in annotation type dev.morphia.annotations.Entity
- discriminatorKey(String) - Method in class dev.morphia.mapping.MapperOptions.Builder
-
Defines the discriminator key name
- divide(Object, Object) - Static method in class dev.morphia.aggregation.Projection
-
Creates a division projection
- documentHasId(T) - Method in class dev.morphia.mapping.codec.pojo.MorphiaCodec
- DocumentReader - Class in dev.morphia.mapping.codec.reader
- DocumentReader(Document) - Constructor for class dev.morphia.mapping.codec.reader.DocumentReader
-
Construct a new instance.
- DocumentWriter - Class in dev.morphia.mapping.codec
-
Utility to write out to a Document
- DocumentWriter() - Constructor for class dev.morphia.mapping.codec.DocumentWriter
-
Creates a new Writer
- DocumentWriter(Document) - Constructor for class dev.morphia.mapping.codec.DocumentWriter
-
Creates a new Writer with a seeded Document
- 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
- DOUBLE - dev.morphia.query.Type
- DoubleTypeValidator - Class in dev.morphia.query.validation
-
Validation for fields of Double/double type.
- DuplicatedAttributeNames - Class in dev.morphia.mapping.validation.classrules
- DuplicatedAttributeNames() - Constructor for class dev.morphia.mapping.validation.classrules.DuplicatedAttributeNames
E
- E12 - dev.morphia.query.BucketAutoOptions.Granularity
- E192 - dev.morphia.query.BucketAutoOptions.Granularity
- E24 - dev.morphia.query.BucketAutoOptions.Granularity
- E48 - dev.morphia.query.BucketAutoOptions.Granularity
- E6 - dev.morphia.query.BucketAutoOptions.Granularity
- E96 - dev.morphia.query.BucketAutoOptions.Granularity
- EACH - dev.morphia.query.UpdateOperator
- ELEMENT_MATCH - dev.morphia.query.FilterOperator
- elemMatch(Query) - Method in interface dev.morphia.query.FieldEnd
-
Checks that a field matches the provided query definition
- elemMatch(Query) - Method in class dev.morphia.query.FieldEndImpl
- Embedded - Annotation Type in dev.morphia.annotations
-
Marks a type as eligible for mapping and embedding in entity types.
- 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
- enableDocumentValidation() - Method in interface dev.morphia.Datastore
-
Process any
Validation
annotations for document validation. - enableDocumentValidation() - Method in class dev.morphia.DatastoreImpl
- 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 class dev.morphia.query.UpdateBase
- enableValidation() - Method in interface dev.morphia.query.UpdateOperations
-
Deprecated.Turns on validation (for all calls made after); by default validation is on
- enableValidation() - Method in class dev.morphia.query.UpdateOpsImpl
- enableValidation() - Method in interface dev.morphia.query.Updates
-
Turns on validation (for all calls made after); by default validation is on
- encode(Mapper, Object, MappedField) - Method in class dev.morphia.mapping.experimental.CollectionReference
- encode(Mapper, Object, MappedField) - Method in class dev.morphia.mapping.experimental.MapReference
- encode(Mapper, Object, MappedField) - Method in class dev.morphia.mapping.experimental.MorphiaReference
- encode(Mapper, Object, MappedField) - Method in class dev.morphia.mapping.experimental.SingleReference
- encode(Object) - Method in interface dev.morphia.mapping.codec.pojo.PropertyHandler
-
Encodes the value
- encode(Object) - Method in class dev.morphia.mapping.codec.references.ReferenceCodec
- encode(Object) - Method in class dev.morphia.mapping.experimental.MorphiaReferenceCodec
- encode(BsonWriter, Key, EncoderContext) - Method in class dev.morphia.mapping.codec.KeyCodec
- encode(BsonWriter, MorphiaReference, EncoderContext) - Method in class dev.morphia.mapping.experimental.MorphiaReferenceCodec
- encode(BsonWriter, CriteriaContainerImpl, EncoderContext) - Method in class dev.morphia.query.CriteriaContainerCodec
- encode(BsonWriter, FieldCriteria, EncoderContext) - Method in class dev.morphia.query.FieldCriteriaCodec
- encode(BsonWriter, QueryImpl, EncoderContext) - Method in class dev.morphia.mapping.codec.QueryCodec
- encode(BsonWriter, Class, EncoderContext) - Method in class dev.morphia.mapping.codec.ClassCodec
- encode(BsonWriter, Object, EncoderContext) - Method in class dev.morphia.mapping.codec.ObjectCodec
- encode(BsonWriter, Object, EncoderContext) - Method in class dev.morphia.mapping.codec.references.ReferenceCodec
- encode(BsonWriter, URI, EncoderContext) - Method in class dev.morphia.mapping.codec.URICodec
- encode(BsonWriter, Collection<T>, EncoderContext) - Method in class dev.morphia.mapping.codec.CollectionCodec
- encode(BsonWriter, Locale, EncoderContext) - Method in class dev.morphia.mapping.codec.LocaleCodec
- encode(BsonWriter, T, EncoderContext) - Method in class dev.morphia.geo.GeometryShapeConverter
- encode(BsonWriter, T, EncoderContext) - Method in class dev.morphia.mapping.codec.BaseMorphiaCodec
- encode(BsonWriter, T, EncoderContext) - Method in class dev.morphia.mapping.codec.pojo.MorphiaCodec
- encode(BsonWriter, T, EncoderContext) - Method in class dev.morphia.mapping.codec.pojo.SpecializedMorphiaCodec
- encode(CodecRegistry, Object, EncoderContext) - Method in class dev.morphia.mapping.codec.DocumentWriter
-
Encodes a value in to this Writer
- encodeId(Mapper, Datastore, Object, MappedClass) - Static method in class dev.morphia.mapping.codec.references.ReferenceCodec
-
Encodes a value
- 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
- enforceWriteConcern(MongoCollection, Class) - Method in class dev.morphia.mapping.Mapper
-
Updates a collection to use a specific WriteConcern
- ensureCaps() - Method in interface dev.morphia.Datastore
-
ensure capped collections for
Entity
(s) - ensureCaps() - Method in class dev.morphia.DatastoreImpl
- ensureIndexes() - Method in interface dev.morphia.Datastore
-
Ensures (creating if necessary) the indexes found during class mapping
- ensureIndexes() - Method in class dev.morphia.DatastoreImpl
- ensureIndexes(Class<T>) - Method in interface dev.morphia.Datastore
-
Ensures (creating if necessary) the indexes found during class mapping
- ensureIndexes(Class<T>) - Method in class dev.morphia.DatastoreImpl
- 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.
- EntityCannotBeMapOrIterable - Class in dev.morphia.mapping.validation.classrules
- EntityCannotBeMapOrIterable() - Constructor for class dev.morphia.mapping.validation.classrules.EntityCannotBeMapOrIterable
- EntityInterceptor - Interface in dev.morphia
-
Interface for intercepting @Entity lifecycle events
- EntityListeners - Annotation Type in dev.morphia.annotations
-
Specifies other classes to participate in the @Entity's lifecycle
- EntityModel<T> - Class in dev.morphia.mapping.codec.pojo
-
A model of metadata about a type
- EntityModel(EntityModel, boolean) - Constructor for class dev.morphia.mapping.codec.pojo.EntityModel
-
Copies an existing model
- EntityModelBuilder<T> - Class in dev.morphia.mapping.codec.pojo
-
Builder for MorphiaModels
- EntityModelBuilder(Datastore, Class<T>) - Constructor for class dev.morphia.mapping.codec.pojo.EntityModelBuilder
-
Create a builder
- EntityTypeAndIdValueValidator - Class in dev.morphia.query.validation
-
Checks the class of the value against the type of the ID for the type.
- EnumCodecProvider - Class in dev.morphia.mapping.codec
-
Defines a CodecProvider for Enum values
- EnumCodecProvider() - Constructor for class dev.morphia.mapping.codec.EnumCodecProvider
- EPSG_4326 - Static variable in class dev.morphia.geo.NamedCoordinateReferenceSystem
-
Deprecated.The EPSG:4326 Coordinate Reference System.
- EPSG_4326_STRICT_WINDING - Static variable in class dev.morphia.geo.NamedCoordinateReferenceSystem
-
Deprecated.A custom MongoDB EPSG:4326 Coordinate Reference System that uses a strict counter-clockwise winding order.
- equal(Object) - Method in interface dev.morphia.query.FieldEnd
-
Checks that a field equals a value
- equal(Object) - Method in class dev.morphia.query.FieldEndImpl
- EQUAL - dev.morphia.query.FilterOperator
- equalIgnoreCase(Object) - Method in interface dev.morphia.query.FieldEnd
-
Checks that a field equals a value
- equalIgnoreCase(Object) - Method in class dev.morphia.query.FieldEndImpl
- equals(Object) - Method in class dev.morphia.geo.GeometryCollection
- equals(Object) - Method in class dev.morphia.geo.LineString
-
Deprecated.
- equals(Object) - Method in class dev.morphia.geo.MultiLineString
-
Deprecated.
- equals(Object) - Method in class dev.morphia.geo.MultiPoint
-
Deprecated.
- equals(Object) - Method in class dev.morphia.geo.MultiPolygon
-
Deprecated.
- equals(Object) - Method in class dev.morphia.geo.NamedCoordinateReferenceSystem
-
Deprecated.
- equals(Object) - Method in class dev.morphia.geo.Point
-
Deprecated.
- equals(Object) - Method in class dev.morphia.geo.Polygon
-
Deprecated.
- equals(Object) - Method in class dev.morphia.Key
- equals(Object) - Method in class dev.morphia.mapping.codec.BsonTypeMap
- equals(Object) - Method in class dev.morphia.mapping.codec.pojo.EntityModel
- equals(Object) - Method in class dev.morphia.mapping.codec.pojo.FieldModel
- equals(Object) - Method in class dev.morphia.mapping.experimental.MorphiaReference
- equals(Object) - Method in class dev.morphia.mapping.MappedClass
- equals(Object) - Method in class dev.morphia.query.FindOptions
- equals(Object) - Method in class dev.morphia.query.QueryImpl
- execute() - Method in class dev.morphia.query.Modify
-
Performs the operation
- execute() - Method in interface dev.morphia.query.Query
-
Execute the query and get the results.
- execute() - Method in class dev.morphia.query.QueryImpl
- execute() - Method in class dev.morphia.query.Update
-
Executes the update
- execute(MorphiaSession) - Method in interface dev.morphia.transactions.experimental.MorphiaTransaction
-
Executes the transaction body
- execute(FindAndModifyOptions) - Method in class dev.morphia.query.Modify
-
Performs the operation
- execute(FindOptions) - Method in interface dev.morphia.query.Query
-
Execute the query and get the results.
- execute(FindOptions) - Method in class dev.morphia.query.QueryImpl
- execute(UpdateOptions) - Method in class dev.morphia.query.Update
-
Executes the update
- exists() - Method in interface dev.morphia.query.FieldEnd
-
Checks that a field exists in a document
- exists() - Method in class dev.morphia.query.FieldEndImpl
- EXISTS - dev.morphia.query.FilterOperator
- ExistsOperationValidator - Class in dev.morphia.query.validation
-
Checks if the value can have the
FilterOperator.EXISTS
operator applied to it. - expireAfterSeconds() - Method in annotation type dev.morphia.annotations.IndexOptions
- explain() - Method in interface dev.morphia.query.Query
-
Provides information on the query plan.
- explain(FindOptions) - Method in interface dev.morphia.query.Query
-
Provides information on the query plan.
- explain(FindOptions) - Method in class dev.morphia.query.QueryImpl
- expression(String, Object...) - Static method in class dev.morphia.aggregation.Projection
-
Provides access to arbitrary expressions taking an array of arguments, such as $concat
F
- FATAL - dev.morphia.mapping.validation.ConstraintViolation.Level
- field(Field) - Method in class dev.morphia.mapping.codec.pojo.FieldModelBuilder
-
Sets the field used
- field(String) - Method in interface dev.morphia.query.Query
-
Fluent query interface:
createQuery(Ent.class).field("count").greaterThan(7)...
- field(String) - Method in class dev.morphia.query.QueryImpl
- Field - Annotation Type in dev.morphia.annotations
-
Define a field to be used in an index;
- FieldAccessor - Class in dev.morphia.mapping.codec
- FieldAccessor(Field) - Constructor for class dev.morphia.mapping.codec.FieldAccessor
-
Creates the accessor for a field
- FieldConstraint - Class in dev.morphia.mapping.validation.fieldrules
- FieldConstraint() - Constructor for class dev.morphia.mapping.validation.fieldrules.FieldConstraint
- FieldCriteriaCodec - Class in dev.morphia.query
-
Defines a codec for FieldCriterias
- FieldCriteriaCodec(Mapper) - Constructor for class dev.morphia.query.FieldCriteriaCodec
-
Creates the codec
- FieldEnd<T> - Interface in dev.morphia.query
-
Represents a document field in a query and presents the operations available to querying against that field.
- FieldEndImpl<T extends CriteriaContainer> - Class in dev.morphia.query
-
Represents a document field in a query and presents the operations available to querying against that field.
- FieldEndImpl(Mapper, QueryImpl<?>, String, T) - Constructor for class dev.morphia.query.FieldEndImpl
-
Creates a FieldEnd for a particular field.
- FieldEnumString - Class in dev.morphia.mapping.validation.classrules
- FieldEnumString(MappedField...) - Constructor for class dev.morphia.mapping.validation.classrules.FieldEnumString
-
Creates a FieldEnumString for the given fields
- FieldEnumString(List<MappedField>) - Constructor for class dev.morphia.mapping.validation.classrules.FieldEnumString
-
Creates a FieldEnumString for the given fields
- FieldMetadata<T> - Class in dev.morphia.mapping.codec.pojo
-
Contains various metadata about a field
- FieldMetadata(Field, TypeData<T>, TypeParameterMap, TypeData<?>) - Constructor for class dev.morphia.mapping.codec.pojo.FieldMetadata
-
Createss an instance for the field
- FieldModel<T> - Class in dev.morphia.mapping.codec.pojo
-
Represents a field on a class and stores various metadata such as generic parameters
- FieldModelBuilder<T> - Class in dev.morphia.mapping.codec.pojo
-
A builder for programmatically creating
FieldModels
. - fieldName(String) - Method in class dev.morphia.mapping.codec.pojo.FieldModelBuilder
-
Sets the field name
- fieldNaming(NamingStrategy) - Method in class dev.morphia.mapping.MapperOptions.Builder
-
Sets the naming strategy to use for fields unless expliclity set via @Property
- fields() - Method in annotation type dev.morphia.annotations.Index
- filter(String, Object) - Method in interface dev.morphia.query.Query
-
Create a filter based on the specified condition and value.
- filter(String, Object) - Method in class dev.morphia.query.QueryImpl
- FilterOperator - Enum in dev.morphia.query
- find() - Method in interface dev.morphia.query.Query
-
Deprecated, for removal: This API element is subject to removal in a future version.use
Query.execute()
- find(FindOptions) - Method in interface dev.morphia.query.Query
-
Deprecated, for removal: This API element is subject to removal in a future version.
- find(Class<T>) - Method in interface dev.morphia.Datastore
-
Find all instances by type
- find(Class<T>) - Method in class dev.morphia.DatastoreImpl
- find(String) - Method in interface dev.morphia.AdvancedDatastore
-
Find all instances by type in a different collection than what is mapped on the class given.
- find(String) - Method in class dev.morphia.DatastoreImpl
- findAndDelete(Query<T>) - Method in interface dev.morphia.Datastore
-
Deprecated, for removal: This API element is subject to removal in a future version.use
Query.delete()
instead - findAndDelete(Query<T>, FindAndModifyOptions) - Method in interface dev.morphia.Datastore
-
Deprecated, for removal: This API element is subject to removal in a future version.use
Query.delete(FindAndDeleteOptions)
instead - FindAndDeleteOptions - Class in dev.morphia.query
-
Defines options to use for find and delete operations
- FindAndDeleteOptions() - Constructor for class dev.morphia.query.FindAndDeleteOptions
- findAndModify(Query<T>, UpdateOperations<T>) - Method in interface dev.morphia.Datastore
-
Deprecated, for removal: This API element is subject to removal in a future version.use
Query.modify()
instead - FindAndModifyOptions - Class in dev.morphia
-
The options for find and modify operations.
- FindAndModifyOptions() - Constructor for class dev.morphia.FindAndModifyOptions
- 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 instance with default values
- findSession(SessionConfigurable) - Method in class dev.morphia.DatastoreImpl
- first() - Method in interface dev.morphia.query.Query
-
Gets the first entity in the result set.
- first() - Method in class dev.morphia.query.QueryImpl
- first(FindOptions) - Method in interface dev.morphia.query.Query
-
Gets the first entity in the result set.
- first(FindOptions) - Method in class dev.morphia.query.QueryImpl
- first(String) - Static method in class dev.morphia.aggregation.Group
-
Returns the value that results from applying an expression to the first document in a group of documents that share the same group by key.
- flush() - Method in class dev.morphia.mapping.codec.DocumentWriter
- Foo - dev.morphia.query.UpdateOperator
- fromDocument(Class<T>, Document) - Method in class dev.morphia.mapping.Mapper
-
Converts a Document back to a type-safe java object (POJO)
- fromString(String) - Static method in enum dev.morphia.geo.GeoJsonType
-
Allows you to turn String values of types into the Enum that corresponds to this type.
- fromString(String) - Static method in enum dev.morphia.query.FilterOperator
-
Creates a FilterOperator from a String
- fromString(String) - Static method in enum dev.morphia.query.UpdateOperator
-
Creates an UpdateOperator from a String
G
- generateIdIfAbsentFromDocument(T) - Method in class dev.morphia.mapping.codec.pojo.MorphiaCodec
- GEO_NEAR - dev.morphia.query.FilterOperator
- GEO_WITHIN - dev.morphia.query.FilterOperator
- GeoJson - Class in dev.morphia.geo
-
Deprecated, for removal: This API element is subject to removal in a future version.use the driver-provided types instead
- GeoJsonType - Enum in dev.morphia.geo
-
Enumerates all the GeoJson types that are currently supported by Morphia.
- Geometry - Interface in dev.morphia.geo
-
Deprecated, for removal: This API element is subject to removal in a future version.use the driver-provided types instead
- geometryCollection(Geometry...) - Static method in class dev.morphia.geo.GeoJson
-
Deprecated.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
-
Leaving here for reference wrt the codec implementation
- GeometryConverter() - Constructor for class dev.morphia.geo.GeometryConverter
- GeometryQueryConverter - Class in dev.morphia.geo
-
Converts Point objects into Documents for querying only.
- GeometryQueryConverter() - Constructor for class dev.morphia.geo.GeometryQueryConverter
- GeometryShapeConverter<T> - Class in dev.morphia.geo
-
Converter that understands most Geometry instances are effectively just lists of either other geometry objects or double coordinates.
- GeometryShapeConverter() - Constructor for class dev.morphia.geo.GeometryShapeConverter
- geoNear(GeoNear) - Method in interface dev.morphia.aggregation.AggregationPipeline
-
Returns an ordered stream of documents based on the proximity to a geospatial point.
- geoNear(GeoNear) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
- GeoNear - Class in dev.morphia.aggregation
-
Outputs documents in order of nearest to farthest from a specified point.
- GeoNear.GeoNearBuilder - Class in dev.morphia.aggregation
-
Provides a builder for GeoNear instances.
- GeoNearBuilder(String) - Constructor for class dev.morphia.aggregation.GeoNear.GeoNearBuilder
- GeoWithinOperationValidator - Class in dev.morphia.query.validation
-
Supports validation for queries using the
FilterOperator.GEO_WITHIN
operator. - get() - Method in class dev.morphia.mapping.experimental.CollectionReference
-
Gets the referenced entities.
- get() - Method in class dev.morphia.mapping.experimental.ListReference
- get() - Method in class dev.morphia.mapping.experimental.MapReference
- get() - Method in class dev.morphia.mapping.experimental.MorphiaReference
- get() - Method in class dev.morphia.mapping.experimental.SetReference
- get() - Method in class dev.morphia.mapping.experimental.SingleReference
- get(Class<?>) - Method in class dev.morphia.mapping.codec.BsonTypeMap
-
Gets the Class that is mapped to the given BSON type.
- get(Class<T>) - Method in class dev.morphia.mapping.codec.PrimitiveCodecProvider
- get(Class<T>, Iterable<V>) - Method in interface dev.morphia.Datastore
-
Deprecated.use
Query
instead. - get(Class<T>, Iterable<V>) - Method in class dev.morphia.DatastoreImpl
- get(Class<T>, CodecRegistry) - Method in class dev.morphia.mapping.codec.EnumCodecProvider
-
Looks up the codec for the type
- get(Class<T>, CodecRegistry) - Method in class dev.morphia.mapping.codec.MorphiaCodecProvider
- get(Class<T>, CodecRegistry) - Method in class dev.morphia.mapping.codec.MorphiaTypesCodecProvider
- get(Object) - Method in class dev.morphia.mapping.codec.FieldAccessor
- get(TypeWithTypeParameters<T>, PropertyCodecRegistry) - Method in class dev.morphia.mapping.codec.MorphiaCollectionPropertyCodecProvider
- get(T) - Method in interface dev.morphia.Datastore
-
Deprecated.use
Query
instead - getAccumulator() - Method in class dev.morphia.aggregation.Group
- getAccumulators() - Method in class dev.morphia.query.BucketAutoOptions
- getAccumulators() - Method in class dev.morphia.query.BucketOptions
- getAnnotation(Class<? extends Annotation>) - Method in class dev.morphia.mapping.codec.pojo.EntityModel
- getAnnotation(Class<A>) - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
- getAnnotation(Class<A>) - Method in class dev.morphia.mapping.codec.pojo.FieldModel
-
Find an annotation of a specific type or null if not found.
- getAnnotation(Class<A>) - Method in class dev.morphia.mapping.codec.pojo.FieldModelBuilder
-
Gets the annotation of this type.
- getAnnotation(Class<T>) - Method in class dev.morphia.mapping.MappedClass
-
Looks for an annotation of the type given
- getAnnotation(Class<T>) - Method in class dev.morphia.mapping.MappedField
- getAnnotations() - Method in class dev.morphia.mapping.codec.pojo.EntityModel
-
Returns all the annotations on this model
- getAnnotations() - Method in class dev.morphia.mapping.codec.pojo.FieldMetadata
- getAnnotations() - Method in class dev.morphia.mapping.codec.pojo.FieldModel
- getAnnotations() - Method in class dev.morphia.mapping.codec.pojo.FieldModelBuilder
-
Returns the read annotations, to be applied when serializing to BSON
- getAnnotations(Class<? extends Annotation>) - Method in class dev.morphia.mapping.codec.pojo.EntityModel
- getAnnotations(Class<T>) - Method in class dev.morphia.mapping.MappedClass
-
Looks for an annotation in the annotations found on a class while mapping
- getAnnotationsMap() - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
- getArguments() - Method in class dev.morphia.aggregation.Projection
- getAttachedTo() - Method in class dev.morphia.query.AbstractCriteria
- getBatchSize() - Method in class dev.morphia.query.FindOptions
- getByKey(Class<T>, Key<T>) - Method in interface dev.morphia.Datastore
-
Deprecated.use a
Query
instead - getByKey(Class<T>, Key<T>) - Method in class dev.morphia.DatastoreImpl
- getByKeys(Class<T>, Iterable<Key<T>>) - Method in interface dev.morphia.Datastore
-
Deprecated.use a
Query
instead - getByKeys(Class<T>, Iterable<Key<T>>) - Method in class dev.morphia.DatastoreImpl
- getByKeys(Iterable<Key<T>>) - Method in interface dev.morphia.Datastore
-
Deprecated.use a
Query
instead - getByKeys(Iterable<Key<T>>) - Method in class dev.morphia.DatastoreImpl
- getBypassDocumentValidation() - Method in class dev.morphia.InsertManyOptions
-
Gets whether to bypass document validation, or null if unspecified.
- getBypassDocumentValidation() - Method in class dev.morphia.InsertOneOptions
-
Gets the the bypass document level validation flag
- getBypassDocumentValidation() - Method in class dev.morphia.InsertOptions
-
Deprecated.Gets whether to bypass document validation, or null if unspecified.
- getCenter() - Method in class dev.morphia.query.Shape.Center
- getChildren() - Method in class dev.morphia.query.CriteriaContainerImpl
- getClass(String) - Method in class dev.morphia.mapping.Mapper
- getClass(Document) - Method in class dev.morphia.mapping.Mapper
-
Gets the class as defined by any discriminator field
- getClassesMappedToCollection(String) - Method in class dev.morphia.mapping.Mapper
-
Finds all the types mapped to a named collection
- getClassFromCollection(String) - Method in class dev.morphia.mapping.Mapper
-
Looks up the class mapped to a named collection.
- getClassLoader() - Method in class dev.morphia.mapping.MapperOptions
-
Returns the classloader used, in theory, when loading the entity types.
- getClassModel() - Method in class dev.morphia.mapping.codec.pojo.MorphiaCodec
- getClassModel() - Method in class dev.morphia.mapping.codec.pojo.SpecializedMorphiaCodec
- getClusterTime() - Method in class dev.morphia.experimental.BaseMorphiaSession
- getCodec() - Method in class dev.morphia.mapping.codec.CollectionCodec
- getCodec() - Method in class dev.morphia.mapping.codec.pojo.FieldModel
- getCodecRegistry() - Method in class dev.morphia.mapping.Mapper
- getCollation() - Method in class dev.morphia.query.FindOptions
- getCollection() - Method in class dev.morphia.Key
- getCollection() - Method in class dev.morphia.query.QueryImpl
- getCollection(Class<T>) - Method in interface dev.morphia.Datastore
- getCollection(Class<T>) - Method in class dev.morphia.DatastoreImpl
- getCollectionName() - Method in class dev.morphia.mapping.codec.pojo.EntityModel
- getCollectionName() - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
- getCollectionName() - Method in class dev.morphia.mapping.MappedClass
- getCollectionNaming() - Method in class dev.morphia.mapping.MapperOptions
- getComment() - Method in class dev.morphia.query.FindOptions
- getConventions() - Method in class dev.morphia.mapping.MapperOptions
- getCoordinates() - Method in interface dev.morphia.geo.Geometry
-
Deprecated.Returns a list of coordinates for this Geometry type.
- getCoordinates() - Method in class dev.morphia.geo.LineString
-
Deprecated.
- getCoordinates() - Method in class dev.morphia.geo.MultiLineString
-
Deprecated.
- getCoordinates() - Method in class dev.morphia.geo.MultiPoint
-
Deprecated.
- getCoordinates() - Method in class dev.morphia.geo.MultiPolygon
-
Deprecated.
- getCoordinates() - Method in class dev.morphia.geo.Point
-
Deprecated.
- getCoordinates() - Method in class dev.morphia.geo.Polygon
-
Deprecated.
- getCreator() - Method in class dev.morphia.mapping.MapperOptions
- getCurrentBsonType() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- getCurrentName() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- getCursorType() - Method in class dev.morphia.query.FindOptions
- getDatabase() - Method in interface dev.morphia.Datastore
- getDatabase() - Method in class dev.morphia.DatastoreImpl
- getDatastore() - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
- getDatastore() - Method in class dev.morphia.mapping.codec.PropertyCodec
- getDatastore() - Method in class dev.morphia.query.QueryImpl
- getDatastore() - Method in class dev.morphia.query.UpdateBase
- getDeclaringClass() - Method in class dev.morphia.mapping.MappedField
- getDefaultField() - Method in class dev.morphia.query.BucketOptions
- getDiscriminator() - Method in class dev.morphia.mapping.MapperOptions
- getDiscriminatorKey() - Method in class dev.morphia.mapping.MapperOptions
- getDiscriminatorLookup() - Method in class dev.morphia.mapping.Mapper
- getDistanceField() - Method in class dev.morphia.aggregation.GeoNear
- getDistanceMultiplier() - Method in class dev.morphia.aggregation.GeoNear
- getDocumentId(T) - Method in class dev.morphia.mapping.codec.pojo.MorphiaCodec
- getDocumentValue(Document) - Method in class dev.morphia.mapping.MappedField
- getEmbeddedAnnotation() - Method in class dev.morphia.mapping.MappedClass
- getEncoderClass() - Method in class dev.morphia.geo.GeometryShapeConverter
- getEncoderClass() - Method in class dev.morphia.mapping.codec.ClassCodec
- getEncoderClass() - Method in class dev.morphia.mapping.codec.CollectionCodec
- getEncoderClass() - Method in class dev.morphia.mapping.codec.KeyCodec
- getEncoderClass() - Method in class dev.morphia.mapping.codec.LocaleCodec
- getEncoderClass() - Method in class dev.morphia.mapping.codec.ObjectCodec
- getEncoderClass() - Method in class dev.morphia.mapping.codec.pojo.MorphiaCodec
- getEncoderClass() - Method in class dev.morphia.mapping.codec.pojo.SpecializedMorphiaCodec
- getEncoderClass() - Method in class dev.morphia.mapping.codec.QueryCodec
- getEncoderClass() - Method in class dev.morphia.mapping.codec.references.ReferenceCodec
- getEncoderClass() - Method in class dev.morphia.mapping.codec.URICodec
- getEncoderClass() - Method in class dev.morphia.mapping.experimental.MorphiaReferenceCodec
- getEncoderClass() - Method in class dev.morphia.query.CriteriaContainerCodec
- getEncoderClass() - Method in class dev.morphia.query.FieldCriteriaCodec
- getEntityAnnotation() - Method in class dev.morphia.mapping.MappedClass
- getEntityClass() - Method in class dev.morphia.query.QueryImpl
- getEntityModel() - Method in class dev.morphia.mapping.MappedClass
- getExteriorBoundary() - Method in class dev.morphia.geo.Polygon
-
Deprecated.Returns a LineString representing the exterior boundary of this Polygon.
- getField() - Method in class dev.morphia.mapping.codec.FieldAccessor
- getField() - Method in class dev.morphia.mapping.codec.pojo.FieldMetadata
- getField() - Method in class dev.morphia.mapping.codec.pojo.FieldModel
- getField() - Method in class dev.morphia.mapping.codec.pojo.FieldModelBuilder
- getField() - Method in class dev.morphia.mapping.codec.PropertyCodec
- getField() - Method in class dev.morphia.mapping.MappedField
- getField() - Method in class dev.morphia.query.Meta
- getField() - Method in class dev.morphia.query.Sort
- getFieldMappedClass() - Method in class dev.morphia.mapping.codec.PropertyCodec
- getFieldModel() - Method in class dev.morphia.mapping.MappedField
- getFieldModelBuilders() - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
- getFieldModels() - Method in class dev.morphia.mapping.codec.pojo.EntityModel
-
Returns all the fields on this model
- getFieldModels() - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
- 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
- getFieldNaming() - Method in class dev.morphia.mapping.MapperOptions
- getFields() - Method in class dev.morphia.mapping.MappedClass
- getFields(Class<? extends Annotation>) - Method in class dev.morphia.mapping.MappedClass
-
Returns fields annotated with the clazz
- getFieldsObject() - Method in class dev.morphia.query.QueryImpl
- getFieldValue(Object) - Method in class dev.morphia.mapping.MappedField
-
Gets the value of the field mapped on the instance given.
- getFullConstructor(EntityModel) - Static method in class dev.morphia.mapping.experimental.ConstructorCreator
- getFullName() - Method in class dev.morphia.mapping.MappedField
- getGeometry() - Method in class dev.morphia.query.Shape
- getGranulality() - Method in enum dev.morphia.query.BucketAutoOptions.Granularity
- getGranurality() - Method in class dev.morphia.query.BucketAutoOptions
- getHint() - Method in class dev.morphia.query.FindOptions
- getId() - Method in class dev.morphia.Key
- getId(Mapper, Datastore, MappedClass) - Method in class dev.morphia.mapping.experimental.MapReference
- getId(Object) - Method in class dev.morphia.mapping.Mapper
-
Gets the ID value for an entity
- getIdField() - Method in class dev.morphia.mapping.MappedClass
- getIdPropertyModel() - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
- getIds() - Method in class dev.morphia.mapping.experimental.CollectionReference
- getIds() - Method in class dev.morphia.mapping.experimental.MapReference
- getIds() - Method in class dev.morphia.mapping.experimental.MorphiaReference
- getIds() - Method in class dev.morphia.mapping.experimental.SingleReference
- getIncludeLocations() - Method in class dev.morphia.aggregation.GeoNear
-
This specifies the output field that identifies the location used to calculate the distance.
- getInstance() - Method in class dev.morphia.mapping.experimental.ConstructorCreator
- getInstance() - Method in class dev.morphia.mapping.NoArgCreator
- 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
- getInstanceCreator() - Method in class dev.morphia.mapping.codec.pojo.EntityModel
- getInstanceCreatorFactory() - Method in class dev.morphia.mapping.codec.pojo.EntityModel
- getInterceptors() - Method in class dev.morphia.mapping.Mapper
-
Gets list of
EntityInterceptor
s - getInteriorBoundaries() - Method in class dev.morphia.geo.Polygon
-
Deprecated.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
- 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
-
Deprecated.Return the latitude of this point.
- getLevel() - Method in class dev.morphia.mapping.validation.ConstraintViolation
- getLifecycleMethods() - Method in class dev.morphia.mapping.codec.pojo.EntityModel
- getLimit() - Method in class dev.morphia.aggregation.GeoNear
- getLimit() - Method in class dev.morphia.query.ArraySlice
- getLimit() - Method in class dev.morphia.query.FindOptions
- getLoadNames() - Method in class dev.morphia.mapping.MappedField
- getLoggedQuery() - Method in interface dev.morphia.query.Query
- getLoggedQuery() - Method in class dev.morphia.query.QueryImpl
- getLongitude() - Method in class dev.morphia.geo.Point
-
Deprecated.Return the longitude of this point.
- getMappedClass() - Method in class dev.morphia.mapping.codec.pojo.MorphiaCodec
- getMappedClass(Class) - 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.MappedField
- getMappedName() - Method in class dev.morphia.mapping.codec.pojo.FieldModel
- getMapper() - Method in interface dev.morphia.Datastore
- getMapper() - Method in class dev.morphia.DatastoreImpl
- getMapper() - Method in class dev.morphia.mapping.codec.BaseMorphiaCodec
- getMark() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- getMax() - Method in class dev.morphia.query.FindOptions
- getMaxAwaitTime(TimeUnit) - Method in class dev.morphia.query.FindOptions
- 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.query.CountOptions
- getMaxTime(TimeUnit) - Method in class dev.morphia.query.FindOptions
- getMin() - Method in class dev.morphia.query.FindOptions
- getName() - Method in class dev.morphia.aggregation.Group
- getName() - Method in class dev.morphia.geo.NamedCoordinateReferenceSystem
-
Deprecated.Gets the name of this Coordinate Reference System.
- getName() - Method in class dev.morphia.mapping.codec.pojo.FieldMetadata
- getName() - Method in class dev.morphia.mapping.codec.pojo.FieldModel
- getName() - Method in class dev.morphia.mapping.codec.pojo.FieldModelBuilder
- getName() - Method in enum dev.morphia.query.Meta.MetaDataKeyword
- 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
- getNormalizedType() - Method in class dev.morphia.mapping.codec.pojo.FieldModel
-
Gets the parameterized type of a List or the key type of a Map, e.g.
- getNormalizedType() - Method in class dev.morphia.mapping.MappedField
-
Gets the parameterized type of a List or the key type of a Map, e.g.
- getOperation() - Method in class dev.morphia.aggregation.Accumulator
- getOperationTime() - Method in class dev.morphia.experimental.BaseMorphiaSession
- 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.experimental.BaseMorphiaSession
- getOptions() - Method in class dev.morphia.InsertManyOptions
- getOptions() - Method in class dev.morphia.InsertOneOptions
- getOptions() - Method in class dev.morphia.mapping.Mapper
- getOrder() - Method in class dev.morphia.query.Sort
-
Returns the sort order.
- getOriginator() - Method in class dev.morphia.experimental.BaseMorphiaSession
- getParameterName(Parameter) - Static method in class dev.morphia.mapping.experimental.ConstructorCreator
- getPinnedServerAddress() - Method in class dev.morphia.experimental.BaseMorphiaSession
- getPoints() - Method in class dev.morphia.query.Shape
- getPrefix() - Method in class dev.morphia.mapping.validation.ConstraintViolation
- getProjection() - Method in class dev.morphia.query.FindOptions
- getProjections() - Method in class dev.morphia.aggregation.Group
- getProjections() - Method in class dev.morphia.aggregation.Projection
- getPropertyModels() - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
- 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
- getQueryLogId() - Method in class dev.morphia.query.FindOptions
- getRadius() - Method in class dev.morphia.query.Shape.Center
- getReadPreference() - Method in class dev.morphia.query.FindOptions
- getRecoveryToken() - Method in class dev.morphia.experimental.BaseMorphiaSession
- 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. - getRoot() - Method in class dev.morphia.mapping.codec.DocumentWriter
- getServerSession() - Method in class dev.morphia.experimental.BaseMorphiaSession
- getSession() - Method in interface dev.morphia.Datastore
-
Returns the session this datastore is attached to or null if none is attached.
- getSession() - Method in class dev.morphia.experimental.BaseMorphiaSession
- getSkip() - Method in class dev.morphia.query.ArraySlice
- getSkip() - Method in class dev.morphia.query.FindOptions
- getSort() - Method in class dev.morphia.query.FindOptions
- getSort() - Method in class dev.morphia.query.QueryImpl
- getSource() - Method in class dev.morphia.aggregation.Projection
- getSourceField() - Method in class dev.morphia.aggregation.Group
- getSpecializedCodec(ClassModel<S>, Datastore) - Method in class dev.morphia.mapping.codec.BaseMorphiaCodec
- getSpecializedCodec(ClassModel<S>, Datastore) - Method in class dev.morphia.mapping.codec.pojo.MorphiaCodec
- getSpecializedType() - Method in class dev.morphia.mapping.MappedField
-
If the java field is a list/array/map then the sub-type T is returned (ex.
- getSpherical() - Method in class dev.morphia.aggregation.GeoNear
-
Required if using a 2dsphere index.
- getStages() - Method in class dev.morphia.aggregation.AggregationPipelineImpl
- getSubtypes() - Method in class dev.morphia.mapping.MappedClass
- 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.
- getTarget() - Method in class dev.morphia.aggregation.Projection
- getTransactionOptions() - Method in class dev.morphia.experimental.BaseMorphiaSession
- getType() - Method in class dev.morphia.geo.CoordinateReferenceSystem
-
Deprecated.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
-
Deprecated.
- getType() - Method in class dev.morphia.Key
- getType() - Method in class dev.morphia.mapping.experimental.CollectionReference
- getType() - Method in class dev.morphia.mapping.experimental.MapReference
- getType() - Method in class dev.morphia.mapping.experimental.MorphiaReference
- getType() - Method in class dev.morphia.mapping.experimental.SingleReference
- getType() - Method in class dev.morphia.mapping.MappedClass
- getType() - Method in class dev.morphia.mapping.MappedField
- getType() - Method in class dev.morphia.query.UpdateBase
- getTypeClass() - Method in enum dev.morphia.geo.GeoJsonType
-
Returns a concrete class that implements Geometry, the class that represents this GeoJsonType.
- getTypeData() - Method in class dev.morphia.mapping.codec.pojo.FieldMetadata
- getTypeData() - Method in class dev.morphia.mapping.codec.pojo.FieldModel
- getTypeData() - Method in class dev.morphia.mapping.codec.pojo.FieldModelBuilder
- getTypeData() - Method in class dev.morphia.mapping.codec.PropertyCodec
- getTypeData() - Method in class dev.morphia.mapping.MappedField
- getTypeName() - Method in enum dev.morphia.geo.CoordinateReferenceSystemType
-
Deprecated.Gets the GeoJSON-defined name for the type.
- getTypeParameterMap() - Method in class dev.morphia.mapping.codec.pojo.FieldMetadata
- getTypeParameters() - Method in class dev.morphia.mapping.codec.pojo.FieldMetadata
- getValue() - Method in class dev.morphia.aggregation.Accumulator
- getVersionField() - Method in class dev.morphia.mapping.MappedClass
- getWriteConcern() - Method in class dev.morphia.DeleteOptions
-
Deprecated, for removal: This API element is subject to removal in a future version.use
DeleteOptions.writeConcern()
instead - getWriteConcern() - Method in class dev.morphia.FindAndModifyOptions
-
Deprecated, for removal: This API element is subject to removal in a future version.use
FindAndModifyOptions.writeConcern()
instead - getWriteConcern() - Method in class dev.morphia.InsertManyOptions
-
Deprecated, for removal: This API element is subject to removal in a future version.use
InsertManyOptions.writeConcern()
instead - getWriteConcern() - Method in class dev.morphia.InsertOneOptions
-
Deprecated, for removal: This API element is subject to removal in a future version.use
InsertOneOptions.writeConcern()
instead - getWriteConcern() - Method in class dev.morphia.InsertOptions
-
Deprecated.The write concern to use for the insertion.
- getWriteConcern() - Method in class dev.morphia.UpdateOptions
-
Deprecated, for removal: This API element is subject to removal in a future version.use
UpdateOptions.writeConcern()
instead - getWriteConcern(Class) - Method in class dev.morphia.mapping.Mapper
-
Gets the write concern for entity or returns the default write concern for this datastore
- granularity(BucketAutoOptions.Granularity) - Method in class dev.morphia.query.BucketAutoOptions
-
Define granularity field for the bucketauto stage
- GREATER_THAN - dev.morphia.query.FilterOperator
- GREATER_THAN_OR_EQUAL - dev.morphia.query.FilterOperator
- greaterThan(Object) - Method in interface dev.morphia.query.FieldEnd
-
Checks that a field is greater than the value given
- greaterThan(Object) - Method in class dev.morphia.query.FieldEndImpl
- greaterThanOrEq(Object) - Method in interface dev.morphia.query.FieldEnd
-
Checks that a field is greater than or equal to the value given
- greaterThanOrEq(Object) - Method in class dev.morphia.query.FieldEndImpl
- group(Group...) - Method in interface dev.morphia.aggregation.AggregationPipeline
-
Groups input documents by a specified identifier expression and applies the accumulator expression(s), if specified, to each group .
- group(Group...) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
- group(String, Group...) - Method in interface dev.morphia.aggregation.AggregationPipeline
-
Groups input documents by a specified identifier expression and applies the accumulator expression(s), if specified, to each group.
- group(String, Group...) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
- group(List<Group>, Group...) - Method in interface dev.morphia.aggregation.AggregationPipeline
- group(List<Group>, Group...) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
- Group - Class in dev.morphia.aggregation
-
Defines a group pipeline stage.
- grouping(String) - Static method in class dev.morphia.aggregation.Group
-
Creates a named grouping
- grouping(String, Accumulator) - Static method in class dev.morphia.aggregation.Group
-
Creates a named grouping on a field
- grouping(String, Group) - Static method in class dev.morphia.aggregation.Group
-
Creates a named grouping
- grouping(String, Projection...) - Static method in class dev.morphia.aggregation.Group
-
Creates a named grouping
- grouping(String, String) - Static method in class dev.morphia.aggregation.Group
-
Creates a named grouping on a field
H
- Handler - Annotation Type in dev.morphia.annotations
-
Defines a specific handler for a type above and beyond the codecs
- hasActiveTransaction() - Method in class dev.morphia.experimental.BaseMorphiaSession
- 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.MappedField
-
Indicates whether the annotation is present in the mapping (does not check the java field annotations, just the ones discovered)
- hasAnnotation(Class<? extends Annotation>) - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
- hasAnnotation(Class<? extends Annotation>) - Method in class dev.morphia.mapping.codec.pojo.FieldModelBuilder
-
Checks this field for an annotation of the given type
- 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
- hashCode() - Method in class dev.morphia.geo.GeometryCollection
- hashCode() - Method in class dev.morphia.geo.LineString
-
Deprecated.
- hashCode() - Method in class dev.morphia.geo.MultiLineString
-
Deprecated.
- hashCode() - Method in class dev.morphia.geo.MultiPoint
-
Deprecated.
- hashCode() - Method in class dev.morphia.geo.MultiPolygon
-
Deprecated.
- hashCode() - Method in class dev.morphia.geo.NamedCoordinateReferenceSystem
-
Deprecated.
- hashCode() - Method in class dev.morphia.geo.Point
-
Deprecated.
- hashCode() - Method in class dev.morphia.geo.Polygon
-
Deprecated.
- hashCode() - Method in class dev.morphia.Key
- hashCode() - Method in class dev.morphia.mapping.codec.BsonTypeMap
- hashCode() - Method in class dev.morphia.mapping.codec.pojo.EntityModel
- hashCode() - Method in class dev.morphia.mapping.codec.pojo.FieldModel
- hashCode() - Method in class dev.morphia.mapping.experimental.MorphiaReference
- hashCode() - Method in class dev.morphia.mapping.MappedClass
- hashCode() - Method in class dev.morphia.query.FindOptions
- hashCode() - Method in class dev.morphia.query.QueryImpl
- hasInterceptors() - Method in class dev.morphia.mapping.Mapper
- hasLifecycle(Class<? extends Annotation>) - Method in class dev.morphia.mapping.codec.pojo.EntityModel
- hasLifecycle(Class<? extends Annotation>) - Method in class dev.morphia.mapping.MappedClass
-
Checks if this mapped type has the given lifecycle event defined
- 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
- 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
-
Defines the index hint value
- hint(String) - Method in class dev.morphia.query.FindOptions
-
Defines the index hint value
- hint(Bson) - Method in class dev.morphia.query.CountOptions
- hint(Document) - Method in class dev.morphia.query.CountOptions
-
Defines the index hint value
- hint(Document) - Method in class dev.morphia.query.FindOptions
-
Sets the index hint
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
-
Denotes the ID field on an entity.
- IdDoesNotMix - Class in dev.morphia.mapping.validation.fieldrules
- IdDoesNotMix() - Constructor for class dev.morphia.mapping.validation.fieldrules.IdDoesNotMix
- identity() - Static method in class dev.morphia.mapping.NamingStrategy
-
Defines a naming strategy that returns the value passed
- IdField - Annotation Type in dev.morphia.annotations.experimental
-
Denotes the ID field on an entity.
- IdGetter - Annotation Type in dev.morphia.annotations
-
This annotation allows the lazy-load proxy to return the ID of a referenced entity without reading the reference from the database.
- idOnly() - Method in annotation type dev.morphia.annotations.Reference
- IGNORED_FIELDNAME - Static variable in class dev.morphia.mapping.Mapper
-
Special name that can never be used.
- ignoreFinals(boolean) - Method in class dev.morphia.mapping.MapperOptions.Builder
- ignoreMissing() - Method in annotation type dev.morphia.annotations.Reference
- ignoreMissing() - Method in class dev.morphia.mapping.experimental.MorphiaReference
- ignoreMissing(boolean) - Method in class dev.morphia.mapping.experimental.MorphiaReference
-
Instructs Morphia to ignore missing referenced entities.
- in(Iterable<?>) - Method in interface dev.morphia.query.FieldEnd
-
Synonym for
FieldEnd.hasAnyOf(Iterable)
- in(Iterable<?>) - Method in class dev.morphia.query.FieldEndImpl
- IN - dev.morphia.query.FilterOperator
- inc(String) - Method in class dev.morphia.query.UpdateBase
- inc(String) - Method in interface dev.morphia.query.UpdateOperations
-
Deprecated.Increments the numeric field by 1
- inc(String) - Method in class dev.morphia.query.UpdateOpsImpl
- inc(String) - Method in interface dev.morphia.query.Updates
-
Increments the numeric field by 1
- inc(String, Number) - Method in class dev.morphia.query.UpdateBase
- inc(String, Number) - Method in interface dev.morphia.query.UpdateOperations
-
Deprecated.increments the numeric field by value (negatives are allowed)
- inc(String, Number) - Method in class dev.morphia.query.UpdateOpsImpl
- inc(String, Number) - Method in interface dev.morphia.query.Updates
-
increments the numeric field by value (negatives are allowed)
- INC - dev.morphia.query.UpdateOperator
- Index - Annotation Type in dev.morphia.annotations
-
Defines an index
- Indexed - Annotation Type in dev.morphia.annotations
-
Specified on fields that should be Indexed.
- Indexes - Annotation Type in dev.morphia.annotations
-
Defines indexes for this entity type (on the collection)
- IndexHelper - Class in dev.morphia
-
A helper class for dealing with index definitions
- IndexOptions - Annotation Type in dev.morphia.annotations
-
Defines the options to be used when declaring an index.
- inferLoadNames() - Method in class dev.morphia.mapping.MappedField
- INFO - dev.morphia.mapping.validation.ConstraintViolation.Level
- InOperationValidator - Class in dev.morphia.query.validation
-
Checks if the value can have the
FilterOperator.IN
operator applied to it. - insert(MongoCollection, T, InsertOneOptions) - Method in class dev.morphia.DatastoreImpl
- insert(List<T>) - Method in interface dev.morphia.AdvancedDatastore
-
Inserts entities in to the mapped collection.
- insert(List<T>, InsertManyOptions) - Method in interface dev.morphia.AdvancedDatastore
-
Inserts entities in to the mapped collection.
- insert(List<T>, InsertManyOptions) - Method in class dev.morphia.DatastoreImpl
- insert(List<T>, InsertManyOptions) - Method in class dev.morphia.experimental.MorphiaSessionImpl
- insert(List<T>, InsertOptions) - Method in interface dev.morphia.AdvancedDatastore
-
Deprecated, for removal: This API element is subject to removal in a future version.
- insert(T) - Method in interface dev.morphia.AdvancedDatastore
-
Inserts an entity in to the mapped collection.
- insert(T) - Method in class dev.morphia.DatastoreImpl
- insert(T, InsertOneOptions) - Method in interface dev.morphia.AdvancedDatastore
-
Inserts an entity in to the mapped collection.
- insert(T, InsertOneOptions) - Method in class dev.morphia.DatastoreImpl
- insert(T, InsertOneOptions) - Method in class dev.morphia.experimental.MorphiaSessionImpl
- insert(T, InsertOptions) - Method in interface dev.morphia.AdvancedDatastore
-
Deprecated, for removal: This API element is subject to removal in a future version.
- InsertManyOptions - Class in dev.morphia
-
Options related to insertion of documents into MongoDB.
- InsertManyOptions() - Constructor for class dev.morphia.InsertManyOptions
-
Creates a new options wrapper
- InsertManyOptions(InsertManyOptions) - Constructor for class dev.morphia.InsertManyOptions
- InsertOneOptions - Class in dev.morphia
-
Options related to insertion of documents into MongoDB.
- InsertOneOptions() - Constructor for class dev.morphia.InsertOneOptions
-
Creates a new options wrapper
- InsertOneOptions(InsertOneOptions) - Constructor for class dev.morphia.InsertOneOptions
- InsertOptions - Class in dev.morphia
-
Deprecated, for removal: This API element is subject to removal in a future version.use
InsertOneOptions
orInsertManyOptions
instead - InsertOptions() - Constructor for class dev.morphia.InsertOptions
-
Deprecated.
- InstanceCreatorFactoryImpl<T> - Class in dev.morphia.mapping
- InstanceCreatorFactoryImpl(EntityModel) - Constructor for class dev.morphia.mapping.InstanceCreatorFactoryImpl
-
Creates a factory for this type
- INTEGER_32_BIT - dev.morphia.query.Type
- INTEGER_64_BIT - dev.morphia.query.Type
- IntegerTypeValidator - Class in dev.morphia.query.validation
-
If the Type is some sort of integer-compatible field (see
getTypeClasses
) then this validator will check if the value is of the correct type for this field. - intersects(Geometry) - Method in interface dev.morphia.query.FieldEnd
-
This performs a $geoIntersects query, searching documents containing any sort of GeoJson field and returning those where the given geometry intersects with the document shape.
- intersects(Geometry) - Method in class dev.morphia.query.FieldEndImpl
- intersects(Geometry, CoordinateReferenceSystem) - Method in interface dev.morphia.query.FieldEnd
-
This performs a $geoIntersects query, searching documents containing any sort of GeoJson field and returning those where the given geometry intersects with the document shape.
- intersects(Geometry, CoordinateReferenceSystem) - Method in class dev.morphia.query.FieldEndImpl
- intersects(Geometry) - Method in interface dev.morphia.query.FieldEnd
-
Deprecated, for removal: This API element is subject to removal in a future version.use the driver provided geo types instead
- intersects(Geometry, CoordinateReferenceSystem) - Method in interface dev.morphia.query.FieldEnd
-
Deprecated, for removal: This API element is subject to removal in a future version.Use the driver supplied geo types instead
- INTERSECTS - dev.morphia.query.FilterOperator
- invoke(Object, Method, Object[]) - Method in class dev.morphia.mapping.codec.references.ReferenceProxy
- isAbstract() - Method in class dev.morphia.mapping.MappedClass
-
This is an internal method subject to change without notice.
- isArray() - Method in class dev.morphia.mapping.MappedField
- isCacheClassLookups() - Method in class dev.morphia.mapping.MapperOptions
- isCausallyConsistent() - Method in class dev.morphia.experimental.BaseMorphiaSession
- isFetched() - Method in interface dev.morphia.mapping.codec.references.MorphiaProxy
- isFetched() - Method in class dev.morphia.mapping.codec.references.ReferenceProxy
- isIgnoreFinals() - Method in class dev.morphia.mapping.MapperOptions
- isInterface() - Method in class dev.morphia.mapping.MappedClass
- isLogQuery() - Method in class dev.morphia.query.FindOptions
-
This is an experimental method.
- isMap() - Method in class dev.morphia.mapping.MappedField
- isMappable(Class<T>) - Method in class dev.morphia.mapping.Mapper
-
Checks if a type is mappable or not
- isMapped(Class) - Method in class dev.morphia.mapping.Mapper
-
Checks to see if a Class has been mapped.
- isMapSubPackages() - Method in class dev.morphia.mapping.MapperOptions
- isMulti() - Method in class dev.morphia.DeleteOptions
- isMulti() - Method in class dev.morphia.UpdateOptions
- isMultipleValues() - Method in class dev.morphia.mapping.MappedField
- isNoCursorTimeout() - Method in class dev.morphia.query.FindOptions
- isOplogReplay() - Method in class dev.morphia.query.FindOptions
- isOrdered() - Method in class dev.morphia.InsertManyOptions
-
Gets whether the documents should be inserted in the order provided, stopping on the first failed insertion.
- isOrdered() - Method in class dev.morphia.InsertOptions
-
Deprecated.Gets whether the documents should be inserted in the order provided, stopping on the first failed insertion.
- isPartial() - Method in class dev.morphia.query.FindOptions
- isReference() - Method in class dev.morphia.mapping.MappedField
- isResolved() - Method in class dev.morphia.mapping.experimental.MorphiaReference
- isReturnKey() - Method in class dev.morphia.query.FindOptions
- isScalarValue() - Method in class dev.morphia.mapping.MappedField
- isSet() - Method in class dev.morphia.mapping.MappedField
- isShowRecordId() - Method in class dev.morphia.query.FindOptions
- isStoreEmpties() - Method in class dev.morphia.mapping.MapperOptions
- isStoreNulls() - Method in class dev.morphia.mapping.MapperOptions
- isSuppressed() - Method in class dev.morphia.aggregation.Projection
- isTransient() - Method in class dev.morphia.mapping.MappedField
- isValidatingNames() - Method in class dev.morphia.query.QueryImpl
J
- JAVASCRIPT - dev.morphia.query.Type
- JAVASCRIPT_WITH_SCOPE - dev.morphia.query.Type
K
- kebabCase() - Static method in class dev.morphia.mapping.NamingStrategy
-
Defines a naming strategy that returns kebab case of the value passed
- 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) - Constructor for class dev.morphia.Key
-
Create a key with an id
- Key(Class<? extends T>, String, Object) - Constructor for class dev.morphia.Key
-
Create a key with an id
- KeyCodec - Class in dev.morphia.mapping.codec
-
Defines the codec for Key types
- keys() - Method in interface dev.morphia.query.Query
-
Execute the query and get the results (as a
MorphiaCursor<Key<T>>
) - keys() - Method in class dev.morphia.query.QueryImpl
- keys(FindOptions) - Method in interface dev.morphia.query.Query
-
Execute the query and get the results (as a
MorphiaCursor<Key<T>>
) - keys(FindOptions) - Method in class dev.morphia.query.QueryImpl
- KeyValueTypeValidator - Class in dev.morphia.query.validation
-
This makes sure that the field type and the Key type match.
- knownFields() - Method in class dev.morphia.query.Projection
-
Configure the project to only return known, mapped fields
L
- language() - Method in annotation type dev.morphia.annotations.IndexOptions
- languageOverride() - Method in annotation type dev.morphia.annotations.IndexOptions
- last(String) - Static method in class dev.morphia.aggregation.Group
-
Returns the value that results from applying an expression to the last document in a group of documents that share the same group by a field.
- latitude(double) - Method in class dev.morphia.geo.PointBuilder
-
Deprecated.Add a latitude.
- lazy() - Method in annotation type dev.morphia.annotations.Reference
- LazyFeatureDependencies - Class in dev.morphia.mapping.lazy
-
A utility class for detecting lazy loading support types
- LazyReferenceMissingDependencies - Class in dev.morphia.mapping.validation.fieldrules
- LazyReferenceMissingDependencies() - Constructor for class dev.morphia.mapping.validation.fieldrules.LazyReferenceMissingDependencies
- LazyReferenceOnArray - Class in dev.morphia.mapping.validation.fieldrules
- LazyReferenceOnArray() - Constructor for class dev.morphia.mapping.validation.fieldrules.LazyReferenceOnArray
- legacy() - Static method in class dev.morphia.mapping.MapperOptions
- LESS_THAN - dev.morphia.query.FilterOperator
- LESS_THAN_OR_EQUAL - dev.morphia.query.FilterOperator
- lessThan(Object) - Method in interface dev.morphia.query.FieldEnd
-
Checks that a field is less than the value given
- lessThan(Object) - Method in class dev.morphia.query.FieldEndImpl
- lessThanOrEq(Object) - Method in interface dev.morphia.query.FieldEnd
-
Checks that a field is less than or equal to the value given
- lessThanOrEq(Object) - Method in class dev.morphia.query.FieldEndImpl
- level() - Method in annotation type dev.morphia.annotations.Validation
- level() - Method in class dev.morphia.ValidationBuilder
- level(ValidationLevel) - Method in class dev.morphia.ValidationBuilder
- limit(int) - Method in interface dev.morphia.aggregation.AggregationPipeline
-
Passes the first n documents unmodified to the pipeline where n is the specified limit.
- limit(int) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
- limit(int) - Method in class dev.morphia.query.CountOptions
- limit(int) - Method in class dev.morphia.query.FindOptions
-
Sets the limit
- LINE_STRING - dev.morphia.geo.GeoJsonType
- lineString(Point...) - Static method in class dev.morphia.geo.GeoJson
-
Deprecated.Create a new LineString representing a GeoJSON LineString type.
- LineString - Class in dev.morphia.geo
-
Deprecated, for removal: This API element is subject to removal in a future version.use the driver-provided types instead
- LINK - dev.morphia.geo.CoordinateReferenceSystemType
-
Deprecated.A coordinate reference system that is specified by a dereferenceable URI
- list(Object...) - Static method in class dev.morphia.aggregation.Projection
-
Creates a list projection
- ListReference<T> - Class in dev.morphia.mapping.experimental
- ListReference(Datastore, MappedClass, List) - Constructor for class dev.morphia.mapping.experimental.ListReference
- ListValueValidator - Class in dev.morphia.query.validation
-
Validates Lists.
- locale() - Method in annotation type dev.morphia.annotations.Collation
- LocaleCodec - Class in dev.morphia.mapping.codec
-
Converts a Locale to/from a valid database structure.
- LocaleCodec() - Constructor for class dev.morphia.mapping.codec.LocaleCodec
- logQuery() - Method in class dev.morphia.query.FindOptions
-
This is an experimental method.
- longitude(double) - Method in class dev.morphia.geo.PointBuilder
-
Deprecated.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
- lowerCase() - Static method in class dev.morphia.mapping.NamingStrategy
-
Defines a naming strategy that returns the lowercase form of the value passed
- lowerClassName - Static variable in class dev.morphia.mapping.DiscriminatorFunction
- lowerSimpleName - Static variable in class dev.morphia.mapping.DiscriminatorFunction
M
- map(Mapper, Class) - Method in class dev.morphia.query.Projection
-
Converts this to Document form
- map(Class...) - Method in class dev.morphia.mapping.Mapper
-
Maps a set of classes
- map(List<Class>) - Method in class dev.morphia.mapping.Mapper
-
Maps a set of classes
- MapKeyTypeConstraint - Class in dev.morphia.mapping.validation.fieldrules
-
A constraint to validate key types of Map fields
- MapKeyTypeConstraint() - Constructor for class dev.morphia.mapping.validation.fieldrules.MapKeyTypeConstraint
- mapPackage(String) - Method in class dev.morphia.mapping.Mapper
-
Tries to map all classes in the package specified.
- mapPackageFromClass(Class) - Method in class dev.morphia.mapping.Mapper
-
Maps all the classes found in the package to which the given class belongs.
- MappedClass - Class in dev.morphia.mapping
- MappedClass(EntityModel, Mapper) - Constructor for class dev.morphia.mapping.MappedClass
-
Creates a MappedClass instance
- MappedField - Class in dev.morphia.mapping
- mappedName() - Method in class dev.morphia.mapping.codec.pojo.FieldModelBuilder
- mappedName(String) - Method in class dev.morphia.mapping.codec.pojo.FieldModelBuilder
-
Sets the field's mapped name
- Mapper - Class in dev.morphia.mapping
- Mapper(Datastore, CodecRegistry, MapperOptions) - Constructor for class dev.morphia.mapping.Mapper
-
Creates a Mapper with the given options.
- MapperOptions - Class in dev.morphia.mapping
-
Options to control mapping behavior.
- MapperOptions.Builder - Class in dev.morphia.mapping
-
A builder class for setting mapping options
- MappingException - Exception in dev.morphia.mapping
-
An exception indicating an error mapping a type
- 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
-
Validator for mapped types
- MappingValidator(MorphiaInstanceCreator) - Constructor for class dev.morphia.mapping.validation.MappingValidator
-
Creates a mapping validator
- MapReference<T> - Class in dev.morphia.mapping.experimental
- MapReference(Datastore, Map<String, Object>, MappedClass) - Constructor for class dev.morphia.mapping.experimental.MapReference
- mapSubPackages(boolean) - Method in class dev.morphia.mapping.MapperOptions.Builder
- mark() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
-
Deprecated.
- Mark - Class in dev.morphia.mapping.codec.reader
-
A bookmark for processing Documents
- 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 class dev.morphia.query.UpdateBase
- max(String, Number) - Method in interface dev.morphia.query.UpdateOperations
-
Deprecated.Sets the numeric field to value if it is greater than the current value.
- max(String, Number) - Method in class dev.morphia.query.UpdateOpsImpl
- max(String, Number) - Method in interface dev.morphia.query.Updates
-
Sets the numeric field to value if it is greater than the current value.
- max(Document) - Method in class dev.morphia.query.FindOptions
-
Sets the max index value
- MAX - dev.morphia.query.UpdateOperator
- MAX_KEY - dev.morphia.query.Type
- maxAwaitTime(long, TimeUnit) - Method in class dev.morphia.query.FindOptions
-
Sets the max await time
- maxTime(long, TimeUnit) - Method in class dev.morphia.FindAndModifyOptions
- maxTime(long, TimeUnit) - Method in class dev.morphia.query.CountOptions
- maxTime(long, TimeUnit) - Method in class dev.morphia.query.FindAndDeleteOptions
- maxTime(long, TimeUnit) - Method in class dev.morphia.query.FindOptions
-
Sets the max time
- maxVariable() - Method in annotation type dev.morphia.annotations.Collation
- merge(T) - Method in interface dev.morphia.Datastore
-
Work as if you did an update with each field in the entity doing a $set; Only at the top level of the entity.
- merge(T) - Method in class dev.morphia.DatastoreImpl
- merge(T, WriteConcern) - Method in interface dev.morphia.Datastore
-
Deprecated, for removal: This API element is subject to removal in a future version.
- merge(T, WriteConcern) - Method in class dev.morphia.DatastoreImpl
- merge(T, InsertOneOptions) - 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, InsertOneOptions) - Method in class dev.morphia.DatastoreImpl
- merge(T, InsertOneOptions) - Method in class dev.morphia.experimental.MorphiaSessionImpl
- 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 class dev.morphia.query.UpdateBase
- min(String, Number) - Method in interface dev.morphia.query.UpdateOperations
-
Deprecated.sets the numeric field to value if it is less than the current value.
- min(String, Number) - Method in class dev.morphia.query.UpdateOpsImpl
- min(String, Number) - Method in interface dev.morphia.query.Updates
-
sets the numeric field to value if it is less than the current value.
- min(Document) - Method in class dev.morphia.query.FindOptions
-
Sets the min index value
- MIN - dev.morphia.query.UpdateOperator
- MIN_KEY - dev.morphia.query.Type
- MINOR - dev.morphia.mapping.validation.ConstraintViolation.Level
- mod(long, long) - Method in interface dev.morphia.query.FieldEnd
-
Select documents where the value of a field divided by a divisor has the specified remainder (i.e.
- mod(long, long) - Method in class dev.morphia.query.FieldEndImpl
- mod(Object, Object) - Static method in class dev.morphia.aggregation.Projection
-
Creates a modulo projection
- MOD - dev.morphia.query.FilterOperator
- modify() - Method in interface dev.morphia.query.Query
-
Create a modify operation based on this query
- modify() - Method in class dev.morphia.query.QueryImpl
- modify(UpdateOperations<T>) - Method in interface dev.morphia.query.Query
-
Deprecated, for removal: This API element is subject to removal in a future version.
- modify(UpdateOperations<T>) - Method in class dev.morphia.query.QueryImpl
- Modify<T> - Class in dev.morphia.query
-
Represents a modify operation
- ModOperationValidator - Class in dev.morphia.query.validation
-
Validates queries using the
FilterOperator.MOD
. - Morphia - Class in dev.morphia
-
Entry point for working with Morphia
- MorphiaCodec<T> - Class in dev.morphia.mapping.codec.pojo
- MorphiaCodec(Datastore, CodecRegistry, List<PropertyCodecProvider>, DiscriminatorLookup, MappedClass) - Constructor for class dev.morphia.mapping.codec.pojo.MorphiaCodec
-
Creates the codec
- MorphiaCodec(Datastore, ClassModel<T>, CodecRegistry, PropertyCodecRegistry, DiscriminatorLookup, boolean, MappedClass) - Constructor for class dev.morphia.mapping.codec.pojo.MorphiaCodec
-
Creates the codec
- MorphiaCodecProvider - Class in dev.morphia.mapping.codec
-
Provider for codecs for Morphia entities
- MorphiaCodecProvider(Mapper, Datastore) - Constructor for class dev.morphia.mapping.codec.MorphiaCodecProvider
-
Creates a provider
- MorphiaCollectionPropertyCodecProvider - Class in dev.morphia.mapping.codec
-
A provider for collection types
- MorphiaCollectionPropertyCodecProvider() - Constructor for class dev.morphia.mapping.codec.MorphiaCollectionPropertyCodecProvider
- MorphiaConvention - Interface in dev.morphia.mapping
-
Applies certain conventions specific for Morphia
- MorphiaDefaultsConvention - Class in dev.morphia.mapping
-
A set of conventions to apply to Morphia entities
- MorphiaDefaultsConvention() - Constructor for class dev.morphia.mapping.MorphiaDefaultsConvention
- MorphiaInstanceCreator<T> - Interface in dev.morphia.mapping.codec
-
Marker interface for creators
- MorphiaPropertySerialization - Class in dev.morphia.mapping.codec
-
Determines if a property should be serialized or not
- MorphiaPropertySerialization(MapperOptions, FieldModelBuilder<?>) - Constructor for class dev.morphia.mapping.codec.MorphiaPropertySerialization
- MorphiaProxy - Interface in dev.morphia.mapping.codec.references
- MorphiaReference<T> - Class in dev.morphia.mapping.experimental
-
Wrapper type for references to entities in other collections
- MorphiaReferenceCodec - Class in dev.morphia.mapping.experimental
-
Defines a codec for MorphiaReference values
- MorphiaReferenceCodec(Datastore, Field, TypeData) - Constructor for class dev.morphia.mapping.experimental.MorphiaReferenceCodec
-
Creates a codec
- MorphiaSession - Interface in dev.morphia.experimental
-
Wraps a ClientSession reference for convenient use of MongoDB's multidocument transaction support.
- MorphiaSessionImpl - Class in dev.morphia.experimental
- MorphiaSessionImpl(ClientSession, MongoClient, MongoDatabase, Mapper, QueryFactory) - Constructor for class dev.morphia.experimental.MorphiaSessionImpl
-
Creates a new session.
- MorphiaTransaction<T> - Interface in dev.morphia.transactions.experimental
-
Defines the functional interface for executing statements within a transaction.
- MorphiaTypesCodecProvider - Class in dev.morphia.mapping.codec
-
Defines a provider of codecs for Morphia's types
- MorphiaTypesCodecProvider(Mapper) - Constructor for class dev.morphia.mapping.codec.MorphiaTypesCodecProvider
-
Create the provider
- multi(boolean) - Method in class dev.morphia.DeleteOptions
- multi(boolean) - Method in class dev.morphia.UpdateOptions
-
If true, sets this update to affect all matched documents.
- MULTI_LINE_STRING - dev.morphia.geo.GeoJsonType
- MULTI_POINT - dev.morphia.geo.GeoJsonType
- MULTI_POLYGON - dev.morphia.geo.GeoJsonType
- multiLineString(LineString...) - Static method in class dev.morphia.geo.GeoJson
-
Deprecated.Create a new MultiLineString representing a GeoJSON MultiLineString type.
- MultiLineString - Class in dev.morphia.geo
-
Deprecated, for removal: This API element is subject to removal in a future version.use the driver-provided types instead
- 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
-
Deprecated.Create a new MultiPoint representing a GeoJSON MultiPoint type.
- MultiPoint - Class in dev.morphia.geo
-
Deprecated, for removal: This API element is subject to removal in a future version.use the driver-provided types instead
- multiPolygon(Polygon...) - Static method in class dev.morphia.geo.GeoJson
-
Deprecated.Create a new MultiPolygon representing a GeoJSON MultiPolygon type.
- MultiPolygon - Class in dev.morphia.geo
-
Deprecated, for removal: This API element is subject to removal in a future version.use the driver-provided types instead
N
- name() - Method in annotation type dev.morphia.annotations.IndexOptions
- Name - Annotation Type in dev.morphia.annotations.experimental
-
Defines a name for a constructor parameter.
- NAME - dev.morphia.geo.CoordinateReferenceSystemType
-
Deprecated.A coordinate reference system that is specified by name
- NamedCoordinateReferenceSystem - Class in dev.morphia.geo
-
Deprecated, for removal: This API element is subject to removal in a future version.use the driver-provided types instead
- NamedCoordinateReferenceSystemConverter - Class in dev.morphia.geo
-
Deprecated, for removal: This API element is subject to removal in a future version.use the driver-provided types instead
- NamedCoordinateReferenceSystemConverter() - Constructor for class dev.morphia.geo.NamedCoordinateReferenceSystemConverter
-
Deprecated.
- NamingStrategy - Class in dev.morphia.mapping
-
Defines a naming strategy for use, e.g., in naming collections and fields
- NamingStrategy() - Constructor for class dev.morphia.mapping.NamingStrategy
- naturalAscending() - Static method in class dev.morphia.query.Sort
-
Creates an ascending sort on a field
- naturalDescending() - Static method in class dev.morphia.query.Sort
-
Creates a descending natural sort on a field
- near(double, double) - Method in interface dev.morphia.query.FieldEnd
-
Specifies a point for which a geospatial query returns the documents from nearest to farthest.
- near(double, double) - Method in class dev.morphia.query.FieldEndImpl
- near(double, double, boolean) - Method in interface dev.morphia.query.FieldEnd
-
Specifies a point for which a geospatial query returns the documents from nearest to farthest.
- near(double, double, boolean) - Method in class dev.morphia.query.FieldEndImpl
- near(double, double, double) - Method in interface dev.morphia.query.FieldEnd
-
Specifies a point for which a geospatial query returns the documents from nearest to farthest.
- near(double, double, double) - Method in class dev.morphia.query.FieldEndImpl
- near(double, double, double, boolean) - Method in interface dev.morphia.query.FieldEnd
-
Specifies a point for which a geospatial query returns the documents from nearest to farthest.
- near(double, double, double, boolean) - Method in class dev.morphia.query.FieldEndImpl
- near(Point) - Method in interface dev.morphia.query.FieldEnd
-
This runs a $near query to check for documents geographically close to the given Point - this Point represents a GeoJSON point type.
- near(Point) - Method in class dev.morphia.query.FieldEndImpl
- near(Point, Double, Double) - Method in interface dev.morphia.query.FieldEnd
-
Specifies a point for which a geospatial query returns the documents from nearest to farthest.
- near(Point, Double, Double) - Method in class dev.morphia.query.FieldEndImpl
- near(Point) - Method in interface dev.morphia.query.FieldEnd
-
Deprecated, for removal: This API element is subject to removal in a future version.Use the driver supplied geo types instead
- near(Point, Double, Double) - Method in interface dev.morphia.query.FieldEnd
-
Deprecated, for removal: This API element is subject to removal in a future version.Use the driver supplied geo types instead
- NEAR - dev.morphia.query.FilterOperator
- NEAR_SPHERE - dev.morphia.query.FilterOperator
- nearSphere(Point) - Method in interface dev.morphia.query.FieldEnd
-
Specifies a point for which a geospatial query returns the documents from nearest to farthest.
- nearSphere(Point) - Method in class dev.morphia.query.FieldEndImpl
- nearSphere(Point, Double, Double) - Method in interface dev.morphia.query.FieldEnd
-
Specifies a point for which a geospatial query returns the documents from nearest to farthest.
- nearSphere(Point, Double, Double) - Method in class dev.morphia.query.FieldEndImpl
- nearSphere(Point) - Method in interface dev.morphia.query.FieldEnd
-
Deprecated, for removal: This API element is subject to removal in a future version.Use the driver supplied geo types instead
- nearSphere(Point, Double, Double) - Method in interface dev.morphia.query.FieldEnd
-
Deprecated, for removal: This API element is subject to removal in a future version.Use the driver supplied geo types instead
- newQuery(Class<T>) - Method in class dev.morphia.DatastoreImpl
- newQuery(Class<T>, Document) - Method in class dev.morphia.DatastoreImpl
- NoArgCreator<E> - Class in dev.morphia.mapping
- NoArgCreator(Constructor<E>) - Constructor for class dev.morphia.mapping.NoArgCreator
-
Creates the creator
- noCursorTimeout(boolean) - Method in class dev.morphia.query.FindOptions
-
Sets whether to disable cursor time out
- NoId - Class in dev.morphia.mapping.validation.classrules
- NoId() - Constructor for class dev.morphia.mapping.validation.classrules.NoId
- normalization() - Method in annotation type dev.morphia.annotations.Collation
- normalize(TypeData<?>) - Static method in class dev.morphia.mapping.codec.pojo.FieldModel
-
Gets the parameterized type of a TypeData
- not() - Method in interface dev.morphia.query.FieldEnd
-
Negates the criteria applied to the field
- not() - Method in class dev.morphia.query.FieldEndImpl
- NOT - dev.morphia.query.FilterOperator
- NOT_EQUAL - dev.morphia.query.FilterOperator
- NOT_IN - dev.morphia.query.FilterOperator
- notEqual(Object) - Method in interface dev.morphia.query.FieldEnd
-
Checks that a field doesn't equal a value
- notEqual(Object) - Method in class dev.morphia.query.FieldEndImpl
- notifyMessageSent() - Method in class dev.morphia.experimental.BaseMorphiaSession
- notIn(Iterable<?>) - Method in interface dev.morphia.query.FieldEnd
-
Synonym for
FieldEnd.hasNoneOf(Iterable)
- 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. - NULL - dev.morphia.query.Type
- numericOrdering() - Method in annotation type dev.morphia.annotations.Collation
O
- OBJECT - dev.morphia.query.Type
- OBJECT_ID - dev.morphia.query.Type
- ObjectCodec - Class in dev.morphia.mapping.codec
-
Defines a generic codec for Objects that will attempt to discover and use the correct codec.
- ObjectCodec(Mapper) - Constructor for class dev.morphia.mapping.codec.ObjectCodec
-
Creates a codec
- objectFactory(MorphiaInstanceCreator) - Method in class dev.morphia.mapping.MapperOptions.Builder
- ObjectFactory - Interface in dev.morphia
-
The ObjectFactory is used by morphia to create instances of classes which can be customized to fit a particular applications needs.
- ONE_TWO_FIVE - dev.morphia.query.BucketAutoOptions.Granularity
- OperationValidator - Class in dev.morphia.query.validation
-
Extend this abstract class to provide a way of validating part of a query that contains a
FilterOperator
. - OperationValidator() - Constructor for class dev.morphia.query.validation.OperationValidator
- oplogReplay(boolean) - Method in class dev.morphia.query.FindOptions
-
Users should not set this under normal circumstances.
- options() - Method in annotation type dev.morphia.annotations.Index
- options() - Method in annotation type dev.morphia.annotations.Indexed
- options() - Method in annotation type dev.morphia.annotations.Text
- options() - Static method in class dev.morphia.query.PushOptions
-
Helper method to create a PushOptions instance
- or(Criteria...) - Method in interface dev.morphia.query.CriteriaContainer
-
Ors Criteria with this CriteriaContainer.
- or(Criteria...) - Method in class dev.morphia.query.CriteriaContainerImpl
- or(Criteria...) - Method in interface dev.morphia.query.Query
-
Creates a container to hold 'or' clauses
- or(Criteria...) - Method in class dev.morphia.query.QueryImpl
- OR - dev.morphia.query.CriteriaJoin
- order(Meta) - Method in interface dev.morphia.query.Query
-
Sorts based on a metadata (defines return order).
- order(Meta) - Method in class dev.morphia.query.QueryImpl
- order(Sort...) - Method in interface dev.morphia.query.Query
-
Sorts based on a specified sort keys (defines return order).
- order(Sort...) - Method in class dev.morphia.query.QueryImpl
- ordered(boolean) - Method in class dev.morphia.InsertManyOptions
-
Sets whether the server should insert the documents in the order provided.
- ordered(boolean) - Method in class dev.morphia.InsertOptions
-
Deprecated.Sets whether the server should insert the documents in the order provided.
- out(Class<U>) - Method in interface dev.morphia.aggregation.AggregationPipeline
-
Places the output of the aggregation in the collection mapped by the target type using the default options as defined in
AggregationOptions
. - out(Class<U>) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
- out(Class<U>, AggregationOptions) - Method in interface dev.morphia.aggregation.AggregationPipeline
-
Places the output of the aggregation in the collection mapped by the target type.
- out(Class<U>, AggregationOptions) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
- out(String, Class<U>) - Method in interface dev.morphia.aggregation.AggregationPipeline
-
Places the output of the aggregation in the collection mapped by the target type using the default options as defined in
AggregationOptions
. - out(String, Class<U>) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
- out(String, Class<U>, AggregationOptions) - Method in interface dev.morphia.aggregation.AggregationPipeline
-
Places the output of the aggregation in the collection mapped by the target type.
- out(String, Class<U>, AggregationOptions) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
- output(String) - Method in class dev.morphia.query.BucketAutoOptions
-
Define output field for the bucketauto stage
- output(String) - Method in class dev.morphia.query.BucketOptions
-
Define output field for the bucket stage
- OutputOperation(String) - Constructor for class dev.morphia.query.BucketAutoOptions.OutputOperation
-
Creates the output operation for given fieldname
- OutputOperation(String) - Constructor for class dev.morphia.query.BucketOptions.OutputOperation
-
Creates the output operation for given fieldname
P
- partial(boolean) - Method in class dev.morphia.query.FindOptions
-
Get partial results from a sharded cluster if one or more shards are unreachable (instead of throwing an error).
- partialFilter() - Method in annotation type dev.morphia.annotations.IndexOptions
- PatternValueValidator - Class in dev.morphia.query.validation
-
Validates query values that are Pattern to check the field type is a String.
- peekBinarySize() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- peekBinarySubType() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- pipe(BsonReader) - Method in class dev.morphia.mapping.codec.DocumentWriter
- Point - Class in dev.morphia.geo
-
Deprecated, for removal: This API element is subject to removal in a future version.use the driver-provided types instead
- POINT - dev.morphia.geo.GeoJsonType
- pointBuilder() - Static method in class dev.morphia.geo.PointBuilder
-
Deprecated.Convenience method to return a new PointBuilder.
- PointBuilder - Class in dev.morphia.geo
-
Deprecated, for removal: This API element is subject to removal in a future version.use the driver-provided types instead
- PointBuilder() - Constructor for class dev.morphia.geo.PointBuilder
-
Deprecated.
- polygon(Point...) - Static method in class dev.morphia.query.Shape
-
Specifies a polygon for a geospatial $geoWithin query on legacy coordinate pairs.
- polygon(LineString, LineString...) - Static method in class dev.morphia.geo.GeoJson
-
Deprecated.Lets you create a Polygon representing a GeoJSON Polygon type.
- polygon(Point...) - Static method in class dev.morphia.geo.GeoJson
-
Deprecated.Create a new Polygon representing a GeoJSON Polygon type.
- Polygon - Class in dev.morphia.geo
-
Deprecated, for removal: This API element is subject to removal in a future version.use the driver-provided types instead
- POLYGON - dev.morphia.geo.GeoJsonType
- POP - dev.morphia.query.UpdateOperator
- position(int) - Method in class dev.morphia.query.PushOptions
-
Sets the position for the update
- postLoad(Object, Document, Mapper) - Method in interface dev.morphia.EntityInterceptor
- PostLoad - Annotation Type in dev.morphia.annotations
-
Called after the data has been loaded into the java object.
- postPersist(Object, Document, Mapper) - Method in interface dev.morphia.EntityInterceptor
- PostPersist - Annotation Type in dev.morphia.annotations
-
Called after the data has been persisted from the java object.
- POWERSOF2 - dev.morphia.query.BucketAutoOptions.Granularity
- preLoad(Object, Document, Mapper) - Method in interface dev.morphia.EntityInterceptor
- PreLoad - Annotation Type in dev.morphia.annotations
-
Called before the data has been loaded from the datastore.
- prepareQuery() - Method in class dev.morphia.query.QueryImpl
-
Converts the query to a Document and updates for any discriminator values as my be necessary
- prePersist(Object, Document, Mapper) - Method in interface dev.morphia.EntityInterceptor
- PrePersist - Annotation Type in dev.morphia.annotations
-
Called before the data has been persisted to the datastore (before mapping is done).
- PrimitiveCodecProvider - Class in dev.morphia.mapping.codec
-
A provider of codecs for primitive types
- PrimitiveCodecProvider(CodecRegistry) - Constructor for class dev.morphia.mapping.codec.PrimitiveCodecProvider
-
Creates the provider
- processId(Object, Mapper, DecoderContext) - Static method in class dev.morphia.mapping.codec.references.ReferenceCodec
-
Decodes an ID value
- project(Projection...) - Method in interface dev.morphia.aggregation.AggregationPipeline
-
Reshapes each document in the stream, such as by adding new fields or removing existing fields.
- project(Projection...) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
- project(Meta) - Method in interface dev.morphia.query.Query
-
Deprecated, for removal: This API element is subject to removal in a future version.
- project(Meta) - Method in class dev.morphia.query.QueryImpl
- project(String, boolean) - Method in interface dev.morphia.query.Query
-
Deprecated, for removal: This API element is subject to removal in a future version.
- project(String, boolean) - Method in class dev.morphia.query.QueryImpl
- project(String, ArraySlice) - Method in interface dev.morphia.query.Query
-
Deprecated, for removal: This API element is subject to removal in a future version.
- project(String, ArraySlice) - Method in class dev.morphia.query.QueryImpl
- projection() - Method in class dev.morphia.query.FindOptions
- projection(String) - Static method in class dev.morphia.aggregation.Projection
-
Creates a projection on a field
- projection(String, Projection, Projection...) - Static method in class dev.morphia.aggregation.Projection
-
Creates a projection on a field with subsequent projects applied.
- projection(String, String) - Static method in class dev.morphia.aggregation.Projection
-
Creates a projection on a field and renames it
- projection(Bson) - Method in class dev.morphia.FindAndModifyOptions
- projection(Bson) - Method in class dev.morphia.query.FindAndDeleteOptions
- Projection - Class in dev.morphia.aggregation
-
Defines a projection for use in aggregation
- Projection - Class in dev.morphia.query
-
Defines a query projection
- Property - Annotation Type in dev.morphia.annotations
-
Optional annotation for specifying persistence behavior
- PropertyCodec<T> - Class in dev.morphia.mapping.codec
-
Defines codecs for properties
- PropertyCodec(Datastore, Field, TypeData) - Constructor for class dev.morphia.mapping.codec.PropertyCodec
-
Creates a codec
- PropertyHandler - Interface in dev.morphia.mapping.codec.pojo
- pull(String, Object) - Method in class dev.morphia.query.UpdateBase
- pull(String, Object) - Method in interface dev.morphia.query.Updates
-
removes the value from the array field
- PULL - dev.morphia.query.UpdateOperator
- PULL_ALL - dev.morphia.query.UpdateOperator
- pullAll(String, List<?>) - Method in class dev.morphia.query.UpdateBase
- pullAll(String, List<?>) - Method in interface dev.morphia.query.Updates
-
removes the values from the array field
- 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 class dev.morphia.query.UpdateBase
- push(String, Object) - Method in interface dev.morphia.query.UpdateOperations
-
Deprecated.Adds new values to an array field.
- push(String, Object) - Method in class dev.morphia.query.UpdateOpsImpl
- push(String, Object) - Method in interface dev.morphia.query.Updates
-
Adds new values to an array field.
- push(String, Object, PushOptions) - Method in class dev.morphia.query.UpdateBase
- push(String, Object, PushOptions) - Method in interface dev.morphia.query.UpdateOperations
-
Deprecated.Adds new values to an array field at the given position
- push(String, Object, PushOptions) - Method in class dev.morphia.query.UpdateOpsImpl
- push(String, Object, PushOptions) - Method in interface dev.morphia.query.Updates
-
Adds new values to an array field at the given position
- push(String, List<?>) - Method in class dev.morphia.query.UpdateBase
- push(String, List<?>) - Method in interface dev.morphia.query.UpdateOperations
-
Deprecated.Adds new values to an array field.
- push(String, List<?>) - Method in class dev.morphia.query.UpdateOpsImpl
- push(String, List<?>) - Method in interface dev.morphia.query.Updates
-
Adds new values to an array field.
- push(String, List<?>, PushOptions) - Method in class dev.morphia.query.UpdateBase
- push(String, List<?>, PushOptions) - Method in interface dev.morphia.query.UpdateOperations
-
Deprecated.Adds new values to an array field at the given position
- push(String, List<?>, PushOptions) - Method in class dev.morphia.query.UpdateOpsImpl
- push(String, List<?>, PushOptions) - Method in interface dev.morphia.query.Updates
-
Adds new values to an array field at the given position
- PUSH - dev.morphia.query.UpdateOperator
- PUSH_ALL - dev.morphia.query.UpdateOperator
- PushOptions - Class in dev.morphia.query
-
The options to apply to a $push update operator.
- PushOptions() - Constructor for class dev.morphia.query.PushOptions
-
Creates an empty options class
Q
- Query<T> - Interface in dev.morphia.query
- queryByExample(String, T) - Method in interface dev.morphia.AdvancedDatastore
-
Returns a new query based on the example object
- queryByExample(String, T) - Method in class dev.morphia.DatastoreImpl
- 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
- QueryCodec - Class in dev.morphia.mapping.codec
-
Defines a codec for Query instances
- QueryCodec(Mapper) - Constructor for class dev.morphia.mapping.codec.QueryCodec
-
Creates a codec
- 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
Query
ies. - QueryImpl<T> - Class in dev.morphia.query
-
Implementation of Query
- QueryImpl(Class<T>, Datastore) - Constructor for class dev.morphia.query.QueryImpl
-
Creates a Query for the given type and collection
R
- R10 - dev.morphia.query.BucketAutoOptions.Granularity
- R20 - dev.morphia.query.BucketAutoOptions.Granularity
- R40 - dev.morphia.query.BucketAutoOptions.Granularity
- R5 - dev.morphia.query.BucketAutoOptions.Granularity
- R80 - dev.morphia.query.BucketAutoOptions.Granularity
- readBinaryData() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readBinaryData(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readBoolean() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readBoolean(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readBsonType() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readConcern() - Method in class dev.morphia.query.CountOptions
-
Returns the readConcern
- readConcern(ReadConcern) - Method in class dev.morphia.query.CountOptions
-
Sets the readConcern
- readDateTime() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readDateTime(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readDBPointer() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readDBPointer(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readDecimal128() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readDecimal128(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readDouble() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readDouble(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readEndArray() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readEndDocument() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readInt32() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readInt32(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readInt64() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readInt64(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readJavaScript() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readJavaScript(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readJavaScriptWithScope() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readJavaScriptWithScope(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readMaxKey() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readMaxKey(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readMinKey() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readMinKey(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readName() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readName(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readNull() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readNull(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readObjectId() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readObjectId(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readPreference() - Method in class dev.morphia.query.CountOptions
-
Returns the readPreference
- readPreference(ReadPreference) - Method in class dev.morphia.query.CountOptions
-
Sets the readPreference
- readPreference(ReadPreference) - Method in class dev.morphia.query.FindOptions
-
Sets the read preference to apply
- readRegularExpression() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readRegularExpression(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readStartArray() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readStartDocument() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readString() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readString(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readSymbol() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readSymbol(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readTimestamp() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readTimestamp(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readUndefined() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- readUndefined(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- Reference - Annotation Type in dev.morphia.annotations
- ReferenceCodec - Class in dev.morphia.mapping.codec.references
- ReferenceCodec(Datastore, Field, TypeData) - Constructor for class dev.morphia.mapping.codec.references.ReferenceCodec
-
Creates a codec
- ReferenceException - Exception in dev.morphia.mapping.lazy.proxy
-
An exception for use with references.
- ReferenceException(String) - Constructor for exception dev.morphia.mapping.lazy.proxy.ReferenceException
-
Creates a ReferenceException with the given message
- ReferenceProxy - Class in dev.morphia.mapping.codec.references
-
The proxy for lazy references.
- ReferenceToUnidentifiable - Class in dev.morphia.mapping.validation.fieldrules
- ReferenceToUnidentifiable() - Constructor for class dev.morphia.mapping.validation.fieldrules.ReferenceToUnidentifiable
- refToKey(DBRef) - Method in class dev.morphia.mapping.Mapper
-
Converts a DBRef to a Key
- REGULAR_EXPRESSION - dev.morphia.query.Type
- remove() - Method in interface dev.morphia.query.Query
-
Deletes elements matching this query
- remove(DeleteOptions) - Method in interface dev.morphia.query.Query
-
Deletes documents matching this query.
- remove(DeleteOptions) - Method in class dev.morphia.query.QueryImpl
- remove(Criteria) - Method in interface dev.morphia.query.CriteriaContainer
-
Removes Criteria to this container
- remove(Criteria) - Method in class dev.morphia.query.CriteriaContainerImpl
- remove(Criteria) - Method in class dev.morphia.query.QueryImpl
- remove(String, boolean) - Method in class dev.morphia.query.UpdateBase
- remove(String, boolean) - Method in class dev.morphia.query.UpdateOpsImpl
- removeAll(String, Object) - Method in class dev.morphia.query.UpdateBase
- removeAll(String, Object) - Method in interface dev.morphia.query.UpdateOperations
-
Deprecated.removes the value from the array field
- removeAll(String, Object) - Method in class dev.morphia.query.UpdateOpsImpl
- removeAll(String, Object) - Method in interface dev.morphia.query.Updates
-
Deprecated, for removal: This API element is subject to removal in a future version.use
Updates.pull(String, Object)
instead - removeAll(String, List<?>) - Method in class dev.morphia.query.UpdateBase
- removeAll(String, List<?>) - Method in interface dev.morphia.query.UpdateOperations
-
Deprecated.removes the values from the array field
- removeAll(String, List<?>) - Method in class dev.morphia.query.UpdateOpsImpl
- removeAll(String, List<?>) - Method in interface dev.morphia.query.Updates
-
Deprecated, for removal: This API element is subject to removal in a future version.use
Updates.pullAll(String, List)
instead - removeFirst(String) - Method in class dev.morphia.query.UpdateBase
- removeFirst(String) - Method in interface dev.morphia.query.UpdateOperations
-
Deprecated.removes the first value from the array
- removeFirst(String) - Method in class dev.morphia.query.UpdateOpsImpl
- removeFirst(String) - Method in interface dev.morphia.query.Updates
-
removes the first value from the array
- removeLast(String) - Method in class dev.morphia.query.UpdateBase
- removeLast(String) - Method in interface dev.morphia.query.UpdateOperations
-
Deprecated.removes the last value from the array
- removeLast(String) - Method in class dev.morphia.query.UpdateOpsImpl
- removeLast(String) - Method in interface dev.morphia.query.Updates
-
removes the last value from the array
- render() - Method in class dev.morphia.mapping.validation.ConstraintViolation
- reset() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
-
Deprecated.
- reset() - Method in class dev.morphia.mapping.codec.reader.Mark
-
Resets the reader to place indicated by this Mark
- resolve() - Method in class dev.morphia.mapping.experimental.MorphiaReference
- retrieveKnownFields() - Method in interface dev.morphia.query.Query
-
Deprecated, for removal: This API element is subject to removal in a future version.
- retrieveKnownFields() - Method in class dev.morphia.query.QueryImpl
- returnDocument(ReturnDocument) - Method in class dev.morphia.FindAndModifyOptions
- returnKey(boolean) - Method in class dev.morphia.query.FindOptions
-
Sets if only the key value should be returned
S
- sample(int) - Method in interface dev.morphia.aggregation.AggregationPipeline
-
Randomly selects the specified number of documents from the previous pipeline stage.
- sample(int) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
- save(Iterable<T>) - Method in interface dev.morphia.Datastore
-
Deprecated, for removal: This API element is subject to removal in a future version.
- save(Iterable<T>, InsertOptions) - Method in interface dev.morphia.Datastore
-
Deprecated, for removal: This API element is subject to removal in a future version.use
Datastore.save(List, InsertManyOptions)
instead - save(List<T>) - Method in interface dev.morphia.Datastore
-
Saves the entities (Objects) and updates the @Id field
- save(List<T>, InsertManyOptions) - Method in interface dev.morphia.Datastore
-
Saves the entities (Objects) and updates the @Id field
- save(List<T>, InsertManyOptions) - Method in class dev.morphia.DatastoreImpl
- save(List<T>, InsertManyOptions) - Method in class dev.morphia.experimental.MorphiaSessionImpl
- save(T) - Method in interface dev.morphia.Datastore
-
Saves an entity (Object) and updates the @Id field
- save(T) - Method in class dev.morphia.DatastoreImpl
- save(T, InsertOneOptions) - Method in interface dev.morphia.Datastore
-
Saves an entity (Object) and updates the @Id field
- save(T, InsertOneOptions) - Method in class dev.morphia.DatastoreImpl
- save(T, InsertOneOptions) - Method in class dev.morphia.experimental.MorphiaSessionImpl
- save(T, InsertOptions) - Method in interface dev.morphia.Datastore
-
Deprecated, for removal: This API element is subject to removal in a future version.use
#save(T, InsertOneOptions)
instead - saveDocument(T, MongoCollection<T>, InsertOneOptions) - Method in class dev.morphia.DatastoreImpl
- search(String) - Method in interface dev.morphia.query.Query
-
Perform a text search on the content of the fields indexed with a text index..
- search(String) - Method in class dev.morphia.query.QueryImpl
- search(String, String) - Method in interface dev.morphia.query.Query
-
Perform a text search on the content of the fields indexed with a text index..
- search(String, String) - Method in class dev.morphia.query.QueryImpl
- set(Object) - Method in class dev.morphia.query.UpdateBase
- set(Object) - Method in interface dev.morphia.query.Updates
-
sets the entity value to completely replace the stored document
- set(Object, Object) - Method in class dev.morphia.mapping.codec.ArrayFieldAccessor
- set(Object, Object) - Method in class dev.morphia.mapping.codec.FieldAccessor
- set(String, Object) - Method in class dev.morphia.query.UpdateBase
- set(String, Object) - Method in interface dev.morphia.query.UpdateOperations
-
Deprecated.sets the field value
- set(String, Object) - Method in class dev.morphia.query.UpdateOpsImpl
- set(String, Object) - Method in interface dev.morphia.query.Updates
-
sets the field value
- set(S, PropertyModel<S>) - Method in class dev.morphia.mapping.experimental.ConstructorCreator
- set(S, PropertyModel<S>) - Method in class dev.morphia.mapping.NoArgCreator
- SET - dev.morphia.query.UpdateOperator
- SET_ON_INSERT - dev.morphia.query.UpdateOperator
- setAttachedTo(CriteriaContainer) - Method in class dev.morphia.query.AbstractCriteria
-
Sets the parents CriteriaContainer for this Criteria
- setCollection(String) - Method in class dev.morphia.Key
-
Sets the collection name.
- setDistanceMultiplier(Double) - Method in class dev.morphia.aggregation.GeoNear.GeoNearBuilder
-
The factor to multiply all distances returned by the query.
- setFieldValue(Object, Object) - Method in class dev.morphia.mapping.MappedField
-
Sets the value for the java field
- setIncludeLocations(String) - Method in class dev.morphia.aggregation.GeoNear.GeoNearBuilder
-
This specifies the output field that identifies the location used to calculate the distance.
- setLimit(Long) - Method in class dev.morphia.aggregation.GeoNear.GeoNearBuilder
-
The maximum number of documents to return.
- setMapper(Mapper) - Method in class dev.morphia.DatastoreImpl
-
Sets the Mapper this Datastore uses
- 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.
- setNear(Point) - Method in class dev.morphia.aggregation.GeoNear.GeoNearBuilder
-
Deprecated, for removal: This API element is subject to removal in a future version.use the driver-provided types instead
- setOnInsert(String, Object) - Method in class dev.morphia.query.UpdateBase
- setOnInsert(String, Object) - Method in interface dev.morphia.query.UpdateOperations
-
Deprecated.sets the field on insert.
- setOnInsert(String, Object) - Method in class dev.morphia.query.UpdateOpsImpl
- setOnInsert(String, Object) - Method in interface dev.morphia.query.Updates
-
sets the field on insert.
- setOps(Document) - Method in class dev.morphia.query.UpdateOpsImpl
-
Sets the operations for this UpdateOpsImpl
- setOptions(MapperOptions) - Method in class dev.morphia.mapping.Mapper
-
Deprecated, for removal: This API element is subject to removal in a future version.no longer used
- setPinnedServerAddress(ServerAddress) - Method in class dev.morphia.experimental.BaseMorphiaSession
- 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
- setQueryObject(Document) - Method in class dev.morphia.query.QueryImpl
-
Sets query structure directly
- setRecoveryToken(BsonDocument) - Method in class dev.morphia.experimental.BaseMorphiaSession
- SetReference<T> - Class in dev.morphia.mapping.experimental
- SetReference(Datastore, MappedClass, List) - Constructor for class dev.morphia.mapping.experimental.SetReference
- setSpherical(Boolean) - Method in class dev.morphia.aggregation.GeoNear.GeoNearBuilder
-
If true, MongoDB references points using a spherical surface.
- setType(Class<? extends T>) - Method in class dev.morphia.Key
-
Sets the type of the entity for this Key
- SEVERE - dev.morphia.mapping.validation.ConstraintViolation.Level
- Shape - Class in dev.morphia.query
-
This encapsulates the data necessary to define a shape for queries.
- Shape.Center - Class in dev.morphia.query
- shouldSerialize(Object) - Method in class dev.morphia.mapping.codec.MorphiaPropertySerialization
- shouldSpecialize(ClassModel<T1>) - Method in class dev.morphia.mapping.codec.BaseMorphiaCodec
- showRecordId(boolean) - Method in class dev.morphia.query.FindOptions
-
Sets if the record ID should be returned
- simpleName - Static variable in class dev.morphia.mapping.DiscriminatorFunction
- SingleReference<T> - Class in dev.morphia.mapping.experimental
- SingleReference(Datastore, MappedClass, Object) - Constructor for class dev.morphia.mapping.experimental.SingleReference
- size(Object) - Static method in class dev.morphia.aggregation.Projection
-
Counts and returns the total the number of items in an array
- SIZE - dev.morphia.query.FilterOperator
- sizeEq(int) - Method in interface dev.morphia.query.FieldEnd
-
Checks the size of a field.
- sizeEq(int) - Method in class dev.morphia.query.FieldEndImpl
- SizeOperationValidator - Class in dev.morphia.query.validation
-
Checks if the value can have the
FilterOperator.ALL
operator applied to it. - skip(int) - Method in interface dev.morphia.aggregation.AggregationPipeline
-
Skips the first n documents where n is the specified skip number and passes the remaining documents unmodified to the pipeline.
- skip(int) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
- skip(int) - Method in class dev.morphia.query.CountOptions
- skip(int) - Method in class dev.morphia.query.FindOptions
-
Sets how many documents to skip
- skipName() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- skipValue() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- slice(int) - Method in class dev.morphia.query.PushOptions
-
Sets the slice value for the update
- snakeCase() - Static method in class dev.morphia.mapping.NamingStrategy
-
Defines a naming strategy that returns snake case of the value passed
- sort(int) - Method in class dev.morphia.query.PushOptions
-
Sets the sort value for the update
- sort(Sort...) - Method in interface dev.morphia.aggregation.AggregationPipeline
-
Reorders the document stream by a specified sort key.
- sort(Sort...) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
- sort(String, int) - Method in class dev.morphia.query.PushOptions
-
Sets the sort value for the update
- sort(Bson) - Method in class dev.morphia.FindAndModifyOptions
- sort(Bson) - Method in class dev.morphia.query.FindAndDeleteOptions
- sort(Document) - Method in class dev.morphia.query.FindAndDeleteOptions
- sort(Document) - Method in class dev.morphia.query.FindOptions
-
Sets to the sort to use
- 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.
- sortByCount(String) - Method in interface dev.morphia.aggregation.AggregationPipeline
-
Groups incoming documents based on the value of a specified expression, then computes the count of documents in each distinct group.
- sortByCount(String) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
- sparse() - Method in annotation type dev.morphia.annotations.IndexOptions
- specialize() - Method in class dev.morphia.mapping.codec.BaseMorphiaCodec
- SpecializedMorphiaCodec<T> - Class in dev.morphia.mapping.codec.pojo
-
A specialized form of a codec
- startSession() - Method in interface dev.morphia.Datastore
-
Starts a new session on the server.
- startSession() - Method in class dev.morphia.DatastoreImpl
- startSession(ClientSessionOptions) - Method in interface dev.morphia.Datastore
-
Starts a new session on the server.
- startSession(ClientSessionOptions) - Method in class dev.morphia.DatastoreImpl
- 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
- startTransaction() - Method in class dev.morphia.experimental.BaseMorphiaSession
- startTransaction(TransactionOptions) - Method in class dev.morphia.experimental.BaseMorphiaSession
- storeEmpties(boolean) - Method in class dev.morphia.mapping.MapperOptions.Builder
- storeNulls(boolean) - Method in class dev.morphia.mapping.MapperOptions.Builder
- strength() - Method in annotation type dev.morphia.annotations.Collation
- STRING - dev.morphia.query.Type
- subtract(Object, Object) - Static method in class dev.morphia.aggregation.Projection
-
Creates a subtraction projection
- sum(Object) - Method in class dev.morphia.query.BucketAutoOptions.OutputOperation
-
Calculates and returns the sum of all the numeric values that result from applying a specified expression to each document in a group of documents that share the same group by key.
- sum(Object) - Method in class dev.morphia.query.BucketOptions.OutputOperation
-
Calculates and returns the sum of all the numeric values that result from applying a specified expression to each document in a group of documents that share the same group by key.
- sum(String) - Static method in class dev.morphia.aggregation.Group
-
Calculates and returns the sum of all the numeric values that result from applying a specified expression to each document in a group of documents that share the same group by key.
- suppress() - Method in class dev.morphia.aggregation.Projection
-
Marks this field to be suppressed from the output of this stage
- SYMBOL - dev.morphia.query.Type
T
- Text - Annotation Type in dev.morphia.annotations
-
Marks this field for inclusion in text indexing.
- textScore - dev.morphia.query.Meta.MetaDataKeyword
- textScore() - Static method in class dev.morphia.query.Meta
-
factory method for textScore metaDataKeyword
- textScore(String) - Static method in class dev.morphia.query.Meta
- TIMESTAMP - dev.morphia.query.Type
- toBsonDocument(Class<TDocument>, CodecRegistry) - Method in class dev.morphia.UpdateDocument
- toDocument() - Method in class dev.morphia.aggregation.Accumulator
- toDocument() - Method in class dev.morphia.query.BucketAutoOptions
-
Converts a BucketAutoOptions to a Document for use by the Java driver.
- toDocument() - Method in class dev.morphia.query.BucketOptions
-
Converts a BucketOptions to a Document for use by the Java driver.
- toDocument() - Method in interface dev.morphia.query.Criteria
- toDocument() - Method in class dev.morphia.query.CriteriaContainerImpl
- toDocument() - Method in class dev.morphia.query.QueryImpl
- toDocument() - Method in class dev.morphia.query.UpdateBase
- toDocument() - Method in class dev.morphia.query.WhereCriteria
- toDocument(Object) - Method in class dev.morphia.mapping.Mapper
-
Converts an entity (POJO) to a Document.
- toMongoObjects(MappedField, List<?>) - Method in class dev.morphia.query.UpdateOpsImpl
- 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
-
Deprecated.
- toString() - Method in class dev.morphia.geo.MultiLineString
-
Deprecated.
- toString() - Method in class dev.morphia.geo.MultiPoint
-
Deprecated.
- toString() - Method in class dev.morphia.geo.MultiPolygon
-
Deprecated.
- toString() - Method in class dev.morphia.geo.NamedCoordinateReferenceSystem
-
Deprecated.
- toString() - Method in class dev.morphia.geo.Point
-
Deprecated.
- toString() - Method in class dev.morphia.geo.Polygon
-
Deprecated.
- toString() - Method in class dev.morphia.Key
- toString() - Method in class dev.morphia.mapping.codec.DocumentWriter
- toString() - Method in class dev.morphia.mapping.codec.pojo.EntityModel
- toString() - Method in class dev.morphia.mapping.codec.pojo.FieldModel
- toString() - Method in class dev.morphia.mapping.codec.pojo.FieldModelBuilder
- toString() - Method in class dev.morphia.mapping.MappedClass
- toString() - Method in class dev.morphia.mapping.MappedField
- toString() - Method in class dev.morphia.mapping.validation.classrules.FieldEnumString
- toString() - Method in class dev.morphia.query.CriteriaContainerImpl
- toString() - Method in enum dev.morphia.query.CriteriaJoin
- toString() - Method in class dev.morphia.query.FindOptions
- toString() - Method in class dev.morphia.query.QueryImpl
- toString() - Method in class dev.morphia.query.UpdateBase
- toString() - Method in class dev.morphia.query.validation.ValidationFailure
- Transient - Annotation Type in dev.morphia.annotations
- type() - Method in annotation type dev.morphia.annotations.Field
- type(Type) - Method in interface dev.morphia.query.FieldEnd
-
Checks the type of a field
- type(Type) - Method in class dev.morphia.query.FieldEndImpl
- Type - Enum in dev.morphia.query
-
Defines BSON types for use in querying against field types.
- TYPE - dev.morphia.query.FilterOperator
- typeData(TypeData<T>) - Method in class dev.morphia.mapping.codec.pojo.FieldModelBuilder
-
Sets the type data
- TypeValidator - Class in dev.morphia.query.validation
-
Extend this class to provide specific validation for field types for query validation.
- TypeValidator() - Constructor for class dev.morphia.query.validation.TypeValidator
U
- UNDEFINED - dev.morphia.query.Type
- unique() - Method in annotation type dev.morphia.annotations.IndexOptions
- unset(String) - Method in class dev.morphia.query.UpdateBase
- unset(String) - Method in interface dev.morphia.query.UpdateOperations
-
Deprecated.removes the field
- unset(String) - Method in class dev.morphia.query.UpdateOpsImpl
- unset(String) - Method in interface dev.morphia.query.Updates
-
removes the field
- UNSET - dev.morphia.query.UpdateOperator
- unwind(String) - Method in interface dev.morphia.aggregation.AggregationPipeline
-
Deconstructs an array field from the input documents to output a document for each element.
- unwind(String) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
- unwind(String, UnwindOptions) - Method in interface dev.morphia.aggregation.AggregationPipeline
-
Deconstructs an array field from the input documents to output a document for each element.
- unwind(String, UnwindOptions) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
- unwrap() - Method in interface dev.morphia.mapping.codec.references.MorphiaProxy
- unwrap() - Method in class dev.morphia.mapping.codec.references.ReferenceProxy
- update() - Method in class dev.morphia.mapping.MappedClass
-
Update mappings based on fields/annotations.
- update() - Method in interface dev.morphia.query.Query
-
Creates an update operation based on this query
- update() - Method in class dev.morphia.query.QueryImpl
- update(Query<T>, UpdateOperations<T>) - Method in interface dev.morphia.Datastore
-
Deprecated, for removal: This API element is subject to removal in a future version.use
Query.update()
instead. Please note the default has changed from multi- to single- document updates. - update(Query<T>, UpdateOperations<T>, UpdateOptions) - Method in interface dev.morphia.Datastore
-
Deprecated, for removal: This API element is subject to removal in a future version.use
Query.update()
instead - update(UpdateOperations) - Method in interface dev.morphia.query.Query
-
Deprecated, for removal: This API element is subject to removal in a future version.
- update(UpdateOperations) - Method in class dev.morphia.query.QueryImpl
-
Deprecated, for removal: This API element is subject to removal in a future version.
- update(Document) - Method in interface dev.morphia.query.Query
- update(Document) - Method in class dev.morphia.query.QueryImpl
-
Deprecated, for removal: This API element is subject to removal in a future version.
- Update<T> - Class in dev.morphia.query
-
Defines an update operation
- UpdateBase<T,Updater extends Updates> - Class in dev.morphia.query
- 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
- UpdateDocument - Class in dev.morphia
-
Document used to send update statements to the driver.
- UpdateDocument(T) - Constructor for class dev.morphia.UpdateDocument
-
Creates an UpdateDocument for the entity
- 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
- UpdateOperations<T> - Interface in dev.morphia.query
-
Deprecated, for removal: This API element is subject to removal in a future version.updates should be performed using the
Query.update()
instead of this class directly - UpdateOperator - Enum in dev.morphia.query
- UpdateOpsImpl<T> - Class in dev.morphia.query
- UpdateOpsImpl(Class<T>, Mapper) - Constructor for class dev.morphia.query.UpdateOpsImpl
-
Creates an UpdateOpsImpl for the type given.
- UpdateOptions - Class in dev.morphia
-
The options to apply when updating documents in the MongoCollection
- UpdateOptions() - Constructor for class dev.morphia.UpdateOptions
- Updates<Updater extends Updates> - Interface in dev.morphia.query
-
Defines the update operations available
- upsert(boolean) - Method in class dev.morphia.FindAndModifyOptions
- upsert(boolean) - Method in class dev.morphia.UpdateOptions
- URICodec - Class in dev.morphia.mapping.codec
-
Defines a codec for URIs
- URICodec() - Constructor for class dev.morphia.mapping.codec.URICodec
- useDiscriminator() - Method in annotation type dev.morphia.annotations.Embedded
- useDiscriminator() - Method in annotation type dev.morphia.annotations.Entity
- useLowerCaseCollectionNames(boolean) - Method in class dev.morphia.mapping.MapperOptions.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.
V
- val() - Method in enum dev.morphia.query.FilterOperator
- val() - Method in enum dev.morphia.query.Type
- val() - Method in enum dev.morphia.query.UpdateOperator
- validate(MappedField, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.AllOperationValidator
- validate(MappedField, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.ExistsOperationValidator
- validate(MappedField, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.GeoWithinOperationValidator
- validate(MappedField, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.InOperationValidator
- validate(MappedField, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.ModOperationValidator
- validate(MappedField, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.NotInOperationValidator
- validate(MappedField, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.OperationValidator
-
Performs the actual validation, and assumes
appliesTo
has returned true - validate(MappedField, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.SizeOperationValidator
- validate(Mapper) - Method in class dev.morphia.mapping.MappedClass
-
Validates this MappedClass
- validate(Mapper, MappedClass) - Method in class dev.morphia.mapping.validation.MappingValidator
- validate(Class<?>, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.DefaultTypeValidator
- validate(Class<?>, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.DoubleTypeValidator
- validate(Class<?>, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.EntityAnnotatedValueValidator
- validate(Class<?>, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.IntegerTypeValidator
- validate(Class<?>, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.KeyValueTypeValidator
- validate(Class<?>, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.ListValueValidator
- validate(Class<?>, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.LongTypeValidator
- validate(Class<?>, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.PatternValueValidator
- validate(Class<?>, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.TypeValidator
- validate(Class<?>, Object, List<ValidationFailure>) - Method in class dev.morphia.query.validation.ValueValidator
- Validation - Annotation Type in dev.morphia.annotations
-
Defines the document validation logic for a collection.
- ValidationBuilder - Class in dev.morphia
-
This is an internal class subject to change and removal.
- ValidationBuilder() - Constructor for class dev.morphia.ValidationBuilder
- ValidationException - Exception in dev.morphia.query
-
Error during validation.
- ValidationException(String) - Constructor for exception dev.morphia.query.ValidationException
-
Creates a ValidationException with a message and a cause
- ValidationException(String, Throwable) - Constructor for exception dev.morphia.query.ValidationException
-
Creates a ValidationException with a message and a cause
- ValidationFailure - Class in dev.morphia.query.validation
-
Represents a validation failure.
- ValidationFailure(String) - Constructor for class dev.morphia.query.validation.ValidationFailure
-
Creates a ValidationFailure with a message
- Validator - Interface in dev.morphia.query.validation
-
Marker interface for validators.
- value() - Method in annotation type dev.morphia.annotations.AlsoLoad
- value() - Method in annotation type dev.morphia.annotations.CappedAt
- value() - Method in annotation type dev.morphia.annotations.Converters
-
Deprecated.
- value() - Method in annotation type dev.morphia.annotations.Embedded
-
Deprecated, for removal: This API element is subject to removal in a future version.
- value() - Method in annotation type dev.morphia.annotations.Entity
- value() - Method in annotation type dev.morphia.annotations.EntityListeners
- value() - Method in annotation type dev.morphia.annotations.experimental.IdField
- value() - Method in annotation type dev.morphia.annotations.experimental.Name
- value() - Method in annotation type dev.morphia.annotations.Field
- value() - Method in annotation type dev.morphia.annotations.Handler
- value() - Method in annotation type dev.morphia.annotations.Indexed
- value() - Method in annotation type dev.morphia.annotations.Indexes
- value() - Method in annotation type dev.morphia.annotations.Property
- value() - Method in annotation type dev.morphia.annotations.Reference
- value() - Method in annotation type dev.morphia.annotations.Text
- value() - Method in annotation type dev.morphia.annotations.Validation
- value() - Method in annotation type dev.morphia.annotations.Version
- value() - Method in class dev.morphia.ValidationBuilder
- value(String) - Method in class dev.morphia.ValidationBuilder
- valueOf(String) - Static method in enum dev.morphia.geo.CoordinateReferenceSystemType
-
Deprecated.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.query.BucketAutoOptions.Granularity
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum dev.morphia.query.CriteriaJoin
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum dev.morphia.query.FilterOperator
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum dev.morphia.query.Meta.MetaDataKeyword
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum dev.morphia.query.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum dev.morphia.query.UpdateOperator
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum dev.morphia.geo.CoordinateReferenceSystemType
-
Deprecated.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.query.BucketAutoOptions.Granularity
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum dev.morphia.query.CriteriaJoin
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum dev.morphia.query.FilterOperator
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum dev.morphia.query.Meta.MetaDataKeyword
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum dev.morphia.query.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum dev.morphia.query.UpdateOperator
-
Returns an array containing the constants of this enum type, in the order they are declared.
- ValueValidator - Class in dev.morphia.query.validation
-
Provides validation based on the Value in the query
- ValueValidator() - Constructor for class dev.morphia.query.validation.ValueValidator
- verifyName(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
- 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
-
A constraint to validate any versioning field on a type
- VersionMisuse(MorphiaInstanceCreator) - Constructor for class dev.morphia.mapping.validation.fieldrules.VersionMisuse
-
Creates a version validator.
W
- WARNING - dev.morphia.mapping.validation.ConstraintViolation.Level
- weight() - Method in annotation type dev.morphia.annotations.Field
- where(String) - Method in interface dev.morphia.query.Query
-
Limit the query using this javascript block; only one per query
- where(String) - Method in class dev.morphia.query.QueryImpl
- WHERE - dev.morphia.query.FilterOperator
- WhereCriteria - Class in dev.morphia.query
-
Creates a Criteria for a $where clause.
- WhereCriteria(String) - Constructor for class dev.morphia.query.WhereCriteria
-
Creates a WhereCriteria with the given javascript
- within(MultiPolygon) - Method in interface dev.morphia.query.FieldEnd
-
This runs the $geoWithin query, returning documents with GeoJson fields whose area falls within the given boundaries.
- within(MultiPolygon) - Method in class dev.morphia.query.FieldEndImpl
- within(MultiPolygon, CoordinateReferenceSystem) - Method in interface dev.morphia.query.FieldEnd
-
This runs the $geoWithin query, returning documents with GeoJson fields whose area falls within the given boundaries.
- within(MultiPolygon, CoordinateReferenceSystem) - Method in class dev.morphia.query.FieldEndImpl
- within(Polygon) - Method in interface dev.morphia.query.FieldEnd
-
This runs the $geoWithin query, returning documents with GeoJson fields whose area falls within the given boundary.
- within(Polygon) - Method in class dev.morphia.query.FieldEndImpl
- within(Polygon, CoordinateReferenceSystem) - Method in interface dev.morphia.query.FieldEnd
-
This runs the $geoWithin query, returning documents with GeoJson fields whose area falls within the given boundary.
- within(Polygon, CoordinateReferenceSystem) - Method in class dev.morphia.query.FieldEndImpl
- within(MultiPolygon) - Method in interface dev.morphia.query.FieldEnd
-
Deprecated, for removal: This API element is subject to removal in a future version.Use the driver supplied geo types instead
- within(MultiPolygon, CoordinateReferenceSystem) - Method in interface dev.morphia.query.FieldEnd
-
Deprecated, for removal: This API element is subject to removal in a future version.Use the driver supplied geo types instead
- within(Polygon) - Method in interface dev.morphia.query.FieldEnd
-
Deprecated, for removal: This API element is subject to removal in a future version.Use the driver supplied geo types instead
- within(Polygon, CoordinateReferenceSystem) - Method in interface dev.morphia.query.FieldEnd
-
Deprecated, for removal: This API element is subject to removal in a future version.Use the driver supplied geo types instead
- within(Shape) - Method in interface dev.morphia.query.FieldEnd
-
This implements the $geoWithin operator and is only compatible with mongo 2.4 or greater.
- within(Shape) - Method in class dev.morphia.query.FieldEndImpl
- WITHIN_BOX - dev.morphia.query.FilterOperator
- WITHIN_CIRCLE - dev.morphia.query.FilterOperator
- WITHIN_CIRCLE_SPHERE - dev.morphia.query.FilterOperator
- withTransaction(TransactionBody<T>) - Method in class dev.morphia.experimental.BaseMorphiaSession
- withTransaction(TransactionBody<T>, TransactionOptions) - Method in class dev.morphia.experimental.BaseMorphiaSession
- withTransaction(ClientSessionOptions, MorphiaTransaction<T>) - Method in interface dev.morphia.Datastore
- withTransaction(ClientSessionOptions, MorphiaTransaction<T>) - Method in class dev.morphia.DatastoreImpl
- withTransaction(MorphiaTransaction<T>) - Method in interface dev.morphia.Datastore
- withTransaction(MorphiaTransaction<T>) - Method in class dev.morphia.DatastoreImpl
- wrap(V) - Static method in class dev.morphia.mapping.experimental.MorphiaReference
-
Wraps an value in a MorphiaReference to storing on an entity
- writeBinaryData(String, BsonBinary) - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeBinaryData(BsonBinary) - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeBoolean(boolean) - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeBoolean(String, boolean) - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeConcern() - Method in class dev.morphia.DeleteOptions
-
The write concern to use for the delete.
- writeConcern() - Method in class dev.morphia.FindAndModifyOptions
- writeConcern() - Method in class dev.morphia.InsertManyOptions
-
The write concern to use for the insertion.
- writeConcern() - Method in class dev.morphia.InsertOneOptions
-
The write concern to use for the insertion.
- writeConcern() - Method in class dev.morphia.query.FindAndDeleteOptions
- writeConcern() - Method in class dev.morphia.UpdateOptions
-
The write concern to use for the insertion.
- writeConcern(WriteConcern) - Method in class dev.morphia.DeleteOptions
-
Sets the write concern
- writeConcern(WriteConcern) - Method in class dev.morphia.FindAndModifyOptions
- writeConcern(WriteConcern) - Method in class dev.morphia.InsertManyOptions
-
Set the write concern to use for the insert.
- writeConcern(WriteConcern) - Method in class dev.morphia.InsertOneOptions
-
Set the write concern to use for the insert.
- writeConcern(WriteConcern) - Method in class dev.morphia.InsertOptions
-
Deprecated.Set the write concern to use for the insert.
- writeConcern(WriteConcern) - Method in class dev.morphia.query.FindAndDeleteOptions
-
Sets the write concern
- writeConcern(WriteConcern) - Method in class dev.morphia.UpdateOptions
-
Sets the write concern
- writeDateTime(long) - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeDateTime(String, long) - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeDBPointer(String, BsonDbPointer) - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeDBPointer(BsonDbPointer) - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeDecimal128(String, Decimal128) - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeDecimal128(Decimal128) - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeDouble(double) - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeDouble(String, double) - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeEndArray() - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeEndDocument() - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeInt32(int) - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeInt32(String, int) - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeInt64(long) - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeInt64(String, long) - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeJavaScript(String) - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeJavaScript(String, String) - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeJavaScriptWithScope(String) - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeJavaScriptWithScope(String, String) - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeMaxKey() - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeMaxKey(String) - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeMinKey() - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeMinKey(String) - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeName(String) - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeNull() - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeNull(String) - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeObjectId(String, ObjectId) - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeObjectId(ObjectId) - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeRegularExpression(String, BsonRegularExpression) - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeRegularExpression(BsonRegularExpression) - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeStartArray() - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeStartArray(String) - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeStartDocument() - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeStartDocument(String) - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeString(String) - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeString(String, String) - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeSymbol(String) - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeSymbol(String, String) - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeTimestamp(String, BsonTimestamp) - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeTimestamp(BsonTimestamp) - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeUndefined() - Method in class dev.morphia.mapping.codec.DocumentWriter
- writeUndefined(String) - Method in class dev.morphia.mapping.codec.DocumentWriter
All Classes All Packages