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

abortTransaction() - Method in class dev.morphia.experimental.BaseMorphiaSession
 
abs(Expression) - Static method in class dev.morphia.aggregation.experimental.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
Sets the PropertyAccessor
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.experimental.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 - Class in dev.morphia.aggregation.experimental.expressions.impls
Base class for the accumulator expression types.
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.
Accumulator(String, List<Expression>) - Constructor for class dev.morphia.aggregation.experimental.expressions.impls.Accumulator
 
AccumulatorExpression - Class in dev.morphia.aggregation.experimental.expressions.impls
 
AccumulatorExpression(String, String, List<Expression>, String) - Constructor for class dev.morphia.aggregation.experimental.expressions.impls.AccumulatorExpression
 
AccumulatorExpressions - Class in dev.morphia.aggregation.experimental.expressions
Defines helper methods for accumulator expressions
acos(Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.TrigonometryExpressions
Returns the inverse cosine (arc cosine) of a value in radians.
acosh(Expression) - Static method in class dev.morphia.aggregation.experimental.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.experimental.expressions.ObjectExpressions.MergeObjects
Adds an expression to be merged
add(Expression, Expression...) - Static method in class dev.morphia.aggregation.experimental.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
 
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
add(String) - Method in class dev.morphia.aggregation.experimental.expressions.impls.Fields
 
add(String, Expression) - Method in class dev.morphia.aggregation.experimental.expressions.impls.Fields
 
addCodec(Codec<T>) - Method in class dev.morphia.mapping.codec.MorphiaTypesCodecProvider
 
addConvention(MorphiaConvention) - Method in class dev.morphia.mapping.MapperOptions.Builder
Adds a custom convention to the list to be applied to all new MorphiaModels.
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.experimental.stages.AddFields
Creates a new AddFields stage
addFields(AddFields) - Method in interface dev.morphia.aggregation.experimental.Aggregation
Adds new fields to documents.
addFields(AddFields) - Method in class dev.morphia.aggregation.experimental.AggregationImpl
 
AddFields - Class in dev.morphia.aggregation.experimental.stages
Adds new fields to documents.
AddFields() - Constructor for class dev.morphia.aggregation.experimental.stages.AddFields
 
AddFieldsCodec - Class in dev.morphia.aggregation.experimental.codecs.stages
 
AddFieldsCodec(Mapper) - Constructor for class dev.morphia.aggregation.experimental.codecs.stages.AddFieldsCodec
 
addGeoCriteria(FilterOperator, Object, Map<String, Object>) - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
addInterceptor(EntityInterceptor) - Method in class dev.morphia.mapping.Mapper
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
addToSet(Expression) - Static method in class dev.morphia.aggregation.experimental.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) - Static method in class dev.morphia.query.experimental.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, 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, List<?>) - Static method in class dev.morphia.query.experimental.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
AddToSetOperator - Class in dev.morphia.query.experimental.updates
Defines the $addToSet operator
AddToSetOperator(String, Object) - Constructor for class dev.morphia.query.experimental.updates.AddToSetOperator
 
addTypeParameter(TypeData<S>) - Method in class dev.morphia.mapping.codec.pojo.TypeData.Builder
Adds a type parameter
addTypeParameter(TypeData<S>) - Method in class dev.morphia.mapping.codec.pojo.WildCardTypeData.Builder
Adds a type parameter
advanceClusterTime(BsonDocument) - Method in class dev.morphia.experimental.BaseMorphiaSession
 
AdvancedDatastore - Interface in dev.morphia
Deprecated, for removal: This API element is subject to removal in a future version. 
advanceOperationTime(BsonTimestamp) - Method in class dev.morphia.experimental.BaseMorphiaSession
 
aggregate(Class<T>) - Method in interface dev.morphia.Datastore
Returns a new query bound to the kind (a specific DBCollection)
aggregate(Class<T>) - Method in class dev.morphia.DatastoreImpl
 
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 DBCollection)
aggregate(String) - Method in class dev.morphia.DatastoreImpl
 
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.experimental.stages.Stage
 
Aggregation<T> - Interface in dev.morphia.aggregation.experimental
 
AggregationCodecProvider - Class in dev.morphia.aggregation.experimental.codecs
 
AggregationCodecProvider(Mapper) - Constructor for class dev.morphia.aggregation.experimental.codecs.AggregationCodecProvider
 
AggregationException - Exception in dev.morphia.aggregation.experimental
Indicates a failure in a pipeline execution
AggregationException(String) - Constructor for exception dev.morphia.aggregation.experimental.AggregationException
Creates an exception with a message
AggregationException(String, Exception) - Constructor for exception dev.morphia.aggregation.experimental.AggregationException
Creates an exception with a message and a cause
AggregationImpl<T> - Class in dev.morphia.aggregation.experimental
 
AggregationImpl(Datastore, MongoCollection<T>) - Constructor for class dev.morphia.aggregation.experimental.AggregationImpl
Creates an instance.
AggregationImpl(Datastore, Class<T>, MongoCollection<T>) - Constructor for class dev.morphia.aggregation.experimental.AggregationImpl
Creates an instance.
AggregationOptions - Class in dev.morphia.aggregation.experimental
Defines options to be applied to an aggregation pipeline.
AggregationOptions() - Constructor for class dev.morphia.aggregation.experimental.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.experimental.filters.Filters
Matches arrays that contain all elements specified in the query.
ALL - dev.morphia.query.FilterOperator
Deprecated.
 
allElementsTrue(Expression, Expression...) - Static method in class dev.morphia.aggregation.experimental.expressions.SetExpressions
Returns true if no element of a set evaluates to false, otherwise, returns false.
allowDiskUse() - Method in class dev.morphia.aggregation.experimental.AggregationOptions
 
allowDiskUse(boolean) - Method in class dev.morphia.aggregation.experimental.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.experimental.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(Expression, Expression...) - Static method in class dev.morphia.aggregation.experimental.expressions.BooleanExpressions
Evaluates one or more expressions and returns true if all of 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
 
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.experimental.filters.Filters
Applies $and to a set of filters
and(String, int) - Static method in class dev.morphia.query.experimental.updates.UpdateOperators
The $bit operator performs a bitwise update of a field.
AND - dev.morphia.query.CriteriaJoin
Deprecated.
 
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
annotationsMap() - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
 
annotationType() - Method in class dev.morphia.annotations.experimental.EmbeddedBuilder
 
anyElementTrue(Expression, Expression...) - Static method in class dev.morphia.aggregation.experimental.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(Datastore, EntityModelBuilder) - Method in class dev.morphia.mapping.conventions.ConfigureProperties
 
apply(Datastore, EntityModelBuilder) - Method in class dev.morphia.mapping.conventions.FieldDiscovery
 
apply(Datastore, EntityModelBuilder) - Method in class dev.morphia.mapping.conventions.MethodDiscovery
 
apply(Datastore, EntityModelBuilder) - Method in interface dev.morphia.mapping.conventions.MorphiaConvention
This method applies this Convention to the given builder
apply(Datastore, EntityModelBuilder) - Method in class dev.morphia.mapping.conventions.MorphiaDefaultsConvention
 
apply(EntityModelBuilder) - Method in class dev.morphia.mapping.DiscriminatorFunction
Applies the function to the given model to determine the discriminator value
apply(String) - Method in class dev.morphia.mapping.NamingStrategy
Applies this naming strategy to the given value
apply(String, Object) - Method in enum dev.morphia.query.FilterOperator
Deprecated.
Converts a FilterOperator to a Filter
apply(List<Document>, MongoCollection<T>, Class<S>) - Method in class dev.morphia.aggregation.experimental.AggregationOptions
Applies the configured options to the collection.
applyOpts(Map) - Method in class dev.morphia.query.experimental.filters.NearFilter
 
array(Expression...) - Static method in class dev.morphia.aggregation.experimental.expressions.ArrayExpressions
Creates an array of the given expressions.
array(BsonWriter, Runnable) - Static method in class dev.morphia.aggregation.experimental.codecs.ExpressionHelper
 
array(BsonWriter, String, Runnable) - Static method in class dev.morphia.aggregation.experimental.codecs.ExpressionHelper
 
ARRAY - dev.morphia.query.Type
 
ArrayExpression - Class in dev.morphia.aggregation.experimental.expressions.impls
Base class for the array expressions
ArrayExpression(String, Object) - Constructor for class dev.morphia.aggregation.experimental.expressions.impls.ArrayExpression
 
ArrayExpressions - Class in dev.morphia.aggregation.experimental.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
ArrayFilterExpression - Class in dev.morphia.aggregation.experimental.expressions.impls
 
ArrayFilterExpression(Expression, Expression) - Constructor for class dev.morphia.aggregation.experimental.expressions.impls.ArrayFilterExpression
 
arrayFilters(List<? extends Bson>) - Method in class dev.morphia.ModifyOptions
 
arrayFilters(List<? extends Bson>) - Method in class dev.morphia.UpdateOptions
 
ArrayIndexExpression - Class in dev.morphia.aggregation.experimental.expressions.impls
 
ArrayIndexExpression(Expression, Expression) - Constructor for class dev.morphia.aggregation.experimental.expressions.impls.ArrayIndexExpression
 
ArrayLiteral - Class in dev.morphia.aggregation.experimental.expressions.impls
 
ArrayLiteral(Expression...) - Constructor for class dev.morphia.aggregation.experimental.expressions.impls.ArrayLiteral
 
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.experimental.expressions.ArrayExpressions
Converts an array of key value pairs to a document.
as(String) - Method in class dev.morphia.aggregation.experimental.expressions.impls.ArrayFilterExpression
 
as(String) - Method in class dev.morphia.aggregation.experimental.expressions.impls.MapExpression
 
as(String) - Method in class dev.morphia.aggregation.experimental.stages.GraphLookup
Name of the array field added to each output document.
as(String) - Method in class dev.morphia.aggregation.experimental.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.experimental.stages.Sort
Adds an ascending sort definition on the field.
ASCENDING - dev.morphia.aggregation.experimental.stages.Sort.Direction
 
