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

A

abs(Expression) - Static method in class dev.morphia.aggregation.expressions.MathExpressions
Returns the absolute value of a number.
AbstractCriteria - Class in dev.morphia.query
Deprecated, for removal: This API element is subject to removal in a future version.
AbstractCriteria() - Constructor for class dev.morphia.query.AbstractCriteria
Deprecated.
 
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
Deprecated, for removal: This API element is subject to removal in a future version.
implement QueryFactory directly
AbstractQueryFactory() - Constructor for class dev.morphia.query.AbstractQueryFactory
Deprecated.
 
accessor() - Method in class dev.morphia.mapping.codec.pojo.PropertyModelBuilder
 
accessor(PropertyAccessor<? super Object>) - Method in class dev.morphia.mapping.codec.pojo.PropertyModelBuilder
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(String, String, List<Expression>, String) - Static method in class dev.morphia.aggregation.expressions.AccumulatorExpressions
Returns an array of unique expression values for each group.
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.
AccumulatorExpressions - Class in dev.morphia.aggregation.expressions
Defines helper methods for accumulator expressions
acos(Expression) - Static method in class dev.morphia.aggregation.expressions.TrigonometryExpressions
Returns the inverse cosine (arc cosine) of a value in radians.
acosh(Expression) - Static method in class dev.morphia.aggregation.expressions.TrigonometryExpressions
Returns the inverse hyperbolic cosine (hyperbolic arc cosine) of a value in radians.
action() - Method in annotation type dev.morphia.annotations.Validation
 
add(Expression) - Method in class dev.morphia.aggregation.expressions.BooleanExpressions.LogicalExpression
Adds a new expression to this LogicalExpression.
add(Expression) - Method in class dev.morphia.aggregation.expressions.ObjectExpressions.MergeObjects
Adds an expression to be merged
add(Expression, Expression...) - Static method in class dev.morphia.aggregation.expressions.MathExpressions
Adds numbers together or adds numbers and a date.
add(Criteria...) - Method in interface dev.morphia.query.CriteriaContainer
Deprecated.
Adds Criteria to this container
add(Criteria...) - Method in class dev.morphia.query.CriteriaContainerImpl
Deprecated.
 
add(Criteria...) - Method in class dev.morphia.query.LegacyQuery
Deprecated.
 
add(Filter) - Method in class dev.morphia.query.filters.LogicalFilter
Adds a new filter to this LogicalFilter.
add(UpdateOperator) - Method in class dev.morphia.query.UpdateBase
Adds a new operator to this update operation.
add(Object...) - Static method in class dev.morphia.aggregation.Projection
Deprecated.
Creates an addition projection
addCodec(Codec<T>) - Method in class dev.morphia.mapping.codec.MorphiaTypesCodecProvider
 
addConvention(MorphiaConvention) - Method in class dev.morphia.mapping.MapperOptions.Builder
Deprecated.
Adds a custom convention to the list to be applied to all new MorphiaModels.
addCriteria(FilterOperator, Object) - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
addCriteria(FilterOperator, Object, boolean) - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
addFields() - Static method in class dev.morphia.aggregation.stages.AddFields
Creates a new AddFields stage
addFields(AddFields) - Method in interface dev.morphia.aggregation.Aggregation
Adds new fields to documents.
addFields(AddFields) - Method in class dev.morphia.aggregation.AggregationImpl
 
AddFields - Class in dev.morphia.aggregation.stages
Adds new fields to documents.
AddFields() - Constructor for class dev.morphia.aggregation.stages.AddFields
 
AddFieldsCodec - Class in dev.morphia.aggregation.codecs.stages
 
AddFieldsCodec(Datastore) - Constructor for class dev.morphia.aggregation.codecs.stages.AddFieldsCodec
 
addGeoCriteria(FilterOperator, Object, Map<String, Object>) - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
addInterceptor(EntityListener<?>) - Method in class dev.morphia.mapping.Mapper
Deprecated, for removal: This API element is subject to removal in a future version.
use EntityListeners to define any lifecycle event listeners
addModel(EntityModel) - Method in class dev.morphia.mapping.DiscriminatorLookup
Adds a model to the map
addProperty() - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
Adds a property to the model
addStage(Stage) - Method in interface dev.morphia.aggregation.Aggregation
Adds a custom stage to this pipeline.
addStage(Stage) - Method in class dev.morphia.aggregation.AggregationImpl
 
addToSet(Expression) - Static method in class dev.morphia.aggregation.expressions.AccumulatorExpressions
Returns an array of unique expression values for each group.
addToSet(String) - Static method in class dev.morphia.aggregation.Group
Deprecated.
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
Deprecated.
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
Deprecated.
Returns an array of all unique values that results from applying an expression to each document in a group of documents that share the same group by key.
addToSet(String, Iterable<?>) - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
adds the values to an array field if they doesn't already exist in the array
addToSet(String, Iterable<?>) - Method in class dev.morphia.query.UpdateOpsImpl
Deprecated.
 
addToSet(String, Iterable<?>) - Method in interface dev.morphia.query.Updates
adds the values to an array field if they doesn't already exist in the array
addToSet(String, Object) - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
adds the value to an array field if it doesn't already exist in the array
addToSet(String, Object) - Method in class dev.morphia.query.UpdateOpsImpl
Deprecated.
 
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, Object) - Static method in class dev.morphia.query.updates.UpdateOperators
The $addToSet operator adds a value to an array unless the value is already present, in which case $addToSet does nothing to that array.
addToSet(String, List<?>) - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
adds the values to an array field if they doesn't already exist in the array
addToSet(String, List<?>) - Method in class dev.morphia.query.UpdateOpsImpl
Deprecated.
 
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
addToSet(String, List<?>) - Static method in class dev.morphia.query.updates.UpdateOperators
The $addToSet operator adds a value to an array unless the value is already present, in which case $addToSet does nothing to that array.
AddToSetOperator - Class in dev.morphia.query.updates
Defines the $addToSet operator
AddToSetOperator(String, Object) - Constructor for class dev.morphia.query.updates.AddToSetOperator
 
addTypeParameter(TypeData<S>) - Method in class dev.morphia.mapping.codec.pojo.TypeData.Builder
Adds a type parameter
AdvancedDatastore - Interface in dev.morphia
Deprecated, for removal: This API element is subject to removal in a future version. 
aggregate(Class<T>) - Method in interface dev.morphia.Datastore
Returns a new query bound to the kind (a specific MongoCollection)
aggregate(Class<U>) - Method in interface dev.morphia.aggregation.AggregationPipeline
Deprecated.
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
Deprecated.
 
aggregate(Class<U>, AggregationOptions) - Method in interface dev.morphia.aggregation.AggregationPipeline
Deprecated.
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
Deprecated.
 
aggregate(Class<U>, AggregationOptions, ReadPreference) - Method in interface dev.morphia.aggregation.AggregationPipeline
Deprecated.
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
Deprecated.
 
aggregate(String) - Method in interface dev.morphia.Datastore
Returns a new query bound to the kind (a specific MongoCollection)
aggregate(String, Class<U>, AggregationOptions, ReadPreference) - Method in interface dev.morphia.aggregation.AggregationPipeline
Deprecated.
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
Deprecated.
 
aggregation(Aggregation<?>) - Method in class dev.morphia.aggregation.stages.Stage
 
Aggregation<T> - Interface in dev.morphia.aggregation
 
AggregationCodecProvider - Class in dev.morphia.aggregation.codecs
 
AggregationCodecProvider(Datastore) - Constructor for class dev.morphia.aggregation.codecs.AggregationCodecProvider
 
AggregationException - Exception in dev.morphia.aggregation
Indicates a failure in a pipeline execution
AggregationException(String) - Constructor for exception dev.morphia.aggregation.AggregationException
Creates an exception with a message
AggregationException(String, Exception) - Constructor for exception dev.morphia.aggregation.AggregationException
Creates an exception with a message and a cause
AggregationImpl<T> - Class in dev.morphia.aggregation
 
AggregationImpl(DatastoreImpl, MongoCollection<T>) - Constructor for class dev.morphia.aggregation.AggregationImpl
Creates an instance.
AggregationImpl(DatastoreImpl, Class<T>, MongoCollection<T>) - Constructor for class dev.morphia.aggregation.AggregationImpl
Creates an instance.
AggregationOptions - Class in dev.morphia.aggregation
Defines options to be applied to an aggregation pipeline.
AggregationOptions() - Constructor for class dev.morphia.aggregation.AggregationOptions
 
AggregationPipeline - Interface in dev.morphia.aggregation
Deprecated, for removal: This API element is subject to removal in a future version.
use Aggregation instead
AggregationPipelineImpl - Class in dev.morphia.aggregation
Deprecated, for removal: This API element is subject to removal in a future version. 
AggregationPipelineImpl(Datastore, MongoCollection, Class) - Constructor for class dev.morphia.aggregation.AggregationPipelineImpl
Deprecated.
Creates an AggregationPipeline
all(String, Object) - Static method in class dev.morphia.query.filters.Filters
Matches arrays that contain all elements specified in the query.
ALL - dev.morphia.query.FilterOperator
Deprecated.
 
allChangesForCluster() - Method in class dev.morphia.aggregation.stages.ChangeStream
 
allChangesForCluster(Boolean) - Method in class dev.morphia.aggregation.stages.ChangeStream
Sets whether the change stream should include all changes in the cluster.
allElementsTrue(Expression, Expression...) - Static method in class dev.morphia.aggregation.expressions.SetExpressions
Returns true if no element of a set evaluates to false, otherwise, returns false.
allowDiskUse() - Method in class dev.morphia.aggregation.AggregationOptions
Deprecated, for removal: This API element is subject to removal in a future version.
allowDiskUse(boolean) - Method in class dev.morphia.aggregation.AggregationOptions
Enables writing to temporary files.
allowDiskUse(Boolean) - Method in class dev.morphia.query.FindOptions
Enables writing to temporary files on the server.
allUsers(boolean) - Method in class dev.morphia.aggregation.stages.CurrentOp
If set to false, $currentOp will only report on operations/idle connections/idle cursors/idle sessions belonging to the user who ran the command.
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
alternateName(String) - Method in class dev.morphia.mapping.codec.pojo.PropertyModelBuilder
Adds an alternate name
alternateNames() - Method in class dev.morphia.mapping.codec.pojo.PropertyModelBuilder
 
and() - Static method in class dev.morphia.aggregation.expressions.BooleanExpressions
Evaluates one or more expressions and returns true if all the expressions are true or if evoked with no argument expressions.
and(Expression, Expression...) - Static method in class dev.morphia.aggregation.expressions.BooleanExpressions
Evaluates one or more expressions and returns true if all the expressions are true or if evoked with no argument expressions.
and(Criteria...) - Method in interface dev.morphia.query.CriteriaContainer
Deprecated.
Ands Criteria with this CriteriaContainer.
and(Criteria...) - Method in class dev.morphia.query.CriteriaContainerImpl
Deprecated.
 
and(Criteria...) - Method in class dev.morphia.query.LegacyQuery
Deprecated.
 
and(Criteria...) - Method in interface dev.morphia.query.Query
Deprecated, for removal: This API element is subject to removal in a future version.
and(Filter...) - Static method in class dev.morphia.query.filters.Filters
Applies $and to a set of filters
and(String, int) - Static method in class dev.morphia.query.updates.UpdateOperators
The $bit operator performs a bitwise update of a field.
AND - dev.morphia.query.CriteriaJoin
Deprecated.
 
annotation(Annotation) - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
Adds an annotation
annotation(Annotation) - Method in class dev.morphia.mapping.codec.pojo.PropertyModelBuilder
Adds an annotation
annotations() - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
 
annotations() - Method in class dev.morphia.mapping.codec.pojo.PropertyModelBuilder
Returns the read annotations, to be applied when serializing to BSON
annotations(List<Annotation>) - Method in class dev.morphia.mapping.codec.pojo.PropertyModelBuilder
Sets the annotations
anyElementTrue(Expression, Expression...) - Static method in class dev.morphia.aggregation.expressions.SetExpressions
Returns true if any elements of a set evaluate to true; otherwise, returns false.
apply(FindIterable<T>, Mapper, Class<?>) - Method in class dev.morphia.query.FindOptions
 
apply(Mapper, EntityModelBuilder) - Method in class dev.morphia.mapping.conventions.ConfigureProperties
 
apply(Mapper, EntityModelBuilder) - Method in class dev.morphia.mapping.conventions.FieldDiscovery
 
apply(Mapper, EntityModelBuilder) - Method in class dev.morphia.mapping.conventions.MethodDiscovery
 
apply(Mapper, EntityModelBuilder) - Method in interface dev.morphia.mapping.conventions.MorphiaConvention
This method applies this Convention to the given builder
apply(Mapper, EntityModelBuilder) - Method in class dev.morphia.mapping.conventions.MorphiaDefaultsConvention
 
apply(String) - Method in class dev.morphia.mapping.NamingStrategy
Applies this naming strategy to the given value
apply(String) - Method in class dev.morphia.mapping.strategy.CamelCase
 
apply(String) - Method in class dev.morphia.mapping.strategy.Identity
 
apply(String) - Method in class dev.morphia.mapping.strategy.KebabCase
 
apply(String) - Method in class dev.morphia.mapping.strategy.LowerCase
 
apply(String) - Method in class dev.morphia.mapping.strategy.SnakeCase
 
apply(String, Object) - Method in enum dev.morphia.query.FilterOperator
Deprecated.
Converts a FilterOperator to a Filter
applyCaps() - Method in interface dev.morphia.config.MorphiaConfig
If true, collection caps will be applied to the database at start up.
applyCaps(Boolean) - Method in interface dev.morphia.config.MorphiaConfig
Updates this configuration with a new value and returns a new instance.
applyDocumentValidations() - Method in interface dev.morphia.config.MorphiaConfig
If true, document validations will be enabled for entities/collections with validation mappings.
applyDocumentValidations(Boolean) - Method in interface dev.morphia.config.MorphiaConfig
Updates this configuration with a new value and returns a new instance.
applyIndexes() - Method in interface dev.morphia.config.MorphiaConfig
If true, mapped indexes will be applied to the database at start up.
applyIndexes(Boolean) - Method in interface dev.morphia.config.MorphiaConfig
Updates this configuration with a new value and returns a new instance.
applyOpts(Map<?, ?>) - Method in class dev.morphia.query.filters.NearFilter
 
areEquivalentTypes(Class<S>, Class<V>) - Method in class dev.morphia.mapping.codec.pojo.EntityEncoder
 
array(Expression...) - Static method in class dev.morphia.aggregation.expressions.ArrayExpressions
Creates an array of the given expressions.
array(Datastore, BsonWriter, String, List<Expression>, EncoderContext) - Static method in class dev.morphia.aggregation.codecs.ExpressionHelper
 
array(Object...) - Static method in class dev.morphia.aggregation.expressions.ArrayExpressions
Creates an array of the given objects.
array(BsonWriter, Runnable) - Static method in class dev.morphia.aggregation.codecs.ExpressionHelper
 
array(BsonWriter, String, Runnable) - Static method in class dev.morphia.aggregation.codecs.ExpressionHelper
 
ARRAY - dev.morphia.query.Type
 
ArrayExpressions - Class in dev.morphia.aggregation.expressions
Defines helper methods for the array expressions
ArrayFieldAccessor - Class in dev.morphia.mapping.codec
 
ArrayFieldAccessor(TypeData<?>, Field) - Constructor for class dev.morphia.mapping.codec.ArrayFieldAccessor
Creates the accessor
arrayFilter(Filter) - Method in class dev.morphia.UpdateOptions
Adds a new array filter
arrayFilters(List<? extends Bson>) - Method in class dev.morphia.ModifyOptions
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.
arrayToObject(Expression) - Static method in class dev.morphia.aggregation.expressions.ArrayExpressions
Converts an array of key value pairs to a document.
as(String) - Method in class dev.morphia.aggregation.stages.GraphLookup
Name of the array field added to each output document.
as(String) - Method in class dev.morphia.aggregation.stages.Lookup
Name of the array field added to each output document.
ASC - dev.morphia.utils.IndexDirection
 
ASC - dev.morphia.utils.IndexType
 
ascending(String) - Static method in class dev.morphia.query.Sort
Creates an ascending sort on a field
ascending(String, String...) - Method in class dev.morphia.aggregation.stages.Sort
Adds an ascending sort definition on the field.
ASCENDING - dev.morphia.aggregation.stages.Sort.Direction
 
asin(Expression) - Static method in class dev.morphia.aggregation.expressions.TrigonometryExpressions
Returns the inverse sin (arc sine) of a value in radians.
asinh(Expression) - Static method in class dev.morphia.aggregation.expressions.TrigonometryExpressions
Returns the inverse hyperbolic sine (hyperbolic arc sine) of a value in radians.
Assert - Class in dev.morphia.utils
Provides various assertions for Morphia during validation
atan(Expression) - Static method in class dev.morphia.aggregation.expressions.TrigonometryExpressions
Returns the inverse tangent (arc tangent) of a value in radians.
atan2(Expression, Expression) - Static method in class dev.morphia.aggregation.expressions.TrigonometryExpressions
Returns the inverse tangent (arc tangent) of y / x in radians, where y and x are the first and second values passed to the expression respectively.
atanh(Expression) - Static method in class dev.morphia.aggregation.expressions.TrigonometryExpressions
Returns the inverse hyperbolic tangent (hyperbolic arc tangent) of a value in radians.
attach(CriteriaContainer) - Method in class dev.morphia.query.AbstractCriteria
Deprecated.
 
attach(CriteriaContainer) - Method in interface dev.morphia.query.Criteria
Deprecated.
Used to add this Criteria to a CriteriaContainer
attach(CriteriaContainer) - Method in class dev.morphia.query.LegacyQuery
Deprecated.
 
autoBucket() - Static method in class dev.morphia.aggregation.stages.AutoBucket
Creates a new auto bucket
autoBucket(AutoBucket) - Method in interface dev.morphia.aggregation.Aggregation
Categorizes incoming documents into a specific number of groups, called buckets, based on a specified expression.
autoBucket(AutoBucket) - Method in class dev.morphia.aggregation.AggregationImpl
 
AutoBucket - Class in dev.morphia.aggregation.stages
Categorizes incoming documents into a specific number of groups, called buckets, based on a specified expression.
AutoBucket() - Constructor for class dev.morphia.aggregation.stages.AutoBucket
 
AutoBucketCodec - Class in dev.morphia.aggregation.codecs.stages
 
AutoBucketCodec(Datastore) - Constructor for class dev.morphia.aggregation.codecs.stages.AutoBucketCodec
 
autoImportModels() - Method in class dev.morphia.mapping.MapperOptions
 
autoImportModels(boolean) - Method in class dev.morphia.mapping.MapperOptions.Builder
Deprecated.
This feature automatically discovers and uses EntityModelImporter instances to allow for external definition of class models.
available() - Method in class dev.morphia.query.MorphiaCursor
 
average(String) - Static method in class dev.morphia.aggregation.Group
Deprecated.
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
Deprecated.
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
Deprecated.
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.
avg(Expression, Expression...) - Static method in class dev.morphia.aggregation.expressions.AccumulatorExpressions
Returns an average of numerical values.

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
BaseReferenceCodec<T> - Class in dev.morphia.mapping.codec
Defines codecs for properties
BaseReferenceCodec(Datastore, PropertyModel) - Constructor for class dev.morphia.mapping.codec.BaseReferenceCodec
Creates a codec
batchSize() - Method in class dev.morphia.aggregation.AggregationOptions
Deprecated, for removal: This API element is subject to removal in a future version.
batchSize(int) - Method in class dev.morphia.aggregation.AggregationOptions
Sets the batch size for fetching results.
batchSize(int) - Method in class dev.morphia.query.FindOptions
Sets the batch size
BINARY_DATA - dev.morphia.query.Type
 
binarySize(Expression) - Static method in class dev.morphia.aggregation.expressions.DataSizeExpressions
Returns the size of a given string or binary data value’s content in bytes.
bitsAllClear(String, int) - Static method in class dev.morphia.query.filters.Filters
Matches numeric or binary values in which a set of bit positions all have a value of 0.
bitsAllClear(String, int[]) - Static method in class dev.morphia.query.filters.Filters
Matches numeric or binary values in which a set of bit positions all have a value of 0.
bitsAllSet(String, int) - Static method in class dev.morphia.query.filters.Filters
Matches numeric or binary values in which a set of bit positions all have a value of 1.
bitsAllSet(String, int[]) - Static method in class dev.morphia.query.filters.Filters
Matches numeric or binary values in which a set of bit positions all have a value of 1.
bitsAnyClear(String, Object) - Static method in class dev.morphia.query.filters.Filters
Matches numeric or binary values in which any bit from a set of bit positions has a value of 0.
bitsAnySet(String, Object) - Static method in class dev.morphia.query.filters.Filters
Matches numeric or binary values in which any bit from a set of bit positions has a value of 1.
BitSetCodec - Class in dev.morphia.mapping.codec
Defines a codec for standard BitSet.
BitSetCodec() - Constructor for class dev.morphia.mapping.codec.BitSetCodec
 
BOOLEAN - dev.morphia.query.Type
 
BooleanExpressions - Class in dev.morphia.aggregation.expressions
Defines helper methods for the boolean expressions
BooleanExpressions.LogicalExpression - Class in dev.morphia.aggregation.expressions
Defines a logical expression.
bottom(Expression, Sort...) - Static method in class dev.morphia.aggregation.expressions.AccumulatorExpressions
Returns the bottom element within a group according to the specified sort order.
bottomN(Expression, Expression, Sort...) - Static method in class dev.morphia.aggregation.expressions.AccumulatorExpressions
Returns an aggregation of the bottom n elements within a group, according to the specified sort order.
boundaries(Expression...) - Method in class dev.morphia.aggregation.stages.Bucket
An array of values based on the groupBy expression that specify the boundaries for each bucket.
bounded(Object, Object, Number) - Static method in class dev.morphia.aggregation.stages.Densify.Range
Creates a bounded range.
BOUNDED - dev.morphia.aggregation.stages.Densify.RangeType
 