asin(Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.TrigonometryExpressions
Returns the inverse sin (arc sine) of a value in radians.
asinh(Expression) - Static method in class dev.morphia.aggregation.experimental.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.experimental.expressions.TrigonometryExpressions
Returns the inverse tangent (arc tangent) of a value in radians.
atan2(Expression, Expression) - Static method in class dev.morphia.aggregation.experimental.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.experimental.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
 
autoBucket() - Static method in class dev.morphia.aggregation.experimental.stages.AutoBucket
Creates a new auto bucket
autoBucket(AutoBucket) - Method in interface dev.morphia.aggregation.experimental.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.experimental.AggregationImpl
 
AutoBucket - Class in dev.morphia.aggregation.experimental.stages
Categorizes incoming documents into a specific number of groups, called buckets, based on a specified expression.
AutoBucket() - Constructor for class dev.morphia.aggregation.experimental.stages.AutoBucket
 
AutoBucketCodec - Class in dev.morphia.aggregation.experimental.codecs.stages
 
AutoBucketCodec(Mapper) - Constructor for class dev.morphia.aggregation.experimental.codecs.stages.AutoBucketCodec
 
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.experimental.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
BaseMorphiaSession - Class in dev.morphia.experimental
 
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.experimental.AggregationOptions
 
batchSize(int) - Method in class dev.morphia.aggregation.experimental.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.experimental.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.experimental.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.experimental.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.experimental.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.experimental.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.experimental.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.experimental.filters.Filters
Matches numeric or binary values in which any bit from a set of bit positions has a value of 1.
BOOLEAN - dev.morphia.aggregation.experimental.expressions.impls.ConvertType
 
BOOLEAN - dev.morphia.query.Type
 
BooleanExpressions - Class in dev.morphia.aggregation.experimental.expressions
Defines helper methods for the boolean expressions
boundaries(Expression...) - Method in class dev.morphia.aggregation.experimental.stages.Bucket
An array of values based on the groupBy expression that specify the boundaries for each bucket.
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.experimental.filters.Filters
Specifies a rectangular box using legacy coordinate pairs for $geoWithin queries.
branch(Expression, Expression) - Method in class dev.morphia.aggregation.experimental.expressions.impls.SwitchExpression
Adds a new branch to the switch
bsonSize(Expression) - Static method in class dev.morphia.aggregation.experimental.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.experimental.stages.Bucket
Creates a new bucket stage
bucket(Bucket) - Method in interface dev.morphia.aggregation.experimental.Aggregation
Categorizes incoming documents into groups, called buckets, based on a specified expression and bucket boundaries.
bucket(Bucket) - Method in class dev.morphia.aggregation.experimental.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.experimental.stages
Categorizes incoming documents into groups, called buckets, based on a specified expression and bucket boundaries.
Bucket() - Constructor for class dev.morphia.aggregation.experimental.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.experimental.codecs.stages
 
BucketCodec(Mapper) - Constructor for class dev.morphia.aggregation.experimental.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.experimental.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.codec.pojo.WildCardTypeData.Builder
 
build() - Method in class dev.morphia.mapping.MapperOptions.Builder
 
builder() - Static method in class dev.morphia.annotations.experimental.EmbeddedBuilder
Creates a new instance
builder() - Static method in class dev.morphia.mapping.MapperOptions
 
builder(boolean) - Static method in class dev.morphia.mapping.codec.pojo.WildCardTypeData
Creates a builder
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
Builder(boolean) - Constructor for class dev.morphia.mapping.codec.pojo.WildCardTypeData.Builder
Creates a builder
Builder(MapperOptions) - Constructor for class dev.morphia.mapping.MapperOptions.Builder
 
bypassDocumentValidation() - Method in class dev.morphia.aggregation.experimental.AggregationOptions
 
bypassDocumentValidation(boolean) - Method in class dev.morphia.aggregation.experimental.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.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
 
callLifecycleMethods(Class<? extends Annotation>, Object, Document, Mapper) - Method in class dev.morphia.mapping.codec.pojo.EntityModel
Invokes any lifecycle methods
camelCase() - Static method in class dev.morphia.mapping.NamingStrategy
Defines a naming strategy that returns camel case of the value passed
cap() - Method in annotation type dev.morphia.annotations.Entity
 
CappedAt - Annotation Type in dev.morphia.annotations
Properties for capped collections; used in Entity
caseFirst() - Method in annotation type dev.morphia.annotations.Collation
Determines if Uppercase or lowercase values should come first
caseInsensitive() - Method in class dev.morphia.query.experimental.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.experimental.filters.TextSearchFilter
Sets the search as case sensitive or not
ceil(Expression) - Static method in class dev.morphia.aggregation.experimental.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.experimental.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.experimental.filters.Filters
Defines a circle for a geospatial query that uses spherical geometry.
chars(Expression) - Method in class dev.morphia.aggregation.experimental.expressions.impls.TrimExpression
 
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.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
 
ClassMethodPair - Class in dev.morphia.mapping.codec.pojo
 
className() - Static method in class dev.morphia.mapping.DiscriminatorFunction
Defines a function to use the class name for the discriminator value
clientSession() - Method in class dev.morphia.aggregation.experimental.AggregationOptions
 
clientSession() - Method in class dev.morphia.DeleteOptions
 
clientSession() - Method in class dev.morphia.InsertManyOptions
The client session to use for the insertion.
clientSession() - Method in class dev.morphia.InsertOneOptions
 
clientSession() - Method in interface dev.morphia.internal.SessionConfigurable
The client session to use for the insertion.
clientSession() - Method in class dev.morphia.ModifyOptions
 
clientSession() - Method in class dev.morphia.query.CountOptions
 
clientSession() - Method in class dev.morphia.query.FindAndDeleteOptions
 
clientSession() - Method in class dev.morphia.query.FindOptions
The client session to use for the insertion.
clientSession() - Method in class dev.morphia.UpdateOptions
 
clientSession(ClientSession) - Method in class dev.morphia.aggregation.experimental.AggregationOptions
 
clientSession(ClientSession) - Method in class dev.morphia.DeleteOptions
 
clientSession(ClientSession) - Method in class dev.morphia.InsertManyOptions
Set the client session to use for the insert.
clientSession(ClientSession) - Method in class dev.morphia.InsertOneOptions
 
clientSession(ClientSession) - Method in interface dev.morphia.internal.SessionConfigurable
Set the client session to use for the insert.
clientSession(ClientSession) - Method in class dev.morphia.ModifyOptions
 
clientSession(ClientSession) - Method in class dev.morphia.query.CountOptions
 
clientSession(ClientSession) - Method in class dev.morphia.query.FindAndDeleteOptions
 
clientSession(ClientSession) - Method in class dev.morphia.query.FindOptions
Set the client session to use for the insert.
clientSession(ClientSession) - Method in class dev.morphia.UpdateOptions
 
close() - Method in class dev.morphia.experimental.BaseMorphiaSession
 
close() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
close() - Method in class dev.morphia.query.internal.MorphiaKeyCursor
Deprecated.
Closes the underlying cursor.
close() - Method in class dev.morphia.query.MorphiaCursor
Closes the underlying cursor.
CLUSTER_TIME - Static variable in class dev.morphia.aggregation.experimental.expressions.SystemVariables
A variable that returns the current timestamp value.
cmp(Expression, Expression) - Static method in class dev.morphia.aggregation.experimental.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.
collation() - Method in class dev.morphia.aggregation.experimental.AggregationOptions
 
collation() - Method in annotation type dev.morphia.annotations.IndexOptions
 
collation(Collation) - Method in class dev.morphia.aggregation.experimental.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.UpdateOptions
 
Collation - Annotation Type in dev.morphia.annotations
Defines the collation options for an index
CollectionCodec<T> - Class in dev.morphia.mapping.codec
A codec for Collection type
CollectionCodec(Class<Collection<T>>, Codec<T>) - Constructor for class dev.morphia.mapping.codec.CollectionCodec
 
collectionNaming(NamingStrategy) - Method in class dev.morphia.mapping.MapperOptions.Builder
Sets the naming strategy to use for collection names
CollectionReference<C extends Collection> - Class in dev.morphia.mapping.experimental
 
CollectionReference() - Constructor for class dev.morphia.mapping.experimental.CollectionReference
 
CollectionStats - Class in dev.morphia.aggregation.experimental.stages
Returns statistics regarding a collection or view.
CollectionStats() - Constructor for class dev.morphia.aggregation.experimental.stages.CollectionStats
 
CollectionStatsCodec - Class in dev.morphia.aggregation.experimental.codecs.stages
 
CollectionStatsCodec(Mapper) - Constructor for class dev.morphia.aggregation.experimental.codecs.stages.CollectionStatsCodec
 
collStats() - Static method in class dev.morphia.aggregation.experimental.stages.CollectionStats
Creates a new collStats stage
collStats(CollectionStats) - Method in interface dev.morphia.aggregation.experimental.Aggregation
Returns statistics regarding a collection or view.
collStats(CollectionStats) - Method in class dev.morphia.aggregation.experimental.AggregationImpl
 
comment(String) - Method in class dev.morphia.query.FindOptions
Sets the comment to log with the query
comment(String, Object) - Static method in class dev.morphia.query.experimental.filters.Filters
Adds a comment to a query predicate.
commitTransaction() - Method in class dev.morphia.experimental.BaseMorphiaSession
 
compareTo(Key<T>) - Method in class dev.morphia.Key
Deprecated.
 
ComparisonExpressions - Class in dev.morphia.aggregation.experimental.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.experimental.expressions.StringExpressions
Concatenates any number of strings.
concatArrays(Expression, Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.ArrayExpressions
Concatenates arrays to return the concatenated array.
concern() - Method in annotation type dev.morphia.annotations.Entity
 
concreteClass() - Method in annotation type dev.morphia.annotations.Property
 
condition(Expression, Expression, Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.ConditionalExpressions
Evaluates a boolean expression to return one of the two specified return expressions.
ConditionalExpressions - Class in dev.morphia.aggregation.experimental.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.experimental.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.experimental.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.
ConstructorCreator - Class in dev.morphia.mapping.experimental
Defines a Creator that uses a full constructor to create an instance rather than field injection.
ConstructorCreator(EntityModel, Constructor<?>) - Constructor for class dev.morphia.mapping.experimental.ConstructorCreator
 
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.experimental.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.
ConvertExpression - Class in dev.morphia.aggregation.experimental.expressions.impls
 
ConvertExpression(Expression, ConvertType) - Constructor for class dev.morphia.aggregation.experimental.expressions.impls.ConvertExpression
 
convertLineStrings(List<LineString>) - Static method in class dev.morphia.geo.GeoJson
Deprecated.
 
convertPoints(List<Point>) - Static method in class dev.morphia.geo.GeoJson
Deprecated.
 
ConvertType - Enum in dev.morphia.aggregation.experimental.expressions.impls
 
CoordinateReferenceSystem - Class in dev.morphia.geo
Deprecated, for removal: This API element is subject to removal in a future version.
use the driver-provided types instead
CoordinateReferenceSystem() - Constructor for class dev.morphia.geo.CoordinateReferenceSystem
Deprecated.
 
CoordinateReferenceSystemType - Enum in dev.morphia.geo
Deprecated, for removal: This API element is subject to removal in a future version.
use the driver-provided types instead
copy() - Method in class dev.morphia.query.FindOptions
 
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.experimental.expressions.TrigonometryExpressions
Returns the cosine of a value that is measured in radians.
cosh(Expression) - Static method in class dev.morphia.aggregation.experimental.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
 
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.experimental.stages.CollectionStats
Adds the total number of documents in the collection to the return document.
count(CountOptions) - Method in class dev.morphia.query.LegacyQuery
 
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.experimental.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.experimental.AggregationImpl
 
Count - Class in dev.morphia.aggregation.experimental.stages
 
Count(String) - Constructor for class dev.morphia.aggregation.experimental.stages.Count
 
CountCodec - Class in dev.morphia.aggregation.experimental.codecs.stages
 
CountCodec(Mapper) - Constructor for class dev.morphia.aggregation.experimental.codecs.stages.CountCodec
 
CountOptions - Class in dev.morphia.query
The options for a count operation.
CountOptions() - Constructor for class dev.morphia.query.CountOptions
 
create() - Static method in class dev.morphia.mapping.experimental.UnsafeAllocator
 
create() - Method in interface dev.morphia.mapping.InstanceCreatorFactory
 
create() - Method in class dev.morphia.mapping.InstanceCreatorFactoryImpl
 
createAggregation(Class) - Method in class dev.morphia.DatastoreImpl
 
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. 
createAggregation(String, Class<?>) - Method in class dev.morphia.DatastoreImpl
 
createDatastore(MongoClient, String) - Static method in class dev.morphia.Morphia
It is best to use a Mongo singleton instance here.
createDatastore(MongoClient, String, MapperOptions) - Static method in class dev.morphia.Morphia
It is best to use a Mongo singleton instance here.
createDatastore(String) - Static method in class dev.morphia.Morphia
Creates a Datastore
createDatastore(String, MapperOptions) - Static method in class dev.morphia.Morphia
Creates a Datastore
createInstance(Mapper, 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
 
createQuery(Datastore, Class<T>, Document) - Method in class dev.morphia.query.DefaultQueryFactory
 
createQuery(Datastore, Class<T>, Document) - Method in class dev.morphia.query.LegacyQueryFactory
 
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
 
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.
createQuery(Class<T>, Document) - Method in class dev.morphia.DatastoreImpl
 
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
 
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(Mapper, 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.experimental.filters.GeoWithinFilter
 
crs(CoordinateReferenceSystem) - Method in class dev.morphia.query.experimental.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.experimental.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.experimental.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.experimental.updates
Defines the $currentDate operator
CurrentDateOperator(String) - Constructor for class dev.morphia.query.experimental.updates.CurrentDateOperator
Creates an operator for a field
CurrentDateOperator.TypeSpecification - Enum in dev.morphia.query.experimental.updates
Type type options when setting the current date
currentOp() - Static method in class dev.morphia.aggregation.experimental.stages.CurrentOp
Creates a new stage
currentOp(CurrentOp) - Method in interface dev.morphia.aggregation.experimental.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.experimental.AggregationImpl
 
CurrentOp - Class in dev.morphia.aggregation.experimental.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.experimental.stages.CurrentOp
 
CurrentOpCodec - Class in dev.morphia.aggregation.experimental.codecs.stages
 
CurrentOpCodec(Mapper) - Constructor for class dev.morphia.aggregation.experimental.codecs.stages.CurrentOpCodec
 
currentState() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
cursorType(CursorType) - Method in class dev.morphia.query.FindOptions
Sets the cursor type

D

DataSizeExpressions - Class in dev.morphia.aggregation.experimental.expressions
Defines helper methods for the data size expressions
datastore() - Method in class dev.morphia.mapping.codec.pojo.PropertyModelBuilder
 
Datastore - Interface in dev.morphia
Datastore interface to get/delete/save objects
DatastoreAware - Interface in dev.morphia.query.internal
Indicates a type that can accept a DatastoreImpl
DatastoreImpl - Class in dev.morphia
A generic (type-safe) wrapper around mongodb collections
DatastoreImpl(MongoClient, MapperOptions, String) - Constructor for class dev.morphia.DatastoreImpl
 
DatastoreImpl(MongoDatabase, MongoClient, Mapper, QueryFactory) - Constructor for class dev.morphia.DatastoreImpl
Copy constructor for a datastore
date(Expression) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateToString
 
date(String) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateToString
 
DATE - dev.morphia.aggregation.experimental.expressions.impls.ConvertType
 
DATE - dev.morphia.query.experimental.updates.CurrentDateOperator.TypeSpecification
 
DATE - dev.morphia.query.Type
 
DateExpression(String, Expression) - Constructor for class dev.morphia.aggregation.experimental.expressions.DateExpressions.DateExpression
 
DateExpressions - Class in dev.morphia.aggregation.experimental.expressions
Defines helper methods for the date expressions
DateExpressions.DateExpression - Class in dev.morphia.aggregation.experimental.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.experimental.expressions.DateExpressions
Constructs and returns a Date object given the date’s constituent properties.
DateFromParts - Class in dev.morphia.aggregation.experimental.expressions.impls
 
DateFromParts() - Constructor for class dev.morphia.aggregation.experimental.expressions.impls.DateFromParts
 
dateFromString() - Static method in class dev.morphia.aggregation.experimental.expressions.DateExpressions
Converts a date/time string to a date object.
DateFromString - Class in dev.morphia.aggregation.experimental.expressions.impls
 
DateFromString() - Constructor for class dev.morphia.aggregation.experimental.expressions.impls.DateFromString
 
dateStorage(DateStorage) - Method in class dev.morphia.mapping.MapperOptions.Builder
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.
dateString(Expression) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateFromString
 
dateString(String) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateFromString
 
dateToParts(Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.DateExpressions
Constructs and returns a Date object given the date’s constituent properties.
DateToParts - Class in dev.morphia.aggregation.experimental.expressions.impls
Returns a document that contains the constituent parts of a given BSON Date value as individual properties.
DateToParts(Expression) - Constructor for class dev.morphia.aggregation.experimental.expressions.impls.DateToParts
 
dateToString() - Static method in class dev.morphia.aggregation.experimental.expressions.DateExpressions
Returns the date as a formatted string.
DateToString - Class in dev.morphia.aggregation.experimental.expressions.impls
 
DateToString() - Constructor for class dev.morphia.aggregation.experimental.expressions.impls.DateToString
 
day(int) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateFromParts
Optional.
day(Expression) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateFromParts
Day of month.
dayOfMonth(Expression) - Static method in class dev.morphia.aggregation.experimental.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.experimental.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.experimental.expressions.DateExpressions
Returns the day of the year for a date as a number between 1 and 366 (leap year).
dec(String) - Static method in class dev.morphia.query.experimental.updates.UpdateOperators
Decrements the value of the field by one.
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, Number) - Static method in class dev.morphia.query.experimental.updates.UpdateOperators
Decrements the value of the field by the specified amount.
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).
DECIMAL - dev.morphia.aggregation.experimental.expressions.impls.ConvertType
 
decode(Datastore, Mapper, PropertyModel, Class<?>, Document) - Static method in class dev.morphia.mapping.experimental.SingleReference
Decodes a document in to an entity
decode(Datastore, Mapper, PropertyModel, Document) - Static method in class dev.morphia.mapping.experimental.MapReference
Decodes a document in to entities
decode(BsonReader, DecoderContext) - Method in class dev.morphia.aggregation.experimental.codecs.ExpressionCodec
 
decode(BsonReader, DecoderContext) - Method in class dev.morphia.aggregation.experimental.codecs.stages.StageCodec
 
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
 
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
 
decode(BsonReader, DecoderContext) - Method in class dev.morphia.mapping.experimental.MorphiaReferenceCodec
 
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
 
defaultCase(Expression) - Method in class dev.morphia.aggregation.experimental.expressions.impls.SwitchExpression
Adds a default case if nothing is matched.
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
 
defaults(Expression) - Method in class dev.morphia.aggregation.experimental.expressions.impls.ZipExpression
An array of default element values to use if the input arrays have different lengths.
defaultValue(Object) - Method in class dev.morphia.aggregation.experimental.stages.Bucket
Optional.
degreesToRadians(Expression) - Static method in class dev.morphia.aggregation.experimental.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
 
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) - Method in class dev.morphia.DatastoreImpl
 
delete(T, DeleteOptions) - Method in interface dev.morphia.Datastore
Deletes the given entity (by @Id), with the WriteConcern
delete(T, DeleteOptions) - Method in class dev.morphia.DatastoreImpl
Deletes the given entity (by @Id), with the WriteConcern
delete(T, DeleteOptions) - Method in class dev.morphia.experimental.MorphiaSessionImpl
 
DeleteOptions - Class in dev.morphia
The options to apply when removing documents from the MongoCollection
DeleteOptions() - Constructor for class dev.morphia.DeleteOptions
Creates a new options instance
DeleteOptions(DeleteOptions) - Constructor for class dev.morphia.DeleteOptions
 
depthField(String) - Method in class dev.morphia.aggregation.experimental.stages.GraphLookup
Optional.
DESC - dev.morphia.utils.IndexDirection
 
DESC - dev.morphia.utils.IndexType
 
DESCEND - Static variable in class dev.morphia.aggregation.experimental.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.experimental.stages.Sort
Adds an descending sort definition on the field.
DESCENDING - dev.morphia.aggregation.experimental.stages.Sort.Direction
 
dev.morphia - package dev.morphia
 
dev.morphia.aggregation - package dev.morphia.aggregation
 
dev.morphia.aggregation.experimental - package dev.morphia.aggregation.experimental
 
dev.morphia.aggregation.experimental.codecs - package dev.morphia.aggregation.experimental.codecs
 
dev.morphia.aggregation.experimental.codecs.stages - package dev.morphia.aggregation.experimental.codecs.stages
 
dev.morphia.aggregation.experimental.expressions - package dev.morphia.aggregation.experimental.expressions
 
dev.morphia.aggregation.experimental.expressions.impls - package dev.morphia.aggregation.experimental.expressions.impls
 
dev.morphia.aggregation.experimental.stages - package dev.morphia.aggregation.experimental.stages
 
dev.morphia.annotations - package dev.morphia.annotations
 
dev.morphia.annotations.experimental - package dev.morphia.annotations.experimental
 
dev.morphia.experimental - package dev.morphia.experimental
 
dev.morphia.geo - package dev.morphia.geo
 
dev.morphia.internal - package dev.morphia.internal
 
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.experimental - package dev.morphia.mapping.experimental
 
dev.morphia.mapping.lazy - package dev.morphia.mapping.lazy
 
dev.morphia.mapping.lazy.proxy - package dev.morphia.mapping.lazy.proxy
 
dev.morphia.mapping.validation - package dev.morphia.mapping.validation
 
dev.morphia.mapping.validation.classrules - package dev.morphia.mapping.validation.classrules
 
dev.morphia.mapping.validation.fieldrules - package dev.morphia.mapping.validation.fieldrules
 
dev.morphia.query - package dev.morphia.query
 
dev.morphia.query.experimental - package dev.morphia.query.experimental
 
dev.morphia.query.experimental.filters - package dev.morphia.query.experimental.filters
 
dev.morphia.query.experimental.updates - package dev.morphia.query.experimental.updates
 
dev.morphia.query.internal - package dev.morphia.query.internal
 
dev.morphia.transactions.experimental - package dev.morphia.transactions.experimental
 
dev.morphia.utils - package dev.morphia.utils
 
diacriticSensitive(Boolean) - Method in class dev.morphia.query.experimental.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
 
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(MapperOptions) - 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 class dev.morphia.annotations.experimental.EmbeddedBuilder
 
discriminator() - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
 
discriminator(DiscriminatorFunction) - Method in class dev.morphia.mapping.MapperOptions.Builder
Sets the discriminator function to use
discriminator(String) - Method in class dev.morphia.annotations.experimental.EmbeddedBuilder
Sets the discriminator value
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 class dev.morphia.annotations.experimental.EmbeddedBuilder
 
discriminatorKey() - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
 
discriminatorKey(String) - Method in class dev.morphia.annotations.experimental.EmbeddedBuilder
Sets the discriminator key
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
Defines the discriminator key name
DiscriminatorLookup - Class in dev.morphia.mapping
Provides lookup capabilities to find a type by its discriminator
DiscriminatorLookup(ClassLoader) - Constructor for class dev.morphia.mapping.DiscriminatorLookup
Creates a new lookup
distanceField(String) - Method in class dev.morphia.aggregation.experimental.stages.GeoNear
The output field that contains the calculated distance.
distanceMultiplier(Number) - Method in class dev.morphia.aggregation.experimental.stages.GeoNear
Optional.
divide(Expression, Expression) - Static method in class dev.morphia.aggregation.experimental.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(Mapper, Document, Consumer<BsonWriter>) - Static method in class dev.morphia.aggregation.experimental.codecs.ExpressionHelper
 
document(BsonWriter, Runnable) - Static method in class dev.morphia.aggregation.experimental.codecs.ExpressionHelper
 
document(BsonWriter, String, Runnable) - Static method in class dev.morphia.aggregation.experimental.codecs.ExpressionHelper
 
DocumentExpression - Class in dev.morphia.aggregation.experimental.expressions.impls
 
DocumentExpression() - Constructor for class dev.morphia.aggregation.experimental.expressions.impls.DocumentExpression
 
documentHasId(Object) - Method in class dev.morphia.mapping.codec.pojo.MorphiaCodec
 
DocumentReader - Class in dev.morphia.mapping.codec.reader
 
DocumentReader(Document) - Constructor for class dev.morphia.mapping.codec.reader.DocumentReader
Construct a new instance.
DocumentWriter - Class in dev.morphia.mapping.codec.writer
Utility to write out to a Document
DocumentWriter(Mapper) - Constructor for class dev.morphia.mapping.codec.writer.DocumentWriter
Creates a new Writer
DocumentWriter(Mapper, 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.aggregation.experimental.expressions.impls.ConvertType
 
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.experimental.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.experimental.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.
EmbeddedBuilder - Class in dev.morphia.annotations.experimental
Creates a pseudo-instance of an @Embedded annotation.
EmbeddedBuilder() - Constructor for class dev.morphia.annotations.experimental.EmbeddedBuilder
 
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
Process any Validation annotations for document validation.
enableDocumentValidation() - Method in class dev.morphia.DatastoreImpl
 
enablePolymorphicQueries(boolean) - Method in class dev.morphia.mapping.MapperOptions.Builder
 
enableValidation() - Method in class dev.morphia.query.LegacyQuery
 
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
enableValidation(EntityModel, Validation) - Method in class dev.morphia.DatastoreImpl
 
encode(Mapper) - Method in class dev.morphia.query.OperationTarget
Encodes this target
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.experimental.expressions.DateExpressions.DateExpression
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.experimental.expressions.impls.Accumulator
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.experimental.expressions.impls.AccumulatorExpression
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.experimental.expressions.impls.ArrayExpression
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.experimental.expressions.impls.ArrayFilterExpression
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.experimental.expressions.impls.ArrayIndexExpression
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.experimental.expressions.impls.ArrayLiteral
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.experimental.expressions.impls.ConvertExpression
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateFromParts
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateFromString
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateToParts
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateToString
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DocumentExpression
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.experimental.expressions.impls.Expression
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.experimental.expressions.impls.Fields
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.experimental.expressions.impls.FunctionExpression
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.experimental.expressions.impls.IfNull
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.experimental.expressions.impls.IndexExpression
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.experimental.expressions.impls.IsoDates
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.experimental.expressions.impls.LetExpression
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.experimental.expressions.impls.LiteralExpression
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.experimental.expressions.impls.MapExpression
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.experimental.expressions.impls.MathExpression
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.experimental.expressions.impls.MetaExpression
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.experimental.expressions.impls.PipelineField
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.experimental.expressions.impls.Push
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.experimental.expressions.impls.RangeExpression
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.experimental.expressions.impls.ReduceExpression
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.experimental.expressions.impls.RegexExpression
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.experimental.expressions.impls.ReplaceExpression
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.experimental.expressions.impls.SliceExpression
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.experimental.expressions.impls.SwitchExpression
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.experimental.expressions.impls.TrimExpression
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.experimental.expressions.impls.ValueExpression
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.experimental.expressions.impls.ZipExpression
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.experimental.expressions.ObjectExpressions.MergeObjects
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.query.experimental.filters.Filter
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.query.experimental.filters.GeoIntersectsFilter
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.query.experimental.filters.GeoWithinFilter
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.query.experimental.filters.NearFilter
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.query.experimental.filters.RegexFilter
 
encode(Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.query.experimental.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) - Method in class dev.morphia.mapping.experimental.MorphiaReferenceCodec
 
encode(String, Mapper, BsonWriter, EncoderContext) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DocumentExpression
 
encode(BsonWriter) - Method in enum dev.morphia.aggregation.experimental.stages.Sort.Direction
 
encode(BsonWriter, Key, EncoderContext) - Method in class dev.morphia.mapping.codec.KeyCodec
Deprecated.
 
encode(BsonWriter, MorphiaReference, EncoderContext) - Method in class dev.morphia.mapping.experimental.MorphiaReferenceCodec
 
encode(BsonWriter, LegacyQuery, EncoderContext) - Method in class dev.morphia.mapping.codec.LegacyQueryCodec
 
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.pojo.EntityEncoder
 
encode(BsonWriter, Object, EncoderContext) - Method in class dev.morphia.mapping.codec.pojo.LifecycleEncoder
 
encode(BsonWriter, Object, EncoderContext) - Method in class dev.morphia.mapping.codec.pojo.MorphiaCodec
 
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, 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.experimental.codecs.ExpressionCodec
 
encode(BsonWriter, T, EncoderContext) - Method in class dev.morphia.aggregation.experimental.codecs.stages.StageCodec
 
encode(BsonWriter, T, EncoderContext) - Method in class dev.morphia.mapping.codec.EnumCodec
 
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, Datastore, Object, PropertyModel) - Static method in class dev.morphia.mapping.codec.references.ReferenceCodec
Encodes a value
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
 
encodeStage(BsonWriter, AddFields, EncoderContext) - Method in class dev.morphia.aggregation.experimental.codecs.stages.AddFieldsCodec
 
encodeStage(BsonWriter, AutoBucket, EncoderContext) - Method in class dev.morphia.aggregation.experimental.codecs.stages.AutoBucketCodec
 
encodeStage(BsonWriter, Bucket, EncoderContext) - Method in class dev.morphia.aggregation.experimental.codecs.stages.BucketCodec
 
encodeStage(BsonWriter, CollectionStats, EncoderContext) - Method in class dev.morphia.aggregation.experimental.codecs.stages.CollectionStatsCodec
 
encodeStage(BsonWriter, Count, EncoderContext) - Method in class dev.morphia.aggregation.experimental.codecs.stages.CountCodec
 
encodeStage(BsonWriter, CurrentOp, EncoderContext) - Method in class dev.morphia.aggregation.experimental.codecs.stages.CurrentOpCodec
 
encodeStage(BsonWriter, Facet, EncoderContext) - Method in class dev.morphia.aggregation.experimental.codecs.stages.FacetCodec
 
encodeStage(BsonWriter, GeoNear, EncoderContext) - Method in class dev.morphia.aggregation.experimental.codecs.stages.GeoNearCodec
 
encodeStage(BsonWriter, GraphLookup, EncoderContext) - Method in class dev.morphia.aggregation.experimental.codecs.stages.GraphLookupCodec
 
encodeStage(BsonWriter, Group, EncoderContext) - Method in class dev.morphia.aggregation.experimental.codecs.stages.GroupCodec
 
encodeStage(BsonWriter, IndexStats, EncoderContext) - Method in class dev.morphia.aggregation.experimental.codecs.stages.IndexStatsCodec
 
encodeStage(BsonWriter, Limit, EncoderContext) - Method in class dev.morphia.aggregation.experimental.codecs.stages.LimitCodec
 
encodeStage(BsonWriter, Lookup, EncoderContext) - Method in class dev.morphia.aggregation.experimental.codecs.stages.LookupCodec
 
encodeStage(BsonWriter, Match, EncoderContext) - Method in class dev.morphia.aggregation.experimental.codecs.stages.MatchCodec
 
encodeStage(BsonWriter, Merge, EncoderContext) - Method in class dev.morphia.aggregation.experimental.codecs.stages.MergeCodec
 
encodeStage(BsonWriter, Out, EncoderContext) - Method in class dev.morphia.aggregation.experimental.codecs.stages.OutCodec
 
encodeStage(BsonWriter, PlanCacheStats, EncoderContext) - Method in class dev.morphia.aggregation.experimental.codecs.stages.PlanCacheStatsCodec
 
encodeStage(BsonWriter, Projection, EncoderContext) - Method in class dev.morphia.aggregation.experimental.codecs.stages.ProjectionCodec
 
encodeStage(BsonWriter, Redact, EncoderContext) - Method in class dev.morphia.aggregation.experimental.codecs.stages.RedactCodec
 
encodeStage(BsonWriter, ReplaceRoot, EncoderContext) - Method in class dev.morphia.aggregation.experimental.codecs.stages.ReplaceRootCodec
 
encodeStage(BsonWriter, ReplaceWith, EncoderContext) - Method in class dev.morphia.aggregation.experimental.codecs.stages.ReplaceWithCodec
 
encodeStage(BsonWriter, Sample, EncoderContext) - Method in class dev.morphia.aggregation.experimental.codecs.stages.SampleCodec
 
encodeStage(BsonWriter, Skip, EncoderContext) - Method in class dev.morphia.aggregation.experimental.codecs.stages.SkipCodec
 
encodeStage(BsonWriter, SortByCount, EncoderContext) - Method in class dev.morphia.aggregation.experimental.codecs.stages.SortByCountCodec
 
encodeStage(BsonWriter, Sort, EncoderContext) - Method in class dev.morphia.aggregation.experimental.codecs.stages.SortCodec
 
encodeStage(BsonWriter, UnionWith, EncoderContext) - Method in class dev.morphia.aggregation.experimental.codecs.stages.UnionWithCodec
 
encodeStage(BsonWriter, Unset, EncoderContext) - Method in class dev.morphia.aggregation.experimental.codecs.stages.UnsetCodec
 
encodeStage(BsonWriter, Unwind, EncoderContext) - Method in class dev.morphia.aggregation.experimental.codecs.stages.UnwindCodec
 
encodeStage(BsonWriter, T, EncoderContext) - Method in class dev.morphia.aggregation.experimental.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
 
end(int) - Method in class dev.morphia.aggregation.experimental.expressions.impls.IndexExpression
Sets the end boundary for searching
end(Integer) - Method in class dev.morphia.aggregation.experimental.expressions.impls.ArrayIndexExpression
The ending index
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
ensure capped collections for Entity(s)
ensureCaps() - Method in class dev.morphia.DatastoreImpl
 
ensureIndexes() - Method in interface dev.morphia.Datastore
Ensures (creating if necessary) the indexes found during class mapping
ensureIndexes() - Method in class dev.morphia.DatastoreImpl
 
ensureIndexes(Class<T>) - Method in interface dev.morphia.Datastore
Ensures (creating if necessary) the indexes found during class mapping
ensureIndexes(Class<T>) - Method in class dev.morphia.DatastoreImpl
 
Entity - Annotation Type in dev.morphia.annotations
Allows marking and naming the collectionName
EntityAndEmbed - Class in dev.morphia.mapping.validation.classrules
Checks that @Entity and @Embed aren't both used on a type.
EntityAndEmbed() - Constructor for class dev.morphia.mapping.validation.classrules.EntityAndEmbed
 
EntityDecoder - Class in dev.morphia.mapping.codec.pojo
 
EntityDecoder(MorphiaCodec<?>) - Constructor for class dev.morphia.mapping.codec.pojo.EntityDecoder
 
EntityEncoder - Class in dev.morphia.mapping.codec.pojo
 
EntityEncoder(MorphiaCodec) - Constructor for class dev.morphia.mapping.codec.pojo.EntityEncoder
 
EntityInterceptor - Interface in dev.morphia
Interface for intercepting @Entity lifecycle events
EntityListeners - Annotation Type in dev.morphia.annotations
Specifies other classes to participate in the @Entity's lifecycle
EntityModel - Class in dev.morphia.mapping.codec.pojo
A model of metadata about a type
EntityModelBuilder - Class in dev.morphia.mapping.codec.pojo
Builder for EntityModels
EntityModelBuilder(Datastore, A, Class<T>) - Constructor for class dev.morphia.mapping.codec.pojo.EntityModelBuilder
 
EntityModelBuilder(Datastore, Class<?>) - Constructor for class dev.morphia.mapping.codec.pojo.EntityModelBuilder
Create a builder
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.experimental.filters.Filter
Sets the query entity type on the filter
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.experimental.expressions.ComparisonExpressions
Returns true if the values are equivalent.
eq(String, Object) - Static method in class dev.morphia.query.experimental.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.EntityModel
 
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.mapping.experimental.MorphiaReference
 
equals(Object) - Method in class dev.morphia.query.FindOptions
 
equals(Object) - Method in class dev.morphia.query.LegacyQuery
 
exclude(String) - Method in class dev.morphia.aggregation.experimental.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
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
Executes the update
execute(MorphiaSession) - Method in interface dev.morphia.transactions.experimental.MorphiaTransaction
Executes the transaction body
execute(ModifyOptions) - Method in class dev.morphia.query.Modify
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(UpdateOptions) - Method in class dev.morphia.query.Update
Executes the update
execute(Class<R>) - Method in class dev.morphia.aggregation.experimental.AggregationImpl
 
execute(Class<R>, AggregationOptions) - Method in class dev.morphia.aggregation.experimental.AggregationImpl
 
execute(Class<S>) - Method in interface dev.morphia.aggregation.experimental.Aggregation
Execute the aggregation and get the results.
execute(Class<S>, AggregationOptions) - Method in interface dev.morphia.aggregation.experimental.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.experimental.filters.Filters
Matches documents that have the specified field.
EXISTS - dev.morphia.query.FilterOperator
Deprecated.
 
exp(Expression) - Static method in class dev.morphia.aggregation.experimental.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
 
explain(FindOptions, ExplainVerbosity) - Method in interface dev.morphia.query.Query
Provides information on the query plan.
expr(Expression) - Static method in class dev.morphia.query.experimental.filters.Filters
Allows use of aggregation expressions within the query language.
expression(Mapper, BsonWriter, Expression, EncoderContext) - Static method in class dev.morphia.aggregation.experimental.codecs.ExpressionHelper
 
expression(Mapper, BsonWriter, String, Expression, EncoderContext) - Static method in class dev.morphia.aggregation.experimental.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
Expression - Class in dev.morphia.aggregation.experimental.expressions.impls
Base class for all the expression types.
Expression(String) - Constructor for class dev.morphia.aggregation.experimental.expressions.impls.Expression
 
Expression(String, Object) - Constructor for class dev.morphia.aggregation.experimental.expressions.impls.Expression
 
ExpressionCodec<T extends Expression> - Class in dev.morphia.aggregation.experimental.codecs
 
ExpressionCodec(Mapper) - Constructor for class dev.morphia.aggregation.experimental.codecs.ExpressionCodec
 
ExpressionHelper - Class in dev.morphia.aggregation.experimental.codecs
 
Expressions - Class in dev.morphia.aggregation.experimental.expressions
Defines helper methods for various expressions.
extended() - Method in class dev.morphia.query.experimental.filters.RegexFilter
“Extended” capability to ignore all white space characters in the $regex pattern unless escaped or included in a character class.

F

facet() - Static method in class dev.morphia.aggregation.experimental.stages.Facet
Creates a new facet stage
facet(Facet) - Method in interface dev.morphia.aggregation.experimental.Aggregation
Processes multiple aggregation pipelines within a single stage on the same set of input documents.
facet(Facet) - Method in class dev.morphia.aggregation.experimental.AggregationImpl
 
Facet - Class in dev.morphia.aggregation.experimental.stages
Processes multiple aggregation pipelines within a single stage on the same set of input documents.
Facet() - Constructor for class dev.morphia.aggregation.experimental.stages.Facet
 
FacetCodec - Class in dev.morphia.aggregation.experimental.codecs.stages
 
FacetCodec(Mapper) - Constructor for class dev.morphia.aggregation.experimental.codecs.stages.FacetCodec
 
FATAL - dev.morphia.mapping.validation.ConstraintViolation.Level
 
field() - Method in class dev.morphia.query.experimental.updates.UpdateOperator
 
field(String) - Static method in class dev.morphia.aggregation.experimental.expressions.Expressions
Creates a field expression for the given value.
field(String) - Method in class dev.morphia.aggregation.experimental.stages.Group
Adds a field to the group.
field(String) - Method in class dev.morphia.aggregation.experimental.stages.Group.GroupId
Adds a field to the group.
field(String) - Method in class dev.morphia.query.LegacyQuery
 
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.experimental.expressions.impls.DocumentExpression
 
field(String, Expression) - Method in interface dev.morphia.aggregation.experimental.expressions.impls.FieldHolder
 
field(String, Expression) - Method in class dev.morphia.aggregation.experimental.expressions.impls.IfNull
 
field(String, Expression) - Method in class dev.morphia.aggregation.experimental.expressions.impls.Push
 
field(String, Expression) - Method in class dev.morphia.aggregation.experimental.stages.AddFields
Add a field to the stage
field(String, Expression) - Method in class dev.morphia.aggregation.experimental.stages.Group
Adds a named field to the group with an expression giving the value.
field(String, Expression) - Method in class dev.morphia.aggregation.experimental.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.experimental.stages.ReplaceRoot
Adds a new field
field(String, Expression) - Method in class dev.morphia.aggregation.experimental.stages.ReplaceWith
Adds a new field
field(String, Stage...) - Method in class dev.morphia.aggregation.experimental.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(Mapper, 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
FieldHolder<T> - Interface in dev.morphia.aggregation.experimental.expressions.impls
 
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 annotation type dev.morphia.annotations.Index
 
fields(String, String...) - Static method in class dev.morphia.aggregation.experimental.stages.Unset
Deprecated, for removal: This API element is subject to removal in a future version.
Fields<T> - Class in dev.morphia.aggregation.experimental.expressions.impls
 
Fields(T) - Constructor for class dev.morphia.aggregation.experimental.expressions.impls.Fields
 
FIELDS - dev.morphia.mapping.MapperOptions.PropertyDiscovery
 
filter(Expression, Expression) - Static method in class dev.morphia.aggregation.experimental.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
 
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.experimental.filters
Base class for query filters
Filter(String) - Constructor for class dev.morphia.query.experimental.filters.Filter
 
Filter(String, String, Object) - Constructor for class dev.morphia.query.experimental.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.experimental.filters
Defines helper methods to generate filter operations for queries.
finalizeFunction(String) - Method in class dev.morphia.aggregation.experimental.expressions.impls.AccumulatorExpression
Optional.
find() - Method in interface dev.morphia.query.Query
Deprecated, for removal: This API element is subject to removal in a future version.
find(FindOptions) - Method in interface dev.morphia.query.Query
Deprecated, for removal: This API element is subject to removal in a future version.
find(Class<T>) - Method in interface dev.morphia.Datastore
Find all instances by type
find(Class<T>) - Method in class dev.morphia.DatastoreImpl
 
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) - Method in class dev.morphia.DatastoreImpl
 
find(String, Class<T>) - Method in interface dev.morphia.Datastore
Find all instances by type from an alternate collection
find(String, Class<T>) - Method in class dev.morphia.DatastoreImpl
 
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
 
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
 
FindOptions - Class in dev.morphia.query
The options to apply to a find operation (also commonly referred to as a query).
FindOptions() - Constructor for class dev.morphia.query.FindOptions
Creates an instance with default values
findSession(SessionConfigurable<?>) - Method in interface dev.morphia.Datastore
 
findSession(SessionConfigurable<?>) - Method in class dev.morphia.DatastoreImpl
 
first() - Method in class dev.morphia.query.LegacyQuery
 
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.experimental.expressions.AccumulatorExpressions
Returns a value from the first document for each group.
first(FindOptions) - Method in class dev.morphia.query.LegacyQuery
 
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.
floor(Expression) - Static method in class dev.morphia.aggregation.experimental.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.experimental.stages.Lookup
Specifies the field from the documents in the from collection.
format(Expression) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateFromString
 
format(Expression) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateToString
 
format(String) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateFromString
 
format(String) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateToString
 
from(Class) - Static method in class dev.morphia.aggregation.experimental.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.experimental.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.experimental.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.experimental.stages.Lookup
Deprecated, for removal: This API element is subject to removal in a future version.
fromDocument(Class<T>, Document) - Method in class dev.morphia.mapping.Mapper
Converts a Document back to a type-safe java object (POJO)
fromString(String) - Static method in enum dev.morphia.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
function(String, Expression...) - Static method in class dev.morphia.aggregation.experimental.expressions.AccumulatorExpressions
Defines a custom aggregation function or expression in JavaScript.
FunctionExpression - Class in dev.morphia.aggregation.experimental.expressions.impls
 
FunctionExpression(String, List<Expression>) - Constructor for class dev.morphia.aggregation.experimental.expressions.impls.FunctionExpression
Creates the new expression

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.experimental.filters.Filters
Selects geometries that intersect with a GeoJSON geometry.
GeoIntersectsFilter - Class in dev.morphia.query.experimental.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.experimental.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.experimental.stages.GeoNear
Creates a new geoNear stage
geoNear(Point) - Static method in class dev.morphia.aggregation.experimental.stages.GeoNear
Creates a new geoNear stage
geoNear(GeoNear) - Method in interface dev.morphia.aggregation.experimental.Aggregation
Outputs documents in order of nearest to farthest from a specified point.
geoNear(GeoNear) - Method in class dev.morphia.aggregation.experimental.AggregationImpl
 
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 - Class in dev.morphia.aggregation.experimental.stages
Outputs documents in order of nearest to farthest from a specified point.
GeoNear - Class in dev.morphia.aggregation
Deprecated, for removal: This API element is subject to removal in a future version.
GeoNear() - Constructor for class dev.morphia.aggregation.experimental.stages.GeoNear
 
GeoNear(double[]) - Constructor for class dev.morphia.aggregation.experimental.stages.GeoNear
 
GeoNear(Point) - Constructor for class dev.morphia.aggregation.experimental.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.experimental.codecs.stages
 
GeoNearCodec(Mapper) - Constructor for class dev.morphia.aggregation.experimental.codecs.stages.GeoNearCodec
 
geoWithin(String, MultiPolygon) - Static method in class dev.morphia.query.experimental.filters.Filters
Selects geometries within a bounding GeoJSON geometry.
geoWithin(String, Polygon) - Static method in class dev.morphia.query.experimental.filters.Filters
Selects geometries within a bounding GeoJSON geometry.
GeoWithinFilter - Class in dev.morphia.query.experimental.filters
Defines a $geoWithin filter.
get() - Method in class dev.morphia.mapping.experimental.CollectionReference
Gets the referenced entities.
get() - Method in class dev.morphia.mapping.experimental.ListReference
 
get() - Method in class dev.morphia.mapping.experimental.MapReference
get() - Method in class dev.morphia.mapping.experimental.MorphiaReference
 
get() - Method in class dev.morphia.mapping.experimental.SetReference
 
get() - Method in class dev.morphia.mapping.experimental.SingleReference
 
get(Class<?>) - Method in class dev.morphia.mapping.codec.BsonTypeMap
Gets the Class that is mapped to the given BSON type.
get(Class<T>) - Method in class dev.morphia.mapping.codec.PrimitiveCodecRegistry
 
get(Class<T>, CodecRegistry) - Method in class dev.morphia.aggregation.experimental.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(TypeWithTypeParameters<S>) - Method in class dev.morphia.mapping.codec.PropertyCodecRegistryImpl
 
get(TypeWithTypeParameters<T>, PropertyCodecRegistry) - Method in class dev.morphia.mapping.codec.MorphiaCollectionPropertyCodecProvider
 
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.aggregation.experimental.AggregationOptions
 
getAllowDiskUse() - Method in class dev.morphia.query.FindOptions
 
getAnnotation(Class<A>) - Method in class dev.morphia.mapping.codec.pojo.EntityModel
 
getAnnotation(Class<A>) - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
 
getAnnotation(Class<A>) - Method in class dev.morphia.mapping.codec.pojo.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.
getAnnotations() - Method in class dev.morphia.mapping.codec.pojo.EntityModel
Returns all the annotations on this model
getArguments() - Method in class dev.morphia.aggregation.Projection
Deprecated.
 
getAs() - Method in class dev.morphia.aggregation.experimental.stages.GraphLookup
 
getAs() - Method in class dev.morphia.aggregation.experimental.stages.Lookup
 
getBatchSize() - Method in class dev.morphia.aggregation.experimental.AggregationOptions
 
getBatchSize() - Method in class dev.morphia.query.FindOptions
 
getBoundaries() - Method in class dev.morphia.aggregation.experimental.stages.Bucket
 
getBuckets() - Method in class dev.morphia.aggregation.experimental.stages.AutoBucket
 
getBypassDocumentValidation() - Method in class dev.morphia.aggregation.experimental.AggregationOptions
 
getBypassDocumentValidation() - Method in class dev.morphia.InsertManyOptions
Gets whether to bypass document validation, or null if unspecified.
getBypassDocumentValidation() - Method in class dev.morphia.InsertOneOptions
Gets the the bypass document level validation flag
getBypassDocumentValidation() - Method in class dev.morphia.InsertOptions
Deprecated.
Gets whether to bypass document validation, or null if unspecified.
getCachedCodec() - Method in class dev.morphia.mapping.codec.pojo.PropertyModel
 
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.
getClassLoader() - Method in class dev.morphia.mapping.MapperOptions
Returns the classloader used, in theory, when loading the entity types.
getClusterTime() - Method in class dev.morphia.experimental.BaseMorphiaSession
 
getCodec() - Method in class dev.morphia.mapping.codec.CollectionCodec
 
getCodec() - Method in class dev.morphia.mapping.codec.pojo.PropertyModel
 
getCodecFromDocument(BsonReader, boolean, String, CodecRegistry, DiscriminatorLookup, Codec<?>) - Method in class dev.morphia.mapping.codec.pojo.EntityDecoder
 
getCodecRegistry() - Method in class dev.morphia.aggregation.experimental.codecs.ExpressionCodec
 
getCodecRegistry() - Method in class dev.morphia.aggregation.experimental.codecs.stages.StageCodec
 
getCodecRegistry() - Method in class dev.morphia.mapping.Mapper
 
getCollation() - Method in class dev.morphia.aggregation.experimental.AggregationOptions
 
getCollation() - Method in class dev.morphia.query.FindOptions
 
getCollection() - Method in class dev.morphia.aggregation.experimental.stages.Merge
 
getCollection() - Method in class dev.morphia.aggregation.experimental.stages.Out
 
getCollection() - Method in class dev.morphia.Key
Deprecated.
 
getCollection() - Method in class dev.morphia.query.LegacyQuery
 
getCollection() - Method in class dev.morphia.query.UpdateBase
 
getCollection(Class<T>) - Method in class dev.morphia.mapping.Mapper
 
getCollectionName() - Method in class dev.morphia.aggregation.experimental.stages.UnionWith
 
getCollectionName() - Method in class dev.morphia.mapping.codec.pojo.EntityModel
 
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.experimental.stages.UnionWith
 
getComment() - Method in class dev.morphia.query.FindOptions
 
getConnectFromField() - Method in class dev.morphia.aggregation.experimental.stages.GraphLookup
 
getConnectToField() - Method in class dev.morphia.aggregation.experimental.stages.GraphLookup
 
getConventions() - Method in class dev.morphia.mapping.MapperOptions
 
getCoordinates() - Method in class dev.morphia.aggregation.experimental.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.experimental.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
 
getDatabase() - Method in class dev.morphia.aggregation.experimental.stages.Merge
 
getDatabase() - Method in interface dev.morphia.Datastore
 
getDatabase() - Method in class dev.morphia.DatastoreImpl
 
getDatastore() - Method in class dev.morphia.mapping.codec.BaseReferenceCodec
 
getDatastore() - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
 
getDatastore() - Method in class dev.morphia.query.LegacyQuery
 
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.experimental.stages.Bucket
 
getDepthField() - Method in class dev.morphia.aggregation.experimental.stages.GraphLookup
 
getDirection() - Method in class dev.morphia.aggregation.experimental.stages.Sort.SortType
 
getDiscriminator() - Method in class dev.morphia.mapping.codec.pojo.EntityModel
 
getDiscriminator() - Method in class dev.morphia.mapping.MapperOptions
 
getDiscriminatorKey() - Method in class dev.morphia.mapping.codec.pojo.EntityModel
 
getDiscriminatorKey() - Method in class dev.morphia.mapping.MapperOptions
 
getDiscriminatorLookup() - Method in class dev.morphia.mapping.Mapper
 
getDistanceField() - Method in class dev.morphia.aggregation.experimental.stages.GeoNear
 
getDistanceField() - Method in class dev.morphia.aggregation.GeoNear
Deprecated.
 
getDistanceMultiplier() - Method in class dev.morphia.aggregation.experimental.stages.GeoNear
 
getDistanceMultiplier() - Method in class dev.morphia.aggregation.GeoNear
Deprecated.
 
getDocument() - Method in class dev.morphia.aggregation.experimental.expressions.impls.IfNull
 
getDocument() - Method in class dev.morphia.aggregation.experimental.stages.AddFields
 
getDocument() - Method in class dev.morphia.aggregation.experimental.stages.Group.GroupId
 
getDocument() - Method in class dev.morphia.aggregation.experimental.stages.ReplaceRoot
 
getDocument() - Method in class dev.morphia.aggregation.experimental.stages.ReplaceWith
 
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
 
getEmbeddedAnnotation() - Method in class dev.morphia.mapping.codec.pojo.EntityModel
 
getEncoder() - Method in class dev.morphia.mapping.codec.pojo.MorphiaCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.experimental.codecs.ExpressionCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.experimental.codecs.stages.AddFieldsCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.experimental.codecs.stages.AutoBucketCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.experimental.codecs.stages.BucketCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.experimental.codecs.stages.CollectionStatsCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.experimental.codecs.stages.CountCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.experimental.codecs.stages.CurrentOpCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.experimental.codecs.stages.FacetCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.experimental.codecs.stages.GeoNearCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.experimental.codecs.stages.GraphLookupCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.experimental.codecs.stages.GroupCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.experimental.codecs.stages.IndexStatsCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.experimental.codecs.stages.LimitCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.experimental.codecs.stages.LookupCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.experimental.codecs.stages.MatchCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.experimental.codecs.stages.MergeCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.experimental.codecs.stages.OutCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.experimental.codecs.stages.PlanCacheStatsCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.experimental.codecs.stages.ProjectionCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.experimental.codecs.stages.RedactCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.experimental.codecs.stages.ReplaceRootCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.experimental.codecs.stages.ReplaceWithCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.experimental.codecs.stages.SampleCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.experimental.codecs.stages.SkipCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.experimental.codecs.stages.SortByCountCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.experimental.codecs.stages.SortCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.experimental.codecs.stages.UnionWithCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.experimental.codecs.stages.UnsetCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.experimental.codecs.stages.UnwindCodec
 
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
 
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
 
getEncoderClass() - Method in class dev.morphia.mapping.experimental.MorphiaReferenceCodec
 
getEntityAnnotation() - Method in class dev.morphia.mapping.codec.pojo.EntityModel
 
getEntityClass() - Method in class dev.morphia.query.LegacyQuery
 
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
 
getEntityModel(Class) - Method in class dev.morphia.mapping.Mapper
Gets the EntityModel for the object (type).
getEntityModelForField() - Method in class dev.morphia.mapping.codec.BaseReferenceCodec
 
getExpression() - Method in class dev.morphia.aggregation.experimental.stages.Redact
 
getExpression() - Method in class dev.morphia.aggregation.experimental.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.experimental.stages.Group.GroupId
 
getField() - Method in class dev.morphia.aggregation.experimental.stages.Sort.SortType
 
getField() - Method in class dev.morphia.mapping.codec.FieldAccessor
 
getField() - Method in class dev.morphia.query.experimental.filters.Filter
 
getField() - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
getField() - Method in class dev.morphia.query.Meta
 
getField() - Method in class dev.morphia.query.Sort
 
getFieldName() - Method in interface dev.morphia.query.Criteria
Deprecated.
 
getFieldName() - Method in class dev.morphia.query.CriteriaContainerImpl
Deprecated.
 
getFieldName() - Method in class dev.morphia.query.LegacyQuery
 
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.experimental.expressions.impls.Fields
 
getFields() - Method in class dev.morphia.aggregation.experimental.stages.Facet
 
getFields() - Method in class dev.morphia.aggregation.experimental.stages.Group
 
getFields() - Method in class dev.morphia.aggregation.experimental.stages.Projection
 
getFields() - Method in class dev.morphia.aggregation.experimental.stages.Unset
 
getFieldsObject() - Method in class dev.morphia.query.LegacyQuery
 
getFilters() - Method in class dev.morphia.aggregation.experimental.stages.GeoNear
 
getFilters() - Method in class dev.morphia.aggregation.experimental.stages.Match
 
getForeignField() - Method in class dev.morphia.aggregation.experimental.stages.Lookup
 
getFrom() - Method in class dev.morphia.aggregation.experimental.stages.GraphLookup
 
getFrom() - Method in class dev.morphia.aggregation.experimental.stages.Lookup
 
getFromType() - Method in class dev.morphia.aggregation.experimental.stages.GraphLookup
 
getFromType() - Method in class dev.morphia.aggregation.experimental.stages.Lookup
 
getFullConstructor(EntityModel) - Static method in class dev.morphia.mapping.experimental.ConstructorCreator
 
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.experimental.stages.AutoBucket
 
getGranularity() - Method in class dev.morphia.query.BucketAutoOptions
Deprecated.
 
getGroupBy() - Method in class dev.morphia.aggregation.experimental.stages.AutoBucket
 
getGroupBy() - Method in class dev.morphia.aggregation.experimental.stages.Bucket
 
getHint() - Method in class dev.morphia.query.FindOptions
 
getHistogram() - Method in class dev.morphia.aggregation.experimental.stages.CollectionStats
 
getId() - Method in class dev.morphia.aggregation.experimental.stages.Group
 
getId() - Method in class dev.morphia.Key
Deprecated.
 
getId(Mapper, Datastore, EntityModel) - Method in class dev.morphia.mapping.experimental.MapReference
 
getId(Object) - Method in class dev.morphia.mapping.Mapper
Gets the ID value for an entity
getIdentifier() - Method in enum dev.morphia.aggregation.experimental.expressions.impls.ConvertType
 
getIdProperty() - Method in class dev.morphia.mapping.codec.pojo.EntityModel
 
getIds() - Method in class dev.morphia.mapping.experimental.CollectionReference
 
getIds() - Method in class dev.morphia.mapping.experimental.MapReference
 
getIds() - Method in class dev.morphia.mapping.experimental.MorphiaReference
 
getIds() - Method in class dev.morphia.mapping.experimental.SingleReference
 
getIncludeArrayIndex() - Method in class dev.morphia.aggregation.experimental.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.experimental.stages.GeoNear
 
getInstance() - Method in class dev.morphia.mapping.codec.CollectionCodec
 
getInstance() - Method in interface dev.morphia.mapping.codec.InstanceCreator
 
getInstance() - Method in class dev.morphia.mapping.experimental.ConstructorCreator
 
getInstance() - Method in class dev.morphia.mapping.experimental.UnsafeConstructorCreator
 
getInstance() - Method in class dev.morphia.mapping.NoArgCreator
 
getInstanceCreator() - Method in class dev.morphia.mapping.codec.pojo.EntityDecoder
 
getInstanceCreator() - Method in class dev.morphia.mapping.codec.pojo.EntityModel
 
getInstanceCreatorFactory() - Method in class dev.morphia.mapping.codec.pojo.EntityModel
 
getInterceptors() - Method in class dev.morphia.mapping.Mapper
Gets list of EntityInterceptors
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.experimental.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
 
getLifecycleMethods() - Method in class dev.morphia.mapping.codec.pojo.EntityModel
 
getLimit() - Method in class dev.morphia.aggregation.experimental.stages.Limit
 
getLimit() - Method in class dev.morphia.aggregation.GeoNear
Deprecated.
 
getLimit() - Method in class dev.morphia.query.ArraySlice
 
getLimit() - Method in class dev.morphia.query.FindOptions
 
getLoadNames() - Method in class dev.morphia.mapping.codec.pojo.PropertyModel
 
getLocalField() - Method in class dev.morphia.aggregation.experimental.stages.Lookup
 
getLoggedQuery(FindOptions) - Method in interface dev.morphia.Datastore
 
getLoggedQuery(FindOptions) - Method in class dev.morphia.DatastoreImpl
 
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 class dev.morphia.aggregation.experimental.codecs.ExpressionCodec
 
getMapper() - Method in class dev.morphia.aggregation.experimental.codecs.stages.StageCodec
 
getMapper() - Method in interface dev.morphia.Datastore
 
getMapper() - Method in class dev.morphia.DatastoreImpl
 
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
 
getMaxAwaitTime(TimeUnit) - Method in class dev.morphia.query.FindOptions
 
getMaxDepth() - Method in class dev.morphia.aggregation.experimental.stages.GraphLookup
 
getMaxDistance() - Method in class dev.morphia.aggregation.experimental.stages.GeoNear
 
getMaxDistance() - Method in class dev.morphia.aggregation.GeoNear
Deprecated.
The maximum distance from the center point that the documents can be.
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.aggregation.experimental.AggregationOptions
 
getMaxTime(TimeUnit) - Method in class dev.morphia.query.CountOptions
 
getMaxTime(TimeUnit) - Method in class dev.morphia.query.FindOptions
 
getMaxTimeMS() - Method in class dev.morphia.aggregation.experimental.AggregationOptions
 
getMethod() - Method in class dev.morphia.mapping.codec.pojo.ClassMethodPair
 
getMin() - Method in class dev.morphia.query.FindOptions
 
getMinDistance() - Method in class dev.morphia.aggregation.experimental.stages.GeoNear
 
getMorphiaCodec() - Method in class dev.morphia.mapping.codec.pojo.EntityDecoder
 
getMorphiaCodec() - Method in class dev.morphia.mapping.codec.pojo.EntityEncoder
 
getName() - Method in enum dev.morphia.aggregation.experimental.expressions.impls.ConvertType
 
getName() - Method in class dev.morphia.aggregation.experimental.expressions.impls.PipelineField
 
getName() - Method in class dev.morphia.aggregation.experimental.stages.Count
 
getName() - Method in class dev.morphia.aggregation.Group
Deprecated.
 
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.EntityModel
 
getName() - Method in class dev.morphia.mapping.codec.pojo.PropertyModel
 
getName() - Method in class dev.morphia.query.experimental.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.
getOn() - Method in class dev.morphia.aggregation.experimental.stages.Merge
 
getOperation() - Method in class dev.morphia.aggregation.Accumulator
 
getOperation() - Method in class dev.morphia.aggregation.experimental.expressions.impls.Expression
 
getOperationTime() - Method in class dev.morphia.experimental.BaseMorphiaSession
 
getOps() - Method in class dev.morphia.query.UpdateOpsImpl
Deprecated.
 
getOptions() - Method in class dev.morphia.experimental.BaseMorphiaSession
 
getOptions() - Method in class dev.morphia.InsertManyOptions
 
getOptions() - Method in class dev.morphia.InsertOneOptions
 
getOptions() - Method in class dev.morphia.mapping.Mapper
 
getOrder() - Method in class dev.morphia.query.Sort
Returns the sort order.
getOriginator() - Method in class dev.morphia.experimental.BaseMorphiaSession
 
getOutput() - Method in class dev.morphia.aggregation.experimental.stages.AutoBucket
 
getOutput() - Method in class dev.morphia.aggregation.experimental.stages.Bucket
 
getParameterName(Parameter) - Static method in class dev.morphia.mapping.experimental.ConstructorCreator
 
getPath() - Method in class dev.morphia.aggregation.experimental.stages.Unwind
 
getPinnedServerAddress() - Method in class dev.morphia.experimental.BaseMorphiaSession
 
getPipeline() - Method in class dev.morphia.aggregation.experimental.stages.Lookup
 
getPoint() - Method in class dev.morphia.aggregation.experimental.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.experimental.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.
 
getProperties() - Method in class dev.morphia.mapping.codec.pojo.EntityModel
Returns all the properties on this model
getProperties(Class<? extends Annotation>) - Method in class dev.morphia.mapping.codec.pojo.EntityModel
Returns all the properties on this model annotated by the given type
getProperty(String) - Method in class dev.morphia.mapping.codec.pojo.EntityModel
 
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
 
getRadius() - Method in class dev.morphia.query.Shape.Center
Deprecated.
 
getReadConcern() - Method in class dev.morphia.aggregation.experimental.AggregationOptions
 
getReadConcern() - Method in interface dev.morphia.internal.ReadConfigurable
Gets the read concern
getReadConcern() - Method in class dev.morphia.query.FindOptions
 
getReadPreference() - Method in class dev.morphia.aggregation.experimental.AggregationOptions
 
getReadPreference() - Method in interface dev.morphia.internal.ReadConfigurable
 
getReadPreference() - Method in class dev.morphia.query.FindOptions
 
getRecoveryToken() - Method in class dev.morphia.experimental.BaseMorphiaSession
 
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.
getReplacement() - Method in class dev.morphia.aggregation.experimental.expressions.impls.IfNull
 
getRestriction() - Method in class dev.morphia.aggregation.experimental.stages.GraphLookup
 
getScale() - Method in class dev.morphia.aggregation.experimental.stages.CollectionStats
 
getServerAddress() - Method in class dev.morphia.query.internal.MorphiaKeyCursor
Deprecated.
 
getServerAddress() - Method in class dev.morphia.query.MorphiaCursor
 
getServerCursor() - Method in class dev.morphia.query.internal.MorphiaKeyCursor
Deprecated.
 
getServerCursor() - Method in class dev.morphia.query.MorphiaCursor
 
getServerSession() - Method in class dev.morphia.experimental.BaseMorphiaSession
 
getSession() - Method in interface dev.morphia.Datastore
Returns the session this datastore is attached to or null if none is attached.
getSession() - Method in class dev.morphia.experimental.BaseMorphiaSession
 
getSize() - Method in class dev.morphia.aggregation.experimental.stages.Sample
 
getSize() - Method in class dev.morphia.aggregation.experimental.stages.Skip
 
getSkip() - Method in class dev.morphia.query.ArraySlice
 
getSkip() - Method in class dev.morphia.query.FindOptions
 
getSort() - Method in class dev.morphia.query.FindOptions
 
getSort() - Method in class dev.morphia.query.LegacyQuery
 
getSorts() - Method in class dev.morphia.aggregation.experimental.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.experimental.stages.GeoNear
 
getSpherical() - Method in class dev.morphia.aggregation.GeoNear
Deprecated.
Required if using a 2dsphere index.
getStages() - Method in class dev.morphia.aggregation.AggregationPipelineImpl
Deprecated.
 
getStages() - Method in class dev.morphia.aggregation.experimental.stages.UnionWith
 
getStartWith() - Method in class dev.morphia.aggregation.experimental.stages.GraphLookup
 
getSubtypes() - Method in class dev.morphia.mapping.codec.pojo.EntityModel
Get the subtypes of this model
getSuperClass() - Method in class dev.morphia.mapping.codec.pojo.EntityModel
 
getTarget() - Method in class dev.morphia.aggregation.experimental.expressions.impls.IfNull
 
getTarget() - Method in class dev.morphia.aggregation.Projection
Deprecated.
 
getTarget() - Method in class dev.morphia.internal.PathTarget
Returns the PropertyModel found at the end of a path.
getTarget() - Method in class dev.morphia.query.OperationTarget
 
getTransactionOptions() - Method in class dev.morphia.experimental.BaseMorphiaSession
 
getType() - Method in class dev.morphia.aggregation.experimental.stages.Merge
 
getType() - Method in class dev.morphia.aggregation.experimental.stages.Out
 
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.EntityModel
 
getType() - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
The type of this model
getType() - Method in class dev.morphia.mapping.codec.pojo.PropertyModel
 
getType() - Method in class dev.morphia.mapping.codec.pojo.TypeData
 
getType() - Method in class dev.morphia.mapping.codec.pojo.WildCardTypeData
 
getType() - Method in class dev.morphia.mapping.experimental.CollectionReference
 
getType() - Method in class dev.morphia.mapping.experimental.MapReference
 
getType() - Method in class dev.morphia.mapping.experimental.MorphiaReference
 
getType() - Method in class dev.morphia.mapping.experimental.SingleReference
 
getType(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
 
getValue() - Method in class dev.morphia.aggregation.Accumulator
 
getValue() - Method in class dev.morphia.aggregation.experimental.expressions.impls.Expression
 
getValue() - Method in class dev.morphia.aggregation.experimental.expressions.impls.PipelineField
 
getValue() - Method in class dev.morphia.aggregation.experimental.stages.ReplaceRoot
 
getValue() - Method in class dev.morphia.aggregation.experimental.stages.ReplaceWith
 
getValue() - Method in class dev.morphia.query.experimental.filters.Filter
 
getValue() - Method in class dev.morphia.query.OperationTarget
 
getValue(Mapper) - Method in class dev.morphia.query.experimental.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.experimental.stages.Lookup
 
getVariables() - Method in class dev.morphia.aggregation.experimental.stages.Merge
 
getVersionProperty() - Method in class dev.morphia.mapping.codec.pojo.EntityModel
 
getWhenMatched() - Method in class dev.morphia.aggregation.experimental.stages.Merge
 
getWhenMatchedPipeline() - Method in class dev.morphia.aggregation.experimental.stages.Merge
 
getWhenNotMatched() - Method in class dev.morphia.aggregation.experimental.stages.Merge
 
getWriteConcern() - Method in class dev.morphia.InsertManyOptions
Deprecated, for removal: This API element is subject to removal in a future version.
getWriteConcern() - Method in class dev.morphia.InsertOptions
Deprecated.
The write concern to use for the insertion.
getWriteConcern() - Method in interface dev.morphia.internal.WriteConfigurable
Deprecated, for removal: This API element is subject to removal in a future version.
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.experimental.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.experimental.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.experimental.AggregationImpl
 
graphLookup(Class<?>) - Static method in class dev.morphia.aggregation.experimental.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.experimental.stages.GraphLookup
Target collection for the $graphLookup operation to search, recursively matching the connectFromField to the connectToField.
GraphLookup - Class in dev.morphia.aggregation.experimental.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.experimental.stages.GraphLookup
 
GraphLookup(Class) - Constructor for class dev.morphia.aggregation.experimental.stages.GraphLookup
Creates a new stage using the target collection for the mapped type
GraphLookup(String) - Constructor for class dev.morphia.aggregation.experimental.stages.GraphLookup
Creates a new stage using the target collection
GraphLookupCodec - Class in dev.morphia.aggregation.experimental.codecs.stages
 
GraphLookupCodec(Mapper) - Constructor for class dev.morphia.aggregation.experimental.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.experimental.stages.Group
Creates a group stage with no ID definition
group(Group) - Method in interface dev.morphia.aggregation.experimental.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.experimental.AggregationImpl
 
group(Group.GroupId) - Static method in class dev.morphia.aggregation.experimental.stages.Group
Creates a group stage with an 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(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.experimental.stages
Groups input documents by the specified _id expression and for each distinct grouping, outputs a document.
Group - Class in dev.morphia.aggregation
Deprecated, for removal: This API element is subject to removal in a future version.
use Group instead
Group() - Constructor for class dev.morphia.aggregation.experimental.stages.Group
 
Group(Group.GroupId) - Constructor for class dev.morphia.aggregation.experimental.stages.Group
 
Group.GroupId - Class in dev.morphia.aggregation.experimental.stages
Defines a group ID
groupBy(Expression) - Method in class dev.morphia.aggregation.experimental.stages.AutoBucket
An expression to group documents by.
groupBy(Expression) - Method in class dev.morphia.aggregation.experimental.stages.Bucket
An expression to group documents by.
GroupCodec - Class in dev.morphia.aggregation.experimental.codecs.stages
 
GroupCodec(Mapper) - Constructor for class dev.morphia.aggregation.experimental.codecs.stages.GroupCodec
 
GroupId() - Constructor for class dev.morphia.aggregation.experimental.stages.Group.GroupId
 
GroupId(Expression) - Constructor for class dev.morphia.aggregation.experimental.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.experimental.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.experimental.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.experimental.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.experimental.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
hasActiveTransaction() - Method in class dev.morphia.experimental.BaseMorphiaSession
 
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.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.EntityModel
 
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.mapping.experimental.MorphiaReference
 
hashCode() - Method in class dev.morphia.query.FindOptions
 
hashCode() - Method in class dev.morphia.query.LegacyQuery
 
HASHED - dev.morphia.utils.IndexType
 
hasInterceptors() - Method in class dev.morphia.mapping.Mapper
 
hasLifecycle(Class<? extends Annotation>) - Method in class dev.morphia.mapping.codec.pojo.EntityModel
 
hasNext() - Method in class dev.morphia.query.internal.MorphiaKeyCursor
Deprecated.
 
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.experimental.AggregationOptions
 
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.experimental.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.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.UpdateOptions
histogram(boolean) - Method in class dev.morphia.aggregation.experimental.stages.CollectionStats
Adds latency histogram information to the embedded documents in latencyStats if true.
hour(int) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateFromParts
Optional
hour(Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.DateExpressions
Returns the hour for a date as a number between 0 and 23.
hour(Expression) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateFromParts
Can be any expression that evaluates to a number.

I

id() - Static method in class dev.morphia.aggregation.experimental.stages.Group
Creates an unnamed group ID
id(Expression) - Static method in class dev.morphia.aggregation.experimental.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.experimental.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
IdField - Annotation Type in dev.morphia.annotations.experimental
Denotes the ID field on an entity.
IdGetter - Annotation Type in dev.morphia.annotations
This annotation allows the lazy-load proxy to return the ID of a referenced entity without reading the reference from the database.
idleConnections(boolean) - Method in class dev.morphia.aggregation.experimental.stages.CurrentOp
If set to false, $currentOp will only report active operations.
idleCursors(boolean) - Method in class dev.morphia.aggregation.experimental.stages.CurrentOp
If set to true, $currentOp will report on cursors that are “idle”; i.e.
idleSessions(boolean) - Method in class dev.morphia.aggregation.experimental.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.experimental.expressions.ConditionalExpressions
Evaluates an expression and returns the value of the expression if the expression evaluates to a non-null value.
IfNull - Class in dev.morphia.aggregation.experimental.expressions.impls
 
IfNull() - Constructor for class dev.morphia.aggregation.experimental.expressions.impls.IfNull
 
IGNORED_FIELDNAME - Static variable in class dev.morphia.mapping.Mapper
Special name that can never be used.
ignoreFinals(boolean) - Method in class dev.morphia.mapping.MapperOptions.Builder
 
ignoreMissing() - Method in annotation type dev.morphia.annotations.Reference
 
ignoreMissing() - Method in class dev.morphia.mapping.experimental.MorphiaReference
 
ignoreMissing(boolean) - Method in class dev.morphia.mapping.experimental.MorphiaReference
Instructs Morphia to ignore missing referenced entities.
in(Expression, Expression) - Static method in class dev.morphia.aggregation.experimental.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.experimental.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) - Static method in class dev.morphia.query.experimental.updates.UpdateOperators
Increments the value of the field by one.
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, Number) - Static method in class dev.morphia.query.experimental.updates.UpdateOperators
Increments the value of the field by the specified amount.
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)
include(String) - Method in class dev.morphia.aggregation.experimental.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.experimental.stages.Projection
Includes a field.
includeArrayIndex(String) - Method in class dev.morphia.aggregation.experimental.stages.Unwind
Optional.
includeLocs(String) - Method in class dev.morphia.aggregation.experimental.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)
IndexExpression - Class in dev.morphia.aggregation.experimental.expressions.impls
Defines the $indexOfBytes expression
IndexExpression(String, Expression, Expression) - Constructor for class dev.morphia.aggregation.experimental.expressions.impls.IndexExpression
Creates the new expression
indexKey(String) - Static method in class dev.morphia.query.Meta
 
indexOfArray(Expression, Expression) - Static method in class dev.morphia.aggregation.experimental.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.experimental.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.experimental.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.experimental.Aggregation
Returns statistics regarding the use of each index for the collection.
indexStats() - Method in class dev.morphia.aggregation.experimental.AggregationImpl
 
indexStats() - Static method in class dev.morphia.aggregation.experimental.stages.IndexStats
Creates the new stage.
IndexStats - Class in dev.morphia.aggregation.experimental.stages
Returns statistics regarding the use of each index for the collection.
IndexStats() - Constructor for class dev.morphia.aggregation.experimental.stages.IndexStats
 
IndexStatsCodec - Class in dev.morphia.aggregation.experimental.codecs.stages
 
IndexStatsCodec(Mapper) - Constructor for class dev.morphia.aggregation.experimental.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
 
initArgs(List<Expression>) - Method in class dev.morphia.aggregation.experimental.expressions.impls.AccumulatorExpression
Optional.
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>, InsertManyOptions) - Method in class dev.morphia.DatastoreImpl
 
insert(List<T>, InsertManyOptions) - Method in class dev.morphia.experimental.MorphiaSessionImpl
 
insert(List<T>, InsertOptions) - Method in interface dev.morphia.AdvancedDatastore
Deprecated, for removal: This API element is subject to removal in a future version.
insert(T) - Method in interface dev.morphia.Datastore
Inserts an entity in to the mapped collection.
insert(T) - Method in class dev.morphia.DatastoreImpl
 
insert(T, InsertOneOptions) - Method in interface dev.morphia.Datastore
Inserts an entity in to the mapped collection.
insert(T, InsertOneOptions) - Method in class dev.morphia.DatastoreImpl
 
insert(T, InsertOneOptions) - Method in class dev.morphia.experimental.MorphiaSessionImpl
 
insert(T, InsertOptions) - Method in interface dev.morphia.AdvancedDatastore
Deprecated, for removal: This API element is subject to removal in a future version.
InsertManyOptions - Class in dev.morphia
Options related to insertion of documents into MongoDB.
InsertManyOptions() - Constructor for class dev.morphia.InsertManyOptions
Creates a new options wrapper
InsertManyOptions(InsertManyOptions) - Constructor for class dev.morphia.InsertManyOptions
 
InsertOneOptions - Class in dev.morphia
Options related to insertion of documents into MongoDB.
InsertOneOptions() - Constructor for class dev.morphia.InsertOneOptions
Creates a new options wrapper
InsertOneOptions(InsertOneOptions) - Constructor for class dev.morphia.InsertOneOptions
 
InsertOptions - Class in dev.morphia
Deprecated, for removal: This API element is subject to removal in a future version.
InsertOptions() - Constructor for class dev.morphia.InsertOptions
Deprecated.
 
InstanceCreator - Interface in dev.morphia.mapping.codec
Creates instances of types.
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
INT - dev.morphia.aggregation.experimental.expressions.impls.ConvertType
 
INTEGER_32_BIT - dev.morphia.query.Type
 
INTEGER_64_BIT - dev.morphia.query.Type
 
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.experimental.stages.Merge
Creates a new stage targeting the collection mapped for the given type
into(String) - Static method in class dev.morphia.aggregation.experimental.stages.Merge
Creates a new stage targeting the collection
into(String, String) - Static method in class dev.morphia.aggregation.experimental.stages.Merge
Creates a new stage targeting the database and collection
invoke(Object, Method, Object[]) - Method in class dev.morphia.mapping.codec.references.ReferenceProxy
 
isAbstract() - Method in class dev.morphia.mapping.codec.pojo.EntityModel
This is an internal method subject to change without notice.
isAllUsers() - Method in class dev.morphia.aggregation.experimental.stages.CurrentOp
 
isArray() - Method in class dev.morphia.mapping.codec.pojo.PropertyModel
 
isArray(Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.ArrayExpressions
Determines if the operand is an array.
isCacheClassLookups() - Method in class dev.morphia.mapping.MapperOptions
 
isCausallyConsistent() - Method in class dev.morphia.experimental.BaseMorphiaSession
 
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.experimental.stages.CurrentOp
 
isIdleCursors() - Method in class dev.morphia.aggregation.experimental.stages.CurrentOp
 
isIdleSessions() - Method in class dev.morphia.aggregation.experimental.stages.CurrentOp
 
isIgnoreFinals() - Method in class dev.morphia.mapping.MapperOptions
 
isInterface() - Method in class dev.morphia.mapping.codec.pojo.EntityModel
 
isLocalOps() - Method in class dev.morphia.aggregation.experimental.stages.CurrentOp
 
isLogQuery() - Method in class dev.morphia.query.FindOptions
This is an experimental 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
 
isMulti() - Method in class dev.morphia.UpdateOptions
 
isMultipleValues() - Method in class dev.morphia.mapping.codec.pojo.PropertyModel
 
isNoCursorTimeout() - Method in class dev.morphia.query.FindOptions
 
isNot() - Method in class dev.morphia.query.experimental.filters.Filter
 
isNot() - Method in class dev.morphia.query.FieldEndImpl
Deprecated.
 
isNumber(Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.TypeExpressions
Checks if the specified expression resolves to one of the numeric BSON types.
iso8601(boolean) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateToParts
Optional.
IsoDates - Class in dev.morphia.aggregation.experimental.expressions.impls
Reusable type for ISO Date related expressions.
IsoDates(String, Expression) - Constructor for class dev.morphia.aggregation.experimental.expressions.impls.IsoDates
 
isoDayOfWeek(int) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateFromParts
Day of week (Monday 1 - Sunday 7).
isoDayOfWeek(Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.DateExpressions
Returns the weekday number in ISO 8601 format, ranging from 1 (for Monday) to 7 (for Sunday).
isoDayOfWeek(Expression) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateFromParts
Day of week (Monday 1 - Sunday 7).
isOplogReplay() - Method in class dev.morphia.query.FindOptions
 
isOrdered() - Method in class dev.morphia.InsertManyOptions
Gets whether the documents should be inserted in the order provided, stopping on the first failed insertion.
isOrdered() - Method in class dev.morphia.InsertOptions
Deprecated.
Gets whether the documents should be inserted in the order provided, stopping on the first failed insertion.
isoWeek(int) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateFromParts
Optional.
isoWeek(Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.DateExpressions
Returns the week number in ISO 8601 format, ranging from 1 to 53.
isoWeek(Expression) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateFromParts
Week of year.
isoWeekYear(int) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateFromParts
Required if not using year.
isoWeekYear(Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.DateExpressions
Returns the year number in ISO 8601 format.
isoWeekYear(Expression) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateFromParts
ISO Week Date Year.
isPartial() - Method in class dev.morphia.query.FindOptions
 
isReference() - Method in class dev.morphia.mapping.codec.pojo.PropertyModel
 
isResolved() - Method in class dev.morphia.mapping.experimental.MorphiaReference
 
isReturnKey() - Method in class dev.morphia.query.FindOptions
 
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
 
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
 
isUpperBound() - Method in class dev.morphia.mapping.codec.pojo.WildCardTypeData
 
isValidating(boolean) - Method in class dev.morphia.query.experimental.filters.Filter
Sets whether to validate field names or not
isValidatingNames() - Method in class dev.morphia.query.LegacyQuery
 
iterator() - Method in interface dev.morphia.query.Query
Execute the query and get the results.
iterator(FindOptions) - Method in class dev.morphia.query.LegacyQuery
 
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.experimental.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.experimental.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
KEEP - Static variable in class dev.morphia.aggregation.experimental.expressions.SystemVariables
One of the allowed results of a $redact expression.
key(String) - Method in class dev.morphia.aggregation.experimental.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
 
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
 
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.experimental.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.experimental.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.
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() - Static method in class dev.morphia.mapping.MapperOptions
 
LegacyQuery<T> - Class in dev.morphia.query
Implementation of Query
LegacyQuery(Datastore, String, Class<T>) - Constructor for class dev.morphia.query.LegacyQuery
Creates a Query for the given type and collection
LegacyQueryCodec - Class in dev.morphia.mapping.codec
Defines a codec for Query instances
LegacyQueryCodec(Mapper) - Constructor for class dev.morphia.mapping.codec.LegacyQueryCodec
Creates a codec
LegacyQueryFactory - Class in dev.morphia.query
A implementation of QueryFactory to create LegacyQuery instances.
LegacyQueryFactory() - Constructor for class dev.morphia.query.LegacyQueryFactory
 
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.experimental.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.experimental.stages.Lookup
Defines a variable
let(String, Expression) - Method in class dev.morphia.aggregation.experimental.stages.Merge
Specifies a variable accessible for use in the whenMatched pipeline
LetExpression - Class in dev.morphia.aggregation.experimental.expressions.impls
 
LetExpression(Expression) - Constructor for class dev.morphia.aggregation.experimental.expressions.impls.LetExpression
 
level() - Method in annotation type dev.morphia.annotations.Validation
 
LifecycleDecoder - Class in dev.morphia.mapping.codec.pojo
 
LifecycleDecoder(MorphiaCodec<T>) - Constructor for class dev.morphia.mapping.codec.pojo.LifecycleDecoder
creates the decoder
LifecycleEncoder - 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.experimental.Aggregation
Limits the number of documents passed to the next stage in the pipeline.
limit(long) - Method in class dev.morphia.aggregation.experimental.AggregationImpl
 
limit(long) - Static method in class dev.morphia.aggregation.experimental.stages.Limit
Creates the new stage.
Limit - Class in dev.morphia.aggregation.experimental.stages
Limits the number of documents passed to the next stage in the pipeline.
Limit(long) - Constructor for class dev.morphia.aggregation.experimental.stages.Limit
 
LimitCodec - Class in dev.morphia.aggregation.experimental.codecs.stages
 
LimitCodec(Mapper) - Constructor for class dev.morphia.aggregation.experimental.codecs.stages.LimitCodec
 
LINE_STRING - dev.morphia.geo.GeoJsonType
Deprecated.
 
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
ListReference<T> - Class in dev.morphia.mapping.experimental
 
ListReference(Datastore, EntityModel, List) - Constructor for class dev.morphia.mapping.experimental.ListReference
 
ListReference(List<T>) - Constructor for class dev.morphia.mapping.experimental.ListReference
Creates an instance with prepopulated values.
literal(Object) - Static method in class dev.morphia.aggregation.experimental.expressions.Expressions
Returns a value without parsing.
LiteralExpression - Class in dev.morphia.aggregation.experimental.expressions.impls
 
LiteralExpression(Object) - Constructor for class dev.morphia.aggregation.experimental.expressions.impls.LiteralExpression
 
ln(Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.MathExpressions
Calculates the natural log of a number.
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
 
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.experimental.stages.Lookup
Specifies the field from the documents input to the $lookup stage.
localOps(boolean) - Method in class dev.morphia.aggregation.experimental.stages.CurrentOp
If set to true for an aggregation running on mongos, $currentOp reports only those operations running locally on that mongos.
log(Expression, Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.MathExpressions
Calculates the log of a number in the specified base.
log10(Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.MathExpressions
Calculates the log base 10 of a number.
logQuery() - Method in class dev.morphia.query.FindOptions
This is an experimental method.
LONG - dev.morphia.aggregation.experimental.expressions.impls.ConvertType
 
longitude(double) - Method in class dev.morphia.geo.PointBuilder
Deprecated.
Add a longitude.
lookup(Lookup) - Method in interface dev.morphia.aggregation.experimental.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.experimental.AggregationImpl
 
lookup(Class<?>) - Static method in class dev.morphia.aggregation.experimental.stages.Lookup
Creates a new stage using the target collection for the mapped type
lookup(String) - Static method in class dev.morphia.aggregation.experimental.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.experimental.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(Class<?>) - Constructor for class dev.morphia.aggregation.experimental.stages.Lookup
 
Lookup(String) - Constructor for class dev.morphia.aggregation.experimental.stages.Lookup
 
LookupCodec - Class in dev.morphia.aggregation.experimental.codecs.stages
 
LookupCodec(Mapper) - Constructor for class dev.morphia.aggregation.experimental.codecs.stages.LookupCodec
 
lowerCase() - Static method in class dev.morphia.mapping.NamingStrategy
Defines a naming strategy that returns the lowercase form of the value passed
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.experimental.expressions.ComparisonExpressions
Returns true if the first value is less than the second.
lt(String, Object) - Static method in class dev.morphia.query.experimental.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.experimental.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.experimental.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.experimental.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.experimental.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
map(Class...) - Method in class dev.morphia.mapping.Mapper
Maps a set of classes
map(List<Class>) - Method in class dev.morphia.mapping.Mapper
Maps a set of classes
MapExpression - Class in dev.morphia.aggregation.experimental.expressions.impls
 
MapExpression(Expression, Expression) - Constructor for class dev.morphia.aggregation.experimental.expressions.impls.MapExpression
 
mapExternal(A, Class) - Method in class dev.morphia.mapping.Mapper
Maps an external class.
MapKeyTypeConstraint - Class in dev.morphia.mapping.validation.fieldrules
A constraint to validate key types of Map fields
MapKeyTypeConstraint() - Constructor for class dev.morphia.mapping.validation.fieldrules.MapKeyTypeConstraint
 
mapPackage(String) - Method in class dev.morphia.mapping.Mapper
Tries to map all classes in the package specified.
mapPackageFromClass(Class) - Method in class dev.morphia.mapping.Mapper
Maps all the classes found in the package to which the given class belongs.
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() - Method in class dev.morphia.internal.PathTarget
 
Mapper - Class in dev.morphia.mapping
 
Mapper(Datastore, CodecRegistry, MapperOptions) - Constructor for class dev.morphia.mapping.Mapper
Creates a Mapper with the given options.
MapperOptions - Class in dev.morphia.mapping
Options to control mapping behavior.
MapperOptions.Builder - Class in dev.morphia.mapping
A builder class for setting mapping options
MapperOptions.PropertyDiscovery - Enum in dev.morphia.mapping
 
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
 
MapReference<T> - Class in dev.morphia.mapping.experimental
 
MapReference(Datastore, Map<String, Object>, EntityModel) - Constructor for class dev.morphia.mapping.experimental.MapReference
 
mapSubPackages(boolean) - Method in class dev.morphia.mapping.MapperOptions.Builder
 
Mark - Class in dev.morphia.mapping.codec.reader
A bookmark for processing Documents
match(Filter...) - Method in interface dev.morphia.aggregation.experimental.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.experimental.AggregationImpl
 
match(Filter...) - Static method in class dev.morphia.aggregation.experimental.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.experimental.stages
Limits the number of documents passed to the next stage in the pipeline.
Match(Filter...) - Constructor for class dev.morphia.aggregation.experimental.stages.Match
 
MatchCodec - Class in dev.morphia.aggregation.experimental.codecs.stages
 
MatchCodec(Mapper) - Constructor for class dev.morphia.aggregation.experimental.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
MathExpression - Class in dev.morphia.aggregation.experimental.expressions.impls
Base class for the math expressions
MathExpression(String, Expression) - Constructor for class dev.morphia.aggregation.experimental.expressions.impls.MathExpression
 
MathExpression(String, List<Expression>) - Constructor for class dev.morphia.aggregation.experimental.expressions.impls.MathExpression
 
MathExpressions - Class in dev.morphia.aggregation.experimental.expressions
Defines helper methods for the math expressions
MathExpressions() - Constructor for class dev.morphia.aggregation.experimental.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.experimental.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) - Static method in class dev.morphia.query.experimental.updates.UpdateOperators
Only updates the field if the specified value is greater than the existing field value.
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, Temporal) - Static method in class dev.morphia.query.experimental.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.experimental.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.experimental.stages.GraphLookup
Optional.
maxDistance(Double) - Method in class dev.morphia.query.experimental.filters.NearFilter
Sets the max distance to consider
maxDistance(Number) - Method in class dev.morphia.aggregation.experimental.stages.GeoNear
Optional.
maxDistance(String, Object) - Static method in class dev.morphia.query.experimental.filters.Filters
Specifies a maximum distance to limit the results of $near and $nearSphere queries.
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
maxTimeMS() - Method in class dev.morphia.aggregation.experimental.AggregationOptions
 
maxTimeMS(long) - Method in class dev.morphia.aggregation.experimental.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.experimental.Aggregation
Writes the results of the aggregation pipeline to a specified collection.
merge(Merge<M>) - Method in class dev.morphia.aggregation.experimental.AggregationImpl
 
merge(Merge<M>, AggregationOptions) - Method in interface dev.morphia.aggregation.experimental.Aggregation
Writes the results of the aggregation pipeline to a specified collection.
merge(Merge<M>, AggregationOptions) - Method in class dev.morphia.aggregation.experimental.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) - Method in class dev.morphia.DatastoreImpl
 
merge(T, WriteConcern) - Method in interface dev.morphia.Datastore
Deprecated, for removal: This API element is subject to removal in a future version.
merge(T, InsertOneOptions) - Method in interface dev.morphia.Datastore
Work as if you did an update with each field in the entity doing a $set; Only at the top level of the entity.
merge(T, InsertOneOptions) - Method in class dev.morphia.DatastoreImpl
 
merge(T, InsertOneOptions) - Method in class dev.morphia.experimental.MorphiaSessionImpl
 
Merge<M> - Class in dev.morphia.aggregation.experimental.stages
Writes the results of the aggregation pipeline to a specified collection.
Merge() - Constructor for class dev.morphia.aggregation.experimental.stages.Merge
 
Merge(Class<M>) - Constructor for class dev.morphia.aggregation.experimental.stages.Merge
 
Merge(String) - Constructor for class dev.morphia.aggregation.experimental.stages.Merge
 
Merge(String, String) - Constructor for class dev.morphia.aggregation.experimental.stages.Merge
 
MergeCodec - Class in dev.morphia.aggregation.experimental.codecs.stages
 
MergeCodec(Mapper) - Constructor for class dev.morphia.aggregation.experimental.codecs.stages.MergeCodec
 
mergeObjects() - Static method in class dev.morphia.aggregation.experimental.expressions.ObjectExpressions
Combines multiple documents into a single document.
MergeObjects() - Constructor for class dev.morphia.aggregation.experimental.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.experimental.expressions.Expressions
Returns the metadata associated with a document in a pipeline operations, e.g.
meta(String) - Method in class dev.morphia.aggregation.experimental.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
Specify the meta values to use
META - dev.morphia.aggregation.experimental.stages.Sort.Direction
 
Meta.MetaDataKeyword - Enum in dev.morphia.query
Deprecated, for removal: This API element is subject to removal in a future version.
MetaExpression - Class in dev.morphia.aggregation.experimental.expressions.impls
 
MetaExpression() - Constructor for class dev.morphia.aggregation.experimental.expressions.impls.MetaExpression
 
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
 
millisecond(int) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateFromParts
Optional
millisecond(Expression) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateFromParts
Can be any expression that evaluates to a number.
milliseconds(Expression) - Static method in class dev.morphia.aggregation.experimental.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.experimental.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) - Static method in class dev.morphia.query.experimental.updates.UpdateOperators
Only updates the field if the specified value is less than the existing field value.
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, Temporal) - Static method in class dev.morphia.query.experimental.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.experimental.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.experimental.filters.NearFilter
Sets the min distance to consider
minDistance(Number) - Method in class dev.morphia.aggregation.experimental.stages.GeoNear
Optional.
minDistance(String, Object) - Static method in class dev.morphia.query.experimental.filters.Filters
Specifies a minimum distance to limit the results of $near and $nearSphere queries.
MINOR - dev.morphia.mapping.validation.ConstraintViolation.Level
 
minute(int) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateFromParts
Optional
minute(Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.DateExpressions
Returns the minute for a date as a number between 0 and 59.
minute(Expression) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateFromParts
Can be any expression that evaluates to a number.
Miscellaneous - Class in dev.morphia.aggregation.experimental.expressions
Defines miscellaneous operators for aggregations.
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.experimental.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.experimental.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(UpdateOperator, UpdateOperator...) - Method in class dev.morphia.query.LegacyQuery
 
modify(UpdateOperator, 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
 
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<T> - Class in dev.morphia.query
Represents a modify operation
ModifyOptions - Class in dev.morphia
Defines the options for a "find and modify" operation.
ModifyOptions() - Constructor for class dev.morphia.ModifyOptions
 
month(int) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateFromParts
Optional.
month(Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.DateExpressions
Returns the month for a date as a number between 1 (January) and 12 (December).
month(Expression) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateFromParts
Can be any expression that evaluates to a number.
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(Mapper, Datastore) - Constructor for class dev.morphia.mapping.codec.MorphiaCodecProvider
Creates a provider
MorphiaCollectionPropertyCodecProvider - Class in dev.morphia.mapping.codec
A provider for collection types
MorphiaCollectionPropertyCodecProvider() - Constructor for class dev.morphia.mapping.codec.MorphiaCollectionPropertyCodecProvider
 
MorphiaConvention - Interface in dev.morphia.mapping.conventions
Applies certain conventions specific for Morphia
MorphiaCursor<T> - Class in dev.morphia.query.internal
Deprecated, for removal: This API element is subject to removal in a future version.
use MorphiaCursor instead
MorphiaCursor<T> - Class in dev.morphia.query
 
MorphiaCursor(MongoCursor<T>) - Constructor for class dev.morphia.query.internal.MorphiaCursor
Deprecated.
Creates a MorphiaCursor
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 MapperOptions.getDateStorage()
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
MorphiaInternals - Class in dev.morphia.internal
 
MorphiaInternals.DriverVersion - Enum in dev.morphia.internal
 
MorphiaKeyCursor<T> - Class in dev.morphia.query.internal
Deprecated, for removal: This API element is subject to removal in a future version.
MorphiaKeyCursor(MongoCursor<Document>, Mapper, Class<T>, String) - Constructor for class dev.morphia.query.internal.MorphiaKeyCursor
Deprecated.
Create
MorphiaLocalDateTimeCodec - Class in dev.morphia.mapping.codec
Converts the LocalDateTime values to and from the zone defined in MapperOptions.getDateStorage()
MorphiaLocalTimeCodec - Class in dev.morphia.mapping.codec
Converts the LocalTime values to and from the zone defined in MapperOptions.getDateStorage()
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
 
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(MapperOptions, PropertyModelBuilder) - Constructor for class dev.morphia.mapping.codec.MorphiaPropertySerialization
 
MorphiaProxy - Interface in dev.morphia.mapping.codec.references
 
MorphiaReference<T> - Class in dev.morphia.mapping.experimental
Wrapper type for references to entities in other collections
MorphiaReferenceCodec - Class in dev.morphia.mapping.experimental
Defines a codec for MorphiaReference values
MorphiaReferenceCodec(Datastore, PropertyModel) - Constructor for class dev.morphia.mapping.experimental.MorphiaReferenceCodec
Creates a codec
MorphiaSession - Interface in dev.morphia.experimental
Wraps a ClientSession reference for convenient use of MongoDB's multidocument transaction support.
MorphiaSessionImpl - Class in dev.morphia.experimental
 
MorphiaSessionImpl(ClientSession, MongoClient, MongoDatabase, Mapper, QueryFactory) - Constructor for class dev.morphia.experimental.MorphiaSessionImpl
Creates a new session.
MorphiaTransaction<T> - Interface in dev.morphia.transactions.experimental
Defines the functional interface for executing statements within a transaction.
MorphiaTypesCodecProvider - Class in dev.morphia.mapping.codec
Defines a provider of codecs for Morphia's types
MorphiaTypesCodecProvider(Mapper) - Constructor for class dev.morphia.mapping.codec.MorphiaTypesCodecProvider
Create the provider
MorphiaVersion22 - 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.experimental.updates.UpdateOperators
Multiplies the value of the field by the specified amount.
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.experimental.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.experimental.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 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.experimental
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
 
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.experimental.expressions.ComparisonExpressions
Returns true if the values are not equivalent.
ne(String, Object) - Static method in class dev.morphia.query.experimental.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.experimental.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.experimental.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.experimental.filters.Filters
Returns geospatial objects in proximity to a point on a sphere.
newInstance(Class<T>) - Method in class dev.morphia.mapping.experimental.UnsafeAllocator
 
newInstance(Field) - Static method in class dev.morphia.mapping.codec.pojo.TypeData
Creates a TypeData reflecting the type of the given field.
newInstance(Method) - Static method in class dev.morphia.mapping.codec.pojo.TypeData
Creates a TypeData reflecting the type of the given method.
newInstance(Type, Class<T>) - 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.internal.MorphiaKeyCursor
Deprecated.
 
next() - Method in class dev.morphia.query.MorphiaCursor
 
nin(String, Object) - Static method in class dev.morphia.query.experimental.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.experimental.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 class dev.morphia.query.experimental.filters.Filter
Negates this filter by wrapping in "$not: {}"
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(Expression) - Static method in class dev.morphia.aggregation.experimental.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.
 
notifyMessageSent() - Method in class dev.morphia.experimental.BaseMorphiaSession
 
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
NotMappableException(Class) - Constructor for exception dev.morphia.mapping.NotMappableException
 
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.experimental.expressions.SystemVariables
A variable that returns the current datetime value.
NULL - dev.morphia.query.Type
 
numericOrdering() - Method in annotation type dev.morphia.annotations.Collation
 

O

OBJECT - dev.morphia.query.Type
 
OBJECT_ID - dev.morphia.aggregation.experimental.expressions.impls.ConvertType
 
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(Mapper) - Constructor for class dev.morphia.mapping.codec.ObjectCodec
Creates a codec
ObjectExpressions - Class in dev.morphia.aggregation.experimental.expressions
Defines helper methods for the object expressions
ObjectExpressions.MergeObjects - Class in dev.morphia.aggregation.experimental.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.experimental.expressions.ArrayExpressions
Converts a document to an array of documents representing key-value pairs.
of() - Static method in class dev.morphia.aggregation.experimental.expressions.Expressions
Creates a new DocumentExpression.
of() - Static method in class dev.morphia.aggregation.experimental.stages.AddFields
Deprecated, for removal: This API element is subject to removal in a future version.
of() - Static method in class dev.morphia.aggregation.experimental.stages.AutoBucket
Deprecated, for removal: This API element is subject to removal in a future version.
of() - Static method in class dev.morphia.aggregation.experimental.stages.Bucket
Deprecated, for removal: This API element is subject to removal in a future version.
of() - Static method in class dev.morphia.aggregation.experimental.stages.CurrentOp
Deprecated, for removal: This API element is subject to removal in a future version.
of() - Static method in class dev.morphia.aggregation.experimental.stages.Facet
Deprecated, for removal: This API element is subject to removal in a future version.
of() - Static method in class dev.morphia.aggregation.experimental.stages.Group
Deprecated, for removal: This API element is subject to removal in a future version.
of() - Static method in class dev.morphia.aggregation.experimental.stages.IndexStats
Deprecated, for removal: This API element is subject to removal in a future version.
of() - Static method in class dev.morphia.aggregation.experimental.stages.PlanCacheStats
Deprecated, for removal: This API element is subject to removal in a future version.
of() - Static method in class dev.morphia.aggregation.experimental.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.experimental.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.experimental.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.experimental.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.experimental.stages.Group
Deprecated, for removal: This API element is subject to removal in a future version.
on() - Static method in class dev.morphia.aggregation.experimental.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.experimental.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.experimental.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.experimental.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.experimental.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.experimental.stages.Merge
Optional.
on(T) - Static method in class dev.morphia.aggregation.experimental.expressions.impls.Fields
 
ONE_TWO_FIVE - dev.morphia.query.BucketAutoOptions.Granularity
Deprecated.
 
onError(Expression) - Method in class dev.morphia.aggregation.experimental.expressions.impls.ConvertExpression
The value to return on encountering an error during conversion, including unsupported type conversions.
onError(Expression) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateFromString
 
onError(String) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateFromString
 
onNull(Expression) - Method in class dev.morphia.aggregation.experimental.expressions.impls.ConvertExpression
The value to return if the input is null or missing.
onNull(Expression) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateFromString
 
onNull(Expression) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateToString
 
onNull(String) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateFromString
 
onNull(String) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateToString
 
OperationTarget - Class in dev.morphia.query
 
OperationTarget(PathTarget, Object) - Constructor for class dev.morphia.query.OperationTarget
 
operator() - Method in class dev.morphia.query.experimental.updates.UpdateOperator
 
oplogReplay(boolean) - Method in class dev.morphia.query.FindOptions
Users should not set this under normal circumstances.
options() - Method in annotation type dev.morphia.annotations.Index
 
options() - Method in annotation type dev.morphia.annotations.Indexed
 
options() - Method in annotation type dev.morphia.annotations.Text
 
options() - Static method in class dev.morphia.query.PushOptions
Helper method to create a PushOptions instance
options(String) - Method in class dev.morphia.aggregation.experimental.expressions.impls.RegexExpression
Optional options to apply to the regex
options(String) - Method in class dev.morphia.query.experimental.filters.RegexFilter
Optional options to apply to the regex
optionsPresent() - Method in class dev.morphia.aggregation.experimental.stages.Unwind
 
or(Expression, Expression...) - Static method in class dev.morphia.aggregation.experimental.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
 
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.experimental.filters.Filters
Applies $or to a set of filters
or(String, int) - Static method in class dev.morphia.query.experimental.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.experimental.Aggregation
Writes the results of the aggregation pipeline to a specified collection.
out(Out<O>) - Method in class dev.morphia.aggregation.experimental.AggregationImpl
 
out(Out<O>, AggregationOptions) - Method in interface dev.morphia.aggregation.experimental.Aggregation
Writes the results of the aggregation pipeline to a specified collection.
out(Out<O>, AggregationOptions) - Method in class dev.morphia.aggregation.experimental.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.experimental.stages
Takes the documents returned by the aggregation pipeline and writes them to a specified collection.
Out() - Constructor for class dev.morphia.aggregation.experimental.stages.Out
 
OutCodec - Class in dev.morphia.aggregation.experimental.codecs.stages
 
OutCodec(Mapper) - Constructor for class dev.morphia.aggregation.experimental.codecs.stages.OutCodec
 
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.experimental.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.experimental.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
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

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
 
path(Mapper) - Method in class dev.morphia.query.experimental.filters.Filter
 
PathTarget - Class in dev.morphia.internal
 
PathTarget(Mapper, EntityModel, String) - Constructor for class dev.morphia.internal.PathTarget
Creates a resolution context for the given root and path.
PathTarget(Mapper, EntityModel, String, boolean) - Constructor for class dev.morphia.internal.PathTarget
Creates a resolution context for the given root and path.
PathTarget(Mapper, Class<T>, String) - Constructor for class dev.morphia.internal.PathTarget
Creates a resolution context for the given root and path.
PathTarget(Mapper, Class<T>, String, boolean) - Constructor for class dev.morphia.internal.PathTarget
Creates a resolution context for the given root and path.
pattern(String) - Method in class dev.morphia.aggregation.experimental.expressions.impls.RegexExpression
The regular expression
pattern(String) - Method in class dev.morphia.query.experimental.filters.RegexFilter
The regular expression
pattern(Pattern) - Method in class dev.morphia.aggregation.experimental.expressions.impls.RegexExpression
The regular expression
pattern(Pattern) - Method in class dev.morphia.query.experimental.filters.RegexFilter
The regular expression
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(Stage...) - Method in class dev.morphia.aggregation.experimental.stages.Lookup
Specifies the pipeline to run on the joined collection.
PipelineField - Class in dev.morphia.aggregation.experimental.expressions.impls
 
PipelineField(String, Expression) - Constructor for class dev.morphia.aggregation.experimental.expressions.impls.PipelineField
 
planCacheStats() - Method in interface dev.morphia.aggregation.experimental.Aggregation
Returns plan cache information for a collection.
planCacheStats() - Method in class dev.morphia.aggregation.experimental.AggregationImpl
 
planCacheStats() - Static method in class dev.morphia.aggregation.experimental.stages.PlanCacheStats
Creates the new stage
PlanCacheStats - Class in dev.morphia.aggregation.experimental.stages
Returns plan cache information for a collection.
PlanCacheStats() - Constructor for class dev.morphia.aggregation.experimental.stages.PlanCacheStats
 
PlanCacheStatsCodec - Class in dev.morphia.aggregation.experimental.codecs.stages
 
PlanCacheStatsCodec(Mapper) - Constructor for class dev.morphia.aggregation.experimental.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.experimental.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.experimental.updates.UpdateOperators
The $pop operator removes the first or last element of an array.
PopOperator - Class in dev.morphia.query.experimental.updates
Defines the $pop update operator.
PopOperator(String) - Constructor for class dev.morphia.query.experimental.updates.PopOperator
 
position(int) - Method in class dev.morphia.query.experimental.updates.PushOperator
Sets the position for the update
position(int) - Method in class dev.morphia.query.PushOptions
Sets the position for the update
position(Integer) - Method in class dev.morphia.aggregation.experimental.expressions.impls.SliceExpression
 
postLoad(Object, Document, Mapper) - Method in interface dev.morphia.EntityInterceptor
 
PostLoad - Annotation Type in dev.morphia.annotations
Called after the data has been loaded into the java object.
postPersist(Object, Document, Mapper) - Method in interface dev.morphia.EntityInterceptor
 
PostPersist - Annotation Type in dev.morphia.annotations
Called after the data has been persisted from the java object.
pow(Expression, Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.MathExpressions
Raises a number to the specified exponent.
POWERSOF2 - dev.morphia.query.BucketAutoOptions.Granularity
Deprecated.
 
preLoad(Object, Document, Mapper) - Method in interface dev.morphia.EntityInterceptor
 
PreLoad - Annotation Type in dev.morphia.annotations
Called before the data has been loaded from the datastore.
prepare(MongoCollection<C>) - Method in class dev.morphia.aggregation.experimental.AggregationOptions
 
prepare(MongoCollection<C>) - Method in interface dev.morphia.internal.ReadConfigurable
 
prepare(MongoCollection<C>) - Method in interface dev.morphia.internal.WriteConfigurable
Applies the options to the collection
prePersist(Object, Document, Mapper) - Method in interface dev.morphia.EntityInterceptor
 
PrePersist - Annotation Type in dev.morphia.annotations
Called before the data has been persisted to the datastore (before mapping is done).
preserveNullAndEmptyArrays(Boolean) - Method in class dev.morphia.aggregation.experimental.stages.Unwind
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(Object, Mapper, DecoderContext) - Static method in class dev.morphia.mapping.codec.references.ReferenceCodec
Decodes an ID value
project() - Static method in class dev.morphia.aggregation.experimental.stages.Projection
Creates a new stage
project(Projection) - Method in interface dev.morphia.aggregation.experimental.Aggregation
Passes along the documents with the requested fields to the next stage in the pipeline.
project(Projection) - Method in class dev.morphia.aggregation.experimental.AggregationImpl
 
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(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.experimental.stages
Passes along the documents with the requested fields to the next stage in the pipeline.
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.query
Defines a query projection
Projection() - Constructor for class dev.morphia.aggregation.experimental.stages.Projection
 
ProjectionCodec - Class in dev.morphia.aggregation.experimental.codecs.stages
 
ProjectionCodec(Mapper) - Constructor for class dev.morphia.aggregation.experimental.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(MapperOptions.PropertyDiscovery) - Method in class dev.morphia.mapping.MapperOptions.Builder
Determines how properties are discovered on mapped entities
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.
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(NamingStrategy) - Method in class dev.morphia.mapping.MapperOptions.Builder
Sets the naming strategy to use for propertys unless expliclity set via @Property
proxyClassesPresent() - Static method in class dev.morphia.internal.MorphiaInternals
Checks that the dependencies to support lazy proxies are present
PRUNE - Static variable in class dev.morphia.aggregation.experimental.expressions.SystemVariables
One of the allowed results of a $redact expression.
pull(String, Filter) - Static method in class dev.morphia.query.experimental.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
pullAll(String, List<?>) - Static method in class dev.morphia.query.experimental.updates.UpdateOperators
The $pullAll operator removes all instances of the specified values from an existing array.
pullAll(String, List<?>) - Method in interface dev.morphia.query.Updates
removes the values from the array field
PullOperator - Class in dev.morphia.query.experimental.updates
Defines an operator for $pull
PullOperator(String, Filter) - Constructor for class dev.morphia.query.experimental.updates.PullOperator
 
push() - Static method in class dev.morphia.aggregation.experimental.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.experimental.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) - Static method in class dev.morphia.query.experimental.updates.UpdateOperators
The $push operator appends a specified value to an array.
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, 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<?>) - Static method in class dev.morphia.query.experimental.updates.UpdateOperators
The $push operator appends a specified value to an array.
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<?>, 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
Push - Class in dev.morphia.aggregation.experimental.expressions.impls
 
Push() - Constructor for class dev.morphia.aggregation.experimental.expressions.impls.Push
 
PushOperator - Class in dev.morphia.query.experimental.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

query(Filter...) - Method in class dev.morphia.aggregation.experimental.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(String, T) - Method in class dev.morphia.DatastoreImpl
 
queryByExample(T) - Method in interface dev.morphia.Datastore
Returns a new query based on the example object
queryByExample(T) - Method in class dev.morphia.DatastoreImpl
 
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(QueryFactory) - Method in class dev.morphia.mapping.MapperOptions.Builder
 
QueryFactory - Interface in dev.morphia.query
A factory for Queryies.

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.experimental.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.experimental.expressions.Miscellaneous
Returns a random float between 0 and 1.
range(int, int) - Static method in class dev.morphia.aggregation.experimental.expressions.ArrayExpressions
Outputs an array containing a sequence of integers according to user-defined inputs.
RangeExpression - Class in dev.morphia.aggregation.experimental.expressions.impls
 
RangeExpression(int, int) - Constructor for class dev.morphia.aggregation.experimental.expressions.impls.RangeExpression
 
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.experimental.AggregationOptions
 
readConcern() - Method in class dev.morphia.query.CountOptions
Returns the readConcern
readConcern(ReadConcern) - Method in class dev.morphia.aggregation.experimental.AggregationOptions
Specifies the read concern.
readConcern(ReadConcern) - Method in interface dev.morphia.internal.ReadConfigurable
Sets the read concern to apply
readConcern(ReadConcern) - Method in class dev.morphia.query.CountOptions
Sets the readConcern
readConcern(ReadConcern) - Method in class dev.morphia.query.FindOptions
 
ReadConfigurable<T> - Interface in dev.morphia.internal
 
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.experimental.AggregationOptions
 
readPreference() - Method in class dev.morphia.query.CountOptions
Returns the readPreference
readPreference(ReadPreference) - Method in class dev.morphia.aggregation.experimental.AggregationOptions
Sets the read preference to use
readPreference(ReadPreference) - Method in interface dev.morphia.internal.ReadConfigurable
Sets the read preference to apply
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.experimental.stages.Redact
Creates a redaction stage with the given expression
redact(Redact) - Method in interface dev.morphia.aggregation.experimental.Aggregation
Restricts the contents of the documents based on information stored in the documents themselves.
redact(Redact) - Method in class dev.morphia.aggregation.experimental.AggregationImpl
 
Redact - Class in dev.morphia.aggregation.experimental.stages
Restricts the contents of the documents based on information stored in the documents themselves.
Redact() - Constructor for class dev.morphia.aggregation.experimental.stages.Redact
 
RedactCodec - Class in dev.morphia.aggregation.experimental.codecs.stages
 
RedactCodec(Mapper) - Constructor for class dev.morphia.aggregation.experimental.codecs.stages.RedactCodec
 
reduce(Expression, Expression, Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.ArrayExpressions
Applies an expression to each element in an array and combines them into a single value.
ReduceExpression - Class in dev.morphia.aggregation.experimental.expressions.impls
 
ReduceExpression(Expression, Expression, Expression) - Constructor for class dev.morphia.aggregation.experimental.expressions.impls.ReduceExpression
 
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.
refresh(T) - Method in class dev.morphia.DatastoreImpl
 
refresh(T) - Method in class dev.morphia.mapping.Mapper
Refreshes an entity with the current state in the database.
regex(String) - Static method in class dev.morphia.query.experimental.filters.Filters
Selects documents where values match a specified regular expression.
RegexExpression - Class in dev.morphia.aggregation.experimental.expressions.impls
 
RegexExpression(String, Expression) - Constructor for class dev.morphia.aggregation.experimental.expressions.impls.RegexExpression
 
RegexFilter - Class in dev.morphia.query.experimental.filters
Defines a regular expression filter
regexFind(Expression) - Static method in class dev.morphia.aggregation.experimental.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.experimental.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.experimental.expressions.StringExpressions
Applies a regular expression (regex) to a string and returns a boolean that indicates if a match is found or not.
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.internal.MorphiaKeyCursor
Deprecated.
 
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
 
remove(String, boolean) - Method in class dev.morphia.query.UpdateOpsImpl
Deprecated.
 
REMOVE - Static variable in class dev.morphia.aggregation.experimental.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.experimental.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.experimental.updates.UpdateOperators
Renames a field.
render() - Method in class dev.morphia.mapping.validation.ConstraintViolation
 
replaceAll(Expression, Expression, Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.StringExpressions
Replaces all instances of a search string in an input string with a replacement string.
ReplaceExpression - Class in dev.morphia.aggregation.experimental.expressions.impls
Defines expressions for $replaceAll and $replaceOne
ReplaceExpression(String, Expression, Expression, Expression) - Constructor for class dev.morphia.aggregation.experimental.expressions.impls.ReplaceExpression
 
replacement(Expression) - Method in class dev.morphia.aggregation.experimental.expressions.impls.IfNull
 
replaceOne(Expression, Expression, Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.StringExpressions
Replaces the first instance of a search string in an input string with a replacement string.
replaceRoot() - Static method in class dev.morphia.aggregation.experimental.stages.ReplaceRoot
Creates a new stage
replaceRoot(Expression) - Static method in class dev.morphia.aggregation.experimental.stages.ReplaceRoot
Creates a new stage to replace the root with the given expression.
replaceRoot(ReplaceRoot) - Method in interface dev.morphia.aggregation.experimental.Aggregation
Replaces the input document with the specified document.
replaceRoot(ReplaceRoot) - Method in class dev.morphia.aggregation.experimental.AggregationImpl
 
ReplaceRoot - Class in dev.morphia.aggregation.experimental.stages
Replaces the input document with the specified document.
ReplaceRoot() - Constructor for class dev.morphia.aggregation.experimental.stages.ReplaceRoot
 
ReplaceRoot(Expression) - Constructor for class dev.morphia.aggregation.experimental.stages.ReplaceRoot
 
ReplaceRootCodec - Class in dev.morphia.aggregation.experimental.codecs.stages
 
ReplaceRootCodec(Mapper) - Constructor for class dev.morphia.aggregation.experimental.codecs.stages.ReplaceRootCodec
 
replaceWith() - Static method in class dev.morphia.aggregation.experimental.stages.ReplaceWith
Creates a new stage
replaceWith(Expression) - Static method in class dev.morphia.aggregation.experimental.stages.ReplaceWith
Creates a new stage to replace the root with the given expression.
replaceWith(ReplaceWith) - Method in interface dev.morphia.aggregation.experimental.Aggregation
Replaces the input document with the specified document.
replaceWith(ReplaceWith) - Method in class dev.morphia.aggregation.experimental.AggregationImpl
 
ReplaceWith - Class in dev.morphia.aggregation.experimental.stages
Replaces the input document with the specified document.
ReplaceWith() - Constructor for class dev.morphia.aggregation.experimental.stages.ReplaceWith
 
ReplaceWith(Expression) - Constructor for class dev.morphia.aggregation.experimental.stages.ReplaceWith
 
ReplaceWithCodec - Class in dev.morphia.aggregation.experimental.codecs.stages
 
ReplaceWithCodec(Mapper) - Constructor for class dev.morphia.aggregation.experimental.codecs.stages.ReplaceWithCodec
 
reset() - Method in class dev.morphia.mapping.codec.reader.Mark
Resets the reader to place indicated by this Mark
resolve() - Method in class dev.morphia.mapping.experimental.MorphiaReference
 
restrict(Filter...) - Method in class dev.morphia.aggregation.experimental.stages.GraphLookup
Optional.
retrieveKnownFields() - Method in class dev.morphia.query.LegacyQuery
 
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.experimental.expressions.ArrayExpressions
Returns an array with the elements in reverse order.
root() - Method in class dev.morphia.internal.PathTarget
 
ROOT - Static variable in class dev.morphia.aggregation.experimental.expressions.SystemVariables
References the root document, i.e.
round(Expression, Expression) - Static method in class dev.morphia.aggregation.experimental.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.experimental.expressions.StringExpressions
Removes whitespace or the specified characters from the end of a string.

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.experimental.Aggregation
Randomly selects the specified number of documents from the previous pipeline stage.
sample(long) - Method in class dev.morphia.aggregation.experimental.AggregationImpl
 
sample(long) - Static method in class dev.morphia.aggregation.experimental.stages.Sample
Creates a new stage with the given sample size.
Sample - Class in dev.morphia.aggregation.experimental.stages
Randomly selects the specified number of documents from its input.
Sample(long) - Constructor for class dev.morphia.aggregation.experimental.stages.Sample
 
SampleCodec - Class in dev.morphia.aggregation.experimental.codecs.stages
 
SampleCodec(Mapper) - Constructor for class dev.morphia.aggregation.experimental.codecs.stages.SampleCodec
 
sampleRate(double) - Static method in class dev.morphia.aggregation.experimental.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(List<T>, InsertManyOptions) - Method in class dev.morphia.DatastoreImpl
 
save(List<T>, InsertManyOptions) - Method in class dev.morphia.experimental.MorphiaSessionImpl
 
save(T) - Method in interface dev.morphia.Datastore
Saves an entity (Object) and updates the @Id field
save(T) - Method in class dev.morphia.DatastoreImpl
 
save(T, InsertOneOptions) - Method in interface dev.morphia.Datastore
Saves an entity (Object) and updates the @Id field
save(T, InsertOneOptions) - Method in class dev.morphia.DatastoreImpl
 
save(T, InsertOneOptions) - Method in class dev.morphia.experimental.MorphiaSessionImpl
 
save(T, InsertOptions) - Method in interface dev.morphia.Datastore
Deprecated, for removal: This API element is subject to removal in a future version.
scale(Integer) - Method in class dev.morphia.aggregation.experimental.stages.CollectionStats
Specify the scale factor (i.e.
search(String) - Method in class dev.morphia.query.LegacyQuery
 
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
 
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(int) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateFromParts
Optional
second(Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.DateExpressions
Returns the seconds for a date as a number between 0 and 60 (leap seconds).
second(Expression) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateFromParts
Can be any expression that evaluates to a number.
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
SessionConfigurable<T extends SessionConfigurable<T>> - Interface in dev.morphia.internal
Marks an options class as having a configurable ClientSession
set(AddFields) - Method in interface dev.morphia.aggregation.experimental.Aggregation
Adds new fields to documents.
set(Object) - Static method in class dev.morphia.query.experimental.updates.UpdateOperators
The $set operator replaces the value of a field with the specified value.
set(Object) - Method in interface dev.morphia.query.Updates
sets the entity value to completely replace the stored document
set(Object, PropertyModel) - Method in interface dev.morphia.mapping.codec.InstanceCreator
Sets a value for the given FieldModel
set(Object, PropertyModel) - Method in class dev.morphia.mapping.experimental.ConstructorCreator
 
set(Object, PropertyModel) - Method in class dev.morphia.mapping.experimental.UnsafeConstructorCreator
 
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) - Static method in class dev.morphia.query.experimental.updates.UpdateOperators
The $set operator replaces the value of a field with the specified value.
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(S, Object) - Method in class dev.morphia.mapping.codec.MethodAccessor
 
setCollection(String) - Method in class dev.morphia.Key
Deprecated.
Sets the collection name.
setDatastore(DatastoreImpl) - Method in class dev.morphia.query.experimental.updates.SetOnInsertOperator
 
setDatastore(DatastoreImpl) - Method in interface dev.morphia.query.internal.DatastoreAware
 
setDecoder(EntityDecoder) - Method in class dev.morphia.mapping.codec.pojo.MorphiaCodec
Sets the decoder
setDifference(Expression, Expression) - Static method in class dev.morphia.aggregation.experimental.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) - Method in class dev.morphia.mapping.codec.pojo.MorphiaCodec
Sets the encoder
SetEntityOperator - Class in dev.morphia.query.experimental.updates
 
SetEntityOperator(Object) - Constructor for class dev.morphia.query.experimental.updates.SetEntityOperator
 
setEquals(Expression, Expression...) - Static method in class dev.morphia.aggregation.experimental.expressions.SetExpressions
Returns true if the input sets have the same distinct elements.
SetExpressions - Class in dev.morphia.aggregation.experimental.expressions
Defines helper methods for the set expressions
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.experimental.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.experimental.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.experimental.updates.UpdateOperators
If an update operation with upsert: true results in an insert of a document, then $setOnInsert assigns the specified