box(Point, Point) - Static method in class dev.morphia.query.Shape
Deprecated.
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.
box(String, Point, Point) - Static method in class dev.morphia.query.filters.Filters
Specifies a rectangular box using legacy coordinate pairs for $geoWithin queries.
bsonSize(Expression) - Static method in class dev.morphia.aggregation.expressions.DataSizeExpressions
Returns the size in bytes of a given document (i.e.
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() - Static method in class dev.morphia.aggregation.stages.Bucket
Creates a new bucket stage
bucket(Bucket) - Method in interface dev.morphia.aggregation.Aggregation
Categorizes incoming documents into groups, called buckets, based on a specified expression and bucket boundaries.
bucket(Bucket) - Method in class dev.morphia.aggregation.AggregationImpl
 
bucket(String, List<?>) - Method in interface dev.morphia.aggregation.AggregationPipeline
Deprecated.
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
Deprecated.
 
bucket(String, List<?>, BucketOptions) - Method in interface dev.morphia.aggregation.AggregationPipeline
Deprecated.
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
Deprecated.
 
Bucket - Class in dev.morphia.aggregation.stages
Categorizes incoming documents into groups, called buckets, based on a specified expression and bucket boundaries.
Bucket() - Constructor for class dev.morphia.aggregation.stages.Bucket
 
bucketAuto(String, int) - Method in interface dev.morphia.aggregation.AggregationPipeline
Deprecated.
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
Deprecated.
 
bucketAuto(String, int, BucketAutoOptions) - Method in interface dev.morphia.aggregation.AggregationPipeline
Deprecated.
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
Deprecated.
 
BucketAutoOptions - Class in dev.morphia.query
Deprecated, for removal: This API element is subject to removal in a future version.
use AutoBucket instead
BucketAutoOptions() - Constructor for class dev.morphia.query.BucketAutoOptions
Deprecated.
 
BucketAutoOptions.Granularity - Enum in dev.morphia.query
Deprecated.
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
Deprecated.
Defines an output for bucketauto stage, that consists of the fieldname and the accumulator
BucketCodec - Class in dev.morphia.aggregation.codecs.stages
 
BucketCodec(Datastore) - Constructor for class dev.morphia.aggregation.codecs.stages.BucketCodec
 
BucketOptions - Class in dev.morphia.query
Deprecated, for removal: This API element is subject to removal in a future version.
use Bucket instead
BucketOptions() - Constructor for class dev.morphia.query.BucketOptions
Deprecated.
 
BucketOptions.OutputOperation - Class in dev.morphia.query
Deprecated.
Defines an output for bucketauto stage, that consists of the fieldname and the accumulator
buckets(Integer) - Method in class dev.morphia.aggregation.stages.AutoBucket
A positive 32-bit integer that specifies the number of buckets into which input documents are grouped.
build() - Method in class dev.morphia.aggregation.GeoNear.GeoNearBuilder
Deprecated.
 
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.PropertyModelBuilder
Creates the PropertyModel.
build() - Method in class dev.morphia.mapping.codec.pojo.TypeData.Builder
 
build() - Method in class dev.morphia.mapping.MapperOptions.Builder
Deprecated.
 
builder() - Static method in class dev.morphia.mapping.MapperOptions
 
builder(MapperOptions) - Static method in class dev.morphia.mapping.MapperOptions
 
builder(Class<T>) - Static method in class dev.morphia.mapping.codec.pojo.TypeData
Creates a new builder for ClassTypeData
builder(String) - Static method in class dev.morphia.aggregation.GeoNear
Deprecated.
Creates a builder for a GeoNear pipeline stage
bypassDocumentValidation() - Method in class dev.morphia.aggregation.AggregationOptions
Deprecated, for removal: This API element is subject to removal in a future version.
bypassDocumentValidation() - Method in class dev.morphia.InsertManyOptions
Gets whether to bypass document validation, or null if unspecified.
bypassDocumentValidation() - Method in class dev.morphia.InsertOneOptions
 
bypassDocumentValidation(boolean) - Method in class dev.morphia.aggregation.AggregationOptions
Enables the aggregation to bypass document validation during the operation.
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.ModifyOptions
bypassDocumentValidation(Boolean) - Method in class dev.morphia.ReplaceOptions
Sets whether to bypass document validation.
bypassDocumentValidation(Boolean) - Method in class dev.morphia.UpdateOptions
 
ByteWrapperArrayCodec - Class in dev.morphia.mapping.codec
Encodes a Byte[] to BinData like the driver's ByteArrayCodec does for byte[]
ByteWrapperArrayCodec() - Constructor for class dev.morphia.mapping.codec.ByteWrapperArrayCodec
 

C

cacheClassLookups(boolean) - Method in class dev.morphia.mapping.MapperOptions.Builder
Deprecated.
 
camelCase() - Static method in class dev.morphia.mapping.NamingStrategy
Defines a naming strategy that returns camel case of the value passed
CamelCase - Class in dev.morphia.mapping.strategy
 
CamelCase() - Constructor for class dev.morphia.mapping.strategy.CamelCase
 
cap() - Method in annotation type dev.morphia.annotations.Entity
 
cap() - Method in annotation type dev.morphia.annotations.ExternalEntity
 
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
caseInsensitive() - Method in class dev.morphia.query.filters.RegexFilter
Case insensitivity to match upper and lower cases.
caseLevel() - Method in annotation type dev.morphia.annotations.Collation
Turns on case sensitivity
caseSensitive(Boolean) - Method in class dev.morphia.query.filters.TextSearchFilter
Sets the search as case sensitive or not
ceil(Expression) - Static method in class dev.morphia.aggregation.expressions.MathExpressions
Returns the smallest integer greater than or equal to the specified number.
center(Point, double) - Static method in class dev.morphia.query.Shape
Deprecated.
Specifies a circle for a $geoWithin query.
center(String, Point, double) - Static method in class dev.morphia.query.filters.Filters
Specifies a circle using legacy coordinate pairs to $geoWithin queries when using planar geometry.
centerSphere(Point, double) - Static method in class dev.morphia.query.Shape
Deprecated.
Specifies a circle for a geospatial query that uses spherical geometry.
centerSphere(String, Point, double) - Static method in class dev.morphia.query.filters.Filters
Defines a circle for a geospatial query that uses spherical geometry.
changeStream() - Method in interface dev.morphia.aggregation.Aggregation
Returns a Change Stream cursor on a collection, a database, or an entire cluster.
changeStream() - Method in class dev.morphia.aggregation.AggregationImpl
 
changeStream() - Static method in class dev.morphia.aggregation.stages.ChangeStream
Returns a Change Stream cursor on a collection, a database, or an entire cluster.
changeStream(ChangeStream) - Method in interface dev.morphia.aggregation.Aggregation
Returns a Change Stream cursor on a collection, a database, or an entire cluster.
changeStream(ChangeStream) - Method in class dev.morphia.aggregation.AggregationImpl
 
ChangeStream - Class in dev.morphia.aggregation.stages
Returns a Change Stream cursor on a collection, a database, or an entire cluster.
ChangeStream() - Constructor for class dev.morphia.aggregation.stages.ChangeStream
 
ChangeStreamCodec - Class in dev.morphia.aggregation.codecs.stages
 
ChangeStreamCodec(Datastore) - Constructor for class dev.morphia.aggregation.codecs.stages.ChangeStreamCodec
 
check(Mapper, EntityModel, PropertyModel, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.ContradictingAnnotations
 
check(Mapper, EntityModel, PropertyModel, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.IdDoesNotMix
 
check(Mapper, EntityModel, PropertyModel, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.LazyReferenceMissingDependencies
 
check(Mapper, EntityModel, PropertyModel, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.LazyReferenceOnArray
 
check(Mapper, EntityModel, PropertyModel, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.MapKeyTypeConstraint
 
check(Mapper, EntityModel, PropertyModel, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.PropertyConstraint
 
check(Mapper, EntityModel, PropertyModel, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.ReferenceToUnidentifiable
 
check(Mapper, EntityModel, PropertyModel, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.VersionMisuse
 
check(Mapper, EntityModel, Set<ConstraintViolation>) - Method in interface dev.morphia.mapping.validation.ClassConstraint
Check that an EntityModel meets the constraint
check(Mapper, EntityModel, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.classrules.DuplicatedAttributeNames
 
check(Mapper, EntityModel, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.classrules.EntityAndEmbed
 
check(Mapper, EntityModel, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.classrules.EntityOrEmbed
 
check(Mapper, EntityModel, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.classrules.MultipleId
 
check(Mapper, EntityModel, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.classrules.MultipleVersions
 
check(Mapper, EntityModel, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.classrules.ShardKeyNames
 
check(Mapper, EntityModel, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.PropertyConstraint
 
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
classHierarchy() - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
 
classLoader(ClassLoader) - Method in class dev.morphia.mapping.MapperOptions.Builder
Deprecated.
 
className() - Static method in class dev.morphia.mapping.DiscriminatorFunction
Defines a function to use the class name for the discriminator value
close() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
close() - Method in class dev.morphia.query.MorphiaCursor
Closes the underlying cursor.
CLUSTER_TIME - Static variable in class dev.morphia.aggregation.expressions.SystemVariables
A variable that returns the current timestamp value.
cmp(Expression, Expression) - Static method in class dev.morphia.aggregation.expressions.ComparisonExpressions
Returns 0 if the two values are equivalent, 1 if the first value is greater than the second, and -1 if the first value is less than the second.
codecProvider() - Method in interface dev.morphia.config.MorphiaConfig
Deprecated, for removal: This API element is subject to removal in a future version.
this configuration entry will be updated to use SPI as with other customizations
codecProvider() - Method in class dev.morphia.mapping.MapperOptions
 
codecProvider(CodecProvider) - Method in interface dev.morphia.config.MorphiaConfig
Updates this configuration with a new value and returns a new instance.
codecProvider(CodecProvider) - Method in class dev.morphia.mapping.MapperOptions.Builder
Deprecated.
Sets a provider for user defined codecs to used by Morphia
collation() - Method in class dev.morphia.aggregation.AggregationOptions
Deprecated, for removal: This API element is subject to removal in a future version.
collation() - Method in annotation type dev.morphia.annotations.IndexOptions
 
collation(Collation) - Method in class dev.morphia.aggregation.AggregationOptions
Specifies the collation to use for the operation.
collation(Collation) - Method in class dev.morphia.DeleteOptions
 
collation(Collation) - Method in class dev.morphia.ModifyOptions
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.ReplaceOptions
 
collation(Collation) - Method in class dev.morphia.UpdateOptions
 
Collation - Annotation Type in dev.morphia.annotations
Defines the collation options for an index
collection() - Method in class dev.morphia.aggregation.AggregationOptions
 
collection() - Method in class dev.morphia.aggregation.stages.Out
 
collection() - Method in class dev.morphia.DeleteOptions
 
collection() - Method in class dev.morphia.InsertManyOptions
 
collection() - Method in class dev.morphia.InsertOneOptions
 
collection() - Method in class dev.morphia.ModifyOptions
Returns the alternate collection to use for the operation.
collection() - Method in class dev.morphia.query.CountOptions
 
collection() - Method in class dev.morphia.query.FindAndDeleteOptions
 
collection() - Method in class dev.morphia.query.FindOptions
 
collection() - Method in class dev.morphia.UpdateOptions
 
collection(String) - Method in class dev.morphia.aggregation.AggregationOptions
Specify an alternate collection to aggregate from rather than the collection mapped to the type used to create the aggregation initially.
collection(String) - Method in class dev.morphia.DeleteOptions
Sets the alternate collection to use for the operation.
collection(String) - Method in class dev.morphia.InsertManyOptions
 
collection(String) - Method in class dev.morphia.InsertOneOptions
Specifies an alternate collection to use rather than the mapped collection.
collection(String) - Method in class dev.morphia.ModifyOptions
Sets the alternate collection to use for the operation.
collection(String) - Method in class dev.morphia.query.CountOptions
 
collection(String) - Method in class dev.morphia.query.FindAndDeleteOptions
 
collection(String) - Method in class dev.morphia.query.FindOptions
 
collection(String) - Method in class dev.morphia.UpdateOptions
 
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() - Method in interface dev.morphia.config.MorphiaConfig
Sets the naming strategy to be used when generating collection names for entities if name is not explicitly given in the Entity annotation
collectionNaming(NamingStrategy) - Method in interface dev.morphia.config.MorphiaConfig
Updates this configuration with a new value and returns a new instance.
collectionNaming(NamingStrategy) - Method in class dev.morphia.mapping.MapperOptions.Builder
Deprecated.
Sets the naming strategy to use for collection names
CollectionStats - Class in dev.morphia.aggregation.stages
Returns statistics regarding a collection or view.
CollectionStats() - Constructor for class dev.morphia.aggregation.stages.CollectionStats
 
CollectionStatsCodec - Class in dev.morphia.aggregation.codecs.stages
 
CollectionStatsCodec(Datastore) - Constructor for class dev.morphia.aggregation.codecs.stages.CollectionStatsCodec
 
collStats() - Static method in class dev.morphia.aggregation.stages.CollectionStats
Creates a new collStats stage
collStats(CollectionStats) - Method in interface dev.morphia.aggregation.Aggregation
Returns statistics regarding a collection or view.
collStats(CollectionStats) - Method in class dev.morphia.aggregation.AggregationImpl
 
comment(String) - Method in class dev.morphia.DeleteOptions
 
comment(String) - Method in class dev.morphia.InsertManyOptions
 
comment(String) - Method in class dev.morphia.InsertOneOptions
 
comment(String) - Method in class dev.morphia.ModifyOptions
comment(String) - Method in class dev.morphia.query.CountOptions
 
comment(String) - Method in class dev.morphia.query.FindAndDeleteOptions
comment(String) - Method in class dev.morphia.query.FindOptions
Sets the comment to log with the query
comment(String) - Method in class dev.morphia.ReplaceOptions
 
comment(String) - Method in class dev.morphia.UpdateOptions
 
comment(String, Object) - Static method in class dev.morphia.query.filters.Filters
Adds a comment to a query predicate.
comment(BsonValue) - Method in class dev.morphia.DeleteOptions
comment(BsonValue) - Method in class dev.morphia.InsertManyOptions
 
comment(BsonValue) - Method in class dev.morphia.InsertOneOptions
 
comment(BsonValue) - Method in class dev.morphia.ModifyOptions
comment(BsonValue) - Method in class dev.morphia.query.CountOptions
 
comment(BsonValue) - Method in class dev.morphia.query.FindAndDeleteOptions
comment(BsonValue) - Method in class dev.morphia.query.FindOptions
Sets the comment to log with the query
comment(BsonValue) - Method in class dev.morphia.ReplaceOptions
 
comment(BsonValue) - Method in class dev.morphia.UpdateOptions
 
compareTo(Key<T>) - Method in class dev.morphia.Key
Deprecated.
 
ComparisonExpressions - Class in dev.morphia.aggregation.expressions
Defines helper methods for the comparison expressions
compute(EntityModelBuilder) - Method in class dev.morphia.mapping.DiscriminatorFunction
 
concat(Expression, Expression...) - Static method in class dev.morphia.aggregation.expressions.StringExpressions
Concatenates any number of strings.
concatArrays(Expression, Expression) - Static method in class dev.morphia.aggregation.expressions.ArrayExpressions
Concatenates arrays to return the concatenated array.
concern() - Method in annotation type dev.morphia.annotations.Entity
 
concern() - Method in annotation type dev.morphia.annotations.ExternalEntity
 
concreteClass() - Method in annotation type dev.morphia.annotations.Property
 
condition(Expression, Expression, Expression) - Static method in class dev.morphia.aggregation.expressions.ConditionalExpressions
Evaluates a boolean expression to return one of the two specified return expressions.
ConditionalExpressions - Class in dev.morphia.aggregation.expressions
Defines helper methods for the conditional expressions
ConfigureProperties - Class in dev.morphia.mapping.conventions
A set of conventions to apply to Morphia entities
ConfigureProperties() - Constructor for class dev.morphia.mapping.conventions.ConfigureProperties
 
connectFromField(String) - Method in class dev.morphia.aggregation.stages.GraphLookup
Field name whose value $graphLookup uses to recursively match against the connectToField of other documents in the collection.
connectToField(String) - Method in class dev.morphia.aggregation.stages.GraphLookup
Field name in other documents against which to match the value of the field specified by the connectFromField parameter.
ConstraintViolation - Class in dev.morphia.mapping.validation
 
ConstraintViolation(ConstraintViolation.Level, EntityModel, PropertyModel, Class<? extends ClassConstraint>, String) - Constructor for class dev.morphia.mapping.validation.ConstraintViolation
Creates a violation instance to record invalid mapping metadata
ConstraintViolation(ConstraintViolation.Level, EntityModel, 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
Deprecated, for removal: This API element is subject to removal in a future version.
This annotation is not necessary and will be removed soon.
contains(String) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
contains(String) - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
containsIgnoreCase(String) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
containsIgnoreCase(String) - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
ContradictingAnnotations - Class in dev.morphia.mapping.validation.fieldrules
Checks that contradicting annotations aren't defined.
ContradictingAnnotations(Class<? extends Annotation>, Class<? extends Annotation>) - Constructor for class dev.morphia.mapping.validation.fieldrules.ContradictingAnnotations
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(Expression, ConvertType) - Static method in class dev.morphia.aggregation.expressions.TypeExpressions
Converts a value to a specified type.
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<T>) - 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.mapping.Mapper
 
copy() - Method in class dev.morphia.query.FindOptions
 
copy(FindOptions) - Method in class dev.morphia.query.FindOptions
Creates an copy of the given options
cos(Expression) - Static method in class dev.morphia.aggregation.expressions.TrigonometryExpressions
Returns the cosine of a value that is measured in radians.
cosh(Expression) - Static method in class dev.morphia.aggregation.expressions.TrigonometryExpressions
Returns the hyperbolic cosine of a value that is measured in radians.
count() - Method in annotation type dev.morphia.annotations.CappedAt
 
count() - Method in class dev.morphia.query.LegacyQuery
Deprecated.
 
count() - Method in interface dev.morphia.query.Query
Count the total number of values in the result, ignoring limit and offset
count(boolean) - Method in class dev.morphia.aggregation.stages.CollectionStats
Adds the total number of documents in the collection to the return document.
count(CountOptions) - Method in class dev.morphia.query.LegacyQuery
Deprecated.
 
count(CountOptions) - Method in interface dev.morphia.query.Query
Count the total number of values in the result, ignoring limit and offset
count(String) - Method in interface dev.morphia.aggregation.Aggregation
Passes a document to the next stage that contains a count of the number of documents input to the stage.
count(String) - Method in class dev.morphia.aggregation.AggregationImpl
 
Count - Class in dev.morphia.aggregation.stages
 
Count(String) - Constructor for class dev.morphia.aggregation.stages.Count
 
CountCodec - Class in dev.morphia.aggregation.codecs.stages
 
CountCodec(Datastore) - Constructor for class dev.morphia.aggregation.codecs.stages.CountCodec
 
countDocuments(MongoCollection<T>, Document, CountOptions) - Method in class dev.morphia.DatastoreImpl.DatastoreOperations
 
CountOptions - Class in dev.morphia.query
The options for a count operation.
CountOptions() - Constructor for class dev.morphia.query.CountOptions
 
covariancePop(Expression, Expression) - Static method in class dev.morphia.aggregation.expressions.WindowExpressions
Returns the population covariance of two numeric expressions that are evaluated using documents in the $setWindowFields stage window.
covarianceSamp(Expression, Expression) - Static method in class dev.morphia.aggregation.expressions.WindowExpressions
Returns the sample covariance of two numeric expressions that are evaluated using documents in the $setWindowFields stage window.
create() - Method in interface dev.morphia.mapping.InstanceCreatorFactory
 
create() - Method in class dev.morphia.mapping.InstanceCreatorFactoryImpl
 
createAggregation(Class<?>) - Method in interface dev.morphia.Datastore
Deprecated, for removal: This API element is subject to removal in a future version.
createAggregation(String, Class<?>) - Method in interface dev.morphia.AdvancedDatastore
Deprecated, for removal: This API element is subject to removal in a future version.
use Datastore.aggregate(Class) and pass the alternate collection via the options on Aggregation.execute(Class, AggregationOptions)
createDatastore(MongoClient) - Static method in class dev.morphia.Morphia
Creates a Datastore configured via config file.
createDatastore(MongoClient, MorphiaConfig) - Static method in class dev.morphia.Morphia
Creates a Datastore configured via config file
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
Deprecated.
use Morphia.createDatastore(MongoClient) and provide a configuration file instead. See the website docs for more detail
createDatastore(String, MapperOptions) - Static method in class dev.morphia.Morphia
Creates a Datastore
createInstance(Mapper, PropertyModel, 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(PropertyModel) - Method in interface dev.morphia.ObjectFactory
Defines how morphia creates a List object.
createMap(PropertyModel) - Method in interface dev.morphia.ObjectFactory
Defines how morphia creates a Map object.
createQuery(Datastore) - Method in interface dev.morphia.query.QueryFactory
Deprecated, for removal: This API element is subject to removal in a future version.
this method is no longer used
createQuery(Datastore, Class<T>) - Method in interface dev.morphia.query.QueryFactory
Creates a new query for the given type.
createQuery(Datastore, Class<T>, Document) - Method in class dev.morphia.query.DefaultQueryFactory
 
createQuery(Datastore, Class<T>, Document) - Method in class dev.morphia.query.LegacyQueryFactory
Deprecated.
 
createQuery(Datastore, Class<T>, Document) - Method in interface dev.morphia.query.QueryFactory
Creates and returns a Query for the given arguments.
createQuery(Datastore, String, Class<T>) - Method in class dev.morphia.query.DefaultQueryFactory
 
createQuery(Datastore, String, Class<T>) - Method in class dev.morphia.query.LegacyQueryFactory
Deprecated.
 
createQuery(Datastore, String, Class<T>) - 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
Deprecated, for removal: This API element is subject to removal in a future version.
createRef(Class<T>, V) - Method in interface dev.morphia.AdvancedDatastore
Deprecated, for removal: This API element is subject to removal in a future version.
createRef(T) - Method in interface dev.morphia.AdvancedDatastore
Deprecated, for removal: This API element is subject to removal in a future version.
createSet(PropertyModel) - 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.
createUpdateOperations(Class<T>, DBObject) - Method in interface dev.morphia.AdvancedDatastore
Deprecated, for removal: This API element is subject to removal in a future version.
criteria(String) - Method in interface dev.morphia.query.CriteriaContainer
Deprecated.
Creates a criteria against a field
criteria(String) - Method in class dev.morphia.query.CriteriaContainerImpl
Deprecated.
 
criteria(String) - Method in class dev.morphia.query.LegacyQuery
Deprecated.
 
criteria(String) - Method in interface dev.morphia.query.Query
Deprecated, for removal: This API element is subject to removal in a future version.
Criteria - Interface in dev.morphia.query
Deprecated, for removal: This API element is subject to removal in a future version.
CriteriaContainer - Interface in dev.morphia.query
Deprecated, for removal: This API element is subject to removal in a future version. 
CriteriaContainerImpl - Class in dev.morphia.query
Deprecated, for removal: This API element is subject to removal in a future version.
CriteriaContainerImpl(LegacyQuery<?>, CriteriaJoin) - Constructor for class dev.morphia.query.CriteriaContainerImpl
Deprecated.
 
CriteriaJoin - Enum in dev.morphia.query
Deprecated.
crs(CoordinateReferenceSystem) - Method in class dev.morphia.query.filters.GeoWithinFilter
 
crs(CoordinateReferenceSystem) - Method in class dev.morphia.query.filters.NearFilter
Sets the coordinate reference system to use
CRS_84 - Static variable in class dev.morphia.geo.NamedCoordinateReferenceSystem
Deprecated.
The urn:ogc:def:crs:OGC:1.3:CRS84 Coordinate Reference System
CURRENT - Static variable in class dev.morphia.aggregation.expressions.SystemVariables
References the start of the field path being processed in the aggregation pipeline stage.
currentDate(String) - Static method in class dev.morphia.query.updates.UpdateOperators
The $currentDate operator sets the value of a field to the current date, either as a Date or a timestamp.
CurrentDateOperator - Class in dev.morphia.query.updates
Defines the $currentDate operator
CurrentDateOperator(String) - Constructor for class dev.morphia.query.updates.CurrentDateOperator
Creates an operator for a field
CurrentDateOperator.TypeSpecification - Enum in dev.morphia.query.updates
Type type options when setting the current date
currentOp() - Static method in class dev.morphia.aggregation.stages.CurrentOp
Creates a new stage
currentOp(CurrentOp) - Method in interface dev.morphia.aggregation.Aggregation
Returns a stream of documents containing information on active and/or dormant operations as well as inactive sessions that are holding locks as part of a transaction.
currentOp(CurrentOp) - Method in class dev.morphia.aggregation.AggregationImpl
 
CurrentOp - Class in dev.morphia.aggregation.stages
Returns a stream of documents containing information on active and/or dormant operations as well as inactive sessions that are holding locks as part of a transaction.
CurrentOp() - Constructor for class dev.morphia.aggregation.stages.CurrentOp
 
CurrentOpCodec - Class in dev.morphia.aggregation.codecs.stages
 
CurrentOpCodec(Datastore) - Constructor for class dev.morphia.aggregation.codecs.stages.CurrentOpCodec
 
currentState() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
cursorType() - Method in class dev.morphia.query.FindOptions
 
cursorType(CursorType) - Method in class dev.morphia.query.FindOptions
Sets the cursor type

D

database() - Method in class dev.morphia.aggregation.stages.Out
 
database() - Method in interface dev.morphia.config.MorphiaConfig
The database name that Morphia should use.
database(String) - Method in class dev.morphia.aggregation.stages.Out
Specifies an alternate database for the output.
database(String) - Method in interface dev.morphia.config.MorphiaConfig
Updates this configuration with a new value and returns a new instance.
DataSizeExpressions - Class in dev.morphia.aggregation.expressions
Defines helper methods for the data size expressions
Datastore - Interface in dev.morphia
Datastore interface to get/delete/save objects
DatastoreImpl.DatastoreOperations - Class in dev.morphia
 
DatastoreOperations() - Constructor for class dev.morphia.DatastoreImpl.DatastoreOperations
 
DATE - dev.morphia.query.Type
 
DATE - dev.morphia.query.updates.CurrentDateOperator.TypeSpecification
 
dateAdd(Expression, long, TimeUnit) - Static method in class dev.morphia.aggregation.expressions.DateExpressions
Increments a Date object by a specified number of time units.
dateDiff(Expression, Expression, TimeUnit) - Static method in class dev.morphia.aggregation.expressions.DateExpressions
Returns the difference between two dates.
DateExpression(String, Expression) - Constructor for class dev.morphia.aggregation.expressions.DateExpressions.DateExpression
 
DateExpressions - Class in dev.morphia.aggregation.expressions
Defines helper methods for the date expressions
DateExpressions.DateExpression - Class in dev.morphia.aggregation.expressions
Base class for the date expressions
dateForm(DateStorage) - Method in class dev.morphia.mapping.MapperOptions.Builder
dateFromParts() - Static method in class dev.morphia.aggregation.expressions.DateExpressions
Constructs and returns a Date object given the date’s constituent properties.
dateFromString() - Static method in class dev.morphia.aggregation.expressions.DateExpressions
Converts a date/time string to a date object.
dateStorage() - Method in interface dev.morphia.config.MorphiaConfig
The date storage configuration Morphia should use for JSR 310 types.
dateStorage(DateStorage) - Method in interface dev.morphia.config.MorphiaConfig
Updates this configuration with a new value and returns a new instance.
dateStorage(DateStorage) - Method in class dev.morphia.mapping.MapperOptions.Builder
Deprecated.
The default value for this is DateStorage.UTC.
DateStorage - Enum in dev.morphia.mapping
This enum is used to determine how JSR 310 dates and times are stored in the database.
dateSubtract(Expression, long, TimeUnit) - Static method in class dev.morphia.aggregation.expressions.DateExpressions
Decrements a Date object by a specified number of time units.
dateToParts(Expression) - Static method in class dev.morphia.aggregation.expressions.DateExpressions
Constructs and returns a Date object given the date’s constituent properties.
dateToString() - Static method in class dev.morphia.aggregation.expressions.DateExpressions
Returns the date as a formatted string.
dateTrunc(Expression, TimeUnit) - Static method in class dev.morphia.aggregation.expressions.DateExpressions
Truncates a date.
DAY - dev.morphia.aggregation.expressions.TimeUnit
 
dayOfMonth(Expression) - Static method in class dev.morphia.aggregation.expressions.DateExpressions
Returns the day of the month for a date as a number between 1 and 31.
dayOfWeek(Expression) - Static method in class dev.morphia.aggregation.expressions.DateExpressions
Returns the day of the week for a date as a number between 1 (Sunday) and 7 (Saturday).
dayOfYear(Expression) - Static method in class dev.morphia.aggregation.expressions.DateExpressions
Returns the day of the year for a date as a number between 1 and 366 (leap year).
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
Deprecated.
 
dec(String) - Method in interface dev.morphia.query.Updates
Decrements the numeric field by 1
dec(String) - Static method in class dev.morphia.query.updates.UpdateOperators
Decrements the value of the field by one.
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
Deprecated.
 
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).
dec(String, Number) - Static method in class dev.morphia.query.updates.UpdateOperators
Decrements the value of the field by the specified amount.
decode(BsonReader, DecoderContext) - Method in class dev.morphia.aggregation.codecs.ExpressionCodec
 
decode(BsonReader, DecoderContext) - Method in class dev.morphia.aggregation.codecs.stages.StageCodec
 
decode(BsonReader, DecoderContext) - Method in class dev.morphia.mapping.codec.BitSetCodec
 
decode(BsonReader, DecoderContext) - Method in class dev.morphia.mapping.codec.ByteWrapperArrayCodec
 
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.EnumCodec
 
decode(BsonReader, DecoderContext) - Method in class dev.morphia.mapping.codec.KeyCodec
Deprecated.
 
decode(BsonReader, DecoderContext) - Method in class dev.morphia.mapping.codec.LegacyQueryCodec
Deprecated.
 
decode(BsonReader, DecoderContext) - Method in class dev.morphia.mapping.codec.LocaleCodec
 
decode(BsonReader, DecoderContext) - Method in class dev.morphia.mapping.codec.MorphiaDateCodec
 
decode(BsonReader, DecoderContext) - Method in class dev.morphia.mapping.codec.MorphiaLocalDateTimeCodec
 
decode(BsonReader, DecoderContext) - Method in class dev.morphia.mapping.codec.MorphiaLocalTimeCodec
 
decode(BsonReader, DecoderContext) - Method in class dev.morphia.mapping.codec.ObjectCodec
 
decode(BsonReader, DecoderContext) - Method in class dev.morphia.mapping.codec.pojo.EntityDecoder
 
decode(BsonReader, DecoderContext) - Method in class dev.morphia.mapping.codec.pojo.LifecycleDecoder
 
decode(BsonReader, DecoderContext) - Method in class dev.morphia.mapping.codec.pojo.MorphiaCodec
 
decode(BsonReader, DecoderContext) - Method in class dev.morphia.mapping.codec.references.ReferenceCodec
 
decode(BsonReader, DecoderContext) - Method in class dev.morphia.mapping.codec.URICodec
 
decodeModel(BsonReader, DecoderContext, MorphiaInstanceCreator, PropertyModel) - Method in class dev.morphia.mapping.codec.pojo.EntityDecoder
 
decodeProperties(BsonReader, DecoderContext, MorphiaInstanceCreator, EntityModel) - Method in class dev.morphia.mapping.codec.pojo.EntityDecoder
 
DEFAULT - Static variable in class dev.morphia.mapping.MapperOptions
 
DEFAULT_LOCALE - Static variable in annotation type dev.morphia.annotations.Collation
 
defaultField(Object) - Method in class dev.morphia.query.BucketOptions
Deprecated.
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
 
defaultValue(Object) - Method in class dev.morphia.aggregation.stages.Bucket
Optional.
degreesToRadians(Expression) - Static method in class dev.morphia.aggregation.expressions.TrigonometryExpressions
Converts a value from degrees to radians.
delete() - Method in interface dev.morphia.query.Query
Deletes elements matching this query
delete(DeleteOptions) - Method in class dev.morphia.query.LegacyQuery
Deprecated.
 
delete(DeleteOptions) - Method in interface dev.morphia.query.Query
Deletes documents matching this query.
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.delete() instead
delete(Query<T>, DeleteOptions) - Method in interface dev.morphia.Datastore
Deprecated, for removal: This API element is subject to removal in a future version.
delete(T) - Method in interface dev.morphia.Datastore
Deletes the given entity (by @Id)
delete(T, DeleteOptions) - Method in interface dev.morphia.Datastore
Deletes the given entity (by @Id), with the WriteConcern
deleteMany(MongoCollection<T>, Document, DeleteOptions) - Method in class dev.morphia.DatastoreImpl.DatastoreOperations
 
deleteOne(MongoCollection<T>, Document, DeleteOptions) - Method in class dev.morphia.DatastoreImpl.DatastoreOperations
 
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
 
denseRank() - Static method in class dev.morphia.aggregation.expressions.WindowExpressions
Returns the document position (known as the rank) relative to other documents in the $setWindowFields stage partition.
densify(Densify) - Method in interface dev.morphia.aggregation.Aggregation
Creates new documents in a sequence of documents where certain values in a field are missing.
densify(Densify) - Method in class dev.morphia.aggregation.AggregationImpl
 
densify(String, Densify.Range) - Static method in class dev.morphia.aggregation.stages.Densify
Creates new documents in a sequence of documents where certain values in a field are missing.
Densify - Class in dev.morphia.aggregation.stages
Creates new documents in a sequence of documents where certain values in a field are missing.
Densify.Range - Class in dev.morphia.aggregation.stages
 
Densify.RangeType - Enum in dev.morphia.aggregation.stages
 
DensifyCodec - Class in dev.morphia.aggregation.codecs.stages
 
DensifyCodec(Datastore) - Constructor for class dev.morphia.aggregation.codecs.stages.DensifyCodec
 
depthField(String) - Method in class dev.morphia.aggregation.stages.GraphLookup
Optional.
derivative(Expression) - Static method in class dev.morphia.aggregation.expressions.WindowExpressions
Returns the average rate of change within the specified window.
DESC - dev.morphia.utils.IndexDirection
 
DESC - dev.morphia.utils.IndexType
 
DESCEND - Static variable in class dev.morphia.aggregation.expressions.SystemVariables
One of the allowed results of a $redact expression.
descending(String) - Static method in class dev.morphia.query.Sort
Creates a descending sort on a field
descending(String, String...) - Method in class dev.morphia.aggregation.stages.Sort
Adds an descending sort definition on the field.
DESCENDING - dev.morphia.aggregation.stages.Sort.Direction
 
dev.morphia - package dev.morphia
 
dev.morphia.aggregation - package dev.morphia.aggregation
 
dev.morphia.aggregation.codecs - package dev.morphia.aggregation.codecs
 
dev.morphia.aggregation.codecs.stages - package dev.morphia.aggregation.codecs.stages
 
dev.morphia.aggregation.expressions - package dev.morphia.aggregation.expressions
 
dev.morphia.aggregation.stages - package dev.morphia.aggregation.stages
 
dev.morphia.annotations - package dev.morphia.annotations
 
dev.morphia.annotations.experimental - package dev.morphia.annotations.experimental
 
dev.morphia.config - package dev.morphia.config
Configuration related types
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.codec.writer - package dev.morphia.mapping.codec.writer
 
dev.morphia.mapping.conventions - package dev.morphia.mapping.conventions
 
dev.morphia.mapping.lazy - package dev.morphia.mapping.lazy
 
dev.morphia.mapping.lazy.proxy - package dev.morphia.mapping.lazy.proxy
 
dev.morphia.mapping.lifecycle - package dev.morphia.mapping.lifecycle
 
dev.morphia.mapping.strategy - package dev.morphia.mapping.strategy
 
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.filters - package dev.morphia.query.filters
 
dev.morphia.query.updates - package dev.morphia.query.updates
 
dev.morphia.transactions - package dev.morphia.transactions
 
dev.morphia.utils - package dev.morphia.utils
 
diacriticSensitive(Boolean) - Method in class dev.morphia.query.filters.TextSearchFilter
Sets the search as diacritic sensitive or not
disableEmbeddedIndexes(boolean) - Method in class dev.morphia.mapping.MapperOptions.Builder
Deprecated, for removal: This API element is subject to removal in a future version.
unused
disableValidation() - Method in annotation type dev.morphia.annotations.IndexOptions
 
disableValidation() - Method in class dev.morphia.query.LegacyQuery
Deprecated.
 
disableValidation() - Method in interface dev.morphia.query.Query
Turns off validation (for all calls made after)
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
Deprecated.
 
disableValidation() - Method in interface dev.morphia.query.Updates
Turns off validation (for all calls made after)
discoverMappedName() - Method in class dev.morphia.mapping.codec.pojo.PropertyModelBuilder
 
discriminator() - Method in annotation type dev.morphia.annotations.Embedded
Deprecated.
 
discriminator() - Method in annotation type dev.morphia.annotations.Entity
 
discriminator() - Method in annotation type dev.morphia.annotations.ExternalEntity
 
discriminator() - Method in interface dev.morphia.config.MorphiaConfig
The function to use when calculating the discriminator value for an entity
discriminator() - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
 
discriminator(DiscriminatorFunction) - Method in interface dev.morphia.config.MorphiaConfig
Updates this configuration with a new value and returns a new instance.
discriminator(DiscriminatorFunction) - Method in class dev.morphia.mapping.MapperOptions.Builder
Deprecated.
Sets the discriminator function to use
discriminator(String) - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
Sets the discriminator
discriminatorEnabled() - Method in class dev.morphia.mapping.codec.pojo.PropertyModelBuilder
 
discriminatorEnabled(Boolean) - Method in class dev.morphia.mapping.codec.pojo.PropertyModelBuilder
Enables/disables the use of the discriminator during mapping
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
Deprecated.
 
discriminatorKey() - Method in annotation type dev.morphia.annotations.Entity
 
discriminatorKey() - Method in annotation type dev.morphia.annotations.ExternalEntity
 
discriminatorKey() - Method in interface dev.morphia.config.MorphiaConfig
The document field name to use when storing discriminator values
discriminatorKey() - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
 
discriminatorKey(String) - Method in interface dev.morphia.config.MorphiaConfig
Updates this configuration with a new value and returns a new instance.
discriminatorKey(String) - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
Sets the mapped key name to use when storing the discriminator value
discriminatorKey(String) - Method in class dev.morphia.mapping.MapperOptions.Builder
Deprecated.
Defines the discriminator key name
DiscriminatorLookup - Class in dev.morphia.mapping
Provides lookup capabilities to find a type by its discriminator
DiscriminatorLookup() - Constructor for class dev.morphia.mapping.DiscriminatorLookup
 
distanceField(String) - Method in class dev.morphia.aggregation.stages.GeoNear
The output field that contains the calculated distance.
distanceMultiplier(Number) - Method in class dev.morphia.aggregation.stages.GeoNear
Optional.
divide(Expression, Expression) - Static method in class dev.morphia.aggregation.expressions.MathExpressions
Returns the result of dividing the first number by the second.
divide(Object, Object) - Static method in class dev.morphia.aggregation.Projection
Deprecated.
Creates a division projection
document() - Static method in class dev.morphia.aggregation.expressions.Expressions
Creates a new DocumentExpression.
document(Mapper, Document, Consumer<BsonWriter>) - Static method in class dev.morphia.aggregation.codecs.ExpressionHelper
 
document(String, Expression) - Static method in class dev.morphia.aggregation.expressions.Expressions
Creates a new DocumentExpression.
document(BsonWriter, Runnable) - Static method in class dev.morphia.aggregation.codecs.ExpressionHelper
 
document(BsonWriter, String, Runnable) - Static method in class dev.morphia.aggregation.codecs.ExpressionHelper
 
documentHasId(Object) - Method in class dev.morphia.mapping.codec.pojo.MorphiaCodec
 
documentNumber() - Static method in class dev.morphia.aggregation.expressions.WindowExpressions
Returns the position of a document (known as the document number) in the $setWindowFields stage partition.
DocumentReader - Class in dev.morphia.mapping.codec.reader
 
DocumentReader(Document) - Constructor for class dev.morphia.mapping.codec.reader.DocumentReader
Construct a new instance.
documents() - Method in class dev.morphia.aggregation.stages.SetWindowFields.Window
 
documents(DocumentExpression...) - Method in interface dev.morphia.aggregation.Aggregation
Returns literal documents from input values.
documents(DocumentExpression...) - Method in class dev.morphia.aggregation.AggregationImpl
 
documents(DocumentExpression...) - Static method in class dev.morphia.aggregation.stages.Documents
Creates a new stage with the given document expressions
documents(Object, Object) - Method in class dev.morphia.aggregation.stages.SetWindowFields.Window
A window where the lower and upper boundaries are specified relative to the position of the current document read from the collection.
Documents - Class in dev.morphia.aggregation.stages
Returns literal documents from input values.
Documents(List<DocumentExpression>) - Constructor for class dev.morphia.aggregation.stages.Documents
 
DocumentsCodec - Class in dev.morphia.aggregation.codecs.stages
 
DocumentsCodec(Datastore) - Constructor for class dev.morphia.aggregation.codecs.stages.DocumentsCodec
 
DocumentWriter - Class in dev.morphia.mapping.codec.writer
Utility to write out to a Document
DocumentWriter(MorphiaConfig) - Constructor for class dev.morphia.mapping.codec.writer.DocumentWriter
Creates a new Writer
DocumentWriter(MorphiaConfig, Document) - Constructor for class dev.morphia.mapping.codec.writer.DocumentWriter
Creates a new Writer with a seeded Document
doesNotExist() - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
doesNotExist() - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
DOUBLE - dev.morphia.query.Type
 
DuplicatedAttributeNames - Class in dev.morphia.mapping.validation.classrules
Checks for duplicated attribute names
DuplicatedAttributeNames() - Constructor for class dev.morphia.mapping.validation.classrules.DuplicatedAttributeNames
 

E

E12 - dev.morphia.query.BucketAutoOptions.Granularity
Deprecated.
 
E192 - dev.morphia.query.BucketAutoOptions.Granularity
Deprecated.
 
E24 - dev.morphia.query.BucketAutoOptions.Granularity
Deprecated.
 
E48 - dev.morphia.query.BucketAutoOptions.Granularity
Deprecated.
 
E6 - dev.morphia.query.BucketAutoOptions.Granularity
Deprecated.
 
E96 - dev.morphia.query.BucketAutoOptions.Granularity
Deprecated.
 
ELEMENT_MATCH - dev.morphia.query.FilterOperator
Deprecated.
 
elementAt(Expression, Expression) - Static method in class dev.morphia.aggregation.expressions.ArrayExpressions
Returns the element at the specified array index.
elemMatch(Query) - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
elemMatch(Query<?>) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
elemMatch(String, Filter...) - Static method in class dev.morphia.query.filters.Filters
Selects documents if element in the array field matches all the specified $elemMatch conditions.
Embedded - Annotation Type in dev.morphia.annotations
Deprecated.
It is now possible to use @Entity everywhere. If a type is only for use as an embedded value, no @Id field is necessary.
enableDiscriminator(boolean) - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
Enables or disables the use of a discriminator when serializing
enableDocumentValidation() - Method in interface dev.morphia.Datastore
Deprecated, for removal: This API element is subject to removal in a future version.
this is handled by the config file and should not be called directly
enablePolymorphicQueries() - Method in interface dev.morphia.config.MorphiaConfig
Enable polymorphic queries.
enablePolymorphicQueries(boolean) - Method in class dev.morphia.mapping.MapperOptions.Builder
Deprecated.
 
enablePolymorphicQueries(Boolean) - Method in interface dev.morphia.config.MorphiaConfig
Updates this configuration with a new value and returns a new instance.
enableValidation() - Method in class dev.morphia.query.LegacyQuery
Deprecated.
 
enableValidation() - Method in interface dev.morphia.query.Query
Turns on validation (for all calls made after); by default validation is on
enableValidation() - Method in 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
Deprecated.
 
enableValidation() - Method in interface dev.morphia.query.Updates
Turns on validation (for all calls made after); by default validation is on
encode(Datastore) - Method in class dev.morphia.query.OperationTarget
Encodes this target
encode(Datastore, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.expressions.DateExpressions.DateExpression
 
encode(Datastore, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.expressions.ObjectExpressions.MergeObjects
 
encode(Datastore, BsonWriter, EncoderContext) - Method in class dev.morphia.query.filters.Filter
 
encode(Datastore, BsonWriter, EncoderContext) - Method in class dev.morphia.query.filters.GeoIntersectsFilter
 
encode(Datastore, BsonWriter, EncoderContext) - Method in class dev.morphia.query.filters.GeoWithinFilter
 
encode(Datastore, BsonWriter, EncoderContext) - Method in class dev.morphia.query.filters.LogicalFilter
 
encode(Datastore, BsonWriter, EncoderContext) - Method in class dev.morphia.query.filters.NearFilter
 
encode(Datastore, BsonWriter, EncoderContext) - Method in class dev.morphia.query.filters.RegexFilter
 
encode(Datastore, BsonWriter, EncoderContext) - Method in class dev.morphia.query.filters.TextSearchFilter
 
encode(Object) - Method in class dev.morphia.mapping.codec.pojo.MergingEncoder
 
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, Mapper, CodecRegistry) - Static method in class dev.morphia.mapping.codec.writer.DocumentWriter
Encodes a value.
encode(Object, Mapper, CodecRegistry, EncoderContext) - Static method in class dev.morphia.mapping.codec.writer.DocumentWriter
Encodes this writer's structuring using the given codec
encode(BsonWriter) - Method in enum dev.morphia.aggregation.stages.Sort.Direction
 
encode(BsonWriter, Key, EncoderContext) - Method in class dev.morphia.mapping.codec.KeyCodec
Deprecated.
 
encode(BsonWriter, LegacyQuery, EncoderContext) - Method in class dev.morphia.mapping.codec.LegacyQueryCodec
Deprecated.
 
encode(BsonWriter, Sort) - Static method in class dev.morphia.aggregation.codecs.ExpressionHelper
 
encode(BsonWriter, Byte[], EncoderContext) - Method in class dev.morphia.mapping.codec.ByteWrapperArrayCodec
 
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, LocalDate, EncoderContext) - Method in class dev.morphia.mapping.codec.MorphiaDateCodec
 
encode(BsonWriter, LocalDateTime, EncoderContext) - Method in class dev.morphia.mapping.codec.MorphiaLocalDateTimeCodec
 
encode(BsonWriter, LocalTime, EncoderContext) - Method in class dev.morphia.mapping.codec.MorphiaLocalTimeCodec
 
encode(BsonWriter, BitSet, EncoderContext) - Method in class dev.morphia.mapping.codec.BitSetCodec
 
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, Map, EncoderContext) - Method in class dev.morphia.mapping.codec.MorphiaMapCodec
 
encode(BsonWriter, T, EncoderContext) - Method in class dev.morphia.aggregation.codecs.ExpressionCodec
 
encode(BsonWriter, T, EncoderContext) - Method in class dev.morphia.aggregation.codecs.stages.StageCodec
 
encode(BsonWriter, T, EncoderContext) - Method in class dev.morphia.mapping.codec.EnumCodec
 
encode(BsonWriter, T, EncoderContext) - Method in class dev.morphia.mapping.codec.pojo.EntityEncoder
 
encode(BsonWriter, T, EncoderContext) - Method in class dev.morphia.mapping.codec.pojo.LifecycleEncoder
 
encode(BsonWriter, T, EncoderContext) - Method in class dev.morphia.mapping.codec.pojo.MorphiaCodec
 
encode(CodecRegistry, Object, EncoderContext) - Method in class dev.morphia.mapping.codec.writer.DocumentWriter
Encodes a value in to this Writer
encodeDiscriminator(BsonWriter, EntityModel) - Method in class dev.morphia.mapping.codec.pojo.EntityEncoder
 
encodeDiscriminator(BsonWriter, EntityModel) - Method in class dev.morphia.mapping.codec.pojo.MergingEncoder
 
encodeId(Mapper, Object, EntityModel) - Static method in class dev.morphia.mapping.codec.references.ReferenceCodec
Encodes a value
encodeIdProperty(BsonWriter, Object, EncoderContext, PropertyModel) - Method in class dev.morphia.mapping.codec.pojo.EntityEncoder
 
encodeIdProperty(BsonWriter, Object, EncoderContext, PropertyModel) - Method in class dev.morphia.mapping.codec.pojo.MergingEncoder
 
encodeProperty(BsonWriter, PropertyModel, Object, EncoderContext) - Method in class dev.morphia.mapping.codec.pojo.EntityEncoder
Encodes a property on the model
encodeStage(BsonWriter, AddFields, EncoderContext) - Method in class dev.morphia.aggregation.codecs.stages.AddFieldsCodec
 
encodeStage(BsonWriter, AutoBucket, EncoderContext) - Method in class dev.morphia.aggregation.codecs.stages.AutoBucketCodec
 
encodeStage(BsonWriter, Bucket, EncoderContext) - Method in class dev.morphia.aggregation.codecs.stages.BucketCodec
 
encodeStage(BsonWriter, ChangeStream, EncoderContext) - Method in class dev.morphia.aggregation.codecs.stages.ChangeStreamCodec
 
encodeStage(BsonWriter, CollectionStats, EncoderContext) - Method in class dev.morphia.aggregation.codecs.stages.CollectionStatsCodec
 
encodeStage(BsonWriter, Count, EncoderContext) - Method in class dev.morphia.aggregation.codecs.stages.CountCodec
 
encodeStage(BsonWriter, CurrentOp, EncoderContext) - Method in class dev.morphia.aggregation.codecs.stages.CurrentOpCodec
 
encodeStage(BsonWriter, Densify, EncoderContext) - Method in class dev.morphia.aggregation.codecs.stages.DensifyCodec
 
encodeStage(BsonWriter, Documents, EncoderContext) - Method in class dev.morphia.aggregation.codecs.stages.DocumentsCodec
 
encodeStage(BsonWriter, Facet, EncoderContext) - Method in class dev.morphia.aggregation.codecs.stages.FacetCodec
 
encodeStage(BsonWriter, Fill, EncoderContext) - Method in class dev.morphia.aggregation.codecs.stages.FillCodec
 
encodeStage(BsonWriter, GeoNear, EncoderContext) - Method in class dev.morphia.aggregation.codecs.stages.GeoNearCodec
 
encodeStage(BsonWriter, GraphLookup, EncoderContext) - Method in class dev.morphia.aggregation.codecs.stages.GraphLookupCodec
 
encodeStage(BsonWriter, Group, EncoderContext) - Method in class dev.morphia.aggregation.codecs.stages.GroupCodec
 
encodeStage(BsonWriter, IndexStats, EncoderContext) - Method in class dev.morphia.aggregation.codecs.stages.IndexStatsCodec
 
encodeStage(BsonWriter, Limit, EncoderContext) - Method in class dev.morphia.aggregation.codecs.stages.LimitCodec
 
encodeStage(BsonWriter, Lookup, EncoderContext) - Method in class dev.morphia.aggregation.codecs.stages.LookupCodec
 
encodeStage(BsonWriter, Match, EncoderContext) - Method in class dev.morphia.aggregation.codecs.stages.MatchCodec
 
encodeStage(BsonWriter, Merge, EncoderContext) - Method in class dev.morphia.aggregation.codecs.stages.MergeCodec
 
encodeStage(BsonWriter, Out, EncoderContext) - Method in class dev.morphia.aggregation.codecs.stages.OutCodec
 
encodeStage(BsonWriter, PlanCacheStats, EncoderContext) - Method in class dev.morphia.aggregation.codecs.stages.PlanCacheStatsCodec
 
encodeStage(BsonWriter, Projection, EncoderContext) - Method in class dev.morphia.aggregation.codecs.stages.ProjectionCodec
 
encodeStage(BsonWriter, Redact, EncoderContext) - Method in class dev.morphia.aggregation.codecs.stages.RedactCodec
 
encodeStage(BsonWriter, ReplaceRoot, EncoderContext) - Method in class dev.morphia.aggregation.codecs.stages.ReplaceRootCodec
 
encodeStage(BsonWriter, ReplaceWith, EncoderContext) - Method in class dev.morphia.aggregation.codecs.stages.ReplaceWithCodec
 
encodeStage(BsonWriter, Sample, EncoderContext) - Method in class dev.morphia.aggregation.codecs.stages.SampleCodec
 
encodeStage(BsonWriter, Set, EncoderContext) - Method in class dev.morphia.aggregation.codecs.stages.SetStageCodec
 
encodeStage(BsonWriter, SetWindowFields, EncoderContext) - Method in class dev.morphia.aggregation.codecs.stages.SetWindowFieldsCodec
 
encodeStage(BsonWriter, Skip, EncoderContext) - Method in class dev.morphia.aggregation.codecs.stages.SkipCodec
 
encodeStage(BsonWriter, SortByCount, EncoderContext) - Method in class dev.morphia.aggregation.codecs.stages.SortByCountCodec
 
encodeStage(BsonWriter, Sort, EncoderContext) - Method in class dev.morphia.aggregation.codecs.stages.SortCodec
 
encodeStage(BsonWriter, UnionWith, EncoderContext) - Method in class dev.morphia.aggregation.codecs.stages.UnionWithCodec
 
encodeStage(BsonWriter, Unset, EncoderContext) - Method in class dev.morphia.aggregation.codecs.stages.UnsetCodec
 
encodeStage(BsonWriter, Unwind, EncoderContext) - Method in class dev.morphia.aggregation.codecs.stages.UnwindCodec
 
encodeStage(BsonWriter, T, EncoderContext) - Method in class dev.morphia.aggregation.codecs.stages.StageCodec
 
encodeValue(BsonWriter, EncoderContext, PropertyModel, Object) - Method in class dev.morphia.mapping.codec.pojo.EntityEncoder
 
encodeValue(BsonWriter, EncoderContext, PropertyModel, Object) - Method in class dev.morphia.mapping.codec.pojo.MergingEncoder
 
endsWith(String) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
endsWith(String) - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
endsWithIgnoreCase(String) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
endsWithIgnoreCase(String) - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
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
Deprecated, for removal: This API element is subject to removal in a future version.
this is handled by the config file and should not be called directly
ensureIndexes() - Method in interface dev.morphia.Datastore
Deprecated, for removal: This API element is subject to removal in a future version.
this is configured by the config file and doesn't need to be called directly
Entity - Annotation Type in dev.morphia.annotations
Marks a class as a Morphia entity indicating it should be mapped.
EntityAndEmbed - Class in dev.morphia.mapping.validation.classrules
Checks that @Entity and @Embed aren't both used on a type.
EntityAndEmbed() - Constructor for class dev.morphia.mapping.validation.classrules.EntityAndEmbed
 
EntityDecoder<T> - Class in dev.morphia.mapping.codec.pojo
 
EntityDecoder(MorphiaCodec<T>) - Constructor for class dev.morphia.mapping.codec.pojo.EntityDecoder
 
EntityEncoder<T> - Class in dev.morphia.mapping.codec.pojo
 
EntityEncoder(MorphiaCodec<T>) - Constructor for class dev.morphia.mapping.codec.pojo.EntityEncoder
 
EntityInterceptor - Interface in dev.morphia
Deprecated, for removal: This API element is subject to removal in a future version.
use EntityListener instead. The interface is the same but generic and the name aligns better with the EntityListeners annotation.
EntityListener<T> - Interface in dev.morphia
 
EntityListeners - Annotation Type in dev.morphia.annotations
Specifies other classes to participate in the @Entity's lifecycle
EntityModelBuilder - Class in dev.morphia.mapping.codec.pojo
Builder for EntityModels
EntityModelBuilder(Mapper, Class<?>) - Constructor for class dev.morphia.mapping.codec.pojo.EntityModelBuilder
Create a builder
EntityModelImporter - Interface in dev.morphia.mapping
Defines an importer to allow for the external definition and import of model and codec definitions.
EntityOrEmbed - Class in dev.morphia.mapping.validation.classrules
Checks that @Entity or @Embed are used on a type.
EntityOrEmbed() - Constructor for class dev.morphia.mapping.validation.classrules.EntityOrEmbed
 
entityType(Class<?>) - Method in class dev.morphia.query.filters.Filter
Sets the query entity type on the filter
entityType(Class<?>) - Method in class dev.morphia.query.filters.LogicalFilter
 
EnumCodec<T extends Enum<T>> - Class in dev.morphia.mapping.codec
An enum codec
EnumCodec(Class<T>) - Constructor for class dev.morphia.mapping.codec.EnumCodec
Creates a codec for the given 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.
eq(Expression, Expression) - Static method in class dev.morphia.aggregation.expressions.ComparisonExpressions
Returns true if the values are equivalent.
eq(String, Object) - Static method in class dev.morphia.query.filters.Filters
Specifies equality condition.
equal(Object) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
equal(Object) - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
EQUAL - dev.morphia.query.FilterOperator
Deprecated.
 
equalIgnoreCase(Object) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
equalIgnoreCase(Object) - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
equals(Object) - Method in class dev.morphia.geo.GeometryCollection
Deprecated.
 
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
Deprecated.
 
equals(Object) - Method in class dev.morphia.mapping.codec.BsonTypeMap
 
equals(Object) - Method in class dev.morphia.mapping.codec.pojo.PropertyModel
 
equals(Object) - Method in class dev.morphia.mapping.codec.pojo.TypeData
 
equals(Object) - Method in class dev.morphia.mapping.codec.pojo.WildCardTypeData
 
equals(Object) - Method in class dev.morphia.query.FindOptions
 
equals(Object) - Method in class dev.morphia.query.LegacyQuery
Deprecated.
 
exclude(String) - Method in class dev.morphia.aggregation.stages.Projection
Excludes a field.
exclude(String...) - Method in class dev.morphia.query.Projection
Adds a field to the projection clause.
execute() - Method in class dev.morphia.query.LegacyQuery
Deprecated, for removal: This API element is subject to removal in a future version.
execute() - Method in class dev.morphia.query.Modify
Deprecated.
Performs the operation
execute() - Method in interface dev.morphia.query.Query
Deprecated, for removal: This API element is subject to removal in a future version.
execute() - Method in class dev.morphia.query.Update
Deprecated.
Executes the update
execute(ModifyOptions) - Method in class dev.morphia.query.Modify
Deprecated.
Performs the operation
execute(FindOptions) - Method in class dev.morphia.query.LegacyQuery
Deprecated, for removal: This API element is subject to removal in a future version.
execute(FindOptions) - Method in interface dev.morphia.query.Query
Deprecated, for removal: This API element is subject to removal in a future version.
execute(MorphiaSession) - Method in interface dev.morphia.transactions.MorphiaTransaction
Executes the transaction body
execute(UpdateOptions) - Method in class dev.morphia.query.Update
Deprecated.
Executes the update
execute(Class<R>) - Method in class dev.morphia.aggregation.AggregationImpl
 
execute(Class<R>, AggregationOptions) - Method in class dev.morphia.aggregation.AggregationImpl
 
execute(Class<S>) - Method in interface dev.morphia.aggregation.Aggregation
Execute the aggregation and get the results.
execute(Class<S>, AggregationOptions) - Method in interface dev.morphia.aggregation.Aggregation
Execute the aggregation and get the results.
exists() - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
exists() - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
exists(String) - Static method in class dev.morphia.query.filters.Filters
Matches documents that have the specified field.
EXISTS - dev.morphia.query.FilterOperator
Deprecated.
 
exp(Expression) - Static method in class dev.morphia.aggregation.expressions.MathExpressions
Raises e to the specified exponent.
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, ExplainVerbosity) - Method in class dev.morphia.query.LegacyQuery
Deprecated.
 
explain(FindOptions, ExplainVerbosity) - Method in interface dev.morphia.query.Query
Provides information on the query plan.
expMovingAvg(Expression, int) - Static method in class dev.morphia.aggregation.expressions.WindowExpressions
Returns the exponential moving average of numeric expressions applied to documents in a partition defined in the $setWindowFields stage.
expr(Expression) - Static method in class dev.morphia.query.filters.Filters
Allows use of aggregation expressions within the query language.
expression(Datastore, BsonWriter, Expression, EncoderContext) - Static method in class dev.morphia.aggregation.codecs.ExpressionHelper
 
expression(Datastore, BsonWriter, String, Expression, EncoderContext) - Static method in class dev.morphia.aggregation.codecs.ExpressionHelper
 
expression(String, Object...) - Static method in class dev.morphia.aggregation.Projection
Deprecated.
Provides access to arbitrary expressions taking an array of arguments, such as $concat
ExpressionCodec<T extends dev.morphia.aggregation.expressions.impls.Expression> - Class in dev.morphia.aggregation.codecs
 
ExpressionCodec(Datastore) - Constructor for class dev.morphia.aggregation.codecs.ExpressionCodec
 
ExpressionHelper - Class in dev.morphia.aggregation.codecs
 
expressions() - Method in class dev.morphia.aggregation.stages.Documents
 
Expressions - Class in dev.morphia.aggregation.expressions
Defines helper methods for various expressions.
extended() - Method in class dev.morphia.query.filters.RegexFilter
“Extended” capability to ignore all white space characters in the $regex pattern unless escaped or included in a character class.
ExternalEntity - Annotation Type in dev.morphia.annotations
Marks a class as a "stand in" for an external class whose source can not be properly annotated.

F

facet() - Static method in class dev.morphia.aggregation.stages.Facet
Creates a new facet stage
facet(Facet) - Method in interface dev.morphia.aggregation.Aggregation
Processes multiple aggregation pipelines within a single stage on the same set of input documents.
facet(Facet) - Method in class dev.morphia.aggregation.AggregationImpl
 
Facet - Class in dev.morphia.aggregation.stages
Processes multiple aggregation pipelines within a single stage on the same set of input documents.
Facet() - Constructor for class dev.morphia.aggregation.stages.Facet
 
FacetCodec - Class in dev.morphia.aggregation.codecs.stages
 
FacetCodec(Datastore) - Constructor for class dev.morphia.aggregation.codecs.stages.FacetCodec
 
FATAL - dev.morphia.mapping.validation.ConstraintViolation.Level
 
field() - Method in class dev.morphia.aggregation.stages.Densify
 
field() - Method in class dev.morphia.query.updates.UpdateOperator
 
field(String) - Static method in class dev.morphia.aggregation.expressions.Expressions
Creates a field expression for the given value.
field(String) - Method in class dev.morphia.aggregation.stages.Group
Adds a field to the group.
field(String) - Method in class dev.morphia.aggregation.stages.Group.GroupId
Adds a field to the group.
field(String) - Method in class dev.morphia.query.LegacyQuery
Deprecated.
 
field(String) - Method in interface dev.morphia.query.Query
Deprecated, for removal: This API element is subject to removal in a future version.
field(String, Expression) - Method in class dev.morphia.aggregation.stages.AddFields
Add a field to the stage
field(String, Expression) - Method in class dev.morphia.aggregation.stages.Group
Adds a named field to the group with an expression giving the value.
field(String, Expression) - Method in class dev.morphia.aggregation.stages.Group.GroupId
Adds a named field to the group with an expression giving the value.
field(String, Expression) - Method in class dev.morphia.aggregation.stages.ReplaceRoot
Adds a new field
field(String, Expression) - Method in class dev.morphia.aggregation.stages.ReplaceWith
Adds a new field
field(String, Expression) - Method in class dev.morphia.aggregation.stages.Set
Add a field to the stage
field(String, ValueExpression) - Method in class dev.morphia.aggregation.stages.Fill
Specifies an object indicating how to fill missing values in the target field.
field(String, Fill.Method) - Method in class dev.morphia.aggregation.stages.Fill
Specifies an object indicating how to fill missing values in the target field.
field(String, Stage...) - Method in class dev.morphia.aggregation.stages.Facet
Adds a field to the facet
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
FieldDiscovery - Class in dev.morphia.mapping.conventions
 
FieldDiscovery() - Constructor for class dev.morphia.mapping.conventions.FieldDiscovery
 
FieldEnd<T> - Interface in dev.morphia.query
Deprecated, for removal: This API element is subject to removal in a future version.
FieldEndImpl<T extends CriteriaContainer> - Class in dev.morphia.query
Deprecated, for removal: This API element is subject to removal in a future version.
FieldEndImpl(Datastore, String, T, EntityModel, boolean) - Constructor for class dev.morphia.query.FieldEndImpl
Deprecated.
Creates a FieldEnd for a particular field.
FieldEnumString - Class in dev.morphia.mapping.validation.classrules
 
FieldEnumString(PropertyModel...) - Constructor for class dev.morphia.mapping.validation.classrules.FieldEnumString
Creates a FieldEnumString for the given fields
FieldEnumString(List<PropertyModel>) - Constructor for class dev.morphia.mapping.validation.classrules.FieldEnumString
Creates a FieldEnumString for the given fields
fieldNaming(NamingStrategy) - Method in class dev.morphia.mapping.MapperOptions.Builder
Deprecated, for removal: This API element is subject to removal in a future version.
fields() - Method in class dev.morphia.aggregation.stages.Fill
 
fields() - Method in annotation type dev.morphia.annotations.Index
 
fields(String, String...) - Static method in class dev.morphia.aggregation.stages.Unset
Deprecated, for removal: This API element is subject to removal in a future version.
FIELDS - dev.morphia.mapping.MapperOptions.PropertyDiscovery
Deprecated.
 
fill() - Static method in class dev.morphia.aggregation.stages.Fill
Creates a new $fill stage
fill(Fill) - Method in interface dev.morphia.aggregation.Aggregation
Populates null and missing field values within documents.
fill(Fill) - Method in class dev.morphia.aggregation.AggregationImpl
 
Fill - Class in dev.morphia.aggregation.stages
Populates null and missing field values within documents.
Fill() - Constructor for class dev.morphia.aggregation.stages.Fill
 
Fill.Method - Enum in dev.morphia.aggregation.stages
Possible methods for defining fill strategies.
FillCodec - Class in dev.morphia.aggregation.codecs.stages
 
FillCodec(Datastore) - Constructor for class dev.morphia.aggregation.codecs.stages.FillCodec
 
filter(Expression, Expression) - Static method in class dev.morphia.aggregation.expressions.ArrayExpressions
Selects a subset of the array to return an array with only the elements that match the filter condition.
filter(Filter...) - Method in interface dev.morphia.query.Query
Adds filters to this query.
filter(String, Object) - Method in class dev.morphia.query.LegacyQuery
Deprecated.
 
filter(String, Object) - Method in interface dev.morphia.query.Query
Deprecated, for removal: This API element is subject to removal in a future version.
Filter - Class in dev.morphia.query.filters
Base class for query filters
Filter(String) - Constructor for class dev.morphia.query.filters.Filter
 
Filter(String, String, Object) - Constructor for class dev.morphia.query.filters.Filter
 
FilterOperator - Enum in dev.morphia.query
Deprecated, for removal: This API element is subject to removal in a future version.
use Filters and Filter references instead
Filters - Class in dev.morphia.query.filters
Defines helper methods to generate filter operations for queries.
find() - Method in interface dev.morphia.query.Query
Deprecated, for removal: This API element is subject to removal in a future version.
find(MongoCollection<E>, Document) - Method in class dev.morphia.DatastoreImpl.DatastoreOperations
 
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 instances of a type
find(Class<T>, Document) - Method in interface dev.morphia.Datastore
Find instances of a type using a native query.
find(String) - Method in interface dev.morphia.Datastore
Find all instances by type in a different collection than what is mapped on the class given.
find(String, Class<T>) - Method in interface dev.morphia.Datastore
Deprecated, for removal: This API element is subject to removal in a future version.
findAndDelete() - Method in interface dev.morphia.query.Query
Deletes an entity from the database and returns it.
findAndDelete(FindAndDeleteOptions) - Method in class dev.morphia.query.LegacyQuery
Deprecated.
 
findAndDelete(FindAndDeleteOptions) - Method in interface dev.morphia.query.Query
Deletes an entity from the database and returns it.
findAndDelete(Query<T>) - Method in interface dev.morphia.Datastore
Deprecated, for removal: This API element is subject to removal in a future version.
findAndDelete(Query<T>, FindAndModifyOptions) - Method in interface dev.morphia.Datastore
Deprecated, for removal: This API element is subject to removal in a future version.
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.
findAndModify(Query<T>, UpdateOperations<T>, FindAndModifyOptions) - Method in interface dev.morphia.Datastore
Deprecated, for removal: This API element is subject to removal in a future version.
FindAndModifyOptions - Class in dev.morphia
Deprecated, for removal: This API element is subject to removal in a future version.
use ModifyOptions instead
FindAndModifyOptions() - Constructor for class dev.morphia.FindAndModifyOptions
Deprecated.
 
findIdProperty(Class<?>) - Method in class dev.morphia.mapping.Mapper
 
findOneAndDelete(MongoCollection<T>, Document, FindAndDeleteOptions) - Method in class dev.morphia.DatastoreImpl.DatastoreOperations
 
findOneAndUpdate(MongoCollection<T>, Document, Document, ModifyOptions) - Method in class dev.morphia.DatastoreImpl.DatastoreOperations
 
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
first() - Method in class dev.morphia.query.LegacyQuery
Deprecated.
 
first() - Method in interface dev.morphia.query.Query
Gets the first entity in the result set.
first(Expression) - Static method in class dev.morphia.aggregation.expressions.AccumulatorExpressions
Returns a value from the first document for each group.
first(FindOptions) - Method in class dev.morphia.query.LegacyQuery
Deprecated.
 
first(FindOptions) - Method in interface dev.morphia.query.Query
Gets the first entity in the result set.
first(String) - Static method in class dev.morphia.aggregation.Group
Deprecated.
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.
firstN(Expression, Expression) - Static method in class dev.morphia.aggregation.expressions.AccumulatorExpressions
Returns an aggregation of the first n elements within a group.
floor(Expression) - Static method in class dev.morphia.aggregation.expressions.MathExpressions
Returns the largest integer less than or equal to the specified number.
flush() - Method in class dev.morphia.mapping.codec.writer.DocumentWriter
 
foreignField(String) - Method in class dev.morphia.aggregation.stages.Lookup
Specifies the field from the documents in the from collection.
fqcn() - Method in annotation type dev.morphia.annotations.PossibleValues
Indicates that a fully qualified class name maybe listed as well.
from(Class) - Static method in class dev.morphia.aggregation.stages.GraphLookup
Deprecated, for removal: This API element is subject to removal in a future version.
from(Class<?>) - Static method in class dev.morphia.aggregation.stages.Lookup
Deprecated, for removal: This API element is subject to removal in a future version.
from(String) - Static method in class dev.morphia.aggregation.stages.GraphLookup
Deprecated, for removal: This API element is subject to removal in a future version.
from(String) - Static method in class dev.morphia.aggregation.stages.Lookup
Deprecated, for removal: This API element is subject to removal in a future version.
fromString(String) - Static method in enum dev.morphia.query.FilterOperator
Deprecated.
Creates a FilterOperator from a String
fromValue(Object) - Static method in enum dev.morphia.utils.IndexType
Returns the enum instance for the given value
full(Number) - Static method in class dev.morphia.aggregation.stages.Densify.Range
Creates a "full" range with documents spanning the full range of values of the field being densified.
FULL - dev.morphia.aggregation.stages.Densify.RangeType
 
fullDocument() - Method in class dev.morphia.aggregation.stages.ChangeStream
 
fullDocument(FullDocument) - Method in class dev.morphia.aggregation.stages.ChangeStream
Specifies whether change notifications include a copy of the full document when modified by update operations.
fullDocumentBeforeChange() - Method in class dev.morphia.aggregation.stages.ChangeStream
 
fullDocumentBeforeChange(FullDocumentBeforeChange) - Method in class dev.morphia.aggregation.stages.ChangeStream
Include the full document from before the change.
function(String, Expression...) - Static method in class dev.morphia.aggregation.expressions.AccumulatorExpressions
Defines a custom aggregation function or expression in JavaScript.

G

generateIdIfAbsentFromDocument(Object) - Method in class dev.morphia.mapping.codec.pojo.MorphiaCodec
 
GEO_NEAR - dev.morphia.query.FilterOperator
Deprecated.
 
GEO_WITHIN - dev.morphia.query.FilterOperator
Deprecated.
 
GEO2D - dev.morphia.utils.IndexDirection
 
GEO2D - dev.morphia.utils.IndexType
 
GEO2DSPHERE - dev.morphia.utils.IndexDirection
 
GEO2DSPHERE - dev.morphia.utils.IndexType
 
geoIntersects(String, Geometry) - Static method in class dev.morphia.query.filters.Filters
Selects geometries that intersect with a GeoJSON geometry.
GeoIntersectsFilter - Class in dev.morphia.query.filters
 
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
Deprecated, for removal: This API element is subject to removal in a future version.
use the driver defined types
geometry(String, Object) - Static method in class dev.morphia.query.filters.Filters
Specifies a geometry in GeoJSON format to geospatial query operators.
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
Deprecated, for removal: This API element is subject to removal in a future version. 
geoNear(double[]) - Static method in class dev.morphia.aggregation.stages.GeoNear
Creates a new geoNear stage
geoNear(Point) - Static method in class dev.morphia.aggregation.stages.GeoNear
Creates a new geoNear stage
geoNear(GeoNear) - Method in interface dev.morphia.aggregation.AggregationPipeline
Deprecated.
Returns an ordered stream of documents based on the proximity to a geospatial point.
geoNear(GeoNear) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
Deprecated.
 
geoNear(GeoNear) - Method in interface dev.morphia.aggregation.Aggregation
Outputs documents in order of nearest to farthest from a specified point.
geoNear(GeoNear) - Method in class dev.morphia.aggregation.AggregationImpl
 
GeoNear - Class in dev.morphia.aggregation
Deprecated, for removal: This API element is subject to removal in a future version.
GeoNear - Class in dev.morphia.aggregation.stages
Outputs documents in order of nearest to farthest from a specified point.
GeoNear() - Constructor for class dev.morphia.aggregation.stages.GeoNear
 
GeoNear(double[]) - Constructor for class dev.morphia.aggregation.stages.GeoNear
 
GeoNear(Point) - Constructor for class dev.morphia.aggregation.stages.GeoNear
 
GeoNear.GeoNearBuilder - Class in dev.morphia.aggregation
Deprecated, for removal: This API element is subject to removal in a future version.
GeoNearBuilder(String) - Constructor for class dev.morphia.aggregation.GeoNear.GeoNearBuilder
Deprecated.
 
GeoNearCodec - Class in dev.morphia.aggregation.codecs.stages
 
GeoNearCodec(Datastore) - Constructor for class dev.morphia.aggregation.codecs.stages.GeoNearCodec
 
geoWithin(String, MultiPolygon) - Static method in class dev.morphia.query.filters.Filters
Selects geometries within a bounding GeoJSON geometry.
geoWithin(String, Polygon) - Static method in class dev.morphia.query.filters.Filters
Selects geometries within a bounding GeoJSON geometry.
GeoWithinFilter - Class in dev.morphia.query.filters
Defines a $geoWithin filter.
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.PrimitiveCodecRegistry
 
get(Class<T>, CodecRegistry) - Method in class dev.morphia.aggregation.codecs.AggregationCodecProvider
 
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(Class<T>, CodecRegistry) - Method in class dev.morphia.mapping.codec.PrimitiveCodecRegistry
 
get(Object) - Method in class dev.morphia.mapping.codec.FieldAccessor
 
get(Field) - Static method in class dev.morphia.mapping.codec.pojo.TypeData
Creates a TypeData reflecting the type of the given field.
get(Method) - Static method in class dev.morphia.mapping.codec.pojo.TypeData
Creates a TypeData reflecting the type of the given method.
get(Type) - Static method in class dev.morphia.mapping.codec.pojo.TypeData
 
get(TypeWithTypeParameters<S>) - Method in class dev.morphia.mapping.codec.PropertyCodecRegistryImpl
 
get(S) - Method in class dev.morphia.mapping.codec.MethodAccessor
 
getAccessor() - Method in class dev.morphia.mapping.codec.pojo.PropertyModel
 
getAccumulator() - Method in class dev.morphia.aggregation.Group
Deprecated.
 
getAccumulators() - Method in class dev.morphia.query.BucketAutoOptions
Deprecated.
 
getAccumulators() - Method in class dev.morphia.query.BucketOptions
Deprecated.
 
getAllowDiskUse() - Method in class dev.morphia.query.FindOptions
Deprecated, for removal: This API element is subject to removal in a future version.
getAnnotation(Class<A>) - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
 
getAnnotation(Class<A>) - Method in class dev.morphia.mapping.codec.pojo.PropertyModel
Find an annotation of a specific type or null if not found.
getAnnotation(Class<A>) - Method in class dev.morphia.mapping.codec.pojo.PropertyModelBuilder
Gets the annotation of this type.
getArguments() - Method in class dev.morphia.aggregation.Projection
Deprecated.
 
getArray() - Method in class dev.morphia.mapping.codec.pojo.TypeData
 
getAs() - Method in class dev.morphia.aggregation.stages.GraphLookup
 
getAs() - Method in class dev.morphia.aggregation.stages.Lookup
 
getBatchSize() - Method in class dev.morphia.query.FindOptions
Deprecated, for removal: This API element is subject to removal in a future version.
getBoundaries() - Method in class dev.morphia.aggregation.stages.Bucket
 
getBuckets() - Method in class dev.morphia.aggregation.stages.AutoBucket
 
getBypassDocumentValidation() - Method in class dev.morphia.InsertManyOptions
Deprecated, for removal: This API element is subject to removal in a future version.
getBypassDocumentValidation() - Method in class dev.morphia.InsertOneOptions
Deprecated, for removal: This API element is subject to removal in a future version.
getBypassDocumentValidation() - Method in class dev.morphia.InsertOptions
Deprecated, for removal: This API element is subject to removal in a future version.
getCenter() - Method in class dev.morphia.query.Shape.Center
Deprecated.
 
getChildren() - Method in class dev.morphia.query.CriteriaContainerImpl
Deprecated.
 
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.
getCodec() - Method in class dev.morphia.mapping.codec.CollectionCodec
 
getCodecFromDocument(BsonReader, boolean, String, CodecRegistry, DiscriminatorLookup, Codec<T>) - Method in class dev.morphia.mapping.codec.pojo.EntityDecoder
 
getCodecProvider(Mapper) - Method in interface dev.morphia.mapping.EntityModelImporter
Returns the codec provider responsible for creating the codecs for the EntityModels returned by this importer.
getCodecRegistry() - Method in class dev.morphia.aggregation.codecs.stages.StageCodec
 
getCodecRegistry() - Method in interface dev.morphia.Datastore
 
getCodecs() - Method in class dev.morphia.mapping.codec.MorphiaCodecProvider
 
getCollation() - Method in class dev.morphia.query.FindOptions
Deprecated, for removal: This API element is subject to removal in a future version.
getCollection() - Method in class dev.morphia.aggregation.stages.Merge
 
getCollection() - Method in class dev.morphia.Key
Deprecated.
 
getCollection() - Method in class dev.morphia.query.UpdateBase
 
getCollection(Class<T>) - Method in interface dev.morphia.Datastore
 
getCollectionName() - Method in class dev.morphia.aggregation.stages.UnionWith
 
getCollectionName() - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
 
getCollectionNaming() - Method in class dev.morphia.mapping.MapperOptions
 
getCollectionType() - Method in class dev.morphia.aggregation.stages.UnionWith
 
getComment() - Method in class dev.morphia.query.FindOptions
Deprecated, for removal: This API element is subject to removal in a future version.
getConfig() - Method in class dev.morphia.mapping.Mapper
 
getConnectFromField() - Method in class dev.morphia.aggregation.stages.GraphLookup
 
getConnectToField() - Method in class dev.morphia.aggregation.stages.GraphLookup
 
getConventions() - Method in class dev.morphia.mapping.MapperOptions
 
getCoordinates() - Method in class dev.morphia.aggregation.stages.GeoNear
 
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.
 
getCount() - Method in class dev.morphia.aggregation.stages.CollectionStats
 
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
Deprecated, for removal: This API element is subject to removal in a future version.
getDatabase() - Method in class dev.morphia.aggregation.stages.Merge
 
getDatabase() - Method in interface dev.morphia.Datastore
 
getDatastore() - Method in class dev.morphia.aggregation.codecs.stages.StageCodec
 
getDatastore() - Method in class dev.morphia.mapping.codec.BaseReferenceCodec
 
getDatastore() - Method in class dev.morphia.mapping.codec.pojo.MorphiaCodec
 
getDatastore() - Method in class dev.morphia.query.LegacyQuery
Deprecated.
 
getDatastore() - Method in class dev.morphia.query.UpdateBase
 
getDateStorage() - Method in class dev.morphia.mapping.MapperOptions
 
getDecoder() - Method in class dev.morphia.mapping.codec.pojo.MorphiaCodec
 
getDefaultField() - Method in class dev.morphia.query.BucketOptions
Deprecated.
 
getDefaultValue() - Method in class dev.morphia.aggregation.stages.Bucket
 
getDepthField() - Method in class dev.morphia.aggregation.stages.GraphLookup
 
getDirection() - Method in class dev.morphia.aggregation.stages.Sort.SortType
 
getDiscriminator() - Method in class dev.morphia.mapping.MapperOptions
 
getDiscriminatorKey() - Method in class dev.morphia.mapping.MapperOptions
 
getDiscriminatorLookup() - Method in class dev.morphia.mapping.codec.pojo.MorphiaCodec
 
getDiscriminatorLookup() - Method in class dev.morphia.mapping.Mapper
 
getDistanceField() - Method in class dev.morphia.aggregation.GeoNear
Deprecated.
 
getDistanceField() - Method in class dev.morphia.aggregation.stages.GeoNear
 
getDistanceMultiplier() - Method in class dev.morphia.aggregation.GeoNear
Deprecated.
 
getDistanceMultiplier() - Method in class dev.morphia.aggregation.stages.GeoNear
 
getDocument() - Method in class dev.morphia.aggregation.stages.AddFields
 
getDocument() - Method in class dev.morphia.aggregation.stages.Group.GroupId
 
getDocument() - Method in class dev.morphia.aggregation.stages.ReplaceRoot
 
getDocument() - Method in class dev.morphia.aggregation.stages.ReplaceWith
 
getDocument() - Method in class dev.morphia.aggregation.stages.Set
 
getDocument() - Method in class dev.morphia.mapping.codec.writer.DocumentWriter
 
getDocumentId(Object) - Method in class dev.morphia.mapping.codec.pojo.MorphiaCodec
 
getDocumentValue(Document) - Method in class dev.morphia.mapping.codec.pojo.PropertyModel
 
getEncoder() - Method in class dev.morphia.mapping.codec.pojo.MorphiaCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.codecs.ExpressionCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.codecs.stages.AddFieldsCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.codecs.stages.AutoBucketCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.codecs.stages.BucketCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.codecs.stages.ChangeStreamCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.codecs.stages.CollectionStatsCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.codecs.stages.CountCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.codecs.stages.CurrentOpCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.codecs.stages.DensifyCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.codecs.stages.DocumentsCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.codecs.stages.FacetCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.codecs.stages.FillCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.codecs.stages.GeoNearCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.codecs.stages.GraphLookupCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.codecs.stages.GroupCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.codecs.stages.IndexStatsCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.codecs.stages.LimitCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.codecs.stages.LookupCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.codecs.stages.MatchCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.codecs.stages.MergeCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.codecs.stages.OutCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.codecs.stages.PlanCacheStatsCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.codecs.stages.ProjectionCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.codecs.stages.RedactCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.codecs.stages.ReplaceRootCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.codecs.stages.ReplaceWithCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.codecs.stages.SampleCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.codecs.stages.SetStageCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.codecs.stages.SetWindowFieldsCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.codecs.stages.SkipCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.codecs.stages.SortByCountCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.codecs.stages.SortCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.codecs.stages.UnionWithCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.codecs.stages.UnsetCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.codecs.stages.UnwindCodec
 
getEncoderClass() - Method in class dev.morphia.mapping.codec.BitSetCodec
 
getEncoderClass() - Method in class dev.morphia.mapping.codec.ByteWrapperArrayCodec
 
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.EnumCodec
 
getEncoderClass() - Method in class dev.morphia.mapping.codec.KeyCodec
Deprecated.
 
getEncoderClass() - Method in class dev.morphia.mapping.codec.LegacyQueryCodec
Deprecated.
 
getEncoderClass() - Method in class dev.morphia.mapping.codec.LocaleCodec
 
getEncoderClass() - Method in class dev.morphia.mapping.codec.MorphiaDateCodec
 
getEncoderClass() - Method in class dev.morphia.mapping.codec.MorphiaLocalDateTimeCodec
 
getEncoderClass() - Method in class dev.morphia.mapping.codec.MorphiaLocalTimeCodec
 
getEncoderClass() - Method in class dev.morphia.mapping.codec.ObjectCodec
 
getEncoderClass() - Method in class dev.morphia.mapping.codec.pojo.EntityEncoder
 
getEncoderClass() - Method in class dev.morphia.mapping.codec.pojo.MorphiaCodec
 
getEncoderClass() - Method in class dev.morphia.mapping.codec.references.ReferenceCodec
 
getEncoderClass() - Method in class dev.morphia.mapping.codec.URICodec
 
getEntityClass() - Method in class dev.morphia.query.LegacyQuery
Deprecated.
 
getEntityClass() - Method in interface dev.morphia.query.Query
 
getEntityModel() - Method in class dev.morphia.mapping.codec.pojo.MorphiaCodec
 
getEntityModel() - Method in class dev.morphia.mapping.codec.pojo.PropertyModel
 
getEntityModelForField() - Method in class dev.morphia.mapping.codec.BaseReferenceCodec
 
getExpression() - Method in class dev.morphia.aggregation.stages.Redact
 
getExpression() - Method in class dev.morphia.aggregation.stages.SortByCount
 
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.aggregation.stages.Group.GroupId
 
getField() - Method in class dev.morphia.aggregation.stages.Sort.SortType
 
getField() - Method in class dev.morphia.mapping.codec.FieldAccessor
 
getField() - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
getField() - Method in class dev.morphia.query.filters.Filter
 
getField() - Method in class dev.morphia.query.Meta
 
getField() - Method in class dev.morphia.query.Sort
 
getField(Expression) - Static method in class dev.morphia.aggregation.expressions.Miscellaneous
Returns the value of a specified field from a document.
getField(String) - Static method in class dev.morphia.aggregation.expressions.Miscellaneous
Returns the value of a specified field from a document.
getFieldName() - Method in interface dev.morphia.query.Criteria
Deprecated.
 
getFieldName() - Method in class dev.morphia.query.CriteriaContainerImpl
Deprecated.
 
getFieldName() - Method in class dev.morphia.query.LegacyQuery
Deprecated.
 
getFieldName() - Method in class dev.morphia.query.WhereCriteria
Deprecated.
 
getFieldNaming() - Method in class dev.morphia.mapping.MapperOptions
Deprecated, for removal: This API element is subject to removal in a future version.
getFields() - Method in class dev.morphia.aggregation.stages.Facet
 
getFields() - Method in class dev.morphia.aggregation.stages.Group
 
getFields() - Method in class dev.morphia.aggregation.stages.Projection
 
getFields() - Method in class dev.morphia.aggregation.stages.Unset
 
getFieldsObject() - Method in class dev.morphia.query.LegacyQuery
Deprecated.
 
getFilters() - Method in class dev.morphia.aggregation.stages.GeoNear
 
getFilters() - Method in class dev.morphia.aggregation.stages.Match
 
getForeignField() - Method in class dev.morphia.aggregation.stages.Lookup
 
getFrom() - Method in class dev.morphia.aggregation.stages.GraphLookup
 
getFrom() - Method in class dev.morphia.aggregation.stages.Lookup
 
getFromType() - Method in class dev.morphia.aggregation.stages.GraphLookup
 
getFromType() - Method in class dev.morphia.aggregation.stages.Lookup
 
getFullName() - Method in class dev.morphia.mapping.codec.pojo.PropertyModel
 
getGeometry() - Method in class dev.morphia.query.Shape
Deprecated.
 
getGranulality() - Method in enum dev.morphia.query.BucketAutoOptions.Granularity
Deprecated.
 
getGranularity() - Method in class dev.morphia.aggregation.stages.AutoBucket
 
getGranularity() - Method in class dev.morphia.query.BucketAutoOptions
Deprecated.
 
getGroupBy() - Method in class dev.morphia.aggregation.stages.AutoBucket
 
getGroupBy() - Method in class dev.morphia.aggregation.stages.Bucket
 
getHint() - Method in class dev.morphia.query.FindOptions
Deprecated, for removal: This API element is subject to removal in a future version.
getHistogram() - Method in class dev.morphia.aggregation.stages.CollectionStats
 
getId() - Method in class dev.morphia.aggregation.stages.Group
 
getId() - Method in class dev.morphia.Key
Deprecated.
 
getId(Object) - Method in class dev.morphia.mapping.Mapper
Gets the ID value for an entity
getIdGenerator() - Method in class dev.morphia.mapping.codec.pojo.EntityEncoder
 
getIncludeArrayIndex() - Method in class dev.morphia.aggregation.stages.Unwind
 
getIncludeLocations() - Method in class dev.morphia.aggregation.GeoNear
Deprecated.
This specifies the output field that identifies the location used to calculate the distance.
getIncludeLocs() - Method in class dev.morphia.aggregation.stages.GeoNear
 
getInstance() - Method in class dev.morphia.mapping.codec.CollectionCodec
 
getInstance() - Method in interface dev.morphia.mapping.codec.MorphiaInstanceCreator
 
getInstance() - Method in class dev.morphia.mapping.NoArgCreator
 
getInstanceCreator() - Method in class dev.morphia.mapping.codec.pojo.EntityDecoder
 
getInterceptors() - Method in class dev.morphia.mapping.Mapper
Deprecated, for removal: This API element is subject to removal in a future version. 
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.
getJoinMethod() - Method in class dev.morphia.query.CriteriaContainerImpl
Deprecated.
 
getKey() - Method in class dev.morphia.aggregation.stages.GeoNear
 
getKey(T) - Method in class dev.morphia.mapping.Mapper
Deprecated, for removal: This API element is subject to removal in a future version.
getKey(T, String) - Method in class dev.morphia.mapping.Mapper
Deprecated, for removal: This API element is subject to removal in a future version.
getLatitude() - Method in class dev.morphia.geo.Point
Deprecated.
Return the latitude of this point.
getLevel() - Method in class dev.morphia.mapping.validation.ConstraintViolation
 
getLimit() - Method in class dev.morphia.aggregation.GeoNear
Deprecated.
 
getLimit() - Method in class dev.morphia.aggregation.stages.Limit
 
getLimit() - Method in class dev.morphia.query.ArraySlice
 
getLimit() - Method in class dev.morphia.query.FindOptions
Deprecated, for removal: This API element is subject to removal in a future version.
getLoadNames() - Method in class dev.morphia.mapping.codec.pojo.PropertyModel
 
getLocalField() - Method in class dev.morphia.aggregation.stages.Lookup
 
getLoggedQuery() - Method in class dev.morphia.query.LegacyQuery
Deprecated.
 
getLoggedQuery() - Method in interface dev.morphia.query.Query
 
getLoggedQuery(FindOptions) - Method in interface dev.morphia.Datastore
Deprecated, for removal: This API element is subject to removal in a future version.
getLongitude() - Method in class dev.morphia.geo.Point
Deprecated.
Return the longitude of this point.
getMappedEntities() - Method in class dev.morphia.mapping.Mapper
 
getMappedName() - Method in class dev.morphia.mapping.codec.pojo.PropertyModel
 
getMapper() - Method in interface dev.morphia.Datastore
 
getMapper() - Method in class dev.morphia.mapping.codec.MorphiaCodecProvider
 
getMapper() - Method in class dev.morphia.mapping.codec.pojo.MorphiaCodec
 
getMark() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
getMax() - Method in class dev.morphia.query.FindOptions
Deprecated, for removal: This API element is subject to removal in a future version.
getMaxAwaitTime(TimeUnit) - Method in class dev.morphia.query.FindOptions
Deprecated, for removal: This API element is subject to removal in a future version.
getMaxDepth() - Method in class dev.morphia.aggregation.stages.GraphLookup
 
getMaxDistance() - Method in class dev.morphia.aggregation.GeoNear
Deprecated.
The maximum distance from the center point that the documents can be.
getMaxDistance() - Method in class dev.morphia.aggregation.stages.GeoNear
 
getMaxDocuments() - Method in class dev.morphia.aggregation.GeoNear
Deprecated.
The num option provides the same function as the limit option.
getMaxTime(TimeUnit) - Method in class dev.morphia.query.CountOptions
Deprecated, for removal: This API element is subject to removal in a future version.
getMaxTime(TimeUnit) - Method in class dev.morphia.query.FindOptions
Deprecated, for removal: This API element is subject to removal in a future version.
getMin() - Method in class dev.morphia.query.FindOptions
Deprecated, for removal: This API element is subject to removal in a future version.
getMinDistance() - Method in class dev.morphia.aggregation.stages.GeoNear
 
getModels(Mapper) - Method in interface dev.morphia.mapping.EntityModelImporter
Returns the models to be introduced by this importer.
getMorphiaCodec() - Method in class dev.morphia.mapping.codec.pojo.EntityDecoder
 
getMorphiaCodec() - Method in class dev.morphia.mapping.codec.pojo.EntityEncoder
 
getName() - Method in class dev.morphia.aggregation.Group
Deprecated.
 
getName() - Method in class dev.morphia.aggregation.stages.Count
 
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.PropertyModel
 
getName() - Method in class dev.morphia.query.filters.Filter
 
getNear() - Method in class dev.morphia.aggregation.GeoNear
Deprecated.
The point for which to find the closest documents.
getNested() - Method in class dev.morphia.aggregation.Group
Deprecated.
 
getNormalizedType() - Method in class dev.morphia.mapping.codec.pojo.PropertyModel
Gets the parameterized type of a List or the key type of a Map, e.g.
getObjectCodec() - Method in class dev.morphia.aggregation.codecs.stages.SetWindowFieldsCodec
 
getOn() - Method in class dev.morphia.aggregation.stages.Merge
 
getOperation() - Method in class dev.morphia.aggregation.Accumulator
 
getOps() - Method in class dev.morphia.query.UpdateOpsImpl
Deprecated.
 
getOptions() - Method in class dev.morphia.InsertManyOptions
Deprecated, for removal: This API element is subject to removal in a future version.
getOptions() - Method in class dev.morphia.InsertOneOptions
Deprecated, for removal: This API element is subject to removal in a future version.
getOrder() - Method in class dev.morphia.query.Sort
Returns the sort order.
getOutput() - Method in class dev.morphia.aggregation.stages.AutoBucket
 
getOutput() - Method in class dev.morphia.aggregation.stages.Bucket
 
getPath() - Method in class dev.morphia.aggregation.stages.Unwind
 
getPipeline() - Method in class dev.morphia.aggregation.stages.Lookup
 
getPoint() - Method in class dev.morphia.aggregation.stages.GeoNear
 
getPoints() - Method in class dev.morphia.query.Shape
Deprecated.
 
getPrefix() - Method in class dev.morphia.mapping.validation.ConstraintViolation
 
getPreserveNullAndEmptyArrays() - Method in class dev.morphia.aggregation.stages.Unwind
 
getProjection() - Method in class dev.morphia.query.FindOptions
 
getProjections() - Method in class dev.morphia.aggregation.Group
Deprecated.
 
getProjections() - Method in class dev.morphia.aggregation.Projection
Deprecated.
 
getPropertyCodecProviders() - Method in class dev.morphia.mapping.codec.MorphiaCodecProvider
 
getPropertyModel() - Method in class dev.morphia.mapping.codec.BaseReferenceCodec
 
getPropertyNaming() - Method in class dev.morphia.mapping.MapperOptions
 
getQuery() - Method in class dev.morphia.aggregation.GeoNear
Deprecated.
Limits the results to the documents that match the query.
getQuery() - Method in class dev.morphia.query.CriteriaContainerImpl
Deprecated.
 
getQuery() - Method in class dev.morphia.query.UpdateBase
 
getQueryFactory() - Method in class dev.morphia.mapping.MapperOptions
 
getQueryLogId() - Method in class dev.morphia.query.FindOptions
Deprecated, for removal: This API element is subject to removal in a future version.
getRadius() - Method in class dev.morphia.query.Shape.Center
Deprecated.
 
getReferenceAnnotation(PropertyModel) - Static method in class dev.morphia.mapping.codec.BaseReferenceCodec
 
getRefreshCodec(T, CodecRegistry) - Method in class dev.morphia.mapping.codec.MorphiaCodecProvider
Creates a codec that uses an existing entity for loading rather than creating a new instance.
getRegistry() - Method in class dev.morphia.mapping.codec.pojo.MorphiaCodec
 
getRestriction() - Method in class dev.morphia.aggregation.stages.GraphLookup
 
getScale() - Method in class dev.morphia.aggregation.stages.CollectionStats
 
getServerAddress() - Method in class dev.morphia.query.MorphiaCursor
 
getServerCursor() - Method in class dev.morphia.query.MorphiaCursor
 
getSize() - Method in class dev.morphia.aggregation.stages.Sample
 
getSize() - Method in class dev.morphia.aggregation.stages.Skip
 
getSkip() - Method in class dev.morphia.query.ArraySlice
 
getSkip() - Method in class dev.morphia.query.FindOptions
Deprecated, for removal: This API element is subject to removal in a future version.
getSort() - Method in class dev.morphia.query.FindOptions
Deprecated, for removal: This API element is subject to removal in a future version.
getSort() - Method in class dev.morphia.query.LegacyQuery
Deprecated.
 
getSorts() - Method in class dev.morphia.aggregation.stages.Sort
 
getSource() - Method in class dev.morphia.aggregation.Projection
Deprecated.
 
getSourceField() - Method in class dev.morphia.aggregation.Group
Deprecated.
 
getSpherical() - Method in class dev.morphia.aggregation.GeoNear
Deprecated.
Required if using a 2dsphere index.
getSpherical() - Method in class dev.morphia.aggregation.stages.GeoNear
 
getStages() - Method in class dev.morphia.aggregation.AggregationImpl
 
getStages() - Method in class dev.morphia.aggregation.stages.UnionWith
 
getStartWith() - Method in class dev.morphia.aggregation.stages.GraphLookup
 
getTarget() - Method in class dev.morphia.aggregation.Projection
Deprecated.
 
getTarget() - Method in class dev.morphia.query.OperationTarget
 
getType() - Method in class dev.morphia.aggregation.stages.Merge
 
getType() - Method in class dev.morphia.geo.CoordinateReferenceSystem
Deprecated.
Gets the type of this Coordinate Reference System.
getType() - Method in class dev.morphia.geo.NamedCoordinateReferenceSystem
Deprecated.
 
getType() - Method in class dev.morphia.Key
Deprecated.
 
getType() - Method in class dev.morphia.mapping.codec.pojo.PropertyModel
 
getType() - Method in class dev.morphia.mapping.codec.pojo.TypeData
 
getType(List<? extends TypeWithTypeParameters<?>>, int) - Method in class dev.morphia.mapping.codec.MorphiaPropertyCodecProvider
 
getTypeData() - Method in class dev.morphia.mapping.codec.BaseReferenceCodec
 
getTypeData() - Method in class dev.morphia.mapping.codec.pojo.PropertyModel
 
getTypeData(Class<?>, TypeData<?>, Type) - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
 
getTypeName() - Method in enum dev.morphia.geo.CoordinateReferenceSystemType
Deprecated.
Gets the GeoJSON-defined name for the type.
getTypeParameters() - Method in class dev.morphia.mapping.codec.pojo.TypeData
 
getUpdates() - Method in class dev.morphia.query.UpdateBase
 
getUuidRepresentation() - Method in class dev.morphia.mapping.MapperOptions
Deprecated, for removal: This API element is subject to removal in a future version.
This should be configured in the MongoClient given to Morphia
getValue() - Method in class dev.morphia.aggregation.Accumulator
 
getValue() - Method in class dev.morphia.aggregation.stages.ReplaceRoot
 
getValue() - Method in class dev.morphia.aggregation.stages.ReplaceWith
 
getValue() - Method in class dev.morphia.query.filters.Filter
 
getValue() - Method in class dev.morphia.query.OperationTarget
 
getValue(Datastore) - Method in class dev.morphia.query.filters.Filter
 
getValue(Object) - Method in class dev.morphia.mapping.codec.pojo.PropertyModel
Gets the value of the property mapped on the instance given.
getVariables() - Method in class dev.morphia.aggregation.stages.Lookup
 
getVariables() - Method in class dev.morphia.aggregation.stages.Merge
 
getWhenMatched() - Method in class dev.morphia.aggregation.stages.Merge
 
getWhenMatchedPipeline() - Method in class dev.morphia.aggregation.stages.Merge
 
getWhenNotMatched() - Method in class dev.morphia.aggregation.stages.Merge
 
getWriteConcern(Class) - Method in class dev.morphia.mapping.Mapper
Gets the write concern for entity or returns the default write concern for this datastore
getZone() - Method in enum dev.morphia.mapping.DateStorage
 
granularity(BucketGranularity) - Method in class dev.morphia.aggregation.stages.AutoBucket
A string 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.
granularity(BucketAutoOptions.Granularity) - Method in class dev.morphia.query.BucketAutoOptions
Deprecated.
Define granularity field for the bucketauto stage
graphLookup(GraphLookup) - Method in interface dev.morphia.aggregation.Aggregation
Performs a recursive search on a collection, with options for restricting the search by recursion depth and query filter.
graphLookup(GraphLookup) - Method in class dev.morphia.aggregation.AggregationImpl
 
graphLookup(Class<?>) - Static method in class dev.morphia.aggregation.stages.GraphLookup
Target collection for the $graphLookup operation to search, recursively matching the connectFromField to the connectToField.
graphLookup(String) - Static method in class dev.morphia.aggregation.stages.GraphLookup
Target collection for the $graphLookup operation to search, recursively matching the connectFromField to the connectToField.
GraphLookup - Class in dev.morphia.aggregation.stages
Performs a recursive search on a collection, with options for restricting the search by recursion depth and query filter.
GraphLookup() - Constructor for class dev.morphia.aggregation.stages.GraphLookup
 
GraphLookup(Class) - Constructor for class dev.morphia.aggregation.stages.GraphLookup
Creates a new stage using the target collection for the mapped type
GraphLookup(String) - Constructor for class dev.morphia.aggregation.stages.GraphLookup
Creates a new stage using the target collection
GraphLookupCodec - Class in dev.morphia.aggregation.codecs.stages
 
GraphLookupCodec(Datastore) - Constructor for class dev.morphia.aggregation.codecs.stages.GraphLookupCodec
 
GREATER_THAN - dev.morphia.query.FilterOperator
Deprecated.
 
GREATER_THAN_OR_EQUAL - dev.morphia.query.FilterOperator
Deprecated.
 
greaterThan(Object) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
greaterThan(Object) - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
greaterThanOrEq(Object) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
greaterThanOrEq(Object) - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
group() - Static method in class dev.morphia.aggregation.stages.Group
Creates a group stage with no ID definition
group(Group...) - Method in interface dev.morphia.aggregation.AggregationPipeline
Deprecated.
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
Deprecated.
 
group(Group) - Method in interface dev.morphia.aggregation.Aggregation
Groups input documents by the specified _id expression and for each distinct grouping, outputs a document.
group(Group) - Method in class dev.morphia.aggregation.AggregationImpl
 
group(Group.GroupId) - Static method in class dev.morphia.aggregation.stages.Group
Creates a group stage with an ID definition
group(String, Group...) - Method in interface dev.morphia.aggregation.AggregationPipeline
Deprecated.
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
Deprecated.
 
group(List<Group>, Group...) - Method in interface dev.morphia.aggregation.AggregationPipeline
Deprecated.
 
group(List<Group>, Group...) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
Deprecated.
 
Group - Class in dev.morphia.aggregation
Deprecated, for removal: This API element is subject to removal in a future version.
use Group instead
Group - Class in dev.morphia.aggregation.stages
Groups input documents by the specified _id expression and for each distinct grouping, outputs a document.
Group() - Constructor for class dev.morphia.aggregation.stages.Group
 
Group(Group.GroupId) - Constructor for class dev.morphia.aggregation.stages.Group
 
Group.GroupId - Class in dev.morphia.aggregation.stages
Defines a group ID
groupBy(Expression) - Method in class dev.morphia.aggregation.stages.AutoBucket
An expression to group documents by.
groupBy(Expression) - Method in class dev.morphia.aggregation.stages.Bucket
An expression to group documents by.
groupByCapitals(String) - Static method in class dev.morphia.mapping.strategy.SnakeCase
 
GroupCodec - Class in dev.morphia.aggregation.codecs.stages
 
GroupCodec(Datastore) - Constructor for class dev.morphia.aggregation.codecs.stages.GroupCodec
 
GroupId() - Constructor for class dev.morphia.aggregation.stages.Group.GroupId
 
GroupId(Expression) - Constructor for class dev.morphia.aggregation.stages.Group.GroupId
 
grouping(String) - Static method in class dev.morphia.aggregation.Group
Deprecated.
Creates a named grouping
grouping(String, Accumulator) - Static method in class dev.morphia.aggregation.Group
Deprecated.
Creates a named grouping on a field
grouping(String, Group) - Static method in class dev.morphia.aggregation.Group
Deprecated.
Creates a named grouping
grouping(String, Projection...) - Static method in class dev.morphia.aggregation.Group
Deprecated.
Creates a named grouping
grouping(String, String) - Static method in class dev.morphia.aggregation.Group
Deprecated.
Creates a named grouping on a field
gt(Expression, Expression) - Static method in class dev.morphia.aggregation.expressions.ComparisonExpressions
Compares two values and returns: true when the first value is greater than the second value.
gt(String, Object) - Static method in class dev.morphia.query.filters.Filters
$gt selects those documents where the value of the field is greater than the specified value.
gte(Expression, Expression) - Static method in class dev.morphia.aggregation.expressions.ComparisonExpressions
Compares two values and returns: true when the first value is greater than or equivalent to the second value.
gte(String, Object) - Static method in class dev.morphia.query.filters.Filters
$gte selects the documents where the value of the field is greater than or equal to a specified value (e.g.

H

Handler - Annotation Type in dev.morphia.annotations
Defines a specific handler for a type above and beyond the codecs
hasAllOf(Iterable<?>) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
hasAllOf(Iterable<?>) - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
hasAnnotation(Class<? extends Annotation>) - Method in class dev.morphia.AbstractEntityInterceptor
Deprecated.
 
hasAnnotation(Class<? extends Annotation>) - Method in interface dev.morphia.EntityInterceptor
Deprecated.
 
hasAnnotation(Class<? extends Annotation>) - Method in interface dev.morphia.EntityListener
 
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.PropertyModel
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.PropertyModelBuilder
Checks this field for an annotation of the given type
hasAnyOf(Iterable<?>) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
hasAnyOf(Iterable<?>) - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
hashCode() - Method in class dev.morphia.geo.GeometryCollection
Deprecated.
 
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
Deprecated.
 
hashCode() - Method in class dev.morphia.mapping.codec.BsonTypeMap
 
hashCode() - Method in class dev.morphia.mapping.codec.pojo.PropertyModel
 
hashCode() - Method in class dev.morphia.mapping.codec.pojo.TypeData
 
hashCode() - Method in class dev.morphia.mapping.codec.pojo.WildCardTypeData
 
hashCode() - Method in class dev.morphia.query.FindOptions
 
hashCode() - Method in class dev.morphia.query.LegacyQuery
Deprecated.
 
HASHED - dev.morphia.mapping.ShardKeyType
 
HASHED - dev.morphia.utils.IndexType
 
hasInterceptors() - Method in class dev.morphia.mapping.Mapper
 
hasNext() - Method in class dev.morphia.query.MorphiaCursor
 
hasNoneOf(Iterable<?>) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
hasNoneOf(Iterable<?>) - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
hasThisOne(Object) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
hasThisOne(Object) - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
hint() - Method in class dev.morphia.aggregation.AggregationOptions
Deprecated, for removal: This API element is subject to removal in a future version.
hint(DBObject) - Method in class dev.morphia.query.FindOptions
Deprecated, for removal: This API element is subject to removal in a future version.
hint(String) - Method in class dev.morphia.aggregation.AggregationOptions
Sets the hint for which index to use.
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.DeleteOptions
hint(Bson) - Method in class dev.morphia.ModifyOptions
hint(Bson) - Method in class dev.morphia.query.CountOptions
 
hint(Bson) - Method in class dev.morphia.query.FindAndDeleteOptions
hint(Bson) - Method in class dev.morphia.ReplaceOptions
 
hint(Bson) - Method in class dev.morphia.UpdateOptions
hint(Document) - Method in class dev.morphia.DeleteOptions
 
hint(Document) - Method in class dev.morphia.ModifyOptions
 
hint(Document) - Method in class dev.morphia.query.CountOptions
Defines the index hint value
hint(Document) - Method in class dev.morphia.query.FindAndDeleteOptions
 
hint(Document) - Method in class dev.morphia.query.FindOptions
Sets the index hint
hint(Document) - Method in class dev.morphia.UpdateOptions
 
hintString(String) - Method in class dev.morphia.DeleteOptions
hintString(String) - Method in class dev.morphia.ModifyOptions
hintString(String) - Method in class dev.morphia.query.CountOptions
 
hintString(String) - Method in class dev.morphia.query.FindAndDeleteOptions
hintString(String) - Method in class dev.morphia.query.FindOptions
Defines the index hint value
hintString(String) - Method in class dev.morphia.ReplaceOptions
 
hintString(String) - Method in class dev.morphia.UpdateOptions
histogram(boolean) - Method in class dev.morphia.aggregation.stages.CollectionStats
Adds latency histogram information to the embedded documents in latencyStats if true.
hour(Expression) - Static method in class dev.morphia.aggregation.expressions.DateExpressions
Returns the hour for a date as a number between 0 and 23.
HOUR - dev.morphia.aggregation.expressions.TimeUnit
 

I

id() - Static method in class dev.morphia.aggregation.stages.Group
Creates an unnamed group ID
id(Expression) - Static method in class dev.morphia.aggregation.stages.Group
Creates a named group ID
id(Group...) - Static method in class dev.morphia.aggregation.Group
Deprecated.
Create a group of Groups for use as an ID
id(String) - Static method in class dev.morphia.aggregation.stages.Group
Creates a named group ID
Id - Annotation Type in dev.morphia.annotations
Denotes the ID field on an entity.
IdDoesNotMix - Class in dev.morphia.mapping.validation.fieldrules
Checks that @Id is not with any other mapping annotation
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
Identity - Class in dev.morphia.mapping.strategy
 
Identity() - Constructor for class dev.morphia.mapping.strategy.Identity
 
IdField - Annotation Type in dev.morphia.annotations
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.
idleConnections(boolean) - Method in class dev.morphia.aggregation.stages.CurrentOp
If set to false, $currentOp will only report active operations.
idleCursors(boolean) - Method in class dev.morphia.aggregation.stages.CurrentOp
If set to true, $currentOp will report on cursors that are “idle”; i.e.
idleSessions(boolean) - Method in class dev.morphia.aggregation.stages.CurrentOp
Include idle sessions or not
idOnly() - Method in annotation type dev.morphia.annotations.Reference
 
idPropertyName() - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
 
idPropertyName(String) - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
Sets the name of the id property
ifNull() - Static method in class dev.morphia.aggregation.expressions.ConditionalExpressions
Evaluates an expression and returns the value of the expression if the expression evaluates to a non-null value.
IGNORED_FIELDNAME - Static variable in class dev.morphia.mapping.Mapper
Special name that can never be used.
ignoreFinals() - Method in interface dev.morphia.config.MorphiaConfig
Instructs Morphia to ignore final fields.
ignoreFinals(boolean) - Method in class dev.morphia.mapping.MapperOptions.Builder
Deprecated.
 
ignoreFinals(Boolean) - Method in interface dev.morphia.config.MorphiaConfig
Updates this configuration with a new value and returns a new instance.
ignoreMissing() - Method in annotation type dev.morphia.annotations.Reference
 
in(Expression, Expression) - Static method in class dev.morphia.aggregation.expressions.ArrayExpressions
Returns a boolean indicating whether a specified value is in an array.
in(Iterable<?>) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
in(Iterable<?>) - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
in(String, Iterable<?>) - Static method in class dev.morphia.query.filters.Filters
The $in operator selects the documents where the value of a field equals any value in the specified array.
IN - dev.morphia.query.FilterOperator
Deprecated.
 
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
Deprecated.
 
inc(String) - Method in interface dev.morphia.query.Updates
Increments the numeric field by 1
inc(String) - Static method in class dev.morphia.query.updates.UpdateOperators
Increments the value of the field by one.
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
Deprecated.
 
inc(String, Number) - Method in interface dev.morphia.query.Updates
increments the numeric field by value (negatives are allowed)
inc(String, Number) - Static method in class dev.morphia.query.updates.UpdateOperators
Increments the value of the field by the specified amount.
include(String) - Method in class dev.morphia.aggregation.stages.Projection
Includes a field.
include(String...) - Method in class dev.morphia.query.Projection
Adds a field to the projection clause.
include(String, Expression) - Method in class dev.morphia.aggregation.stages.Projection
Includes a field.
includeArrayIndex(String) - Method in class dev.morphia.aggregation.stages.Unwind
Optional.
includeLocs(String) - Method in class dev.morphia.aggregation.stages.GeoNear
Optional.
Index - Annotation Type in dev.morphia.annotations
Defines an index
IndexDirection - Enum in dev.morphia.utils
Defines the "direction" of an index.
Indexed - Annotation Type in dev.morphia.annotations
Specified on fields that should be Indexed.
Indexes - Annotation Type in dev.morphia.annotations
Defines indexes for this entity type (on the collection)
indexKey(String) - Static method in class dev.morphia.query.Meta
 
indexOfArray(Expression, Expression) - Static method in class dev.morphia.aggregation.expressions.ArrayExpressions
Searches an array for an occurrence of a specified value and returns the array index of the first occurernce.
indexOfBytes(Expression, Expression) - Static method in class dev.morphia.aggregation.expressions.StringExpressions
Searches a string for an occurence of a substring and returns the UTF-8 byte index of the first occurence.
indexOfCP(Expression, Expression) - Static method in class dev.morphia.aggregation.expressions.StringExpressions
Searches a string for an occurence of a substring and returns the UTF-8 code point index of the first occurence.
IndexOptions - Annotation Type in dev.morphia.annotations
Defines the options to be used when declaring an index.
indexStats() - Method in interface dev.morphia.aggregation.Aggregation
Returns statistics regarding the use of each index for the collection.
indexStats() - Method in class dev.morphia.aggregation.AggregationImpl
 
indexStats() - Static method in class dev.morphia.aggregation.stages.IndexStats
Creates the new stage.
IndexStats - Class in dev.morphia.aggregation.stages
Returns statistics regarding the use of each index for the collection.
IndexStats() - Constructor for class dev.morphia.aggregation.stages.IndexStats
 
IndexStatsCodec - Class in dev.morphia.aggregation.codecs.stages
 
IndexStatsCodec(Datastore) - Constructor for class dev.morphia.aggregation.codecs.stages.IndexStatsCodec
 
IndexType - Enum in dev.morphia.utils
Defines the type of the index to create for a field.
INFO - dev.morphia.mapping.validation.ConstraintViolation.Level
 
insert(List<T>) - Method in interface dev.morphia.Datastore
Inserts a List of entities in to the mapped collection.
insert(List<T>, InsertManyOptions) - Method in interface dev.morphia.Datastore
Inserts entities in to the mapped collection.
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.Datastore
Inserts an entity in to the mapped collection.
insert(T, InsertOneOptions) - Method in interface dev.morphia.Datastore
Inserts an entity in to the mapped collection.
insert(T, InsertOptions) - Method in interface dev.morphia.AdvancedDatastore
Deprecated, for removal: This API element is subject to removal in a future version.
insertMany(MongoCollection<T>, List<T>, InsertManyOptions) - Method in class dev.morphia.DatastoreImpl.DatastoreOperations
 
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
 
insertOne(MongoCollection<T>, T, InsertOneOptions) - Method in class dev.morphia.DatastoreImpl.DatastoreOperations
 
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.
InsertOptions() - Constructor for class dev.morphia.InsertOptions
Deprecated.
 
InstanceCreatorFactory - Interface in dev.morphia.mapping
The factory for creating MorphiaInstanceCreator instances
InstanceCreatorFactoryImpl - 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
 
integral(Expression) - Static method in class dev.morphia.aggregation.expressions.WindowExpressions
Returns the approximation of the area under a curve, which is calculated using the trapezoidal rule where each set of adjacent documents form a trapezoid using the:
interfaces() - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
 
intersects(Geometry) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
intersects(Geometry) - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
intersects(Geometry, CoordinateReferenceSystem) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
intersects(Geometry, CoordinateReferenceSystem) - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
intersects(Geometry) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
intersects(Geometry, CoordinateReferenceSystem) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
INTERSECTS - dev.morphia.query.FilterOperator
Deprecated.
 
into(Class<M>) - Static method in class dev.morphia.aggregation.stages.Merge
Creates a new stage targeting the collection mapped for the given type
into(String) - Static method in class dev.morphia.aggregation.stages.Merge
Creates a new stage targeting the collection
into(String, String) - Static method in class dev.morphia.aggregation.stages.Merge
Creates a new stage targeting the database and collection
invalid(ValidationException) - Method in class dev.morphia.query.LegacyQuery
Deprecated.
 
invoke(Object, Method, Object[]) - Method in class dev.morphia.mapping.codec.references.ReferenceProxy
 
isAllUsers() - Method in class dev.morphia.aggregation.stages.CurrentOp
 
isArray() - Method in class dev.morphia.mapping.codec.pojo.PropertyModel
 
isArray() - Method in class dev.morphia.mapping.codec.pojo.TypeData
 
isArray(Expression) - Static method in class dev.morphia.aggregation.expressions.ArrayExpressions
Determines if the operand is an array.
isCacheClassLookups() - Method in class dev.morphia.mapping.MapperOptions
 
isDiscriminatorEnabled() - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
 
isEnablePolymorphicQueries() - Method in class dev.morphia.mapping.MapperOptions
 
isFetched() - Method in interface dev.morphia.mapping.codec.references.MorphiaProxy
 
isFetched() - Method in class dev.morphia.mapping.codec.references.ReferenceProxy
 
isIdleConnections() - Method in class dev.morphia.aggregation.stages.CurrentOp
 
isIdleCursors() - Method in class dev.morphia.aggregation.stages.CurrentOp
 
isIdleSessions() - Method in class dev.morphia.aggregation.stages.CurrentOp
 
isIgnoreFinals() - Method in class dev.morphia.mapping.MapperOptions
 
isLocalOps() - Method in class dev.morphia.aggregation.stages.CurrentOp
 
isLogQuery() - Method in class dev.morphia.query.FindOptions
This is an internal method.
isMap() - Method in class dev.morphia.mapping.codec.pojo.PropertyModel
 
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
Deprecated, for removal: This API element is subject to removal in a future version.
isMulti() - Method in class dev.morphia.UpdateOptions
Deprecated, for removal: This API element is subject to removal in a future version.
isMultipleValues() - Method in class dev.morphia.mapping.codec.pojo.PropertyModel
 
isNoCursorTimeout() - Method in class dev.morphia.query.FindOptions
Deprecated, for removal: This API element is subject to removal in a future version.
isNot() - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
isNot() - Method in class dev.morphia.query.filters.Filter
 
isNumber(Expression) - Static method in class dev.morphia.aggregation.expressions.TypeExpressions
Checks if the specified expression resolves to one of the numeric BSON types.
isoDayOfWeek(Expression) - Static method in class dev.morphia.aggregation.expressions.DateExpressions
Returns the weekday number in ISO 8601 format, ranging from 1 (for Monday) to 7 (for Sunday).
isOplogReplay() - Method in class dev.morphia.query.FindOptions
Deprecated, for removal: This API element is subject to removal in a future version.
isOrdered() - Method in class dev.morphia.InsertManyOptions
Deprecated, for removal: This API element is subject to removal in a future version.
isOrdered() - Method in class dev.morphia.InsertOptions
Deprecated, for removal: This API element is subject to removal in a future version.
isoWeek(Expression) - Static method in class dev.morphia.aggregation.expressions.DateExpressions
Returns the week number in ISO 8601 format, ranging from 1 to 53.
isoWeekYear(Expression) - Static method in class dev.morphia.aggregation.expressions.DateExpressions
Returns the year number in ISO 8601 format.
isPartial() - Method in class dev.morphia.query.FindOptions
Deprecated, for removal: This API element is subject to removal in a future version.
isReference() - Method in class dev.morphia.mapping.codec.pojo.PropertyModel
 
isReturnKey() - Method in class dev.morphia.query.FindOptions
Deprecated, for removal: This API element is subject to removal in a future version.
isScalarValue() - Method in class dev.morphia.mapping.codec.pojo.PropertyModel
 
isSet() - Method in class dev.morphia.mapping.codec.pojo.PropertyModel
 
isShowRecordId() - Method in class dev.morphia.query.FindOptions
Deprecated, for removal: This API element is subject to removal in a future version.
isStoreEmpties() - Method in class dev.morphia.mapping.MapperOptions
 
isStoreNulls() - Method in class dev.morphia.mapping.MapperOptions
 
isSuppressed() - Method in class dev.morphia.aggregation.Projection
Deprecated.
 
isTransient() - Method in class dev.morphia.mapping.codec.pojo.PropertyModel
 
isValidate() - Method in class dev.morphia.query.LegacyQuery
Deprecated.
 
isValidating(boolean) - Method in class dev.morphia.query.filters.Filter
Sets whether to validate field names or not
isValidating(boolean) - Method in class dev.morphia.query.filters.LogicalFilter
 
isValidatingNames() - Method in class dev.morphia.query.LegacyQuery
Deprecated.
 
iterator() - Method in interface dev.morphia.query.Query
Execute the query and get the results.
iterator(FindOptions) - Method in class dev.morphia.query.LegacyQuery
Deprecated.
 
iterator(FindOptions) - Method in interface dev.morphia.query.Query
Execute the query and get the results.

J

JAVASCRIPT - dev.morphia.query.Type
 
JAVASCRIPT_WITH_SCOPE - dev.morphia.query.Type
 
jsonSchema(String, Object) - Static method in class dev.morphia.query.filters.Filters
Deprecated, for removal: This API element is subject to removal in a future version.
jsonSchema(Document) - Static method in class dev.morphia.query.filters.Filters
Filters documents against the given JSON Schema.

K

kebabCase() - Static method in class dev.morphia.mapping.NamingStrategy
Defines a naming strategy that returns kebab case of the value passed
KebabCase - Class in dev.morphia.mapping.strategy
 
KebabCase() - Constructor for class dev.morphia.mapping.strategy.KebabCase
 
KEEP - Static variable in class dev.morphia.aggregation.expressions.SystemVariables
One of the allowed results of a $redact expression.
key(String) - Method in class dev.morphia.aggregation.stages.GeoNear
Optional.
Key<T> - Class in dev.morphia
Deprecated, for removal: This API element is subject to removal in a future version.
Key() - Constructor for class dev.morphia.Key
Deprecated.
For GWT serialization
Key(Class<? extends T>, String) - Constructor for class dev.morphia.Key
Deprecated.
Create a key with an id
Key(Class<? extends T>, String, Object) - Constructor for class dev.morphia.Key
Deprecated.
Create a key with an id
KeyCodec - Class in dev.morphia.mapping.codec
Deprecated, for removal: This API element is subject to removal in a future version.
keys() - Method in class dev.morphia.query.LegacyQuery
Deprecated.
 
keys() - Method in interface dev.morphia.query.Query
Deprecated, for removal: This API element is subject to removal in a future version.
use a project to retrieve only the ID values
keys(FindOptions) - Method in class dev.morphia.query.LegacyQuery
Deprecated.
 
keys(FindOptions) - Method in interface dev.morphia.query.Query
Deprecated, for removal: This API element is subject to removal in a future version.
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
 
language(String) - Method in class dev.morphia.query.filters.TextSearchFilter
Sets the language to use
languageOverride() - Method in annotation type dev.morphia.annotations.IndexOptions
 
last(Expression) - Static method in class dev.morphia.aggregation.expressions.AccumulatorExpressions
Returns a value from the last document for each group.
last(String) - Static method in class dev.morphia.aggregation.Group
Deprecated.
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.
lastN(Expression, Expression) - Static method in class dev.morphia.aggregation.expressions.AccumulatorExpressions
Returns an aggregation of the last n elements within a group.
latitude(double) - Method in class dev.morphia.geo.PointBuilder
Deprecated.
Add a latitude.
lazy() - Method in annotation type dev.morphia.annotations.Reference
 
LazyReferenceMissingDependencies - Class in dev.morphia.mapping.validation.fieldrules
Checks that proxy deps are present if lazy references are used.
LazyReferenceMissingDependencies() - Constructor for class dev.morphia.mapping.validation.fieldrules.LazyReferenceMissingDependencies
 
LazyReferenceOnArray - Class in dev.morphia.mapping.validation.fieldrules
Checks that lazy references aren't used in conjunction with arrays.
LazyReferenceOnArray() - Constructor for class dev.morphia.mapping.validation.fieldrules.LazyReferenceOnArray
 
legacy() - Method in interface dev.morphia.config.MorphiaConfig
Creates a new configuration based on the current one but updated to reflect the legacy configuration.
legacy() - Static method in class dev.morphia.mapping.MapperOptions
Deprecated.
See the upgrading instructions on the website.
LegacyQuery<T> - Class in dev.morphia.query
Deprecated. 
LegacyQuery(Datastore, String, Class<T>) - Constructor for class dev.morphia.query.LegacyQuery
Deprecated.
Creates a Query for the given type and collection
LegacyQueryCodec - Class in dev.morphia.mapping.codec
Deprecated. 
LegacyQueryCodec(Datastore) - Constructor for class dev.morphia.mapping.codec.LegacyQueryCodec
Deprecated.
Creates a codec
LegacyQueryFactory - Class in dev.morphia.query
Deprecated. 
LegacyQueryFactory() - Constructor for class dev.morphia.query.LegacyQueryFactory
Deprecated.
Logs a message stating this (obscured/hidden) class is going away and to read the website for steps on how to migrate away from it.
LESS_THAN - dev.morphia.query.FilterOperator
Deprecated.
 
LESS_THAN_OR_EQUAL - dev.morphia.query.FilterOperator
Deprecated.
 
lessThan(Object) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
lessThan(Object) - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
lessThanOrEq(Object) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
lessThanOrEq(Object) - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
let(Expression) - Static method in class dev.morphia.aggregation.expressions.VariableExpressions
Binds variables for use in the specified expression, and returns the result of the expression.
let(String, Expression) - Method in class dev.morphia.aggregation.stages.Lookup
Defines a variable
let(String, Expression) - Method in class dev.morphia.aggregation.stages.Merge
Specifies a variable accessible for use in the whenMatched pipeline
let(Bson) - Method in class dev.morphia.DeleteOptions
let(Bson) - Method in class dev.morphia.ModifyOptions
let(Bson) - Method in class dev.morphia.query.FindAndDeleteOptions
let(Bson) - Method in class dev.morphia.ReplaceOptions
 
let(Bson) - Method in class dev.morphia.UpdateOptions
 
let(Document) - Method in class dev.morphia.query.FindOptions
Add top-level variables to the operation.
level() - Method in annotation type dev.morphia.annotations.Validation
 
LIFECYCLE_ANNOTATIONS - Static variable in class dev.morphia.mapping.Mapper
 
LifecycleDecoder<T> - Class in dev.morphia.mapping.codec.pojo
 
LifecycleDecoder(MorphiaCodec<T>) - Constructor for class dev.morphia.mapping.codec.pojo.LifecycleDecoder
creates the decoder
LifecycleEncoder<T> - Class in dev.morphia.mapping.codec.pojo
 
LifecycleEncoder(MorphiaCodec<T>) - Constructor for class dev.morphia.mapping.codec.pojo.LifecycleEncoder
Creates a new encoder
limit(int) - Method in interface dev.morphia.aggregation.AggregationPipeline
Deprecated.
Passes the first n documents unmodified to the pipeline where n is the specified limit.
limit(int) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
Deprecated.
 
limit(int) - Method in class dev.morphia.query.CountOptions
 
limit(int) - Method in class dev.morphia.query.FindOptions
Sets the limit
limit(long) - Method in interface dev.morphia.aggregation.Aggregation
Limits the number of documents passed to the next stage in the pipeline.
limit(long) - Method in class dev.morphia.aggregation.AggregationImpl
 
limit(long) - Static method in class dev.morphia.aggregation.stages.Limit
Creates the new stage.
Limit - Class in dev.morphia.aggregation.stages
Limits the number of documents passed to the next stage in the pipeline.
Limit(long) - Constructor for class dev.morphia.aggregation.stages.Limit
 
LimitCodec - Class in dev.morphia.aggregation.codecs.stages
 
LimitCodec(Datastore) - Constructor for class dev.morphia.aggregation.codecs.stages.LimitCodec
 
LINE_STRING - dev.morphia.geo.GeoJsonType
Deprecated.
 
LINEAR - dev.morphia.aggregation.stages.Fill.Method
 
linearFill(Expression) - Static method in class dev.morphia.aggregation.expressions.WindowExpressions
Fills null and missing fields in a window using linear interpolation based on surrounding field values.
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
Deprecated.
Creates a list projection
literal(Object) - Static method in class dev.morphia.aggregation.expressions.Expressions
Returns a value without parsing.
ln(Expression) - Static method in class dev.morphia.aggregation.expressions.MathExpressions
Calculates the natural log of a number.
load() - Static method in interface dev.morphia.config.MorphiaConfig
Tries to load a configuration from the default location.
load(String) - Static method in interface dev.morphia.config.MorphiaConfig
Parses and loads the configuration found at the given location
LoadOnly - Annotation Type in dev.morphia.annotations
When placed on an entity field, the field will not be written to mongodb.
locale() - Method in annotation type dev.morphia.annotations.Collation
If this value is empty, no collation will be configured for an index.
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
 
localField(String) - Method in class dev.morphia.aggregation.stages.Lookup
Specifies the field from the documents input to the $lookup stage.
localOps(boolean) - Method in class dev.morphia.aggregation.stages.CurrentOp
If set to true for an aggregation running on mongos, $currentOp reports only those operations running locally on that mongos.
locf(Expression) - Static method in class dev.morphia.aggregation.expressions.WindowExpressions
Last observation carried forward.
LOCF - dev.morphia.aggregation.stages.Fill.Method
 
log(Expression, Expression) - Static method in class dev.morphia.aggregation.expressions.MathExpressions
Calculates the log of a number in the specified base.
log10(Expression) - Static method in class dev.morphia.aggregation.expressions.MathExpressions
Calculates the log base 10 of a number.
LogicalFilter - Class in dev.morphia.query.filters
 
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.
lookup() - Static method in class dev.morphia.aggregation.stages.Lookup
Creates a new stage using the target collection
lookup(Lookup) - Method in interface dev.morphia.aggregation.Aggregation
Performs a left outer join to an unsharded collection in the same database to filter in documents from the “joined” collection for processing.
lookup(Lookup) - Method in class dev.morphia.aggregation.AggregationImpl
 
lookup(Class<?>) - Static method in class dev.morphia.aggregation.stages.Lookup
Creates a new stage using the target collection for the mapped type
lookup(String) - Static method in class dev.morphia.aggregation.stages.Lookup
Creates a new stage using the target collection
lookup(String) - Method in class dev.morphia.mapping.DiscriminatorLookup
Looks up a discriminator value
lookup(String, String, String, String) - Method in interface dev.morphia.aggregation.AggregationPipeline
Deprecated.
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
Deprecated.
 
Lookup - Class in dev.morphia.aggregation.stages
Performs a left outer join to an unsharded collection in the same database to filter in documents from the “joined” collection for processing.
Lookup() - Constructor for class dev.morphia.aggregation.stages.Lookup
 
Lookup(Class<?>) - Constructor for class dev.morphia.aggregation.stages.Lookup
 
Lookup(String) - Constructor for class dev.morphia.aggregation.stages.Lookup
 
LookupCodec - Class in dev.morphia.aggregation.codecs.stages
 
LookupCodec(Datastore) - Constructor for class dev.morphia.aggregation.codecs.stages.LookupCodec
 
lowerBound() - Method in class dev.morphia.aggregation.stages.Densify.Range
 
lowerCase() - Static method in class dev.morphia.mapping.NamingStrategy
Defines a naming strategy that returns the lowercase form of the value passed
LowerCase - Class in dev.morphia.mapping.strategy
 
LowerCase() - Constructor for class dev.morphia.mapping.strategy.LowerCase
 
lowerClassName() - Static method in class dev.morphia.mapping.DiscriminatorFunction
Defines a function to use the lowercase class name for the discriminator value
lowerSimpleName() - Static method in class dev.morphia.mapping.DiscriminatorFunction
Defines a function to use the lowercase simple class name for the discriminator value
lt(Expression, Expression) - Static method in class dev.morphia.aggregation.expressions.ComparisonExpressions
Returns true if the first value is less than the second.
lt(String, Object) - Static method in class dev.morphia.query.filters.Filters
$lt selects the documents where the value of the field is less than the specified value.
lte(Expression, Expression) - Static method in class dev.morphia.aggregation.expressions.ComparisonExpressions
Compares two values and returns: true when the first value is less than or equivalent to the second value.
lte(String, Object) - Static method in class dev.morphia.query.filters.Filters
$lte selects the documents where the value of the field is less than or equal to the specified value.
ltrim(Expression) - Static method in class dev.morphia.aggregation.expressions.StringExpressions
Removes whitespace or the specified characters from the beginning of a string.

M

map(Expression, Expression) - Static method in class dev.morphia.aggregation.expressions.ArrayExpressions
Applies a subexpression to each element of an array and returns the array of resulting values in order.
map(Mapper, Class<?>) - Method in class dev.morphia.query.Projection
Converts this to Document form
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
 
mappedName() - Method in class dev.morphia.mapping.codec.pojo.PropertyModelBuilder
 
mappedName(String) - Method in class dev.morphia.mapping.codec.pojo.PropertyModelBuilder
Sets the field's mapped name
Mapper - Class in dev.morphia.mapping
 
MapperOptions - Class in dev.morphia.mapping
Options to control mapping behavior.
MapperOptions.Builder - Class in dev.morphia.mapping
Deprecated, for removal: This API element is subject to removal in a future version.
use the new configuration file mechanism. See the website docs for more information.
MapperOptions.PropertyDiscovery - Enum in dev.morphia.mapping
Deprecated, for removal: This API element is subject to removal in a future version.
3.0 will evaluate both field and getter/setters for annotation so this setting becomes vestigial
MAPPING_ANNOTATIONS - Static variable in class dev.morphia.mapping.Mapper
 
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() - Constructor for class dev.morphia.mapping.validation.MappingValidator
 
mapSubPackages(boolean) - Method in class dev.morphia.mapping.MapperOptions.Builder
Deprecated.
 
Mark - Class in dev.morphia.mapping.codec.reader
A bookmark for processing Documents
match(Filter...) - Method in interface dev.morphia.aggregation.Aggregation
Filters the document stream to allow only matching documents to pass unmodified into the next pipeline stage.
match(Filter...) - Method in class dev.morphia.aggregation.AggregationImpl
 
match(Filter...) - Static method in class dev.morphia.aggregation.stages.Match
Creates the new stage using the filters for matching
match(Query) - Method in interface dev.morphia.aggregation.AggregationPipeline
Deprecated.
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
Deprecated.
 
Match - Class in dev.morphia.aggregation.stages
Limits the number of documents passed to the next stage in the pipeline.
Match(Filter...) - Constructor for class dev.morphia.aggregation.stages.Match
 
MatchCodec - Class in dev.morphia.aggregation.codecs.stages
 
MatchCodec(Datastore) - Constructor for class dev.morphia.aggregation.codecs.stages.MatchCodec
 
matches(String) - Method in enum dev.morphia.query.FilterOperator
Deprecated.
Returns true if the given filter matches the filters on this FilterOperator
MathExpressions - Class in dev.morphia.aggregation.expressions
Defines helper methods for the math expressions
MathExpressions() - Constructor for class dev.morphia.aggregation.expressions.MathExpressions
 
max(DBObject) - Method in class dev.morphia.query.FindOptions
Deprecated, for removal: This API element is subject to removal in a future version.
max(Expression) - Static method in class dev.morphia.aggregation.expressions.AccumulatorExpressions
Returns the highest expression value for each group.
max(String) - Static method in class dev.morphia.aggregation.Group
Deprecated.
Returns the highest value that results from applying an expression to each document in a group of documents that share the same group by key.
max(String, Number) - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
Sets the numeric field to value if it is greater than the current value.
max(String, Number) - Method in class dev.morphia.query.UpdateOpsImpl
Deprecated.
 
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(String, Number) - Static method in class dev.morphia.query.updates.UpdateOperators
Only updates the field if the specified value is greater than the existing field value.
max(String, Temporal) - Static method in class dev.morphia.query.updates.UpdateOperators
Only updates the field if the specified value is greater than the existing field value.
max(String, Date) - Static method in class dev.morphia.query.updates.UpdateOperators
Only updates the field if the specified value is greater than the existing field value.
max(Document) - Method in class dev.morphia.query.FindOptions
Sets the max index value
MAX_KEY - dev.morphia.query.Type
 
maxAwaitTime(long, TimeUnit) - Method in class dev.morphia.query.FindOptions
Sets the max await time
maxDepth(Integer) - Method in class dev.morphia.aggregation.stages.GraphLookup
Optional.
maxDistance(Double) - Method in class dev.morphia.query.filters.NearFilter
Sets the max distance to consider
maxDistance(Number) - Method in class dev.morphia.aggregation.stages.GeoNear
Optional.
maxDistance(String, Object) - Static method in class dev.morphia.query.filters.Filters
Specifies a maximum distance to limit the results of $near and $nearSphere queries.
maxN(Expression, Expression) - Static method in class dev.morphia.aggregation.expressions.AccumulatorExpressions
Returns an aggregation of the max n elements within a group.
maxTime(long, TimeUnit) - Method in class dev.morphia.ModifyOptions
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
maxTime(TimeUnit) - Method in class dev.morphia.aggregation.AggregationOptions
 
maxTimeMS() - Method in class dev.morphia.aggregation.AggregationOptions
Deprecated, for removal: This API element is subject to removal in a future version.
maxTimeMS(long) - Method in class dev.morphia.aggregation.AggregationOptions
Specifies a time limit in milliseconds for processing operations on a cursor.
maxVariable() - Method in annotation type dev.morphia.annotations.Collation
 
merge(Merge<M>) - Method in interface dev.morphia.aggregation.Aggregation
Writes the results of the aggregation pipeline to a specified collection.
merge(Merge<M>) - Method in class dev.morphia.aggregation.AggregationImpl
 
merge(Merge<M>, AggregationOptions) - Method in interface dev.morphia.aggregation.Aggregation
Writes the results of the aggregation pipeline to a specified collection.
merge(Merge<M>, AggregationOptions) - Method in class dev.morphia.aggregation.AggregationImpl
 
merge(T) - Method in interface dev.morphia.Datastore
Work as if you did an update with each field in the entity doing a $set; Only at the top level of the entity.
merge(T, WriteConcern) - Method in interface dev.morphia.Datastore
Deprecated, for removal: This API element is subject to removal in a future version.
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<M> - Class in dev.morphia.aggregation.stages
Writes the results of the aggregation pipeline to a specified collection.
Merge() - Constructor for class dev.morphia.aggregation.stages.Merge
 
Merge(Class<M>) - Constructor for class dev.morphia.aggregation.stages.Merge
 
Merge(String) - Constructor for class dev.morphia.aggregation.stages.Merge
 
Merge(String, String) - Constructor for class dev.morphia.aggregation.stages.Merge
 
MergeCodec - Class in dev.morphia.aggregation.codecs.stages
 
MergeCodec(Datastore) - Constructor for class dev.morphia.aggregation.codecs.stages.MergeCodec
 
mergeObjects() - Static method in class dev.morphia.aggregation.expressions.ObjectExpressions
Combines multiple documents into a single document.
MergeObjects() - Constructor for class dev.morphia.aggregation.expressions.ObjectExpressions.MergeObjects
 
MergingEncoder<T> - Class in dev.morphia.mapping.codec.pojo
 
MergingEncoder(Query<T>, MorphiaCodec<T>) - Constructor for class dev.morphia.mapping.codec.pojo.MergingEncoder
 
meta() - Static method in class dev.morphia.aggregation.expressions.Expressions
Returns the metadata associated with a document in a pipeline operations, e.g.
meta(String) - Method in class dev.morphia.aggregation.stages.Sort
Adds a sort by the computed textScore metadata in descending order.
Meta - Class in dev.morphia.query
Defines $meta expression object
Meta(Meta.MetaDataKeyword) - Constructor for class dev.morphia.query.Meta
Deprecated, for removal: This API element is subject to removal in a future version.
Meta(Meta.MetaDataKeyword, String) - Constructor for class dev.morphia.query.Meta
Deprecated, for removal: This API element is subject to removal in a future version.
Meta(String, String) - Constructor for class dev.morphia.query.Meta
Deprecated, for removal: This API element is subject to removal in a future version.
use the various factory methods. these constructors will go private in a future release.
META - dev.morphia.aggregation.stages.Sort.Direction
 
Meta.MetaDataKeyword - Enum in dev.morphia.query
Deprecated, for removal: This API element is subject to removal in a future version.
MethodAccessor - Class in dev.morphia.mapping.codec
 
MethodAccessor(Method, Method) - Constructor for class dev.morphia.mapping.codec.MethodAccessor
 
MethodDiscovery - Class in dev.morphia.mapping.conventions
 
MethodDiscovery() - Constructor for class dev.morphia.mapping.conventions.MethodDiscovery
 
METHODS - dev.morphia.mapping.MapperOptions.PropertyDiscovery
Deprecated.
 
MILLISECOND - dev.morphia.aggregation.expressions.TimeUnit
 
milliseconds(Expression) - Static method in class dev.morphia.aggregation.expressions.DateExpressions
Returns the milliseconds of a date as a number between 0 and 999.
min(DBObject) - Method in class dev.morphia.query.FindOptions
Deprecated, for removal: This API element is subject to removal in a future version.
min(Expression) - Static method in class dev.morphia.aggregation.expressions.AccumulatorExpressions
Returns the lowest expression value for each group.
min(String) - Static method in class dev.morphia.aggregation.Group
Deprecated.
Returns the lowest value that results from applying an expression to each document in a group of documents that share the same group by key.
min(String, Number) - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
sets the numeric field to value if it is less than the current value.
min(String, Number) - Method in class dev.morphia.query.UpdateOpsImpl
Deprecated.
 
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(String, Number) - Static method in class dev.morphia.query.updates.UpdateOperators
Only updates the field if the specified value is less than the existing field value.
min(String, Temporal) - Static method in class dev.morphia.query.updates.UpdateOperators
Only updates the field if the specified value is less than the existing field value.
min(String, Date) - Static method in class dev.morphia.query.updates.UpdateOperators
Only updates the field if the specified value is less than the existing field value.
min(Document) - Method in class dev.morphia.query.FindOptions
Sets the min index value
MIN_KEY - dev.morphia.query.Type
 
minDistance(Double) - Method in class dev.morphia.query.filters.NearFilter
Sets the min distance to consider
minDistance(Number) - Method in class dev.morphia.aggregation.stages.GeoNear
Optional.
minDistance(String, Object) - Static method in class dev.morphia.query.filters.Filters
Specifies a minimum distance to limit the results of $near and $nearSphere queries.
minN(Expression, Expression) - Static method in class dev.morphia.aggregation.expressions.AccumulatorExpressions
Returns an aggregation of the min n elements within a group.
MINOR - dev.morphia.mapping.validation.ConstraintViolation.Level
 
minute(Expression) - Static method in class dev.morphia.aggregation.expressions.DateExpressions
Returns the minute for a date as a number between 0 and 59.
MINUTE - dev.morphia.aggregation.expressions.TimeUnit
 
Miscellaneous - Class in dev.morphia.aggregation.expressions
Defines miscellaneous operators for aggregations.
MissingIdException - Exception in dev.morphia
 
mod(long, long) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
mod(long, long) - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
mod(Expression, Expression) - Static method in class dev.morphia.aggregation.expressions.MathExpressions
Returns the remainder of the first number divided by the second.
mod(Object, Object) - Static method in class dev.morphia.aggregation.Projection
Deprecated.
Creates a modulo projection
mod(String, long, long) - Static method in class dev.morphia.query.filters.Filters
Performs a modulo operation on the value of a field and selects documents with a specified result.
MOD - dev.morphia.query.FilterOperator
Deprecated.
 
modifiers() - Method in class dev.morphia.mapping.codec.pojo.PropertyModelBuilder
 
modifiers(int) - Method in class dev.morphia.mapping.codec.pojo.PropertyModelBuilder
 
modify(ModifyOptions, UpdateOperator...) - Method in class dev.morphia.query.LegacyQuery
Deprecated.
 
modify(ModifyOptions, UpdateOperator...) - Method in interface dev.morphia.query.Query
Create a modify operation based on this query
modify(UpdateOperations<T>) - Method in class dev.morphia.query.LegacyQuery
Deprecated.
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(UpdateOperator, UpdateOperator...) - Method in class dev.morphia.query.LegacyQuery
Deprecated.
 
modify(UpdateOperator, UpdateOperator...) - Method in interface dev.morphia.query.Query
Deprecated, for removal: This API element is subject to removal in a future version.
consider Query.modify(ModifyOptions, UpdateOperator...) instead. In the next major version, this return type will match the other's return type such that this will be the terminal call for a modify. The only change needed then will be to remove the Modify.execute() call.
Modify<T> - Class in dev.morphia.query
Deprecated. 
ModifyOptions - Class in dev.morphia
Defines the options for a "find and modify" operation.
ModifyOptions() - Constructor for class dev.morphia.ModifyOptions
 
month(Expression) - Static method in class dev.morphia.aggregation.expressions.DateExpressions
Returns the month for a date as a number between 1 (January) and 12 (December).
MONTH - dev.morphia.aggregation.expressions.TimeUnit
 
Morphia - Class in dev.morphia
Entry point for working with Morphia
MorphiaCodec<T> - Class in dev.morphia.mapping.codec.pojo
the codec used by Morphia
MorphiaCodec(Datastore, EntityModel, List<PropertyCodecProvider>, DiscriminatorLookup, CodecRegistry) - Constructor for class dev.morphia.mapping.codec.pojo.MorphiaCodec
Creates a new codec
MorphiaCodecProvider - Class in dev.morphia.mapping.codec
Provider for codecs for Morphia entities
MorphiaCodecProvider(Datastore) - Constructor for class dev.morphia.mapping.codec.MorphiaCodecProvider
Creates a provider
MorphiaConfig - Interface in dev.morphia.config
Please note that there is every expectation that this format/naming is stable.
MorphiaConvention - Interface in dev.morphia.mapping.conventions
Applies certain conventions specific for Morphia
MorphiaCursor<T> - Class in dev.morphia.query
 
MorphiaCursor(MongoCursor<T>) - Constructor for class dev.morphia.query.MorphiaCursor
Creates a MorphiaCursor
MorphiaDateCodec - Class in dev.morphia.mapping.codec
Converts the LocalDate values to and from the zone defined in MorphiaConfig.dateStorage()
MorphiaDefaultsConvention - Class in dev.morphia.mapping.conventions
A set of conventions to apply to Morphia entities
MorphiaDefaultsConvention() - Constructor for class dev.morphia.mapping.conventions.MorphiaDefaultsConvention
 
MorphiaInstanceCreator - Interface in dev.morphia.mapping.codec
Marker interface for creators
MorphiaLocalDateTimeCodec - Class in dev.morphia.mapping.codec
Converts the LocalDateTime values to and from the zone defined in MorphiaConfig.dateStorage()
MorphiaLocalTimeCodec - Class in dev.morphia.mapping.codec
Converts the LocalTime values to and from the zone defined in MorphiaConfig.dateStorage()
MorphiaLocalTimeCodec() - Constructor for class dev.morphia.mapping.codec.MorphiaLocalTimeCodec
 
MorphiaMapCodec - Class in dev.morphia.mapping.codec
Maps Map subtypes to/from the database.
MorphiaPropertyCodecProvider - Class in dev.morphia.mapping.codec
Provides property specific codecs for customized handling generally related to generics but not necessarily.
MorphiaPropertyCodecProvider() - Constructor for class dev.morphia.mapping.codec.MorphiaPropertyCodecProvider
 
MorphiaPropertySerialization - Class in dev.morphia.mapping.codec
Determines if a property should be serialized or not
MorphiaPropertySerialization(MorphiaConfig, PropertyModelBuilder) - Constructor for class dev.morphia.mapping.codec.MorphiaPropertySerialization
 
MorphiaProxy - Interface in dev.morphia.mapping.codec.references
 
MorphiaSession - Interface in dev.morphia.transactions
Wraps a ClientSession reference for convenient use of MongoDB's multidocument transaction support.
MorphiaTransaction<T> - Interface in dev.morphia.transactions
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(DatastoreImpl) - Constructor for class dev.morphia.mapping.codec.MorphiaTypesCodecProvider
Create the provider
MorphiaVersion24 - Class in dev.morphia
This class is a version marker for certain frameworks to use when loading configurations, e.g.
mul(String, Number) - Static method in class dev.morphia.query.updates.UpdateOperators
Multiplies the value of the field by the specified amount.
multi() - Method in class dev.morphia.DeleteOptions
 
multi() - Method in class dev.morphia.UpdateOptions
 
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
Deprecated.
 
MULTI_POINT - dev.morphia.geo.GeoJsonType
Deprecated.
 
MULTI_POLYGON - dev.morphia.geo.GeoJsonType
Deprecated.
 
multiline() - Method in class dev.morphia.query.filters.RegexFilter
For patterns that include anchors (i.e.
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
Checks that only one field is marked with @Id
MultipleId() - Constructor for class dev.morphia.mapping.validation.classrules.MultipleId
 
MultipleVersions - Class in dev.morphia.mapping.validation.classrules
Checks the multiple fields aren't annotated with @Version
MultipleVersions() - Constructor for class dev.morphia.mapping.validation.classrules.MultipleVersions
 
multiply(Expression, Expression...) - Static method in class dev.morphia.aggregation.expressions.MathExpressions
Multiplies numbers together and returns the result.
multiply(Object...) - Static method in class dev.morphia.aggregation.Projection
Deprecated.
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 class dev.morphia.aggregation.stages.SetWindowFields.Output
 
name() - Method in annotation type dev.morphia.annotations.IndexOptions
 
name() - Method in class dev.morphia.mapping.codec.pojo.PropertyModelBuilder
 
name(String) - Method in class dev.morphia.mapping.codec.pojo.PropertyModelBuilder
 
Name - Annotation Type in dev.morphia.annotations
Defines a name for a constructor parameter.
NAME - dev.morphia.geo.CoordinateReferenceSystemType
Deprecated.
A coordinate reference system that is specified by name
NAME - Static variable in class dev.morphia.mapping.codec.reader.NameState
 
NAME - Static variable in class dev.morphia.mapping.codec.reader.ValueState
 
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.
 
NameState - Class in dev.morphia.mapping.codec.reader
 
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
 
NATURAL - Static variable in class dev.morphia.query.Sort
 
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
ne(Expression, Expression) - Static method in class dev.morphia.aggregation.expressions.ComparisonExpressions
Returns true if the values are not equivalent.
ne(String, Object) - Static method in class dev.morphia.query.filters.Filters
$ne selects the documents where the value of the field is not equal to the specified value.
near(double, double) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
near(double, double) - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
near(double, double, boolean) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
near(double, double, boolean) - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
near(double, double, double) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
near(double, double, double) - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
near(double, double, double, boolean) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
near(double, double, double, boolean) - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
near(Point) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
near(Point) - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
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.
near(Point, Double, Double) - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
near(Point) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
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.
near(String, Point) - Static method in class dev.morphia.query.filters.Filters
Specifies a point for which a geospatial query returns the documents from nearest to farthest.
NEAR - dev.morphia.query.FilterOperator
Deprecated.
 
NEAR_SPHERE - dev.morphia.query.FilterOperator
Deprecated.
 
NearFilter - Class in dev.morphia.query.filters
Defines a filter for $near and $nearSphere queries
nearSphere(Point) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
nearSphere(Point) - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
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.
nearSphere(Point, Double, Double) - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
nearSphere(Point) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
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.
nearSphere(String, Point) - Static method in class dev.morphia.query.filters.Filters
Returns geospatial objects in proximity to a point on a sphere.
newInstance(Type) - Static method in class dev.morphia.mapping.codec.pojo.TypeData
Creates a TypeData reflecting the given generic type and class.
next() - Method in class dev.morphia.query.MorphiaCursor
 
nin(String, Object) - Static method in class dev.morphia.query.filters.Filters
$nin selects the documents where: the field value is not in the specified array or the field does not exist.
NoArgCreator - Class in dev.morphia.mapping
 
NoArgCreator(Constructor<?>) - 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
nor(Filter...) - Static method in class dev.morphia.query.filters.Filters
Applies $nor to a set of filters
normalization() - Method in annotation type dev.morphia.annotations.Collation
 
normalize(TypeData<?>) - Static method in class dev.morphia.mapping.codec.pojo.PropertyModel
Gets the parameterized type of a TypeData
not() - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
not() - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
not() - Method in class dev.morphia.query.filters.Filter
Negates this filter by wrapping in "$not: {}"
not(Expression) - Static method in class dev.morphia.aggregation.expressions.BooleanExpressions
Evaluates a boolean and returns the opposite boolean value; i.e.
NOT - dev.morphia.query.FilterOperator
Deprecated.
 
NOT_EQUAL - dev.morphia.query.FilterOperator
Deprecated.
 
NOT_IN - dev.morphia.query.FilterOperator
Deprecated.
 
notEqual(Object) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
notEqual(Object) - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
notIn(Iterable<?>) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
notIn(Iterable<?>) - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
NotMappableException - Exception in dev.morphia.mapping
Indicates a type is not mappable by Morphia
NotSaved - Annotation Type in dev.morphia.annotations
Deprecated, for removal: This API element is subject to removal in a future version.
use LoadOnly instead
NOW - Static variable in class dev.morphia.aggregation.expressions.SystemVariables
A variable that returns the current datetime value.
NULL - dev.morphia.query.Type
 
numericOrdering() - Method in annotation type dev.morphia.annotations.Collation
 
numInitialChunks() - Method in annotation type dev.morphia.annotations.ShardOptions
Optional.

O

OBJECT - dev.morphia.query.Type
 
OBJECT_ID - dev.morphia.query.Type
 
OBJECT_ID_GENERATOR - Static variable in class dev.morphia.mapping.codec.pojo.EntityEncoder
 
ObjectCodec - Class in dev.morphia.mapping.codec
Defines a generic codec for Objects that will attempt to discover and use the correct codec.
ObjectCodec(Datastore) - Constructor for class dev.morphia.mapping.codec.ObjectCodec
Creates a codec
ObjectExpressions - Class in dev.morphia.aggregation.expressions
Defines helper methods for the object expressions
ObjectExpressions.MergeObjects - Class in dev.morphia.aggregation.expressions
Defines the values to be merged.
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.
objectToArray(Expression) - Static method in class dev.morphia.aggregation.expressions.ArrayExpressions
Converts a document to an array of documents representing key-value pairs.
of() - Static method in class dev.morphia.aggregation.expressions.Expressions
Deprecated, for removal: This API element is subject to removal in a future version.
of() - Static method in class dev.morphia.aggregation.stages.AddFields
Deprecated, for removal: This API element is subject to removal in a future version.
of() - Static method in class dev.morphia.aggregation.stages.AutoBucket
Deprecated, for removal: This API element is subject to removal in a future version.
of() - Static method in class dev.morphia.aggregation.stages.Bucket
Deprecated, for removal: This API element is subject to removal in a future version.
of() - Static method in class dev.morphia.aggregation.stages.CurrentOp
Deprecated, for removal: This API element is subject to removal in a future version.
of() - Static method in class dev.morphia.aggregation.stages.Facet
Deprecated, for removal: This API element is subject to removal in a future version.
of() - Static method in class dev.morphia.aggregation.stages.Group
Deprecated, for removal: This API element is subject to removal in a future version.
of() - Static method in class dev.morphia.aggregation.stages.IndexStats
Deprecated, for removal: This API element is subject to removal in a future version.
of() - Static method in class dev.morphia.aggregation.stages.PlanCacheStats
Deprecated, for removal: This API element is subject to removal in a future version.
of() - Static method in class dev.morphia.aggregation.stages.Projection
Deprecated, for removal: This API element is subject to removal in a future version.
of(long) - Static method in class dev.morphia.aggregation.stages.Limit
Deprecated, for removal: This API element is subject to removal in a future version.
of(long) - Static method in class dev.morphia.aggregation.stages.Sample
Deprecated, for removal: This API element is subject to removal in a future version.
of(long) - Static method in class dev.morphia.aggregation.stages.Skip
Deprecated, for removal: This API element is subject to removal in a future version.
of(Group.GroupId) - Static method in class dev.morphia.aggregation.stages.Group
Deprecated, for removal: This API element is subject to removal in a future version.
on() - Static method in class dev.morphia.aggregation.stages.Sort
Deprecated, for removal: This API element is subject to removal in a future version.
on(Expression) - Static method in class dev.morphia.aggregation.stages.Redact
Deprecated, for removal: This API element is subject to removal in a future version.
on(Expression) - Static method in class dev.morphia.aggregation.stages.SortByCount
Deprecated, for removal: This API element is subject to removal in a future version.
on(Filter...) - Static method in class dev.morphia.aggregation.stages.Match
Deprecated, for removal: This API element is subject to removal in a future version.
on(String) - Static method in class dev.morphia.aggregation.stages.Unwind
Deprecated, for removal: This API element is subject to removal in a future version.
on(String, String...) - Method in class dev.morphia.aggregation.stages.Merge
Optional.
ONE_TWO_FIVE - dev.morphia.query.BucketAutoOptions.Granularity
Deprecated.
 
OnEntityListenerAdapter - Class in dev.morphia.mapping.lifecycle
 
OnEntityListenerAdapter(Class<?>) - Constructor for class dev.morphia.mapping.lifecycle.OnEntityListenerAdapter
 
OperationTarget - Class in dev.morphia.query
 
OperationTarget(PathTarget, Object) - Constructor for class dev.morphia.query.OperationTarget
 
operator() - Method in class dev.morphia.aggregation.stages.SetWindowFields.Output
 
operator() - Method in class dev.morphia.query.updates.UpdateOperator
 
operator(Expression) - Method in class dev.morphia.aggregation.stages.SetWindowFields.Output
The operator to use in the output.
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.ShardKeys
The sharding options to apply.
options() - Method in annotation type dev.morphia.annotations.Text
 
options() - Method in class dev.morphia.InsertManyOptions
 
options() - Method in class dev.morphia.InsertOneOptions
 
options() - Static method in class dev.morphia.query.PushOptions
Helper method to create a PushOptions instance
options(String) - Method in class dev.morphia.query.filters.RegexFilter
Optional options to apply to the regex
optionsPresent() - Method in class dev.morphia.aggregation.stages.Unwind
 
or() - Static method in class dev.morphia.aggregation.expressions.BooleanExpressions
Evaluates one or more expressions and returns true if any of the expressions are true.
or(Expression, Expression...) - Static method in class dev.morphia.aggregation.expressions.BooleanExpressions
Evaluates one or more expressions and returns true if any of the expressions are true.
or(Criteria...) - Method in interface dev.morphia.query.CriteriaContainer
Deprecated.
Ors Criteria with this CriteriaContainer.
or(Criteria...) - Method in class dev.morphia.query.CriteriaContainerImpl
Deprecated.
 
or(Criteria...) - Method in class dev.morphia.query.LegacyQuery
Deprecated.
 
or(Criteria...) - Method in interface dev.morphia.query.Query
Deprecated, for removal: This API element is subject to removal in a future version.
or(Filter...) - Static method in class dev.morphia.query.filters.Filters
Applies $or to a set of filters
or(String, int) - Static method in class dev.morphia.query.updates.UpdateOperators
The $bit operator performs a bitwise update of a field.
OR - dev.morphia.query.CriteriaJoin
Deprecated.
 
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(Out<O>) - Method in interface dev.morphia.aggregation.Aggregation
Writes the results of the aggregation pipeline to a specified collection.
out(Out<O>) - Method in class dev.morphia.aggregation.AggregationImpl
 
out(Out<O>, AggregationOptions) - Method in interface dev.morphia.aggregation.Aggregation
Writes the results of the aggregation pipeline to a specified collection.
out(Out<O>, AggregationOptions) - Method in class dev.morphia.aggregation.AggregationImpl
 
out(Class<U>) - Method in interface dev.morphia.aggregation.AggregationPipeline
Deprecated.
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
Deprecated.
 
out(Class<U>, AggregationOptions) - Method in interface dev.morphia.aggregation.AggregationPipeline
Deprecated.
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
Deprecated.
 
out(String, Class<U>) - Method in interface dev.morphia.aggregation.AggregationPipeline
Deprecated.
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
Deprecated.
 
out(String, Class<U>, AggregationOptions) - Method in interface dev.morphia.aggregation.AggregationPipeline
Deprecated.
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
Deprecated.
 
Out<O> - Class in dev.morphia.aggregation.stages
Takes the documents returned by the aggregation pipeline and writes them to a specified collection.
Out() - Constructor for class dev.morphia.aggregation.stages.Out
 
OutCodec - Class in dev.morphia.aggregation.codecs.stages
 
OutCodec(Datastore) - Constructor for class dev.morphia.aggregation.codecs.stages.OutCodec
 
output(SetWindowFields.Output...) - Method in class dev.morphia.aggregation.stages.SetWindowFields
Specifies the field(s) to append to the documents in the output returned by the $setWindowFields stage.
output(String) - Static method in class dev.morphia.aggregation.stages.SetWindowFields.Output
Creates a named output
output(String) - Method in class dev.morphia.query.BucketAutoOptions
Deprecated.
Define output field for the bucketauto stage
output(String) - Method in class dev.morphia.query.BucketOptions
Deprecated.
Define output field for the bucket stage
outputField(String, Expression) - Method in class dev.morphia.aggregation.stages.AutoBucket
Adds a field to the document that specifies the fields to include in the output documents in addition to the _id field.
outputField(String, Expression) - Method in class dev.morphia.aggregation.stages.Bucket
Adds a field to the document that specifies the fields to include in the output documents in addition to the _id field.
OutputOperation(String) - Constructor for class dev.morphia.query.BucketAutoOptions.OutputOperation
Deprecated.
Creates the output operation for given fieldname
OutputOperation(String) - Constructor for class dev.morphia.query.BucketOptions.OutputOperation
Deprecated.
Creates the output operation for given fieldname
outputs() - Method in class dev.morphia.aggregation.stages.SetWindowFields
 
owner() - Method in class dev.morphia.mapping.codec.pojo.PropertyModelBuilder
 
owner(EntityModel) - Method in class dev.morphia.mapping.codec.pojo.PropertyModelBuilder
Sets the entity model owner

P

packages() - Method in interface dev.morphia.config.MorphiaConfig
A comma delimited list of packages that Morphia should map.
packages(List<String>) - Method in interface dev.morphia.config.MorphiaConfig
Updates this configuration with a new value and returns a new instance.
parameterNotEmpty(String, Iterable) - Static method in class dev.morphia.utils.Assert
Validates that the Iterable is not empty
parameterNotEmpty(String, String) - Static method in class dev.morphia.utils.Assert
Validates that the value is not empty
parametersNotNull(String, Object...) - Static method in class dev.morphia.utils.Assert
Validates that all the parameters are not null
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
 
partition() - Method in class dev.morphia.aggregation.stages.SetWindowFields
 
partition(Number) - Static method in class dev.morphia.aggregation.stages.Densify.Range
Creates a partitioned range and adds documents to each partition, similar to if you had run a full range densification on each partition individually.
PARTITION - dev.morphia.aggregation.stages.Densify.RangeType
 
partitionBy() - Method in class dev.morphia.aggregation.stages.Fill
 
partitionBy(Expression) - Method in class dev.morphia.aggregation.stages.Fill
Specifies an array of fields as the compound key to group the documents.
partitionBy(Expression) - Method in class dev.morphia.aggregation.stages.SetWindowFields
Defines the expression to use to partition the data.
partitionByFields() - Method in class dev.morphia.aggregation.stages.Densify
 
partitionByFields() - Method in class dev.morphia.aggregation.stages.Fill
 
partitionByFields(String...) - Method in class dev.morphia.aggregation.stages.Densify
The set of fields to act as the compound key to group the documents.
partitionByFields(String...) - Method in class dev.morphia.aggregation.stages.Fill
Specifies an array of fields as the compound key to group the documents.
path(Mapper) - Method in class dev.morphia.query.filters.Filter
 
pattern(String) - Method in class dev.morphia.query.filters.RegexFilter
Deprecated, for removal: This API element is subject to removal in a future version.
pattern(Pattern) - Method in class dev.morphia.query.filters.RegexFilter
Deprecated, for removal: This API element is subject to removal in a future version.
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.writer.DocumentWriter
 
pipeline() - Method in class dev.morphia.aggregation.AggregationImpl
 
pipeline(Stage...) - Method in class dev.morphia.aggregation.stages.Lookup
Specifies the pipeline to run on the joined collection.
planCacheStats() - Method in interface dev.morphia.aggregation.Aggregation
Returns plan cache information for a collection.
planCacheStats() - Method in class dev.morphia.aggregation.AggregationImpl
 
planCacheStats() - Static method in class dev.morphia.aggregation.stages.PlanCacheStats
Creates the new stage
PlanCacheStats - Class in dev.morphia.aggregation.stages
Returns plan cache information for a collection.
PlanCacheStats() - Constructor for class dev.morphia.aggregation.stages.PlanCacheStats
 
PlanCacheStatsCodec - Class in dev.morphia.aggregation.codecs.stages
 
PlanCacheStatsCodec(Datastore) - Constructor for class dev.morphia.aggregation.codecs.stages.PlanCacheStatsCodec
 
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
Deprecated.
 
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
Deprecated.
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(String, Point...) - Static method in class dev.morphia.query.filters.Filters
Specifies a polygon to using legacy coordinate pairs for $geoWithin queries.
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
Deprecated.
 
pop(String) - Static method in class dev.morphia.query.updates.UpdateOperators
The $pop operator removes the first or last element of an array.
PopOperator - Class in dev.morphia.query.updates
Defines the $pop update operator.
PopOperator(String) - Constructor for class dev.morphia.query.updates.PopOperator
 
position(int) - Method in class dev.morphia.query.PushOptions
Sets the position for the update
position(int) - Method in class dev.morphia.query.updates.PushOperator
Sets the position for the update
PossibleValues - Annotation Type in dev.morphia.annotations
Denotes the possible values for a configuration option.
postLoad(Object, Document, Datastore) - Method in interface dev.morphia.EntityInterceptor
Deprecated.
 
postLoad(Object, Document, Mapper) - Method in interface dev.morphia.EntityInterceptor
Deprecated, for removal: This API element is subject to removal in a future version.
postLoad(T, Document, Datastore) - Method in interface dev.morphia.EntityListener
 
postLoad(T, Document, Mapper) - Method in interface dev.morphia.EntityListener
Deprecated, for removal: This API element is subject to removal in a future version.
PostLoad - Annotation Type in dev.morphia.annotations
Called after the data has been loaded into the java object.
postPersist(Object, Document, Datastore) - Method in interface dev.morphia.EntityInterceptor
Deprecated.
 
postPersist(Object, Document, Mapper) - Method in interface dev.morphia.EntityInterceptor
Deprecated, for removal: This API element is subject to removal in a future version.
postPersist(T, Document, Datastore) - Method in interface dev.morphia.EntityListener
 
postPersist(T, Document, Mapper) - Method in interface dev.morphia.EntityListener
Deprecated, for removal: This API element is subject to removal in a future version.
PostPersist - Annotation Type in dev.morphia.annotations
Called after the data has been persisted from the java object.
pow(Expression, Expression) - Static method in class dev.morphia.aggregation.expressions.MathExpressions
Raises a number to the specified exponent.
POWERSOF2 - dev.morphia.query.BucketAutoOptions.Granularity
Deprecated.
 
preLoad(Object, Document, Datastore) - Method in interface dev.morphia.EntityInterceptor
Deprecated.
 
preLoad(Object, Document, Mapper) - Method in interface dev.morphia.EntityInterceptor
Deprecated, for removal: This API element is subject to removal in a future version.
use EntityInterceptor.preLoad(Object, Document, Datastore) instead and access the Mapper via Datastore.getMapper() if necessary
preLoad(T, Document, Datastore) - Method in interface dev.morphia.EntityListener
 
preLoad(T, Document, Mapper) - Method in interface dev.morphia.EntityListener
Deprecated, for removal: This API element is subject to removal in a future version.
use EntityListener.preLoad(Object, Document, Datastore) instead and access the Mapper via Datastore.getMapper() if necessary
PreLoad - Annotation Type in dev.morphia.annotations
Called before the data has been loaded into the object.
prePersist(Object, Document, Datastore) - Method in interface dev.morphia.EntityInterceptor
Deprecated.
 
prePersist(Object, Document, Mapper) - Method in interface dev.morphia.EntityInterceptor
Deprecated, for removal: This API element is subject to removal in a future version.
use EntityInterceptor.prePersist(Object, Document, Datastore) instead and access the Mapper via Datastore.getMapper() if necessary
prePersist(T, Document, Datastore) - Method in interface dev.morphia.EntityListener
 
prePersist(T, Document, Mapper) - Method in interface dev.morphia.EntityListener
Deprecated, for removal: This API element is subject to removal in a future version.
use EntityListener.prePersist(Object, Document, Datastore) instead and access the Mapper via Datastore.getMapper() if necessary
PrePersist - Annotation Type in dev.morphia.annotations
Called before the data has been persisted to the datastore (before mapping is done).
preserveNullAndEmptyArrays(Boolean) - Method in class dev.morphia.aggregation.stages.Unwind
Optional.
presplitHashedZones() - Method in annotation type dev.morphia.annotations.ShardOptions
Optional.
PrimitiveCodecRegistry - Class in dev.morphia.mapping.codec
A provider of codecs for primitive types
PrimitiveCodecRegistry(CodecRegistry) - Constructor for class dev.morphia.mapping.codec.PrimitiveCodecRegistry
Creates the provider
processId(Datastore, Object, DecoderContext) - Static method in class dev.morphia.mapping.codec.references.ReferenceCodec
Decodes an ID value
project() - Static method in class dev.morphia.aggregation.stages.Projection
Creates a new stage
project(Projection...) - Method in interface dev.morphia.aggregation.AggregationPipeline
Deprecated.
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
Deprecated.
 
project(Projection) - Method in interface dev.morphia.aggregation.Aggregation
Passes along the documents with the requested fields to the next stage in the pipeline.
project(Projection) - Method in class dev.morphia.aggregation.AggregationImpl
 
project(Meta) - Method in class dev.morphia.query.Projection
Adds a metadata field to a projection.
project(String, ArraySlice) - Method in class dev.morphia.query.Projection
Adds an sliced array field to a projection.
projection() - Method in class dev.morphia.query.FindOptions
 
projection(String) - Static method in class dev.morphia.aggregation.Projection
Deprecated.
Creates a projection on a field
projection(String, Projection, Projection...) - Static method in class dev.morphia.aggregation.Projection
Deprecated.
Creates a projection on a field with subsequent projects applied.
projection(String, String) - Static method in class dev.morphia.aggregation.Projection
Deprecated.
Creates a projection on a field and renames it
projection(Bson) - Method in class dev.morphia.ModifyOptions
projection(Bson) - Method in class dev.morphia.query.FindAndDeleteOptions
 
Projection - Class in dev.morphia.aggregation
Deprecated, for removal: This API element is subject to removal in a future version.
use Projection instead
Projection - Class in dev.morphia.aggregation.stages
Passes along the documents with the requested fields to the next stage in the pipeline.
Projection - Class in dev.morphia.query
Defines a query projection
Projection() - Constructor for class dev.morphia.aggregation.stages.Projection
 
ProjectionCodec - Class in dev.morphia.aggregation.codecs.stages
 
ProjectionCodec(Datastore) - Constructor for class dev.morphia.aggregation.codecs.stages.ProjectionCodec
 
Property - Annotation Type in dev.morphia.annotations
Optional annotation for specifying persistence behavior
PropertyCodecRegistryImpl - Class in dev.morphia.mapping.codec
Defines an all purpose registry for property codecs
PropertyCodecRegistryImpl(Codec<?>, CodecRegistry, List<PropertyCodecProvider>) - Constructor for class dev.morphia.mapping.codec.PropertyCodecRegistryImpl
Creates an all purpose registry for property codecs
PropertyConstraint - Class in dev.morphia.mapping.validation.fieldrules
Defines a property constraint.
PropertyConstraint() - Constructor for class dev.morphia.mapping.validation.fieldrules.PropertyConstraint
 
propertyDiscovery() - Method in interface dev.morphia.config.MorphiaConfig
Determines how properties are discovered.
propertyDiscovery() - Method in class dev.morphia.mapping.MapperOptions
Deprecated, for removal: This API element is subject to removal in a future version.
3.0 will evaluate both field and getter/setters for annotation so this setting becomes vestigial
propertyDiscovery(MapperOptions.PropertyDiscovery) - Method in interface dev.morphia.config.MorphiaConfig
Updates this configuration with a new value and returns a new instance.
propertyDiscovery(MapperOptions.PropertyDiscovery) - Method in class dev.morphia.mapping.MapperOptions.Builder
Deprecated, for removal: This API element is subject to removal in a future version.
3.0 will evaluate both field and getter/setters for annotation so this setting becomes vestigial
PropertyHandler - Interface in dev.morphia.mapping.codec.pojo
 
PropertyModel - Class in dev.morphia.mapping.codec.pojo
Represents a field on a class and stores various metadata such as generic parameters.
PropertyModel(EntityModel, PropertyModel) - Constructor for class dev.morphia.mapping.codec.pojo.PropertyModel
 
PropertyModelBuilder - Class in dev.morphia.mapping.codec.pojo
A builder for programmatically creating FieldModels.
propertyModelByName(String) - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
Gets a property by its name
propertyModels() - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
 
propertyNaming() - Method in interface dev.morphia.config.MorphiaConfig
Defines the strategy to use when generating property names to document field names for storage in the database when not explicitly set using Property.
propertyNaming(NamingStrategy) - Method in interface dev.morphia.config.MorphiaConfig
Updates this configuration with a new value and returns a new instance.
propertyNaming(NamingStrategy) - Method in class dev.morphia.mapping.MapperOptions.Builder
Deprecated.
Sets the naming strategy to use for propertys unless expliclity set via @Property
PRUNE - Static variable in class dev.morphia.aggregation.expressions.SystemVariables
One of the allowed results of a $redact expression.
pull(String, Filter) - Static method in class dev.morphia.query.updates.UpdateOperators
The $pull operator removes from an existing array all instances of a value or values that match a specified condition.
pull(String, Object) - Method in interface dev.morphia.query.Updates
removes the value from the array field
pull(String, Object) - Static method in class dev.morphia.query.updates.UpdateOperators
The $pull operator removes from an existing array all instances of a value or values that match a specified condition.
pullAll(String, List<?>) - Method in interface dev.morphia.query.Updates
removes the values from the array field
pullAll(String, List<?>) - Static method in class dev.morphia.query.updates.UpdateOperators
The $pullAll operator removes all instances of the specified values from an existing array.
PullOperator - Class in dev.morphia.query.updates
Defines an operator for $pull
PullOperator(String, Object) - Constructor for class dev.morphia.query.updates.PullOperator
 
push() - Static method in class dev.morphia.aggregation.expressions.AccumulatorExpressions
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(Expression) - Static method in class dev.morphia.aggregation.expressions.AccumulatorExpressions
Returns an array of expression values for each group.
push(String) - Static method in class dev.morphia.aggregation.Group
Deprecated.
Returns an array of all values that result from applying an expression to each document in a group of documents that share the same group by key.
push(String, Object) - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
Adds new values to an array field.
push(String, Object) - Method in class dev.morphia.query.UpdateOpsImpl
Deprecated.
 
push(String, Object) - Method in interface dev.morphia.query.Updates
Adds new values to an array field.
push(String, Object) - Static method in class dev.morphia.query.updates.UpdateOperators
The $push operator appends a specified value to an array.
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
Deprecated.
 
push(String, Object, PushOptions) - Method in interface dev.morphia.query.Updates
Adds new values to an array field at the given position
push(String, List<?>) - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
Adds new values to an array field.
push(String, List<?>) - Method in class dev.morphia.query.UpdateOpsImpl
Deprecated.
 
push(String, List<?>) - Method in interface dev.morphia.query.Updates
Adds new values to an array field.
push(String, List<?>) - Static method in class dev.morphia.query.updates.UpdateOperators
The $push operator appends a specified value to an array.
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
Deprecated.
 
push(String, List<?>, PushOptions) - Method in interface dev.morphia.query.Updates
Adds new values to an array field at the given position
PushOperator - Class in dev.morphia.query.updates
Defines the $push update operator
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

QUARTER - dev.morphia.aggregation.expressions.TimeUnit
 
query(Filter...) - Method in class dev.morphia.aggregation.stages.GeoNear
Optional.
Query<T> - Interface in dev.morphia.query
 
queryByExample(String, T) - Method in interface dev.morphia.AdvancedDatastore
Deprecated, for removal: This API element is subject to removal in a future version.
queryByExample(T) - Method in interface dev.morphia.Datastore
Returns a new query based on the example object
QueryException - Exception in dev.morphia.query
Error during query.
QueryException(String) - Constructor for exception dev.morphia.query.QueryException
Creates a QueryException with a message
QueryException(String, Throwable) - Constructor for exception dev.morphia.query.QueryException
Creates a QueryException with a message and a cause
queryFactory() - Method in interface dev.morphia.config.MorphiaConfig
Specifies the query factory to use.
queryFactory(QueryFactory) - Method in interface dev.morphia.config.MorphiaConfig
Updates this configuration with a new value and returns a new instance.
queryFactory(QueryFactory) - Method in class dev.morphia.mapping.MapperOptions.Builder
Deprecated.
 
QueryFactory - Interface in dev.morphia.query
A factory for queries.
queryLogId() - Method in class dev.morphia.query.FindOptions
 

R

R10 - dev.morphia.query.BucketAutoOptions.Granularity
Deprecated.
 
R20 - dev.morphia.query.BucketAutoOptions.Granularity
Deprecated.
 
R40 - dev.morphia.query.BucketAutoOptions.Granularity
Deprecated.
 
R5 - dev.morphia.query.BucketAutoOptions.Granularity
Deprecated.
 
R80 - dev.morphia.query.BucketAutoOptions.Granularity
Deprecated.
 
radiansToDegrees(Expression) - Static method in class dev.morphia.aggregation.expressions.TrigonometryExpressions
Converts a value from radians to degrees.
raiseError(String) - Static method in class dev.morphia.utils.Assert
Throws an QueryException with the given error message.
rand() - Static method in class dev.morphia.aggregation.expressions.Miscellaneous
Returns a random float between 0 and 1.
range() - Method in class dev.morphia.aggregation.stages.Densify
 
range() - Method in class dev.morphia.aggregation.stages.SetWindowFields.Window
 
range(int, int) - Static method in class dev.morphia.aggregation.expressions.ArrayExpressions
Outputs an array containing a sequence of integers according to user-defined inputs.
range(Object, Object) - Method in class dev.morphia.aggregation.stages.SetWindowFields.Window
A window where the lower and upper boundaries are defined using a range of values based on the sortBy field in the current document.
range(Object, Object, TimeUnit) - Method in class dev.morphia.aggregation.stages.SetWindowFields.Window
A window where the lower and upper boundaries are defined using a range of values based on the sortBy field in the current document.
Range(Densify.RangeType, Number) - Constructor for class dev.morphia.aggregation.stages.Densify.Range
 
RANGED - dev.morphia.mapping.ShardKeyType
 
rank() - Static method in class dev.morphia.aggregation.expressions.WindowExpressions
Returns the document position (known as the rank) relative to other documents in the $setWindowFields stage partition.
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.aggregation.AggregationOptions
 
readConcern() - Method in class dev.morphia.query.CountOptions
Returns the readConcern
readConcern() - Method in class dev.morphia.query.FindOptions
 
readConcern(ReadConcern) - Method in class dev.morphia.aggregation.AggregationOptions
Specifies the read concern.
readConcern(ReadConcern) - Method in class dev.morphia.query.CountOptions
Sets the readConcern
readConcern(ReadConcern) - Method in class dev.morphia.query.FindOptions
 
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.aggregation.AggregationOptions
 
readPreference() - Method in class dev.morphia.query.CountOptions
Returns the readPreference
readPreference() - Method in class dev.morphia.query.FindOptions
 
readPreference(ReadPreference) - Method in class dev.morphia.aggregation.AggregationOptions
Sets the read preference to use
readPreference(ReadPreference) - Method in class dev.morphia.query.CountOptions
Sets the readPreference
readPreference(ReadPreference) - Method in class dev.morphia.query.FindOptions
 
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
 
redact(Expression) - Static method in class dev.morphia.aggregation.stages.Redact
Creates a redaction stage with the given expression
redact(Redact) - Method in interface dev.morphia.aggregation.Aggregation
Restricts the contents of the documents based on information stored in the documents themselves.
redact(Redact) - Method in class dev.morphia.aggregation.AggregationImpl
 
Redact - Class in dev.morphia.aggregation.stages
Restricts the contents of the documents based on information stored in the documents themselves.
Redact() - Constructor for class dev.morphia.aggregation.stages.Redact
 
RedactCodec - Class in dev.morphia.aggregation.codecs.stages
 
RedactCodec(Datastore) - Constructor for class dev.morphia.aggregation.codecs.stages.RedactCodec
 
reduce(Expression, Expression, Expression) - Static method in class dev.morphia.aggregation.expressions.ArrayExpressions
Applies an expression to each element in an array and combines them into a single value.
Reference - Annotation Type in dev.morphia.annotations
 
ReferenceCodec - Class in dev.morphia.mapping.codec.references
 
ReferenceCodec(Datastore, PropertyModel) - 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
Checks that references point to mapped types.
ReferenceToUnidentifiable() - Constructor for class dev.morphia.mapping.validation.fieldrules.ReferenceToUnidentifiable
 
refresh(T) - Method in interface dev.morphia.Datastore
Refreshes an existing entity to its current state in the database.
regex(String) - Static method in class dev.morphia.query.filters.Filters
Deprecated, for removal: This API element is subject to removal in a future version.
regex(String, String) - Static method in class dev.morphia.query.filters.Filters
Selects documents where values match a specified regular expression.
regex(String, Pattern) - Static method in class dev.morphia.query.filters.Filters
Selects documents where values match a specified regular expression.
RegexFilter - Class in dev.morphia.query.filters
Defines a regular expression filter
regexFind(Expression) - Static method in class dev.morphia.aggregation.expressions.StringExpressions
Applies a regular expression (regex) to a string and returns information on the first matched substring.
regexFindAll(Expression) - Static method in class dev.morphia.aggregation.expressions.StringExpressions
Applies a regular expression (regex) to a string and returns information on the all matched substrings.
regexMatch(Expression) - Static method in class dev.morphia.aggregation.expressions.StringExpressions
Applies a regular expression (regex) to a string and returns a boolean that indicates if a match is found or not.
register(EntityModel) - Method in class dev.morphia.mapping.Mapper
 
register(Class<S>, Class<T>, Function<S, T>) - Static method in class dev.morphia.mapping.codec.Conversions
Register a conversion between two types.
register(Class<S>, Class<T>, Function<S, T>, String) - Static method in class dev.morphia.mapping.codec.Conversions
Register a conversion between two types.
REGULAR_EXPRESSION - dev.morphia.query.Type
 
remove() - Method in class dev.morphia.query.MorphiaCursor
 
remove(Criteria) - Method in interface dev.morphia.query.CriteriaContainer
Deprecated.
Removes Criteria to this container
remove(Criteria) - Method in class dev.morphia.query.CriteriaContainerImpl
Deprecated.
 
remove(Criteria) - Method in class dev.morphia.query.LegacyQuery
Deprecated.
 
remove(String, boolean) - Method in class dev.morphia.query.UpdateOpsImpl
Deprecated.
 
REMOVE - Static variable in class dev.morphia.aggregation.expressions.SystemVariables
A variable which evaluates to the missing value.
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
Deprecated.
 
removeAll(String, Object) - Method in interface dev.morphia.query.Updates
Deprecated, for removal: This API element is subject to removal in a future version.
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
Deprecated.
 
removeAll(String, List<?>) - Method in interface dev.morphia.query.Updates
Deprecated, for removal: This API element is subject to removal in a future version.
removeFirst() - Method in class dev.morphia.query.updates.PopOperator
Remove the first element rather than the last.
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
Deprecated.
 
removeFirst(String) - Method in interface dev.morphia.query.Updates
removes the first value from the array
removeLast(String) - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
removes the last value from the array
removeLast(String) - Method in class dev.morphia.query.UpdateOpsImpl
Deprecated.
 
removeLast(String) - Method in interface dev.morphia.query.Updates
removes the last value from the array
rename(String, String) - Static method in class dev.morphia.query.updates.UpdateOperators
Renames a field.
render() - Method in class dev.morphia.mapping.validation.ConstraintViolation
 
replace(List<T>) - Method in interface dev.morphia.Datastore
Replaces a list of documents in the database
replace(List<T>, ReplaceOptions) - Method in interface dev.morphia.Datastore
Replaces a list of documents in the database
replace(T) - Method in interface dev.morphia.Datastore
Replaces a document in the database
replace(T, ReplaceOptions) - Method in interface dev.morphia.Datastore
Replaces a document in the database
replaceAll(Expression, Expression, Expression) - Static method in class dev.morphia.aggregation.expressions.StringExpressions
Replaces all instances of a search string in an input string with a replacement string.
replaceOne(MongoCollection<T>, T, Document, ReplaceOptions) - Method in class dev.morphia.DatastoreImpl.DatastoreOperations
 
replaceOne(Expression, Expression, Expression) - Static method in class dev.morphia.aggregation.expressions.StringExpressions
Replaces the first instance of a search string in an input string with a replacement string.
ReplaceOptions - Class in dev.morphia
Options related to insertion of documents into MongoDB.
ReplaceOptions() - Constructor for class dev.morphia.ReplaceOptions
Creates a new options wrapper
replaceRoot() - Static method in class dev.morphia.aggregation.stages.ReplaceRoot
Creates a new stage
replaceRoot(Expression) - Static method in class dev.morphia.aggregation.stages.ReplaceRoot
Creates a new stage to replace the root with the given expression.
replaceRoot(ReplaceRoot) - Method in interface dev.morphia.aggregation.Aggregation
Replaces the input document with the specified document.
replaceRoot(ReplaceRoot) - Method in class dev.morphia.aggregation.AggregationImpl
 
ReplaceRoot - Class in dev.morphia.aggregation.stages
Replaces the input document with the specified document.
ReplaceRoot() - Constructor for class dev.morphia.aggregation.stages.ReplaceRoot
 
ReplaceRoot(Expression) - Constructor for class dev.morphia.aggregation.stages.ReplaceRoot
 
ReplaceRootCodec - Class in dev.morphia.aggregation.codecs.stages
 
ReplaceRootCodec(Datastore) - Constructor for class dev.morphia.aggregation.codecs.stages.ReplaceRootCodec
 
replaceWith() - Static method in class dev.morphia.aggregation.stages.ReplaceWith
Creates a new stage
replaceWith(Expression) - Static method in class dev.morphia.aggregation.stages.ReplaceWith
Creates a new stage to replace the root with the given expression.
replaceWith(ReplaceWith) - Method in interface dev.morphia.aggregation.Aggregation
Replaces the input document with the specified document.
replaceWith(ReplaceWith) - Method in class dev.morphia.aggregation.AggregationImpl
 
ReplaceWith - Class in dev.morphia.aggregation.stages
Replaces the input document with the specified document.
ReplaceWith() - Constructor for class dev.morphia.aggregation.stages.ReplaceWith
 
ReplaceWith(Expression) - Constructor for class dev.morphia.aggregation.stages.ReplaceWith
 
ReplaceWithCodec - Class in dev.morphia.aggregation.codecs.stages
 
ReplaceWithCodec(Datastore) - Constructor for class dev.morphia.aggregation.codecs.stages.ReplaceWithCodec
 
reset() - Method in class dev.morphia.mapping.codec.reader.Mark
Resets the reader to place indicated by this Mark
restrict(Filter...) - Method in class dev.morphia.aggregation.stages.GraphLookup
Optional.
resumeAfter() - Method in class dev.morphia.aggregation.stages.ChangeStream
 
resumeAfter(Document) - Method in class dev.morphia.aggregation.stages.ChangeStream
Specifies a resume token as the logical starting point for the change stream.
retrieveKnownFields() - Method in class dev.morphia.query.LegacyQuery
Deprecated.
 
retrieveKnownFields() - Method in interface dev.morphia.query.Query
Deprecated, for removal: This API element is subject to removal in a future version.
returnDocument(ReturnDocument) - Method in class dev.morphia.ModifyOptions
returnKey(boolean) - Method in class dev.morphia.query.FindOptions
Sets if only the key value should be returned
returnNew(boolean) - Method in class dev.morphia.FindAndModifyOptions
Deprecated, for removal: This API element is subject to removal in a future version.
reverseArray(Expression) - Static method in class dev.morphia.aggregation.expressions.ArrayExpressions
Returns an array with the elements in reverse order.
ROOT - Static variable in class dev.morphia.aggregation.expressions.SystemVariables
References the root document, i.e.
round(Expression, Expression) - Static method in class dev.morphia.aggregation.expressions.MathExpressions
Rounds a number to to a whole integer or to a specified decimal place.
rtrim(Expression) - Static method in class dev.morphia.aggregation.expressions.StringExpressions
Removes whitespace or the specified characters from the end of a string.
runCommand(Document) - Method in class dev.morphia.DatastoreImpl.DatastoreOperations
 

S

sample(int) - Method in interface dev.morphia.aggregation.AggregationPipeline
Deprecated.
Randomly selects the specified number of documents from the previous pipeline stage.
sample(int) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
Deprecated.
 
sample(long) - Method in interface dev.morphia.aggregation.Aggregation
Randomly selects the specified number of documents from the previous pipeline stage.
sample(long) - Method in class dev.morphia.aggregation.AggregationImpl
 
sample(long) - Static method in class dev.morphia.aggregation.stages.Sample
Creates a new stage with the given sample size.
Sample - Class in dev.morphia.aggregation.stages
Randomly selects the specified number of documents from its input.
Sample(long) - Constructor for class dev.morphia.aggregation.stages.Sample
 
SampleCodec - Class in dev.morphia.aggregation.codecs.stages
 
SampleCodec(Datastore) - Constructor for class dev.morphia.aggregation.codecs.stages.SampleCodec
 
sampleRate(double) - Static method in class dev.morphia.aggregation.expressions.Miscellaneous
Matches a random selection of input documents.
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.
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(T) - Method in interface dev.morphia.Datastore
Saves an entity (Object) and updates the @Id field
save(T, InsertOneOptions) - Method in interface dev.morphia.Datastore
Saves an entity (Object) and updates the @Id field
save(T, InsertOptions) - Method in interface dev.morphia.Datastore
Deprecated, for removal: This API element is subject to removal in a future version.
scale(Integer) - Method in class dev.morphia.aggregation.stages.CollectionStats
Specify the scale factor (i.e.
search(String) - Method in class dev.morphia.query.LegacyQuery
Deprecated.
 
search(String) - Method in interface dev.morphia.query.Query
Deprecated, for removal: This API element is subject to removal in a future version.
search(String, String) - Method in class dev.morphia.query.LegacyQuery
Deprecated.
 
search(String, String) - Method in interface dev.morphia.query.Query
Deprecated, for removal: This API element is subject to removal in a future version.
searchHighlights(String) - Static method in class dev.morphia.query.Meta
 
searchScore(String) - Static method in class dev.morphia.query.Meta
 
second(Expression) - Static method in class dev.morphia.aggregation.expressions.DateExpressions
Returns the seconds for a date as a number between 0 and 60 (leap seconds).
SECOND - dev.morphia.aggregation.expressions.TimeUnit
 
serialization() - Method in class dev.morphia.mapping.codec.pojo.PropertyModelBuilder
 
serialization(MorphiaPropertySerialization) - Method in class dev.morphia.mapping.codec.pojo.PropertyModelBuilder
Sets the PropertySerialization checker
set() - Static method in class dev.morphia.aggregation.stages.Set
Creates a new Set stage
set(AddFields) - Method in interface dev.morphia.aggregation.Aggregation
set(Set) - Method in interface dev.morphia.aggregation.Aggregation
Adds new fields to documents.
set(Set) - Method in class dev.morphia.aggregation.AggregationImpl
 
set(Object) - Method in interface dev.morphia.query.Updates
sets the entity value to completely replace the stored document
set(Object) - Static method in class dev.morphia.query.updates.UpdateOperators
The $set operator replaces the value of a field with the specified value.
set(Object, PropertyModel) - Method in interface dev.morphia.mapping.codec.MorphiaInstanceCreator
Sets a value for the given FieldModel
set(Object, PropertyModel) - Method in class dev.morphia.mapping.NoArgCreator
 
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 interface dev.morphia.query.UpdateOperations
Deprecated.
sets the field value
set(String, Object) - Method in class dev.morphia.query.UpdateOpsImpl
Deprecated.
 
set(String, Object) - Method in interface dev.morphia.query.Updates
sets the field value
set(String, Object) - Static method in class dev.morphia.query.updates.UpdateOperators
The $set operator replaces the value of a field with the specified value.
set(S, Object) - Method in class dev.morphia.mapping.codec.MethodAccessor
 
Set - Class in dev.morphia.aggregation.stages
Adds new fields to documents.
Set() - Constructor for class dev.morphia.aggregation.stages.Set
 
setArray(boolean) - Method in class dev.morphia.mapping.codec.pojo.TypeData
 
setCollection(String) - Method in class dev.morphia.Key
Deprecated.
Sets the collection name.
setDatastore(DatastoreImpl) - Method in class dev.morphia.query.updates.SetOnInsertOperator
 
setDecoder(EntityDecoder<T>) - Method in class dev.morphia.mapping.codec.pojo.MorphiaCodec
Sets the decoder
setDifference(Expression, Expression) - Static method in class dev.morphia.aggregation.expressions.SetExpressions
Returns a set with elements that appear in the first set but not in the second set; i.e.
setDistanceMultiplier(Double) - Method in class dev.morphia.aggregation.GeoNear.GeoNearBuilder
Deprecated.
The factor to multiply all distances returned by the query.
setEncoder(EntityEncoder<T>) - Method in class dev.morphia.mapping.codec.pojo.MorphiaCodec
Sets the encoder
SetEntityOperator - Class in dev.morphia.query.updates
 
SetEntityOperator(Object) - Constructor for class dev.morphia.query.updates.SetEntityOperator
 
setEquals(Expression, Expression...) - Static method in class dev.morphia.aggregation.expressions.SetExpressions
Returns true if the input sets have the same distinct elements.
SetExpressions - Class in dev.morphia.aggregation.expressions
Defines helper methods for the set expressions
setField(Expression, Object, Expression) - Static method in class dev.morphia.aggregation.expressions.Miscellaneous
Adds, updates, or removes a specified field in a document.
setField(String, Object, Expression) - Static method in class dev.morphia.aggregation.expressions.Miscellaneous
Adds, updates, or removes a specified field in a document.
setIncludeLocations(String) - Method in class dev.morphia.aggregation.GeoNear.GeoNearBuilder
Deprecated.
This specifies the output field that identifies the location used to calculate the distance.
setIntersection(Expression, Expression...) - Static method in class dev.morphia.aggregation.expressions.SetExpressions
Returns a set with elements that appear in all of the input sets.
setIsSubset(Expression, Expression) - Static method in class dev.morphia.aggregation.expressions.SetExpressions
Returns true if all elements of the first set appear in the second set, including when the first set equals the second set; i.e.
setLimit(Long) - Method in class dev.morphia.aggregation.GeoNear.GeoNearBuilder
Deprecated.
The maximum number of documents to return.
setMaxDistance(Double) - Method in class dev.morphia.aggregation.GeoNear.GeoNearBuilder
Deprecated.
A distance from the center point.
setMaxDocuments(Long) - Method in class dev.morphia.aggregation.GeoNear.GeoNearBuilder
Deprecated.
The maxDocuments option provides the same function as the limit option.
setNear(double, double) - Method in class dev.morphia.aggregation.GeoNear.GeoNearBuilder
Deprecated.
Sets the point for which to find the closest documents.
setNear(Point) - Method in class dev.morphia.aggregation.GeoNear.GeoNearBuilder
Deprecated.
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 interface dev.morphia.query.UpdateOperations
Deprecated.
sets the field on insert.
setOnInsert(String, Object) - Method in class dev.morphia.query.UpdateOpsImpl
Deprecated.
 
setOnInsert(String, Object) - Method in interface dev.morphia.query.Updates
sets the field on insert.
setOnInsert(Map<String, Object>) - Static method in class dev.morphia.query.updates.UpdateOperators
If an update operation with upsert: true results in an insert of a document, then $setOnInsert assigns the specified values to the fields in the document.
SetOnInsertOperator - Class in dev.morphia.query.updates
 
SetOnInsertOperator(Map<String, Object>) - Constructor for class dev.morphia.query.updates.SetOnInsertOperator
 
setOps(Document) - Method in class dev.morphia.query.UpdateOpsImpl
Deprecated.
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
setQuery(LegacyQuery<?>) - Method in class dev.morphia.query.CriteriaContainerImpl
Deprecated.
Sets the Query for this CriteriaContainer
setQuery(Query) - Method in class dev.morphia.aggregation.GeoNear.GeoNearBuilder
Deprecated.
Limits the results to the documents that match the query.
setQueryObject(Document) - Method in class dev.morphia.query.LegacyQuery
Deprecated.
Sets query structure directly
setSpherical(Boolean) - Method in class dev.morphia.aggregation.GeoNear.GeoNearBuilder
Deprecated.
If true, MongoDB references points using a spherical surface.
SetStageCodec - Class in dev.morphia.aggregation.codecs.stages
 
SetStageCodec(Datastore) - Constructor for class dev.morphia.aggregation.codecs.stages.SetStageCodec
 
setType(Class<? extends T>) - Method in class dev.morphia.Key
Deprecated.
Sets the type of the entity for this Key
setUnion(Expression, Expression...) - Static method in class dev.morphia.aggregation.expressions.SetExpressions
Returns a set with elements that appear in any of the input sets.
setValue(Object) - Method in class dev.morphia.query.filters.Filter
 
setValue(Object, Object) - Method in class dev.morphia.mapping.codec.pojo.PropertyModel
Sets the value for the java field
setWindowFields() - Static method in class dev.morphia.aggregation.stages.SetWindowFields
Performs operations on a specified span of documents in a collection, known as a window, and returns the results based on the chosen window operator.
setWindowFields(SetWindowFields) - Method in interface dev.morphia.aggregation.Aggregation
 
setWindowFields(SetWindowFields) - Method in class dev.morphia.aggregation.AggregationImpl
 
SetWindowFields - Class in dev.morphia.aggregation.stages
Performs operations on a specified span of documents in a collection, known as a window, and returns the results based on the chosen window operator.
SetWindowFields() - Constructor for class dev.morphia.aggregation.stages.SetWindowFields
 
SetWindowFields.Output - Class in dev.morphia.aggregation.stages
 
SetWindowFields.Window - Class in dev.morphia.aggregation.stages
 
SetWindowFieldsCodec - Class in dev.morphia.aggregation.codecs.stages
 
SetWindowFieldsCodec(Datastore) - Constructor for class dev.morphia.aggregation.codecs.stages.SetWindowFieldsCodec
 
SEVERE - dev.morphia.mapping.validation.ConstraintViolation.Level
 
Shape - Class in dev.morphia.query
Deprecated, for removal: This API element is subject to removal in a future version.
use the driver provide facilities instead.
Shape.Center - Class in dev.morphia.query
Deprecated.
 
shardCollections() - Method in interface dev.morphia.Datastore
Shards any collections with sharding definitions.
ShardKey - Annotation Type in dev.morphia.annotations
Defines a shard key of a particular type
ShardKeyNames - Class in dev.morphia.mapping.validation.classrules
Checks for duplicated attribute names
ShardKeyNames() - Constructor for class dev.morphia.mapping.validation.classrules.ShardKeyNames
 
ShardKeys - Annotation Type in dev.morphia.annotations
Defines the properties used in the shard key.
ShardKeyType - Enum in dev.morphia.mapping
 
ShardOptions - Annotation Type in dev.morphia.annotations
Specifies options to be applied when sharding.
shift(Expression, long, Expression) - Static method in class dev.morphia.aggregation.expressions.WindowExpressions
Returns the value from an expression applied to a document in a specified position relative to the current document in the $setWindowFields stage partition.
shouldSerialize(Object) - Method in class dev.morphia.mapping.codec.MorphiaPropertySerialization
 
shouldSerialize(Object) - Method in class dev.morphia.mapping.codec.pojo.PropertyModel
Checks a value against the configured rules for serialization
showRecordId(boolean) - Method in class dev.morphia.query.FindOptions
Sets if the record ID should be returned
simpleName() - Static method in class dev.morphia.mapping.DiscriminatorFunction
Defines a function to use the simple class name for the discriminator value
sin(Expression) - Static method in class dev.morphia.aggregation.expressions.TrigonometryExpressions
Returns the sine of a value that is measured in radians.
sinh(Expression) - Static method in class dev.morphia.aggregation.expressions.TrigonometryExpressions
Returns the hyperbolic sine of a value that is measured in radians.
size(Expression) - Static method in class dev.morphia.aggregation.expressions.ArrayExpressions
Counts and returns the total number of items in an array.
size(Object) - Static method in class dev.morphia.aggregation.Projection
Deprecated.
Counts and returns the total the number of items in an array
size(String, int) - Static method in class dev.morphia.query.filters.Filters
Selects documents if the array field is a specified size.
SIZE - dev.morphia.query.FilterOperator
Deprecated.
 
sizeEq(int) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
sizeEq(int) - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
skip(int) - Method in interface dev.morphia.aggregation.AggregationPipeline
Deprecated.
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
Deprecated.
 
skip(int) - Method in class dev.morphia.query.CountOptions
 
skip(int) - Method in class dev.morphia.query.FindOptions
Sets how many documents to skip
skip(long) - Method in interface dev.morphia.aggregation.Aggregation
Skips over the specified number of documents that pass into the stage and passes the remaining documents to the next stage in the pipeline.
skip(long) - Method in class dev.morphia.aggregation.AggregationImpl
 
skip(long) - Static method in class dev.morphia.aggregation.stages.Skip
Creates a new stage with the given skip size
Skip - Class in dev.morphia.aggregation.stages
Randomly selects the specified number of documents from its input.
Skip(long) - Constructor for class dev.morphia.aggregation.stages.Skip
 
SkipCodec - Class in dev.morphia.aggregation.codecs.stages
 
SkipCodec(Datastore) - Constructor for class dev.morphia.aggregation.codecs.stages.SkipCodec
 
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
slice(int) - Method in class dev.morphia.query.updates.PushOperator
Sets the slice value for the update
slice(Expression, int) - Static method in class dev.morphia.aggregation.expressions.ArrayExpressions
Returns a subset of an array.
snakeCase() - Static method in class dev.morphia.mapping.NamingStrategy
Defines a naming strategy that returns snake case of the value passed
SnakeCase - Class in dev.morphia.mapping.strategy
 
SnakeCase() - Constructor for class dev.morphia.mapping.strategy.SnakeCase
 
sort() - Static method in class dev.morphia.aggregation.stages.Sort
Creates a sort stage.
sort() - Method in class dev.morphia.query.FindOptions
Deprecated, for removal: This API element is subject to removal in a future version.
sort(int) - Method in class dev.morphia.query.PushOptions
Sets the sort value for the update
sort(int) - Method in class dev.morphia.query.updates.PushOperator
Sets the sort value for the update
sort(Sort) - Method in interface dev.morphia.aggregation.Aggregation
Sorts all input documents and returns them to the pipeline in sorted order.
sort(Sort) - Method in class dev.morphia.aggregation.AggregationImpl
 
sort(Meta) - Method in class dev.morphia.query.FindOptions
Sets to the sort to use
sort(Meta, Sort...) - Method in class dev.morphia.query.FindOptions
Sets to the sort to use
sort(Sort) - Method in class dev.morphia.query.updates.PushOperator
Sets the sort value for the update
sort(Sort...) - Method in interface dev.morphia.aggregation.AggregationPipeline
Deprecated.
Reorders the document stream by a specified sort key.
sort(Sort...) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
Deprecated.
 
sort(Sort...) - Method in class dev.morphia.query.FindOptions
Sets to the sort to use
sort(String, int) - Method in class dev.morphia.query.PushOptions
Sets the sort value for the update
sort(Bson) - Method in class dev.morphia.ModifyOptions
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.aggregation.stages
Sorts all input documents and returns them to the pipeline in sorted order.
Sort - Class in dev.morphia.query
Used for sorting query results or defining a sort stage in an aggregation pipeline
Sort() - Constructor for class dev.morphia.aggregation.stages.Sort
 
Sort(String, int) - Constructor for class dev.morphia.query.Sort
Creates a sort on a field with a direction.
Sort.Direction - Enum in dev.morphia.aggregation.stages
The sort types
Sort.SortType - Class in dev.morphia.aggregation.stages
 
sortArray(Expression, Sort...) - Static method in class dev.morphia.aggregation.expressions.ArrayExpressions
Sorts an array based on its elements.
sortBy() - Method in class dev.morphia.aggregation.stages.Fill
 
sortBy(Sort...) - Method in class dev.morphia.aggregation.stages.Fill
Specifies the field or fields to sort the documents within each partition.
sortBy(Sort...) - Method in class dev.morphia.aggregation.stages.SetWindowFields
Specifies the field(s) to sort the documents by in the partition.
sortByCount(Expression) - Method in interface dev.morphia.aggregation.Aggregation
Groups incoming documents based on the value of a specified expression, then computes the count of documents in each distinct group.
sortByCount(Expression) - Method in class dev.morphia.aggregation.AggregationImpl
 
sortByCount(Expression) - Static method in class dev.morphia.aggregation.stages.SortByCount
Creates a new stage grouping by the given expression.
sortByCount(String) - Method in interface dev.morphia.aggregation.AggregationPipeline
Deprecated.
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
Deprecated.
 
SortByCount - Class in dev.morphia.aggregation.stages
Groups incoming documents based on the value of a specified expression, then computes the count of documents in each distinct group.
SortByCount(Expression) - Constructor for class dev.morphia.aggregation.stages.SortByCount
 
SortByCountCodec - Class in dev.morphia.aggregation.codecs.stages
 
SortByCountCodec(Datastore) - Constructor for class dev.morphia.aggregation.codecs.stages.SortByCountCodec
 
SortCodec - Class in dev.morphia.aggregation.codecs.stages
 
SortCodec(Datastore) - Constructor for class dev.morphia.aggregation.codecs.stages.SortCodec
 
sorts() - Method in class dev.morphia.aggregation.stages.SetWindowFields
 
SortType(String, Sort.Direction) - Constructor for class dev.morphia.aggregation.stages.Sort.SortType
 
sparse() - Method in annotation type dev.morphia.annotations.IndexOptions
 
special() - Method in class dev.morphia.query.filters.RegexFilter
Allows the dot character (i.e.
specializeCodec(Datastore) - Method in class dev.morphia.mapping.codec.pojo.PropertyModel
 
spherical(Boolean) - Method in class dev.morphia.aggregation.stages.GeoNear
Optional.
split(Expression, Expression) - Static method in class dev.morphia.aggregation.expressions.StringExpressions
Splits a string into substrings based on a delimiter.
sqrt(Expression) - Static method in class dev.morphia.aggregation.expressions.MathExpressions
Calculates the square root.
Stage - Class in dev.morphia.aggregation.stages
Base type for stages.
Stage(String) - Constructor for class dev.morphia.aggregation.stages.Stage
 
StageCodec<T extends Stage> - Class in dev.morphia.aggregation.codecs.stages
 
StageCodec(Datastore) - Constructor for class dev.morphia.aggregation.codecs.stages.StageCodec
 
stageName() - Method in class dev.morphia.aggregation.stages.Stage
The name of the stage.
startAfter() - Method in class dev.morphia.aggregation.stages.ChangeStream
 
startAfter(Document) - Method in class dev.morphia.aggregation.stages.ChangeStream
Specifies a resume token as the logical starting point for the change stream.
startAtOperationTime() - Method in class dev.morphia.aggregation.stages.ChangeStream
 
startAtOperationTime(LocalDateTime) - Method in class dev.morphia.aggregation.stages.ChangeStream
Specifies a time as the logical starting point for the change stream.
startSession() - Method in interface dev.morphia.Datastore
Starts a new session on the server.
startSession(ClientSessionOptions) - Method in interface dev.morphia.Datastore
Starts a new session on the server.
startsWith(String) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
startsWith(String) - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
startsWithIgnoreCase(String) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
startsWithIgnoreCase(String) - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
startWith(Expression) - Method in class dev.morphia.aggregation.stages.GraphLookup
Expression that specifies the value of the connectFromField with which to start the recursive search.
state() - Method in class dev.morphia.mapping.codec.writer.DocumentWriter
 
stdDevPop(Expression, Expression...) - Static method in class dev.morphia.aggregation.expressions.AccumulatorExpressions
stdDevPop(Expression, Expression...) - Static method in class dev.morphia.aggregation.expressions.WindowExpressions
Returns the population standard deviation of the input values.
stdDevSamp(Expression, Expression...) - Static method in class dev.morphia.aggregation.expressions.AccumulatorExpressions
stdDevSamp(Expression, Expression...) - Static method in class dev.morphia.aggregation.expressions.WindowExpressions
Returns the sample standard deviation of the input values.
step() - Method in class dev.morphia.aggregation.stages.Densify.Range
 
storeEmpties() - Method in interface dev.morphia.config.MorphiaConfig
Instructs Morphia on how to handle empty Collections and Maps.
storeEmpties(boolean) - Method in class dev.morphia.mapping.MapperOptions.Builder
Deprecated.
 
storeEmpties(Boolean) - Method in interface dev.morphia.config.MorphiaConfig
Updates this configuration with a new value and returns a new instance.
storeNulls() - Method in interface dev.morphia.config.MorphiaConfig
Instructs Morphia on how to handle null property values.
storeNulls(boolean) - Method in class dev.morphia.mapping.MapperOptions.Builder
Deprecated.
 
storeNulls(Boolean) - Method in interface dev.morphia.config.MorphiaConfig
Updates this configuration with a new value and returns a new instance.
strcasecmp(Expression, Expression) - Static method in class dev.morphia.aggregation.expressions.StringExpressions
Performs case-insensitive string comparison and returns: 0 if two strings are equivalent, 1 if the first string is greater than the second, and -1 if the first string is less than the second.
stream() - Method in interface dev.morphia.query.Query
Provides a Stream representation of the results of this query.
stream(FindOptions) - Method in interface dev.morphia.query.Query
Provides a Stream representation of the results of this query.
strength() - Method in annotation type dev.morphia.annotations.Collation
 
STRING - dev.morphia.query.Type
 
StringExpressions - Class in dev.morphia.aggregation.expressions
Defines helper methods for the string expressions
strLenBytes(Expression) - Static method in class dev.morphia.aggregation.expressions.StringExpressions
Returns the number of UTF-8 encoded bytes in a string.
strLenCP(Expression) - Static method in class dev.morphia.aggregation.expressions.StringExpressions
Returns the number of UTF-8 code points in a string.
substr(Expression, int, int) - Static method in class dev.morphia.aggregation.expressions.StringExpressions
Deprecated.