A B C D E F G H I J K L M N O P Q R S T U V W 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
Defines the base Criteria implementation.
AbstractCriteria() - Constructor for class dev.morphia.query.AbstractCriteria
 
AbstractEntityInterceptor - Class in dev.morphia
Deprecated, for removal: This API element is subject to removal in a future version.
the noop default methods have been moved to the interface. This class is now vestigial.
AbstractEntityInterceptor() - Constructor for class dev.morphia.AbstractEntityInterceptor
Deprecated.
 
AbstractQueryFactory - Class in dev.morphia.query
An abstract implementation of QueryFactory.
AbstractQueryFactory() - Constructor for class dev.morphia.query.AbstractQueryFactory
 
accessor() - Method in class dev.morphia.mapping.codec.pojo.FieldModelBuilder
 
accessor(PropertyAccessor<T>) - Method in class dev.morphia.mapping.codec.pojo.FieldModelBuilder
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 - 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
 
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
 
action() - Method in class dev.morphia.ValidationBuilder
 
action(ValidationAction) - Method in class dev.morphia.ValidationBuilder
 
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, String, Object, boolean) - Method in class dev.morphia.query.UpdateOpsImpl
Deprecated.
 
add(Object...) - Static method in class dev.morphia.aggregation.Projection
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
 
ADD_TO_SET - dev.morphia.query.UpdateOperator
 
ADD_TO_SET_EACH - dev.morphia.query.UpdateOperator
 
addAnnotation(Annotation) - Method in class dev.morphia.mapping.codec.pojo.FieldMetadata
Adds an annotation to the metadata
addCodec(Codec<T>) - Method in class dev.morphia.mapping.codec.MorphiaTypesCodecProvider
 
addConvention(MorphiaConvention) - Method in class dev.morphia.mapping.MapperOptions.Builder
Adds a custom convention to the list to be applied to all new MorphiaModels.
addCriteria(FilterOperator, Object) - Method in class dev.morphia.query.FieldEndImpl
 
addCriteria(FilterOperator, Object, boolean) - Method in class dev.morphia.query.FieldEndImpl
 
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
 
addInterceptor(EntityInterceptor) - Method in class dev.morphia.mapping.Mapper
addModel(EntityModel<?>) - Method in class dev.morphia.mapping.DiscriminatorLookup
Adds a model to the map
addModel(FieldModelBuilder<?>) - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
Adds a field 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
Returns an array of all unique values that results from applying an expression to each document in a group of documents that share the same group by key.
addToSet(String) - Method in class dev.morphia.query.BucketAutoOptions.OutputOperation
Returns an array of all unique values that results from applying an expression to each document in a group of documents that share the same group by key.
addToSet(String) - Method in class dev.morphia.query.BucketOptions.OutputOperation
Returns an array of all unique values that results from applying an expression to each document in a group of documents that share the same group by key.
addToSet(String, Iterable<?>) - Method in class dev.morphia.query.UpdateBase
 
addToSet(String, Iterable<?>) - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
adds the values to an array field if they doesn't already exist in the array
addToSet(String, Iterable<?>) - Method in class dev.morphia.query.UpdateOpsImpl
Deprecated.
 
addToSet(String, Iterable<?>) - Method in interface dev.morphia.query.Updates
adds the values to an array field if they doesn't already exist in the array
addToSet(String, Object) - Method in class dev.morphia.query.UpdateBase
 
addToSet(String, Object) - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
adds the value to an array field if it doesn't already exist in the array
addToSet(String, Object) - Method in class dev.morphia.query.UpdateOpsImpl
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<?>) - Method in class dev.morphia.query.UpdateBase
 
addToSet(String, List<?>) - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
adds the values to an array field if they doesn't already exist in the array
addToSet(String, List<?>) - Method in class dev.morphia.query.UpdateOpsImpl
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
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<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.
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. 
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.
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.FieldModelBuilder
Adds an alternate name
alternateNames() - Method in class dev.morphia.mapping.codec.pojo.FieldModelBuilder
 
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 - dev.morphia.query.CriteriaJoin
 
annotations() - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
 
annotations(List<Annotation>) - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
Sets the annotations for the model
annotations(List<Annotation>) - Method in class dev.morphia.mapping.codec.pojo.FieldModelBuilder
Sets the annotations
annotationsMap() - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
 
annotationType() - Method in class dev.morphia.ValidationBuilder
 
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(MongoCollection<T>) - Method in class dev.morphia.DeleteOptions
Applies the options to the collection
apply(MongoCollection<T>) - Method in class dev.morphia.FindAndModifyOptions
Applies the options to the collection
apply(MongoCollection<T>) - Method in class dev.morphia.InsertManyOptions
Applies the options to the collection
apply(MongoCollection<T>) - Method in class dev.morphia.InsertOneOptions
Applies the configured WriteConcern to the collection
apply(MongoCollection<T>) - Method in class dev.morphia.query.FindAndDeleteOptions
Applies the options to the collection
apply(MongoCollection<T>) - Method in class dev.morphia.UpdateOptions
Updates the collection with the configured WriteConcern
apply(Datastore, EntityModelBuilder<?>) - Method in interface dev.morphia.mapping.MorphiaConvention
This method applies this Convention to the given builder
apply(Datastore, EntityModelBuilder<?>) - Method in class dev.morphia.mapping.MorphiaDefaultsConvention
 
apply(EntityModelBuilder<?>) - Method in class dev.morphia.mapping.DiscriminatorFunction
Applies the function to the given model to determine the discriminator value
apply(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 - 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
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.FindAndModifyOptions
 
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.
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.
assertProxyClassesPresent() - Static method in class dev.morphia.mapping.lazy.LazyFeatureDependencies
Checks that the dependencies to support lazy proxies are present
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
 
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(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
Returns the average value of the numeric values that result from applying a specified expression to each document in a group of documents that share the same group by key.
average(String) - Method in class dev.morphia.query.BucketAutoOptions.OutputOperation
Returns the average value of the numeric values that result from applying a specified expression to each document in a group of documents that share the same group by key.
average(String) - Method in class dev.morphia.query.BucketOptions.OutputOperation
Returns the average value of the numeric values that result from applying a specified expression to each document in a group of documents that share the same group by key.
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
 
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
 
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
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(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
The options for a bucket auto stage of aggregation pipeline.
BucketAutoOptions() - Constructor for class dev.morphia.query.BucketAutoOptions
 
BucketAutoOptions.Granularity - Enum in dev.morphia.query
A value that specifies the preferred number series to use to ensure that the calculated boundary edges end on preferred round numbers or their powers of 10.
BucketAutoOptions.OutputOperation - Class in dev.morphia.query
Defines an output for bucketauto stage, that consists of the fieldname and the accumulator
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
The options for a bucket stage of aggregation pipeline.
BucketOptions() - Constructor for class dev.morphia.query.BucketOptions
 
BucketOptions.OutputOperation - Class in dev.morphia.query
Defines an output for bucketauto stage, that consists of the fieldname and the accumulator
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.FieldModelBuilder
Creates the FieldModel.
build() - Method in class dev.morphia.mapping.MapperOptions.Builder
 
builder() - Static method in class dev.morphia.mapping.codec.pojo.FieldModel
Create a new FieldModelBuilder
builder() - Static method in class dev.morphia.mapping.MapperOptions
 
builder(MapperOptions) - Static method in class dev.morphia.mapping.MapperOptions
 
builder(String) - Static method in class dev.morphia.aggregation.GeoNear
Deprecated.
Creates a builder for a GeoNear pipeline stage
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.FindAndModifyOptions
 
bypassDocumentValidation(Boolean) - Method in class dev.morphia.InsertManyOptions
Sets whether to bypass document validation.
bypassDocumentValidation(Boolean) - Method in class dev.morphia.InsertOneOptions
Sets whether to bypass document validation.
bypassDocumentValidation(Boolean) - Method in class dev.morphia.InsertOptions
Deprecated.
Sets whether to bypass document validation.
bypassDocumentValidation(Boolean) - Method in class dev.morphia.UpdateOptions
 

C

cacheClassLookups(boolean) - Method in class dev.morphia.mapping.MapperOptions.Builder
 
callLifecycleMethods(Class<? extends Annotation>, Object, Document, Mapper) - Method in class dev.morphia.mapping.codec.pojo.EntityModel
Invokes any lifecycle methods
callLifecycleMethods(Class<? extends Annotation>, Object, Document, Mapper) - Method in class dev.morphia.mapping.MappedClass
Call the lifecycle methods
camelCase() - Static method in class dev.morphia.mapping.NamingStrategy
Defines a naming strategy that returns camel case of the value passed
cap() - Method in annotation type dev.morphia.annotations.Entity
 
CappedAt - Annotation Type in dev.morphia.annotations
Properties for capped collections; used in Entity
caseFirst() - Method in annotation type dev.morphia.annotations.Collation
Determines if Uppercase or lowercase values should come first
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, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.ContradictingFieldAnnotation
 
check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.FieldConstraint
 
check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.IdDoesNotMix
 
check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.LazyReferenceMissingDependencies
 
check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.LazyReferenceOnArray
 
check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.MapKeyTypeConstraint
 
check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.ReferenceToUnidentifiable
 
check(Mapper, MappedClass, MappedField, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.VersionMisuse
 
check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in interface dev.morphia.mapping.validation.ClassConstraint
Check that a MappedClass meets the constraint
check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.classrules.DuplicatedAttributeNames
 
check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.classrules.EmbeddedAndId
 
check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.classrules.EmbeddedAndValue
 
check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.classrules.EntityAndEmbed
 
check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.classrules.EntityCannotBeMapOrIterable
 
check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.classrules.MultipleId
 
check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.classrules.MultipleVersions
 
check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.classrules.NoId
 
check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.ConstructorParameterNameConstraint
 
check(Mapper, MappedClass, Set<ConstraintViolation>) - Method in class dev.morphia.mapping.validation.fieldrules.FieldConstraint
 
ClassCodec - Class in dev.morphia.mapping.codec
Defines a codec for Class references
ClassCodec() - Constructor for class dev.morphia.mapping.codec.ClassCodec
 
ClassConstraint - Interface in dev.morphia.mapping.validation
Defines a constraint for validation
classLoader(ClassLoader) - Method in class dev.morphia.mapping.MapperOptions.Builder
 
ClassMethodPair - Class in dev.morphia.mapping.codec.pojo
 
className() - Static 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.FindAndModifyOptions
 
clientSession() - Method in class dev.morphia.InsertManyOptions
The client session to use for the insertion.
clientSession() - Method in class dev.morphia.InsertOneOptions
 
clientSession() - Method in class dev.morphia.query.CountOptions
 
clientSession() - Method in class dev.morphia.query.FindAndDeleteOptions
 
clientSession() - Method in class dev.morphia.query.FindOptions
The client session to use for the insertion.
clientSession() - Method in class dev.morphia.UpdateOptions
 
clientSession(ClientSession) - Method in class dev.morphia.aggregation.experimental.AggregationOptions
 
clientSession(ClientSession) - Method in class dev.morphia.DeleteOptions
 
clientSession(ClientSession) - Method in class dev.morphia.FindAndModifyOptions
 
clientSession(ClientSession) - Method in class dev.morphia.InsertManyOptions
Set the client session to use for the insert.
clientSession(ClientSession) - Method in class dev.morphia.InsertOneOptions
 
clientSession(ClientSession) - Method in class dev.morphia.query.CountOptions
 
clientSession(ClientSession) - Method in class dev.morphia.query.FindAndDeleteOptions
 
clientSession(ClientSession) - Method in class dev.morphia.query.FindOptions
Set the client session to use for the insert.
clientSession(ClientSession) - Method in class dev.morphia.UpdateOptions
 
close() - Method in class dev.morphia.experimental.BaseMorphiaSession
 
close() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
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.
codec(Codec<T>) - Method in class dev.morphia.mapping.codec.pojo.FieldModelBuilder
Sets a custom codec for the field
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.FindAndModifyOptions
 
collation(Collation) - Method in class dev.morphia.query.CountOptions
 
collation(Collation) - Method in class dev.morphia.query.FindAndDeleteOptions
 
collation(Collation) - Method in class dev.morphia.query.FindOptions
Sets the collation to use
collation(Collation) - Method in class dev.morphia.UpdateOptions
 
Collation - Annotation Type in dev.morphia.annotations
Defines the collation options for an index
CollectionCodec<T> - Class in dev.morphia.mapping.codec
A codec for Collection type
CollectionCodec(Class<Collection<T>>, Codec<T>) - Constructor for class dev.morphia.mapping.codec.CollectionCodec
 
collectionNaming(NamingStrategy) - Method in class dev.morphia.mapping.MapperOptions.Builder
Sets the naming strategy to use for collection names
CollectionReference<C extends Collection> - Class in dev.morphia.mapping.experimental
 
CollectionReference() - Constructor for class dev.morphia.mapping.experimental.CollectionReference
 
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(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
configure() - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
 
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, MappedClass, MappedField, Class<? extends ClassConstraint>, String) - Constructor for class dev.morphia.mapping.validation.ConstraintViolation
Creates a violation instance to record invalid mapping metadata
ConstraintViolation(ConstraintViolation.Level, MappedClass, Class<? extends ClassConstraint>, String) - Constructor for class dev.morphia.mapping.validation.ConstraintViolation
Creates a violation instance to record invalid mapping metadata
ConstraintViolation.Level - Enum in dev.morphia.mapping.validation
Levels of constraint violations
ConstraintViolationException - Exception in dev.morphia.mapping.validation
 
ConstraintViolationException(ConstraintViolation...) - Constructor for exception dev.morphia.mapping.validation.ConstraintViolationException
Creates a ConstraintViolationException with the set of violations
ConstraintViolationException(Collection<ConstraintViolation>) - Constructor for exception dev.morphia.mapping.validation.ConstraintViolationException
Creates a ConstraintViolationException with the set of violations
Constructor - Annotation Type in dev.morphia.annotations.experimental
Marks an entity's constructor for use in creation rather than relying on a no arg constructor and field injection.
ConstructorCreator<T> - Class in dev.morphia.mapping.experimental
Defines a Creator that uses a full constructor to create an instance rather than field injection.
ConstructorCreator(EntityModel) - Constructor for class dev.morphia.mapping.experimental.ConstructorCreator
 
ConstructorParameterNameConstraint - Class in dev.morphia.mapping.validation
Checks that named constructor parameters match field names
ConstructorParameterNameConstraint() - Constructor for class dev.morphia.mapping.validation.ConstructorParameterNameConstraint
 
contains(String) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
contains(String) - Method in class dev.morphia.query.FieldEndImpl
 
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
 
ContradictingFieldAnnotation - Class in dev.morphia.mapping.validation.fieldrules
 
ContradictingFieldAnnotation(Class<? extends Annotation>, Class<? extends Annotation>) - Constructor for class dev.morphia.mapping.validation.fieldrules.ContradictingFieldAnnotation
Creates a ContradictingFieldAnnotation validation with the two incompatible annotations.
Conversions - Class in dev.morphia.mapping.codec
Defines basic type conversions.
convert() - Method in class dev.morphia.geo.CoordinateReferenceSystem
Deprecated.
Converts this type to the driver type
convert() - Method in interface dev.morphia.geo.Geometry
Deprecated.
Converts this type to the driver type
convert() - Method in class dev.morphia.geo.LineString
Deprecated.
 
convert() - Method in class dev.morphia.geo.MultiLineString
Deprecated.
 
convert() - Method in class dev.morphia.geo.MultiPoint
Deprecated.
 
convert() - Method in class dev.morphia.geo.MultiPolygon
Deprecated.
 
convert() - Method in class dev.morphia.geo.NamedCoordinateReferenceSystem
Deprecated.
 
convert() - Method in class dev.morphia.geo.Point
Deprecated.
 
convert() - Method in class dev.morphia.geo.Polygon
Deprecated.
 
convert(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.
count() - Method in annotation type dev.morphia.annotations.CappedAt
 
count() - Method in class dev.morphia.query.LegacyQuery
 
count() - Method in class dev.morphia.query.MorphiaQuery
 
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 class dev.morphia.query.MorphiaQuery
 
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() - 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
createEntityModel(Class<T>) - Method in class dev.morphia.mapping.Mapper
 
createInstance(Mapper, MappedField, Document) - Method in interface dev.morphia.ObjectFactory
Creates an instance of the class defined in the discriminator field in the document passed in.
createInstance(Class<T>) - Method in interface dev.morphia.ObjectFactory
Creates an instance of the given class.
createInstance(Class<T>, Document) - Method in interface dev.morphia.ObjectFactory
Creates an instance of the class defined in the discriminator field in the document passed in.
createList(MappedField) - Method in interface dev.morphia.ObjectFactory
Defines how morphia creates a List object.
createMap(MappedField) - Method in interface dev.morphia.ObjectFactory
Defines how morphia creates a Map object.
createQuery(Datastore) - Method in class dev.morphia.query.DefaultQueryFactory
 
createQuery(Datastore) - Method in class dev.morphia.query.LegacyQueryFactory
 
createQuery(Datastore) - Method in interface dev.morphia.query.QueryFactory
Creates an unvalidated Query typically for use in aggregation pipelines.
createQuery(Datastore, Class<T>) - Method in class dev.morphia.query.AbstractQueryFactory
 
createQuery(Datastore, Class<T>) - Method in interface dev.morphia.query.QueryFactory
Creates and returns a Query for the given arguments.
createQuery(Datastore, Class<T>, Document) - Method in class dev.morphia.query.DefaultQueryFactory
 
createQuery(Datastore, Class<T>, Document) - Method in 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(String, Class<T>) - Method in interface dev.morphia.AdvancedDatastore
Deprecated, for removal: This API element is subject to removal in a future version.
createRef(Class<T>, V) - Method in interface dev.morphia.AdvancedDatastore
Deprecated, for removal: This API element is subject to removal in a future version.
createRef(T) - Method in interface dev.morphia.AdvancedDatastore
Deprecated, for removal: This API element is subject to removal in a future version.
createSet(MappedField) - Method in interface dev.morphia.ObjectFactory
Defines how morphia creates a Set object.
createUpdateOperations(Class<T>) - Method in interface dev.morphia.Datastore
Deprecated, for removal: This API element is subject to removal in a future version.
use Query.update() instead
createUpdateOperations(Class<T>, DBObject) - Method in interface dev.morphia.AdvancedDatastore
Deprecated, for removal: This API element is subject to removal in a future version.
use Query.update() instead
createUpdateOperations(Class<T>, Document) - Method in interface dev.morphia.AdvancedDatastore
Deprecated, for removal: This API element is subject to removal in a future version.
use Query.update() instead
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
Defines how to combine lists of criteria.
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.
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
 
cursorType(CursorType) - Method in class dev.morphia.query.FindOptions
Sets the cursor type

D

Datastore - Interface in dev.morphia
Datastore interface to get/delete/save objects
DatastoreImpl - Class in dev.morphia
A generic (type-safe) wrapper around mongodb collections
DatastoreImpl(MongoClient, MapperOptions, String) - Constructor for class dev.morphia.DatastoreImpl
 
DatastoreImpl(MongoDatabase, MongoClient, Mapper, QueryFactory) - Constructor for class dev.morphia.DatastoreImpl
Copy constructor for a datastore
date(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.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
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
 
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) - Method in class dev.morphia.query.UpdateBase
 
dec(String) - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
Decrements the numeric field by 1
dec(String) - Method in class dev.morphia.query.UpdateOpsImpl
Deprecated.
 
dec(String) - Method in interface dev.morphia.query.Updates
Decrements the numeric field by 1
dec(String, Number) - Method in class dev.morphia.query.UpdateBase
 
dec(String, Number) - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
Decrements the numeric field by value (must be a positive Double, Float, Long, or Integer).
dec(String, Number) - Method in class dev.morphia.query.UpdateOpsImpl
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, MappedField, Class, Document) - Static method in class dev.morphia.mapping.experimental.SingleReference
Decodes a document in to an entity
decode(Datastore, Mapper, MappedField, Document) - Static method in class dev.morphia.mapping.experimental.MapReference
Decodes a document in to entities
decode(BsonReader, DecoderContext) - Method in class dev.morphia.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.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.MorphiaQueryCodec
 
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.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<T>, FieldModel<S>) - Method in class dev.morphia.mapping.codec.pojo.EntityDecoder
 
decodeProperties(BsonReader, DecoderContext, MorphiaInstanceCreator<T>) - 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
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 an entity from the database and returns it.
delete(FindAndModifyOptions) - Method in interface dev.morphia.query.Query
Deprecated, for removal: This API element is subject to removal in a future version.
delete(FindAndDeleteOptions) - Method in class dev.morphia.query.LegacyQuery
 
delete(FindAndDeleteOptions) - Method in class dev.morphia.query.MorphiaQuery
 
delete(FindAndDeleteOptions) - Method in interface dev.morphia.query.Query
Deletes an entity from the database and returns it.
delete(Query<T>) - Method in interface dev.morphia.Datastore
Deprecated, for removal: This API element is subject to removal in a future version.
use Query.remove() instead
delete(Query<T>, DeleteOptions) - Method in interface dev.morphia.Datastore
Deprecated, for removal: This API element is subject to removal in a future version.
delete(T) - Method in interface dev.morphia.Datastore
Deletes the given entity (by @Id)
delete(T) - 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.
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.mapping - package dev.morphia.mapping
 
dev.morphia.mapping.codec - package dev.morphia.mapping.codec
 
dev.morphia.mapping.codec.pojo - package dev.morphia.mapping.codec.pojo
 
dev.morphia.mapping.codec.reader - package dev.morphia.mapping.codec.reader
 
dev.morphia.mapping.codec.references - package dev.morphia.mapping.codec.references
 
dev.morphia.mapping.experimental - package dev.morphia.mapping.experimental
 
dev.morphia.mapping.lazy - package dev.morphia.mapping.lazy
 
dev.morphia.mapping.lazy.proxy - package dev.morphia.mapping.lazy.proxy
 
dev.morphia.mapping.validation - package dev.morphia.mapping.validation
 
dev.morphia.mapping.validation.classrules - package dev.morphia.mapping.validation.classrules
 
dev.morphia.mapping.validation.fieldrules - package dev.morphia.mapping.validation.fieldrules
 
dev.morphia.query - package dev.morphia.query
 
dev.morphia.query.experimental.filters - package dev.morphia.query.experimental.filters
 
dev.morphia.transactions.experimental - package dev.morphia.transactions.experimental
 
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
 
disableValidation() - Method in annotation type dev.morphia.annotations.IndexOptions
 
disableValidation() - Method in class dev.morphia.query.LegacyQuery
 
disableValidation() - Method in class dev.morphia.query.MorphiaQuery
 
disableValidation() - Method in interface dev.morphia.query.Query
Turns off validation (for all calls made after)
disableValidation() - Method in class dev.morphia.query.UpdateBase
 
disableValidation() - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
Turns off validation (for all calls made after)
disableValidation() - Method in class dev.morphia.query.UpdateOpsImpl
Deprecated.
 
disableValidation() - Method in interface dev.morphia.query.Updates
Turns off validation (for all calls made after)
discriminator() - Method in annotation type dev.morphia.annotations.Embedded
 
discriminator() - Method in annotation type dev.morphia.annotations.Entity
 
discriminator() - 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.mapping.codec.pojo.EntityModelBuilder
Sets the discriminator
discriminatorEnabled(Boolean) - Method in class dev.morphia.mapping.codec.pojo.FieldModelBuilder
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
 
discriminatorKey() - Method in annotation type dev.morphia.annotations.Entity
 
discriminatorKey() - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
 
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(Map<Class<?>, EntityModel<?>>, Set<String>) - 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
Creates a division projection
DocumentExpression - Class in dev.morphia.aggregation.experimental.expressions.impls
 
DocumentExpression() - Constructor for class dev.morphia.aggregation.experimental.expressions.impls.DocumentExpression
 
documentHasId(T) - Method in class dev.morphia.mapping.codec.pojo.MorphiaCodec
 
DocumentReader - Class in dev.morphia.mapping.codec.reader
 
DocumentReader(Document) - Constructor for class dev.morphia.mapping.codec.reader.DocumentReader
Construct a new instance.
DocumentWriter - Class in dev.morphia.mapping.codec
Utility to write out to a Document
DocumentWriter() - Constructor for class dev.morphia.mapping.codec.DocumentWriter
Creates a new Writer
DocumentWriter(Document) - Constructor for class dev.morphia.mapping.codec.DocumentWriter
Creates a new Writer with a seeded Document
doesNotExist() - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
doesNotExist() - Method in class dev.morphia.query.FieldEndImpl
 
DOUBLE - dev.morphia.aggregation.experimental.expressions.impls.ConvertType
 
DOUBLE - dev.morphia.query.Type
 
DuplicatedAttributeNames - Class in dev.morphia.mapping.validation.classrules
 
DuplicatedAttributeNames() - Constructor for class dev.morphia.mapping.validation.classrules.DuplicatedAttributeNames
 

E

E12 - dev.morphia.query.BucketAutoOptions.Granularity
 
E192 - dev.morphia.query.BucketAutoOptions.Granularity
 
E24 - dev.morphia.query.BucketAutoOptions.Granularity
 
E48 - dev.morphia.query.BucketAutoOptions.Granularity
 
E6 - dev.morphia.query.BucketAutoOptions.Granularity
 
E96 - dev.morphia.query.BucketAutoOptions.Granularity
 
EACH - dev.morphia.query.UpdateOperator
 
ELEMENT_MATCH - dev.morphia.query.FilterOperator
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
 
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
Marks a type as eligible for mapping and embedding in entity types.
EmbeddedAndId - Class in dev.morphia.mapping.validation.classrules
 
EmbeddedAndId() - Constructor for class dev.morphia.mapping.validation.classrules.EmbeddedAndId
 
EmbeddedAndValue - Class in dev.morphia.mapping.validation.classrules
Ensures value() isn't used on @Embedded
EmbeddedAndValue() - Constructor for class dev.morphia.mapping.validation.classrules.EmbeddedAndValue
 
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
 
enableValidation() - Method in class dev.morphia.query.LegacyQuery
 
enableValidation() - Method in class dev.morphia.query.MorphiaQuery
 
enableValidation() - Method in interface dev.morphia.query.Query
Turns on validation (for all calls made after); by default validation is on
enableValidation() - Method in class dev.morphia.query.UpdateBase
 
enableValidation() - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
Turns on validation (for all calls made after); by default validation is on
enableValidation() - Method in class dev.morphia.query.UpdateOpsImpl
Deprecated.
 
enableValidation() - Method in interface dev.morphia.query.Updates
Turns on validation (for all calls made after); by default validation is on
encode(Mapper) - Method in class dev.morphia.query.OperationTarget
Encodes this target
encode(Mapper, Object, MappedField) - Method in class dev.morphia.mapping.experimental.CollectionReference
 
encode(Mapper, Object, MappedField) - Method in class dev.morphia.mapping.experimental.MapReference
encode(Mapper, Object, MappedField) - Method in class dev.morphia.mapping.experimental.MorphiaReference
 
encode(Mapper, Object, MappedField) - Method in class dev.morphia.mapping.experimental.SingleReference
 
encode(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.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.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.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 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, MorphiaQuery, EncoderContext) - Method in class dev.morphia.mapping.codec.MorphiaQueryCodec
 
encode(BsonWriter, Class, EncoderContext) - Method in class dev.morphia.mapping.codec.ClassCodec
 
encode(BsonWriter, Object, EncoderContext) - Method in class dev.morphia.mapping.codec.ObjectCodec
 
encode(BsonWriter, Object, EncoderContext) - Method in class dev.morphia.mapping.codec.references.ReferenceCodec
 
encode(BsonWriter, URI, EncoderContext) - Method in class dev.morphia.mapping.codec.URICodec
 
encode(BsonWriter, Collection<T>, EncoderContext) - Method in class dev.morphia.mapping.codec.CollectionCodec
 
encode(BsonWriter, Locale, EncoderContext) - Method in class dev.morphia.mapping.codec.LocaleCodec
 
encode(BsonWriter, T, EncoderContext) - Method in class dev.morphia.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(BsonWriter, T, EncoderContext) - Method in class dev.morphia.mapping.codec.pojo.MorphiaCodec
 
encode(CodecRegistry, Object, EncoderContext) - Method in class dev.morphia.mapping.codec.DocumentWriter
Encodes a value in to this Writer
encodeId(Mapper, Datastore, Object, MappedClass) - Static method in class dev.morphia.mapping.codec.references.ReferenceCodec
Encodes a value
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.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, 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
 
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
 
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
 
enforceWriteConcern(MongoCollection, Class) - Method in class dev.morphia.mapping.Mapper
Updates a collection to use a specific WriteConcern
ensureCaps() - Method in interface dev.morphia.Datastore
ensure capped collections for Entity(s)
ensureCaps() - Method in class dev.morphia.DatastoreImpl
 
ensureIndexes() - Method in interface dev.morphia.Datastore
Ensures (creating if necessary) the indexes found during class mapping
ensureIndexes() - Method in class dev.morphia.DatastoreImpl
 
ensureIndexes(Class<T>) - Method in interface dev.morphia.Datastore
Ensures (creating if necessary) the indexes found during class mapping
ensureIndexes(Class<T>) - Method in class dev.morphia.DatastoreImpl
 
Entity - Annotation Type in dev.morphia.annotations
Allows marking and naming the collectionName
EntityAndEmbed - Class in dev.morphia.mapping.validation.classrules
 
EntityAndEmbed() - Constructor for class dev.morphia.mapping.validation.classrules.EntityAndEmbed
 
EntityCannotBeMapOrIterable - Class in dev.morphia.mapping.validation.classrules
 
EntityCannotBeMapOrIterable() - Constructor for class dev.morphia.mapping.validation.classrules.EntityCannotBeMapOrIterable
 
EntityDecoder<T> - Class in dev.morphia.mapping.codec.pojo
 
EntityDecoder(MorphiaCodec<T>) - Constructor for class dev.morphia.mapping.codec.pojo.EntityDecoder
 
EntityInterceptor - Interface in dev.morphia
Interface for intercepting @Entity lifecycle events
EntityListeners - Annotation Type in dev.morphia.annotations
Specifies other classes to participate in the @Entity's lifecycle
EntityModel<T> - Class in dev.morphia.mapping.codec.pojo
A model of metadata about a type
EntityModelBuilder<T> - Class in dev.morphia.mapping.codec.pojo
Builder for EntityModels
EntityModelBuilder(Datastore, Class<T>) - Constructor for class dev.morphia.mapping.codec.pojo.EntityModelBuilder
Create a builder
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
 
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
 
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.FieldModel
 
equals(Object) - Method in class dev.morphia.mapping.experimental.MorphiaReference
 
equals(Object) - Method in class dev.morphia.mapping.MappedClass
 
equals(Object) - Method in class dev.morphia.query.FindOptions
 
equals(Object) - Method in class dev.morphia.query.LegacyQuery
 
equals(Object) - Method in class dev.morphia.query.MorphiaQuery
 
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(FindAndModifyOptions) - 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
 
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 class dev.morphia.query.LegacyQuery
 
explain(FindOptions) - Method in class dev.morphia.query.MorphiaQuery
 
explain(FindOptions) - 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(String, Object...) - Static method in class dev.morphia.aggregation.Projection
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
 
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(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(Mapper) - Method in class dev.morphia.query.experimental.filters.Filter
 
field(Field) - Method in class dev.morphia.mapping.codec.pojo.FieldModelBuilder
Sets the field used
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 class dev.morphia.query.MorphiaQuery
 
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
FieldConstraint - Class in dev.morphia.mapping.validation.fieldrules
 
FieldConstraint() - Constructor for class dev.morphia.mapping.validation.fieldrules.FieldConstraint
 
FieldEnd<T> - Interface in dev.morphia.query
Represents a document field in a query and presents the operations available to querying against that field.
FieldEndImpl<T extends CriteriaContainer> - Class in dev.morphia.query
Represents a document field in a query and presents the operations available to querying against that field.
FieldEndImpl(Mapper, String, T, MappedClass, boolean) - Constructor for class dev.morphia.query.FieldEndImpl
Creates a FieldEnd for a particular field.
FieldEnumString - Class in dev.morphia.mapping.validation.classrules
 
FieldEnumString(MappedField...) - Constructor for class dev.morphia.mapping.validation.classrules.FieldEnumString
Creates a FieldEnumString for the given fields
FieldEnumString(List<MappedField>) - Constructor for class dev.morphia.mapping.validation.classrules.FieldEnumString
Creates a FieldEnumString for the given fields
FieldHolder<T> - Interface in dev.morphia.aggregation.experimental.expressions.impls
 
FieldMetadata<T> - Class in dev.morphia.mapping.codec.pojo
Contains various metadata about a field
FieldMetadata(Field, TypeData<T>, TypeParameterMap, TypeData<?>) - Constructor for class dev.morphia.mapping.codec.pojo.FieldMetadata
Createss an instance for the field
FieldModel<T> - Class in dev.morphia.mapping.codec.pojo
Represents a field on a class and stores various metadata such as generic parameters.
FieldModelBuilder<T> - Class in dev.morphia.mapping.codec.pojo
A builder for programmatically creating FieldModels.
fieldModelByFieldName(String) - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
Gets a field by its name
fieldModels() - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
 
fieldName(String) - Method in class dev.morphia.mapping.codec.pojo.FieldModelBuilder
Sets the field name
fieldNaming(NamingStrategy) - Method in class dev.morphia.mapping.MapperOptions.Builder
Sets the naming strategy to use for fields unless expliclity set via @Property
fields() - Method in annotation type dev.morphia.annotations.Index
 
fields(String, String...) - Static method in class dev.morphia.aggregation.experimental.stages.Unset
Creates a new stage with the given fields
Fields<T> - Class in dev.morphia.aggregation.experimental.expressions.impls
 
Fields(T) - Constructor for class dev.morphia.aggregation.experimental.expressions.impls.Fields
 
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 class dev.morphia.query.MorphiaQuery
 
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 class dev.morphia.query.MorphiaQuery
 
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.
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(Query<T>) - Method in interface dev.morphia.Datastore
Deprecated, for removal: This API element is subject to removal in a future version.
use Query.delete() instead
findAndDelete(Query<T>, FindAndModifyOptions) - Method in interface dev.morphia.Datastore
Deprecated, for removal: This API element is subject to removal in a future version.
FindAndDeleteOptions - Class in dev.morphia.query
Defines options to use for find and delete operations
FindAndDeleteOptions() - Constructor for class dev.morphia.query.FindAndDeleteOptions
 
findAndModify(Query<T>, UpdateOperations<T>) - Method in interface dev.morphia.Datastore
Deprecated, for removal: This API element is subject to removal in a future version.
use Query.modify() instead
FindAndModifyOptions - Class in dev.morphia
The options for find and modify operations.
FindAndModifyOptions() - Constructor for class dev.morphia.FindAndModifyOptions
 
FindOptions - Class in dev.morphia.query
The options to apply to a find operation (also commonly referred to as a query).
FindOptions() - Constructor for class dev.morphia.query.FindOptions
Creates an instance with default values
findSession(SessionConfigurable<?>) - Method in interface dev.morphia.Datastore
 
findSession(SessionConfigurable<?>) - Method in class dev.morphia.DatastoreImpl
 
first() - Method in class dev.morphia.query.LegacyQuery
 
first() - Method in class dev.morphia.query.MorphiaQuery
 
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 class dev.morphia.query.MorphiaQuery
 
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
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.DocumentWriter
 
Foo - dev.morphia.query.UpdateOperator
 
forEach(Consumer<? super T>) - Method in interface dev.morphia.query.Query
 
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
Target collection for the $graphLookup operation to search, recursively matching the connectFromField to the connectToField.
from(Class<?>) - Static method in class dev.morphia.aggregation.experimental.stages.Lookup
Creates a new stage using the target collection for the mapped type
from(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.
from(String) - Static method in class dev.morphia.aggregation.experimental.stages.Lookup
Creates a new stage using the target collection
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
fromString(String) - Static method in enum dev.morphia.query.UpdateOperator
Creates an UpdateOperator from a String

G

generateIdIfAbsentFromDocument(T) - Method in class dev.morphia.mapping.codec.pojo.MorphiaCodec
 
GEO_NEAR - dev.morphia.query.FilterOperator
Deprecated.
 
GEO_WITHIN - dev.morphia.query.FilterOperator
Deprecated.
 
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(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>, Iterable<V>) - Method in interface dev.morphia.Datastore
Deprecated, for removal: This API element is subject to removal in a future version.
use Query instead.
get(Class<T>, Iterable<V>) - Method in class dev.morphia.DatastoreImpl
 
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(T) - Method in interface dev.morphia.Datastore
Deprecated, for removal: This API element is subject to removal in a future version.
use Query instead
getAccessor() - Method in class dev.morphia.mapping.codec.pojo.FieldModel
 
getAccumulator() - Method in class dev.morphia.aggregation.Group
 
getAccumulators() - Method in class dev.morphia.query.BucketAutoOptions
 
getAccumulators() - Method in class dev.morphia.query.BucketOptions
 
getAllowDiskUse() - Method in class dev.morphia.aggregation.experimental.AggregationOptions
 
getAnnotation(Class<? extends Annotation>) - Method in class dev.morphia.mapping.codec.pojo.EntityModel
 
getAnnotation(Class<A>) - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
 
getAnnotation(Class<A>) - Method in class dev.morphia.mapping.codec.pojo.FieldModel
Find an annotation of a specific type or null if not found.
getAnnotation(Class<A>) - Method in class dev.morphia.mapping.codec.pojo.FieldModelBuilder
Gets the annotation of this type.
getAnnotation(Class<T>) - Method in class dev.morphia.mapping.MappedClass
Looks for an annotation of the type given
getAnnotation(Class<T>) - Method in class dev.morphia.mapping.MappedField
 
getAnnotations() - Method in class dev.morphia.mapping.codec.pojo.EntityModel
Returns all the annotations on this model
getAnnotations() - Method in class dev.morphia.mapping.codec.pojo.FieldMetadata
 
getAnnotations() - Method in class dev.morphia.mapping.codec.pojo.FieldModel
 
getAnnotations() - Method in class dev.morphia.mapping.codec.pojo.FieldModelBuilder
Returns the read annotations, to be applied when serializing to BSON
getAnnotations(Class<? extends Annotation>) - Method in class dev.morphia.mapping.codec.pojo.EntityModel
 
getAnnotations(Class<T>) - Method in class dev.morphia.mapping.MappedClass
Looks for an annotation in the annotations found on a class while mapping
getArguments() - Method in class dev.morphia.aggregation.Projection
 
getArraysLevel() - Method in class dev.morphia.mapping.codec.DocumentWriter
 
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
 
getByKey(Class<T>, Key<T>) - Method in interface dev.morphia.Datastore
Deprecated, for removal: This API element is subject to removal in a future version.
use a Query instead
getByKey(Class<T>, Key<T>) - Method in class dev.morphia.DatastoreImpl
 
getByKeys(Class<T>, Iterable<Key<T>>) - Method in interface dev.morphia.Datastore
Deprecated, for removal: This API element is subject to removal in a future version.
use a Query instead
getByKeys(Class<T>, Iterable<Key<T>>) - Method in class dev.morphia.DatastoreImpl
 
getByKeys(Iterable<Key<T>>) - Method in interface dev.morphia.Datastore
Deprecated, for removal: This API element is subject to removal in a future version.
use a Query instead
getByKeys(Iterable<Key<T>>) - Method in class dev.morphia.DatastoreImpl
 
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.FieldModel
 
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.FieldModel
 
getCodecFromDocument(BsonReader, boolean, String, CodecRegistry, DiscriminatorLookup, Codec<T>) - 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(Class<T>) - Method in class dev.morphia.mapping.Mapper
 
getCollectionName() - Method in class dev.morphia.mapping.codec.pojo.EntityModel
 
getCollectionName() - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
 
getCollectionName() - Method in class dev.morphia.mapping.MappedClass
 
getCollectionNaming() - Method in class dev.morphia.mapping.MapperOptions
 
getComment() - Method in class dev.morphia.query.FindOptions
 
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
 
getCreator() - Method in class dev.morphia.mapping.MapperOptions
 
getCurrentBsonType() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
getCurrentName() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
getCursorType() - Method in class dev.morphia.query.FindOptions
 
getDatabase() - Method in 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.pojo.EntityModelBuilder
 
getDatastore() - Method in class dev.morphia.mapping.codec.PropertyCodec
 
getDatastore() - Method in class dev.morphia.query.LegacyQuery
 
getDatastore() - Method in class dev.morphia.query.UpdateBase
 
getDeclaringClass() - Method in class dev.morphia.mapping.MappedField
 
getDecoder() - Method in class dev.morphia.mapping.codec.pojo.MorphiaCodec
 
getDefaultField() - Method in class dev.morphia.query.BucketOptions
 
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
 
getDiscriminatorEnabled() - Method in class dev.morphia.mapping.codec.pojo.FieldModelBuilder
 
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.
 
getDocsLevel() - Method in class dev.morphia.mapping.codec.DocumentWriter
 
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.DocumentWriter
 
getDocumentId(T) - Method in class dev.morphia.mapping.codec.pojo.MorphiaCodec
 
getDocumentValue(Document) - Method in class dev.morphia.mapping.MappedField
 
getEmbeddedAnnotation() - Method in class dev.morphia.mapping.MappedClass
 
getEncoderClass() - Method in class dev.morphia.aggregation.experimental.codecs.ExpressionCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.experimental.codecs.MergeCodec
 
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.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.UnsetCodec
 
getEncoderClass() - Method in class dev.morphia.aggregation.experimental.codecs.stages.UnwindCodec
 
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.MorphiaQueryCodec
 
getEncoderClass() - Method in class dev.morphia.mapping.codec.ObjectCodec
 
getEncoderClass() - Method in class dev.morphia.mapping.codec.pojo.MorphiaCodec
 
getEncoderClass() - Method in class dev.morphia.mapping.codec.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.MappedClass
 
getEntityClass() - Method in class dev.morphia.query.LegacyQuery
 
getEntityClass() - Method in class dev.morphia.query.MorphiaQuery
 
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.MappedClass
 
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.mapping.codec.pojo.FieldMetadata
 
getField() - Method in class dev.morphia.mapping.codec.pojo.FieldModel
 
getField() - Method in class dev.morphia.mapping.codec.pojo.FieldModelBuilder
 
getField() - Method in class dev.morphia.mapping.codec.PropertyCodec
 
getField() - Method in class dev.morphia.mapping.MappedField
 
getField() - Method in class dev.morphia.query.FieldEndImpl
 
getField() - Method in class dev.morphia.query.Meta
 
getField() - Method in class dev.morphia.query.Sort
 
getFieldMappedClass() - Method in class dev.morphia.mapping.codec.PropertyCodec
 
getFieldModel() - Method in class dev.morphia.mapping.MappedField
 
getFieldModelByName(String) - Method in class dev.morphia.mapping.codec.pojo.EntityModel
 
getFieldModels() - Method in class dev.morphia.mapping.codec.pojo.EntityModel
Returns all the fields on this model
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
 
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
 
getFields() - Method in class dev.morphia.mapping.MappedClass
 
getFields(Class<? extends Annotation>) - Method in class dev.morphia.mapping.MappedClass
Returns fields annotated with the clazz
getFieldsObject() - Method in class dev.morphia.query.LegacyQuery
 
getFieldValue(Object) - Method in class dev.morphia.mapping.MappedField
Gets the value of the field mapped on the instance given.
getFilterName() - Method in class dev.morphia.query.experimental.filters.Filter
 
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<T>) - Static method in class dev.morphia.mapping.experimental.ConstructorCreator
 
getFullName() - Method in class dev.morphia.mapping.MappedField
 
getGeometry() - Method in class dev.morphia.query.Shape
Deprecated.
 
getGranulality() - Method in enum dev.morphia.query.BucketAutoOptions.Granularity
 
getGranularity() - Method in class dev.morphia.aggregation.experimental.stages.AutoBucket
 
getGranularity() - Method in class dev.morphia.query.BucketAutoOptions
 
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, MappedClass) - Method in class dev.morphia.mapping.experimental.MapReference
 
getId(Object) - Method in class dev.morphia.mapping.Mapper
Gets the ID value for an entity
getIdentifier() - Method in enum dev.morphia.aggregation.experimental.expressions.impls.ConvertType
 
getIdField() - Method in class dev.morphia.mapping.MappedClass
 
getIdModel() - 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 interface dev.morphia.mapping.codec.InstanceCreator
 
getInstance() - Method in class dev.morphia.mapping.experimental.ConstructorCreator
 
getInstance() - Method in class dev.morphia.mapping.NoArgCreator
 
getInstanceCreator() - Method in class dev.morphia.mapping.codec.pojo.EntityModel
 
getInstanceCreator(EntityModel<T>) - Method in class dev.morphia.mapping.codec.pojo.EntityDecoder
 
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.
getJavaFieldName() - Method in class dev.morphia.mapping.MappedField
 
getJoinMethod() - Method in class dev.morphia.query.CriteriaContainerImpl
Deprecated.
 
getKey() - Method in class dev.morphia.aggregation.experimental.stages.GeoNear
 
getKey(T) - Method in interface dev.morphia.Datastore
Deprecated, for removal: This API element is subject to removal in a future version.
getKey(T) - Method in class dev.morphia.DatastoreImpl
Deprecated.
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.MappedField
 
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.
getMappedClass() - Method in class dev.morphia.mapping.codec.pojo.MorphiaCodec
 
getMappedClass(Class) - Method in class dev.morphia.mapping.Mapper
Gets the MappedClass for the object (type).
getMappedClasses() - Method in class dev.morphia.mapping.Mapper
 
getMappedField(String) - Method in class dev.morphia.mapping.MappedClass
Returns the MappedField by the name that it will stored in mongodb as
getMappedFieldByJavaField(String) - Method in class dev.morphia.mapping.MappedClass
Returns MappedField for a given java field name on the this MappedClass
getMappedFieldName() - Method in class dev.morphia.mapping.MappedField
 
getMappedName() - Method in class dev.morphia.mapping.codec.pojo.FieldModel
 
getMapper() - Method in 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
 
getMin() - Method in class dev.morphia.query.FindOptions
 
getMinDistance() - Method in class dev.morphia.aggregation.experimental.stages.GeoNear
 
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
 
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.FieldMetadata
 
getName() - Method in class dev.morphia.mapping.codec.pojo.FieldModel
 
getName() - Method in class dev.morphia.mapping.codec.pojo.FieldModelBuilder
 
getName() - Method in enum dev.morphia.query.Meta.MetaDataKeyword
 
getNear() - Method in class dev.morphia.aggregation.GeoNear
Deprecated.
The point for which to find the closest documents.
getNested() - Method in class dev.morphia.aggregation.Group
 
getNormalizedType() - Method in class dev.morphia.mapping.codec.pojo.FieldModel
Gets the parameterized type of a List or the key type of a Map, e.g.
getNormalizedType() - Method in class dev.morphia.mapping.MappedField
Gets the parameterized type of a List or the key type of a Map, e.g.
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
 
getProjections() - Method in class dev.morphia.aggregation.Projection
 
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.
 
getQueryFactory() - Method in interface dev.morphia.Datastore
 
getQueryFactory() - Method in class dev.morphia.DatastoreImpl
 
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
 
getReadPreference() - Method in class dev.morphia.aggregation.experimental.AggregationOptions
 
getReadPreference() - Method in class dev.morphia.query.FindOptions
 
getRecoveryToken() - Method in class dev.morphia.experimental.BaseMorphiaSession
 
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
 
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
 
getSourceField() - Method in class dev.morphia.aggregation.Group
 
getSpecializedType() - Method in class dev.morphia.mapping.MappedField
If the java field is a list/array/map then the sub-type T is returned (ex.
getSpherical() - Method in class dev.morphia.aggregation.experimental.stages.GeoNear
 
getSpherical() - Method in class dev.morphia.aggregation.GeoNear
Deprecated.
Required if using a 2dsphere index.
getStageName() - Method in class dev.morphia.aggregation.experimental.stages.Stage
The name of the stage.
getStages() - Method in class dev.morphia.aggregation.AggregationPipelineImpl
Deprecated.
 
getStartWith() - Method in class dev.morphia.aggregation.experimental.stages.GraphLookup
 
getSubtypes() - Method in class dev.morphia.mapping.MappedClass
 
getSubTypes(MappedClass) - Method in class dev.morphia.mapping.Mapper
Finds any subtypes for the given MappedClass.
getSuperClass() - Method in class dev.morphia.mapping.MappedClass
This is an internal method subject to change without notice.
getTarget() - Method in class dev.morphia.aggregation.experimental.expressions.impls.IfNull
 
getTarget() - Method in class dev.morphia.aggregation.Projection
 
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.experimental.CollectionReference
 
getType() - Method in class dev.morphia.mapping.experimental.MapReference
 
getType() - Method in class dev.morphia.mapping.experimental.MorphiaReference
 
getType() - Method in class dev.morphia.mapping.experimental.SingleReference
 
getType() - Method in class dev.morphia.mapping.MappedClass
 
getType() - Method in class dev.morphia.mapping.MappedField
 
getTypeData() - Method in class dev.morphia.mapping.codec.pojo.FieldMetadata
 
getTypeData() - Method in class dev.morphia.mapping.codec.pojo.FieldModel
 
getTypeData() - Method in class dev.morphia.mapping.codec.pojo.FieldModelBuilder
 
getTypeData() - Method in class dev.morphia.mapping.codec.PropertyCodec
 
getTypeData() - Method in class dev.morphia.mapping.MappedField
 
getTypeName() - Method in enum dev.morphia.geo.CoordinateReferenceSystemType
Deprecated.
Gets the GeoJSON-defined name for the type.
getTypeParameterMap() - Method in class dev.morphia.mapping.codec.pojo.FieldMetadata
 
getTypeParameters() - Method in class dev.morphia.mapping.codec.pojo.FieldMetadata
 
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
 
getVariables() - Method in class dev.morphia.aggregation.experimental.stages.Lookup
 
getVariables() - Method in class dev.morphia.aggregation.experimental.stages.Merge
 
getVersionField() - Method in class dev.morphia.mapping.MappedClass
 
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.aggregation.experimental.AggregationOptions
 
getWriteConcern() - Method in class dev.morphia.DeleteOptions
Deprecated, for removal: This API element is subject to removal in a future version.
getWriteConcern() - Method in class dev.morphia.FindAndModifyOptions
Deprecated, for removal: This API element is subject to removal in a future version.
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.InsertOneOptions
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 class dev.morphia.UpdateOptions
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
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
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 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
 
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
 
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...) - 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
Defines a group pipeline stage.
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
Creates a named grouping
grouping(String, Accumulator) - Static method in class dev.morphia.aggregation.Group
Creates a named grouping on a field
grouping(String, Group) - Static method in class dev.morphia.aggregation.Group
Creates a named grouping
grouping(String, Projection...) - Static method in class dev.morphia.aggregation.Group
Creates a named grouping
grouping(String, String) - Static method in class dev.morphia.aggregation.Group
Creates a named grouping on a field
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
 
hasAnnotation(Class) - Method in class dev.morphia.mapping.MappedField
Indicates whether the annotation is present in the mapping (does not check the java field annotations, just the ones discovered)
hasAnnotation(Class<? extends Annotation>) - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
 
hasAnnotation(Class<? extends Annotation>) - Method in class dev.morphia.mapping.codec.pojo.FieldModelBuilder
Checks this field for an annotation of the given type
hasAnyOf(Iterable<?>) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
hasAnyOf(Iterable<?>) - Method in class dev.morphia.query.FieldEndImpl
 
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.FieldModel
 
hashCode() - Method in class dev.morphia.mapping.experimental.MorphiaReference
 
hashCode() - Method in class dev.morphia.mapping.MappedClass
 
hashCode() - Method in class dev.morphia.query.FindOptions
 
hashCode() - Method in class dev.morphia.query.LegacyQuery
 
hashCode() - Method in class dev.morphia.query.MorphiaQuery
 
hasInterceptors() - Method in class dev.morphia.mapping.Mapper
 
hasLifecycle(Class<? extends Annotation>) - Method in class dev.morphia.mapping.codec.pojo.EntityModel
 
hasLifecycle(Class<? extends Annotation>) - Method in class dev.morphia.mapping.MappedClass
Checks if this mapped type has the given lifecycle event defined
hasNoneOf(Iterable<?>) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
hasNoneOf(Iterable<?>) - Method in class dev.morphia.query.FieldEndImpl
 
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
 
hint() - Method in class dev.morphia.aggregation.experimental.AggregationOptions
 
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.query.CountOptions
 
hint(Document) - Method in class dev.morphia.query.CountOptions
Defines the index hint value
hint(Document) - Method in class dev.morphia.query.FindOptions
Sets the index hint
hintString(String) - Method in class dev.morphia.query.CountOptions
 
hintString(String) - Method in class dev.morphia.query.FindOptions
Defines the index hint value
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
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
 
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.
idFieldName() - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
 
idFieldName(String) - Method in class dev.morphia.mapping.codec.pojo.EntityModelBuilder
Sets the name of the id field
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
 
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
 
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) - Method in class dev.morphia.query.UpdateBase
 
inc(String) - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
Increments the numeric field by 1
inc(String) - Method in class dev.morphia.query.UpdateOpsImpl
Deprecated.
 
inc(String) - Method in interface dev.morphia.query.Updates
Increments the numeric field by 1
inc(String, Number) - Method in class dev.morphia.query.UpdateBase
 
inc(String, Number) - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
increments the numeric field by value (negatives are allowed)
inc(String, Number) - Method in class dev.morphia.query.UpdateOpsImpl
Deprecated.
 
inc(String, Number) - Method in interface dev.morphia.query.Updates
increments the numeric field by value (negatives are allowed)
INC - dev.morphia.query.UpdateOperator
 
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
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
IndexHelper - Class in dev.morphia
A helper class for dealing with index definitions
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 - 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
 
inferLoadNames() - Method in class dev.morphia.mapping.MappedField
 
INFO - dev.morphia.mapping.validation.ConstraintViolation.Level
 
insert(MongoCollection, T, InsertOneOptions) - Method in class dev.morphia.DatastoreImpl
 
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<T> - Interface in dev.morphia.mapping.codec
Creates instances of types.
InstanceCreatorFactory<T> - Interface in dev.morphia.mapping
The factory for creating MorphiaInstanceCreator instances
InstanceCreatorFactoryImpl<T> - Class in dev.morphia.mapping
 
InstanceCreatorFactoryImpl(EntityModel<T>) - 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
 
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
 
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
 
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.MappedClass
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.MappedField
 
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
 
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.MappedClass
 
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.MappedField
 
isMappable(Class<T>) - Method in class dev.morphia.mapping.Mapper
Checks if a type is mappable or not
isMapped(Class) - Method in class dev.morphia.mapping.Mapper
Checks to see if a Class has been mapped.
isMapSubPackages() - Method in class dev.morphia.mapping.MapperOptions
 
isMulti() - Method in class dev.morphia.DeleteOptions
 
isMulti() - Method in class dev.morphia.UpdateOptions
 
isMultipleValues() - Method in class dev.morphia.mapping.MappedField
 
isNoCursorTimeout() - Method in class dev.morphia.query.FindOptions
 
isNot() - Method in class dev.morphia.query.experimental.filters.Filter
 
isNot() - Method in class dev.morphia.query.FieldEndImpl
 
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.MappedField
 
isResolved() - Method in class dev.morphia.mapping.experimental.MorphiaReference
 
isReturnKey() - Method in class dev.morphia.query.FindOptions
 
isScalarValue() - Method in class dev.morphia.mapping.MappedField
 
isSet() - Method in class dev.morphia.mapping.MappedField
 
isShowRecordId() - Method in class dev.morphia.query.FindOptions
 
isStoreEmpties() - Method in class dev.morphia.mapping.MapperOptions
 
isStoreNulls() - Method in class dev.morphia.mapping.MapperOptions
 
isSuppressed() - Method in class dev.morphia.aggregation.Projection
 
isTransient() - Method in class dev.morphia.mapping.MappedField
 
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 class dev.morphia.query.LegacyQuery
 
iterator() - Method in class dev.morphia.query.MorphiaQuery
 
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 class dev.morphia.query.MorphiaQuery
 
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
Validate 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 class dev.morphia.query.MorphiaQuery
 
keys() - Method in interface dev.morphia.query.Query
Execute the query and get the results (as a MorphiaCursor<Key<T>>)
keys(FindOptions) - Method in class dev.morphia.query.LegacyQuery
 
keys(FindOptions) - Method in class dev.morphia.query.MorphiaQuery
 
keys(FindOptions) - Method in interface dev.morphia.query.Query
Execute the query and get the results (as a MorphiaCursor<Key<T>>)
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
Returns the value that results from applying an expression to the last document in a group of documents that share the same group by a field.
latitude(double) - Method in class dev.morphia.geo.PointBuilder
Deprecated.
Add a latitude.
lazy() - Method in annotation type dev.morphia.annotations.Reference
 
LazyFeatureDependencies - Class in dev.morphia.mapping.lazy
A utility class for detecting lazy loading support types
LazyReferenceMissingDependencies - Class in dev.morphia.mapping.validation.fieldrules
 
LazyReferenceMissingDependencies() - Constructor for class dev.morphia.mapping.validation.fieldrules.LazyReferenceMissingDependencies
 
LazyReferenceOnArray - Class in dev.morphia.mapping.validation.fieldrules
 
LazyReferenceOnArray() - Constructor for class dev.morphia.mapping.validation.fieldrules.LazyReferenceOnArray
 
legacy() - Static method in class dev.morphia.mapping.MapperOptions
 
LegacyQuery<T> - Class in dev.morphia.query
Implementation of Query
LegacyQuery(Datastore) - Constructor for class dev.morphia.query.LegacyQuery
Creates a Query for the given type and collection
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
 
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
 
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
 
level() - Method in class dev.morphia.ValidationBuilder
 
level(ValidationLevel) - Method in class dev.morphia.ValidationBuilder
 
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 - 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
Creates a list projection
ListReference<T> - Class in dev.morphia.mapping.experimental
 
ListReference(Datastore, MappedClass, List) - Constructor for class dev.morphia.mapping.experimental.ListReference
 
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(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
 
MapKeyTypeConstraint - Class in dev.morphia.mapping.validation.fieldrules
A constraint to validate key types of Map fields
MapKeyTypeConstraint() - Constructor for class dev.morphia.mapping.validation.fieldrules.MapKeyTypeConstraint
 
mapPackage(String) - Method in class dev.morphia.mapping.Mapper
Tries to map all classes in the package specified.
mapPackageFromClass(Class) - Method in class dev.morphia.mapping.Mapper
Maps all the classes found in the package to which the given class belongs.
MappedClass - Class in dev.morphia.mapping
 
MappedClass(EntityModel, Mapper) - Constructor for class dev.morphia.mapping.MappedClass
Creates a MappedClass instance
MappedField - Class in dev.morphia.mapping
 
mappedName() - Method in class dev.morphia.mapping.codec.pojo.FieldModelBuilder
 
mappedName(String) - Method in class dev.morphia.mapping.codec.pojo.FieldModelBuilder
Sets the field's mapped name
Mapper - Class in dev.morphia.mapping
 
Mapper(Datastore, CodecRegistry, MapperOptions) - Constructor for class dev.morphia.mapping.Mapper
Creates a Mapper with the given options.
MapperOptions - Class in dev.morphia.mapping
Options to control mapping behavior.
MapperOptions.Builder - Class in dev.morphia.mapping
A builder class for setting mapping options
MappingException - Exception in dev.morphia.mapping
An exception indicating an error mapping a type
MappingException(String) - Constructor for exception dev.morphia.mapping.MappingException
Creates an exception with a message
MappingException(String, Throwable) - Constructor for exception dev.morphia.mapping.MappingException
Creates an exception with a message and a cause
MappingValidator - Class in dev.morphia.mapping.validation
Validator for mapped types
MappingValidator(MorphiaInstanceCreator) - Constructor for class dev.morphia.mapping.validation.MappingValidator
Creates a mapping validator
MapReference<T> - Class in dev.morphia.mapping.experimental
 
MapReference(Datastore, Map<String, Object>, MappedClass) - Constructor for class dev.morphia.mapping.experimental.MapReference
 
mapSubPackages(boolean) - Method in class dev.morphia.mapping.MapperOptions.Builder
 
Mark - 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(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(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
Returns the highest value that results from applying an expression to each document in a group of documents that share the same group by key.
max(String, Number) - Method in class dev.morphia.query.UpdateBase
 
max(String, Number) - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
Sets the numeric field to value if it is greater than the current value.
max(String, Number) - Method in class dev.morphia.query.UpdateOpsImpl
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(Document) - Method in class dev.morphia.query.FindOptions
Sets the max index value
MAX - dev.morphia.query.UpdateOperator
 
MAX_KEY - dev.morphia.query.Type
 
maxAwaitTime(long, TimeUnit) - Method in class dev.morphia.query.FindOptions
Sets the max await time
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.FindAndModifyOptions
 
maxTime(long, TimeUnit) - Method in class dev.morphia.query.CountOptions
 
maxTime(long, TimeUnit) - Method in class dev.morphia.query.FindAndDeleteOptions
 
maxTime(long, TimeUnit) - Method in class dev.morphia.query.FindOptions
Sets the max time
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, WriteConcern) - Method in class dev.morphia.DatastoreImpl
 
merge(T, InsertOneOptions) - Method in interface dev.morphia.Datastore
Work as if you did an update with each field in the entity doing a $set; Only at the top level of the entity.
merge(T, InsertOneOptions) - Method in class dev.morphia.DatastoreImpl
 
merge(T, InsertOneOptions) - Method in class dev.morphia.experimental.MorphiaSessionImpl
 
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
 
MergeCodec(Mapper) - Constructor for class dev.morphia.aggregation.experimental.codecs.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
 
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
Specify the meta
Meta(Meta.MetaDataKeyword, String) - Constructor for class dev.morphia.query.Meta
 
META - dev.morphia.aggregation.experimental.stages.Sort.Direction
 
Meta.MetaDataKeyword - Enum in dev.morphia.query
Representing specified metadata keyword
MetaExpression - Class in dev.morphia.aggregation.experimental.expressions.impls
 
MetaExpression() - Constructor for class dev.morphia.aggregation.experimental.expressions.impls.MetaExpression
 
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(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
Returns the lowest value that results from applying an expression to each document in a group of documents that share the same group by key.
min(String, Number) - Method in class dev.morphia.query.UpdateBase
 
min(String, Number) - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
sets the numeric field to value if it is less than the current value.
min(String, Number) - Method in class dev.morphia.query.UpdateOpsImpl
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(Document) - Method in class dev.morphia.query.FindOptions
Sets the min index value
MIN - dev.morphia.query.UpdateOperator
 
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.
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
 
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
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.
 
modify() - Method in class dev.morphia.query.LegacyQuery
 
modify() - Method in class dev.morphia.query.MorphiaQuery
 
modify() - 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
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, MappedClass, 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
Applies certain conventions specific for Morphia
MorphiaDefaultsConvention - Class in dev.morphia.mapping
A set of conventions to apply to Morphia entities
MorphiaDefaultsConvention() - Constructor for class dev.morphia.mapping.MorphiaDefaultsConvention
 
MorphiaInstanceCreator<T> - Interface in dev.morphia.mapping.codec
Marker interface for creators
MorphiaPropertySerialization - Class in dev.morphia.mapping.codec
Determines if a property should be serialized or not
MorphiaPropertySerialization(MapperOptions, FieldModelBuilder<?>) - Constructor for class dev.morphia.mapping.codec.MorphiaPropertySerialization
 
MorphiaProxy - Interface in dev.morphia.mapping.codec.references
 
MorphiaQuery<T> - Class in dev.morphia.query
 
MorphiaQuery(Datastore) - Constructor for class dev.morphia.query.MorphiaQuery
 
MorphiaQuery(Datastore, Class<T>, Document) - Constructor for class dev.morphia.query.MorphiaQuery
 
MorphiaQuery(Datastore, String, Class<T>) - Constructor for class dev.morphia.query.MorphiaQuery
 
MorphiaQueryCodec - Class in dev.morphia.mapping.codec
Defines a codec for Query instances
MorphiaQueryCodec(Mapper) - Constructor for class dev.morphia.mapping.codec.MorphiaQueryCodec
Creates a codec
MorphiaReference<T> - Class in dev.morphia.mapping.experimental
Wrapper type for references to entities in other collections
MorphiaReferenceCodec - Class in dev.morphia.mapping.experimental
Defines a codec for MorphiaReference values
MorphiaReferenceCodec(Datastore, Field, TypeData) - Constructor for class dev.morphia.mapping.experimental.MorphiaReferenceCodec
Creates a codec
MorphiaSession - Interface in dev.morphia.experimental
Wraps a ClientSession reference for convenient use of MongoDB's multidocument transaction support.
MorphiaSessionImpl - Class in dev.morphia.experimental
 
MorphiaSessionImpl(ClientSession, MongoClient, MongoDatabase, Mapper, QueryFactory) - Constructor for class dev.morphia.experimental.MorphiaSessionImpl
Creates a new session.
MorphiaTransaction<T> - Interface in dev.morphia.transactions.experimental
Defines the functional interface for executing statements within a transaction.
MorphiaTypesCodecProvider - Class in dev.morphia.mapping.codec
Defines a provider of codecs for Morphia's types
MorphiaTypesCodecProvider(Mapper) - Constructor for class dev.morphia.mapping.codec.MorphiaTypesCodecProvider
Create the provider
multi(boolean) - Method in class dev.morphia.DeleteOptions
 
multi(boolean) - Method in class dev.morphia.UpdateOptions
If true, sets this update to affect all matched documents.
MULTI_LINE_STRING - dev.morphia.geo.GeoJsonType
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
 
MultipleId() - Constructor for class dev.morphia.mapping.validation.classrules.MultipleId
 
MultipleVersions - Class in dev.morphia.mapping.validation.classrules
 
MultipleVersions() - Constructor for class dev.morphia.mapping.validation.classrules.MultipleVersions
 
multiply(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
Creates a multiplication projection
multiPoint(Point...) - Static method in class dev.morphia.geo.GeoJson
Deprecated.
Create a new MultiPoint representing a GeoJSON MultiPoint type.
MultiPoint - Class in dev.morphia.geo
Deprecated, for removal: This API element is subject to removal in a future version.
use the driver-provided types instead
multiPolygon(Polygon...) - Static method in class dev.morphia.geo.GeoJson
Deprecated.
Create a new MultiPolygon representing a GeoJSON MultiPolygon type.
MultiPolygon - Class in dev.morphia.geo
Deprecated, for removal: This API element is subject to removal in a future version.
use the driver-provided types instead

N

name() - Method in annotation type dev.morphia.annotations.IndexOptions
 
Name - Annotation Type in dev.morphia.annotations.experimental
Defines a name for a constructor parameter.
NAME - dev.morphia.geo.CoordinateReferenceSystemType
Deprecated.
A coordinate reference system that is specified by name
NamedCoordinateReferenceSystem - Class in dev.morphia.geo
Deprecated, for removal: This API element is subject to removal in a future version.
use the driver-provided types instead
NamedCoordinateReferenceSystemConverter - Class in dev.morphia.geo
Deprecated, for removal: This API element is subject to removal in a future version.
use the driver-provided types instead
NamedCoordinateReferenceSystemConverter() - Constructor for class dev.morphia.geo.NamedCoordinateReferenceSystemConverter
Deprecated.
 
NamingStrategy - Class in dev.morphia.mapping
Defines a naming strategy for use, e.g., in naming collections and fields
NamingStrategy() - Constructor for class dev.morphia.mapping.NamingStrategy
 
naturalAscending() - Static method in class dev.morphia.query.Sort
Creates an ascending sort on a field
naturalDescending() - Static method in class dev.morphia.query.Sort
Creates a descending natural sort on a field
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
 
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
 
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
 
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
 
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
 
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
 
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
 
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
 
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.
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<E> - Class in dev.morphia.mapping
 
NoArgCreator(Constructor<E>) - Constructor for class dev.morphia.mapping.NoArgCreator
Creates the creator
noCursorTimeout(boolean) - Method in class dev.morphia.query.FindOptions
Sets whether to disable cursor time out
NoId - Class in dev.morphia.mapping.validation.classrules
 
NoId() - Constructor for class dev.morphia.mapping.validation.classrules.NoId
 
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.FieldModel
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
Negates the criteria applied to the field
not() - Method in class dev.morphia.query.FieldEndImpl
 
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
 
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
 
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
 
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(MorphiaInstanceCreator) - Method in class dev.morphia.mapping.MapperOptions.Builder
 
ObjectFactory - Interface in dev.morphia
The ObjectFactory is used by morphia to create instances of classes which can be customized to fit a particular applications needs.
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
Creates a new AddFields stage to bind field
of() - Static method in class dev.morphia.aggregation.experimental.stages.AutoBucket
Creates a new auto bucket
of() - Static method in class dev.morphia.aggregation.experimental.stages.Bucket
Creates a new bucket stage
of() - Static method in class dev.morphia.aggregation.experimental.stages.CurrentOp
Creates a new stage
of() - Static method in class dev.morphia.aggregation.experimental.stages.Facet
Creates a new facet stage
of() - Static method in class dev.morphia.aggregation.experimental.stages.Group
Creates a group stage with no ID definition
of() - Static method in class dev.morphia.aggregation.experimental.stages.IndexStats
Creates the new stage.
of() - Static method in class dev.morphia.aggregation.experimental.stages.PlanCacheStats
Creates the new stage
of() - Static method in class dev.morphia.aggregation.experimental.stages.Projection
Creates a new stage
of(long) - Static method in class dev.morphia.aggregation.experimental.stages.Limit
Creates the new stage.
of(long) - Static method in class dev.morphia.aggregation.experimental.stages.Sample
Creates a new stage with the given sample size.
of(long) - Static method in class dev.morphia.aggregation.experimental.stages.Skip
Creates a new stage with the given skip size
of(Group.GroupId) - Static method in class dev.morphia.aggregation.experimental.stages.Group
Creates a group stage with an ID definition
on() - Static method in class dev.morphia.aggregation.experimental.stages.Sort
Creates a sort stage.
on(Expression) - Static method in class dev.morphia.aggregation.experimental.stages.Redact
Creates a redaction stage with the given expression
on(Expression) - Static method in class dev.morphia.aggregation.experimental.stages.SortByCount
Creates a new stage grouping by the given expression.
on(Filter...) - Static method in class dev.morphia.aggregation.experimental.stages.Match
Creates the new stage using the filters for matching
on(String) - Static method in class dev.morphia.aggregation.experimental.stages.Unwind
Creates a stage with the named array field
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
 
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
 
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 - dev.morphia.query.CriteriaJoin
 
order(Meta) - Method in class dev.morphia.query.LegacyQuery
 
order(Meta) - Method in interface dev.morphia.query.Query
Deprecated, for removal: This API element is subject to removal in a future version.
order(Sort...) - Method in class dev.morphia.query.LegacyQuery
 
order(Sort...) - Method in interface dev.morphia.query.Query
Deprecated, for removal: This API element is subject to removal in a future version.
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
Define output field for the bucketauto stage
output(String) - Method in class dev.morphia.query.BucketOptions
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
Creates the output operation for given fieldname
OutputOperation(String) - Constructor for class dev.morphia.query.BucketOptions.OutputOperation
Creates the output operation for given fieldname

P

partial(boolean) - Method in class dev.morphia.query.FindOptions
Get partial results from a sharded cluster if one or more shards are unreachable (instead of throwing an error).
partialFilter() - Method in annotation type dev.morphia.annotations.IndexOptions
 
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.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 - 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 - dev.morphia.query.UpdateOperator
 
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
 
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.
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(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.LegacyQuery
 
project(Meta) - Method in class dev.morphia.query.Projection
Adds a metadata field to a projection.
project(Meta) - Method in interface dev.morphia.query.Query
Deprecated, for removal: This API element is subject to removal in a future version.
project(String, boolean) - Method in class dev.morphia.query.LegacyQuery
 
project(String, boolean) - Method in interface dev.morphia.query.Query
Deprecated, for removal: This API element is subject to removal in a future version.
project(String, ArraySlice) - Method in class dev.morphia.query.LegacyQuery
 
project(String, ArraySlice) - Method in class dev.morphia.query.Projection
Adds an sliced array field to a projection.
project(String, ArraySlice) - Method in interface dev.morphia.query.Query
Deprecated, for removal: This API element is subject to removal in a future version.
projection() - Method in class dev.morphia.query.FindOptions
 
projection(String) - Static method in class dev.morphia.aggregation.Projection
Creates a projection on a field
projection(String, Projection, Projection...) - Static method in class dev.morphia.aggregation.Projection
Creates a projection on a field with subsequent projects applied.
projection(String, String) - Static method in class dev.morphia.aggregation.Projection
Creates a projection on a field and renames it
projection(Bson) - Method in class dev.morphia.FindAndModifyOptions
 
projection(Bson) - Method in class dev.morphia.query.FindAndDeleteOptions
 
Projection - Class in dev.morphia.aggregation.experimental.stages
Passes along the documents with the requested fields to the next stage in the pipeline.
Projection - Class in dev.morphia.aggregation
Defines a projection for use in aggregation
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
PropertyCodec<T> - Class in dev.morphia.mapping.codec
Defines codecs for properties
PropertyCodec(Datastore, Field, TypeData) - Constructor for class dev.morphia.mapping.codec.PropertyCodec
Creates a codec
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
PropertyHandler - Interface in dev.morphia.mapping.codec.pojo
 
PRUNE - Static variable in class dev.morphia.aggregation.experimental.expressions.SystemVariables
One of the allowed results of a $redact expression.
pull(String, Object) - Method in class dev.morphia.query.UpdateBase
 
pull(String, Object) - Method in interface dev.morphia.query.Updates
removes the value from the array field
PULL - dev.morphia.query.UpdateOperator
 
PULL_ALL - dev.morphia.query.UpdateOperator
 
pullAll(String, List<?>) - Method in class dev.morphia.query.UpdateBase
 
pullAll(String, List<?>) - Method in interface dev.morphia.query.Updates
removes the values from the array field
push() - 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
Returns an array of all values that result from applying an expression to each document in a group of documents that share the same group by key.
push(String, Object) - Method in class dev.morphia.query.UpdateBase
 
push(String, Object) - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
Adds new values to an array field.
push(String, Object) - Method in class dev.morphia.query.UpdateOpsImpl
Deprecated.
 
push(String, Object) - Method in interface dev.morphia.query.Updates
Adds new values to an array field.
push(String, Object, PushOptions) - Method in class dev.morphia.query.UpdateBase
 
push(String, Object, PushOptions) - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
Adds new values to an array field at the given position
push(String, Object, PushOptions) - Method in class dev.morphia.query.UpdateOpsImpl
Deprecated.
 
push(String, Object, PushOptions) - Method in interface dev.morphia.query.Updates
Adds new values to an array field at the given position
push(String, List<?>) - Method in class dev.morphia.query.UpdateBase
 
push(String, List<?>) - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
Adds new values to an array field.
push(String, List<?>) - Method in class dev.morphia.query.UpdateOpsImpl
Deprecated.
 
push(String, List<?>) - Method in interface dev.morphia.query.Updates
Adds new values to an array field.
push(String, List<?>, PushOptions) - Method in class dev.morphia.query.UpdateBase
 
push(String, List<?>, PushOptions) - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
Adds new values to an array field at the given position
push(String, List<?>, PushOptions) - Method in class dev.morphia.query.UpdateOpsImpl
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
 
PUSH - dev.morphia.query.UpdateOperator
 
PUSH_ALL - dev.morphia.query.UpdateOperator
 
PushOptions - Class in dev.morphia.query
The options to apply to a $push update operator.
PushOptions() - Constructor for class dev.morphia.query.PushOptions
Creates an empty options class

Q

query(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
 
R20 - dev.morphia.query.BucketAutoOptions.Granularity
 
R40 - dev.morphia.query.BucketAutoOptions.Granularity
 
R5 - dev.morphia.query.BucketAutoOptions.Granularity
 
R80 - dev.morphia.query.BucketAutoOptions.Granularity
 
radiansToDegrees(Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.TrigonometryExpressions
Converts a value from radians to degrees.
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 class dev.morphia.query.CountOptions
Sets the readConcern
readDateTime() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readDateTime(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readDBPointer() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readDBPointer(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readDecimal128() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readDecimal128(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readDouble() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readDouble(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readEndArray() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readEndDocument() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readInt32() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readInt32(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readInt64() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readInt64(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readJavaScript() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readJavaScript(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readJavaScriptWithScope() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readJavaScriptWithScope(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readMaxKey() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readMaxKey(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readMinKey() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readMinKey(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readName() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readName(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readNull() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readNull(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readObjectId() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readObjectId(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readPreference() - Method in class dev.morphia.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 class dev.morphia.query.CountOptions
Sets the readPreference
readPreference(ReadPreference) - Method in class dev.morphia.query.FindOptions
Sets the read preference to apply
readRegularExpression() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readRegularExpression(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readStartArray() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readStartDocument() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readString() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readString(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readSymbol() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readSymbol(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readTimestamp() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readTimestamp(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readUndefined() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
readUndefined(String) - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
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, Field, TypeData) - Constructor for class dev.morphia.mapping.codec.references.ReferenceCodec
Creates a codec
ReferenceException - Exception in dev.morphia.mapping.lazy.proxy
An exception for use with references.
ReferenceException(String) - Constructor for exception dev.morphia.mapping.lazy.proxy.ReferenceException
Creates a ReferenceException with the given message
ReferenceProxy - Class in dev.morphia.mapping.codec.references
The proxy for lazy references.
ReferenceToUnidentifiable - Class in dev.morphia.mapping.validation.fieldrules
 
ReferenceToUnidentifiable() - Constructor for class dev.morphia.mapping.validation.fieldrules.ReferenceToUnidentifiable
 
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 interface dev.morphia.query.Query
Deletes elements matching this query
remove(DeleteOptions) - Method in class dev.morphia.query.LegacyQuery
 
remove(DeleteOptions) - Method in class dev.morphia.query.MorphiaQuery
 
remove(DeleteOptions) - Method in interface dev.morphia.query.Query
Deletes documents matching this query.
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.UpdateBase
 
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(String) - Method in class dev.morphia.query.UpdateBase
 
removeFirst(String) - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
removes the first value from the array
removeFirst(String) - Method in class dev.morphia.query.UpdateOpsImpl
Deprecated.
 
removeFirst(String) - Method in interface dev.morphia.query.Updates
removes the first value from the array
removeLast(String) - Method in class dev.morphia.query.UpdateBase
 
removeLast(String) - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
removes the last value from the array
removeLast(String) - Method in class dev.morphia.query.UpdateOpsImpl
Deprecated.
 
removeLast(String) - Method in interface dev.morphia.query.Updates
removes the last value from the array
render() - Method in class dev.morphia.mapping.validation.ConstraintViolation
 
replacement(Expression) - Method in class dev.morphia.aggregation.experimental.expressions.impls.IfNull
 
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(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.FindAndModifyOptions
 
returnKey(boolean) - Method in class dev.morphia.query.FindOptions
Sets if only the key value should be returned
reverseArray(Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.ArrayExpressions
Returns an array with the elements in reverse order.
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 - 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
 
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.
saveDocument(T, MongoCollection<T>, InsertOneOptions) - Method in class dev.morphia.DatastoreImpl
 
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 class dev.morphia.query.MorphiaQuery
 
search(String) - Method in interface dev.morphia.query.Query
Perform a text search on the content of the fields indexed with a text index..
search(String, String) - Method in class dev.morphia.query.LegacyQuery
 
search(String, String) - Method in class dev.morphia.query.MorphiaQuery
 
search(String, String) - Method in interface dev.morphia.query.Query
Perform a text search on the content of the fields indexed with a text index..
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(PropertySerialization<T>) - Method in class dev.morphia.mapping.codec.pojo.FieldModelBuilder
Sets the PropertySerialization checker
set(AddFields) - Method in interface dev.morphia.aggregation.experimental.Aggregation
Adds new fields to documents.
set(F, FieldModel<F>) - Method in interface dev.morphia.mapping.codec.InstanceCreator
Sets a value for the given FieldModel
set(Object) - Method in class dev.morphia.query.UpdateBase
 
set(Object) - Method in interface dev.morphia.query.Updates
sets the entity value to completely replace the stored document
set(Object, Object) - Method in class dev.morphia.mapping.codec.ArrayFieldAccessor
 
set(Object, Object) - Method in class dev.morphia.mapping.codec.FieldAccessor
 
set(String, Object) - Method in class dev.morphia.query.UpdateBase
 
set(String, Object) - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
sets the field value
set(String, Object) - Method in class dev.morphia.query.UpdateOpsImpl
Deprecated.
 
set(String, Object) - Method in interface dev.morphia.query.Updates
sets the field value
set(S, FieldModel<S>) - Method in class dev.morphia.mapping.experimental.ConstructorCreator
 
set(S, FieldModel<S>) - Method in class dev.morphia.mapping.NoArgCreator
 
SET - dev.morphia.query.UpdateOperator
 
SET_ON_INSERT - dev.morphia.query.UpdateOperator
 
setCollection(String) - Method in class dev.morphia.Key
Deprecated.
Sets the collection name.
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.
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
setFieldValue(Object, Object) - Method in class dev.morphia.mapping.MappedField
Sets the value for the java field
setIncludeLocations(String) - Method in class dev.morphia.aggregation.GeoNear.GeoNearBuilder
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 class dev.morphia.query.UpdateBase
 
setOnInsert(String, Object) - Method in interface dev.morphia.query.UpdateOperations
Deprecated.
sets the field on insert.
setOnInsert(String, Object) - Method in class dev.morphia.query.UpdateOpsImpl
Deprecated.
 
setOnInsert(String, Object) - Method in interface dev.morphia.query.Updates
sets the field on insert.
setOps(Document) - Method in class dev.morphia.query.UpdateOpsImpl
Deprecated.
Sets the operations for this UpdateOpsImpl
setOptions(MapperOptions) - Method in class dev.morphia.mapping.Mapper
Deprecated, for removal: This API element is subject to removal in a future version.
no longer used
setPinnedServerAddress(ServerAddress) - Method in class dev.morphia.experimental.BaseMorphiaSession
 
setQuery(LegacyQuery<?>) - Method in class dev.morphia.query.CriteriaContainerImpl
Deprecated.
Sets the Query for this CriteriaContainer
setQuery(Query) - Method in class dev.morphia.aggregation.GeoNear.GeoNearBuilder
Deprecated.
Limits the results to the documents that match the query.
setQueryFactory(QueryFactory) - Method in interface dev.morphia.Datastore
Replaces the current QueryFactory with the given value.
setQueryFactory(QueryFactory) - Method in class dev.morphia.DatastoreImpl
 
setQueryObject(Document) - Method in class dev.morphia.query.LegacyQuery
Sets query structure directly
setRecoveryToken(BsonDocument) - Method in class dev.morphia.experimental.BaseMorphiaSession
 
SetReference<T> - Class in dev.morphia.mapping.experimental
 
SetReference(Datastore, MappedClass, List) - Constructor for class dev.morphia.mapping.experimental.SetReference
 
setSpherical(Boolean) - Method in class dev.morphia.aggregation.GeoNear.GeoNearBuilder
Deprecated.
If true, MongoDB references points using a spherical surface.
setType(Class<? extends T>) - Method in class dev.morphia.Key
Deprecated.
Sets the type of the entity for this Key
setUnion(Expression, Expression...) - Static method in class dev.morphia.aggregation.experimental.expressions.SetExpressions
Returns a set with elements that appear in any of the input sets.
SEVERE - dev.morphia.mapping.validation.ConstraintViolation.Level
 
Shape - Class in dev.morphia.query
Deprecated, for removal: This API element is subject to removal in a future version.
use the driver provide facilities instead.
Shape.Center - Class in dev.morphia.query
Deprecated.
 
shouldSerialize(Object) - Method in class dev.morphia.mapping.codec.MorphiaPropertySerialization
 
shouldSerialize(T) - Method in class dev.morphia.mapping.codec.pojo.FieldModel
Checks a value against the configured rules for serialization
showRecordId(boolean) - Method in class dev.morphia.query.FindOptions
Sets if the record ID should be returned
simpleName() - Static method in class dev.morphia.mapping.DiscriminatorFunction
Defines a function to use the simple class name for the discriminator value
sin(Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.TrigonometryExpressions
Returns the sine of a value that is measured in radians.
single(Expression) - Method in class dev.morphia.aggregation.experimental.expressions.impls.Push
 
SingleReference<T> - Class in dev.morphia.mapping.experimental
 
SingleReference(Datastore, MappedClass, Object) - Constructor for class dev.morphia.mapping.experimental.SingleReference
 
size() - Method in class dev.morphia.aggregation.experimental.expressions.impls.Fields
 
size(Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.ArrayExpressions
Counts and returns the total number of items in an array.
size(Object) - Static method in class dev.morphia.aggregation.Projection
Counts and returns the total the number of items in an array
size(String, int) - Static method in class dev.morphia.query.experimental.filters.Filters
Selects documents if the array field is a specified size.
SIZE - dev.morphia.query.FilterOperator
Deprecated.
 
sizeEq(int) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
sizeEq(int) - Method in class dev.morphia.query.FieldEndImpl
 
skip(int) - Method in interface dev.morphia.aggregation.AggregationPipeline
Deprecated.
Skips the first n documents where n is the specified skip number and passes the remaining documents unmodified to the pipeline.
skip(int) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
Deprecated.
 
skip(int) - Method in class dev.morphia.query.CountOptions
 
skip(int) - Method in class dev.morphia.query.FindOptions
Sets how many documents to skip
skip(long) - Method in interface dev.morphia.aggregation.experimental.Aggregation
Skips over the specified number of documents that pass into the stage and passes the remaining documents to the next stage in the pipeline.
skip(long) - Method in class dev.morphia.aggregation.experimental.AggregationImpl
 
Skip - Class in dev.morphia.aggregation.experimental.stages
Randomly selects the specified number of documents from its input.
Skip(long) - Constructor for class dev.morphia.aggregation.experimental.stages.Skip
 
SkipCodec - Class in dev.morphia.aggregation.experimental.codecs.stages
 
SkipCodec(Mapper) - Constructor for class dev.morphia.aggregation.experimental.codecs.stages.SkipCodec
 
skipName() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
skipValue() - Method in class dev.morphia.mapping.codec.reader.DocumentReader
 
slice(int) - Method in class dev.morphia.query.PushOptions
Sets the slice value for the update
slice(Expression, int) - Static method in class dev.morphia.aggregation.experimental.expressions.ArrayExpressions
Returns a subset of an array.
SliceExpression - Class in dev.morphia.aggregation.experimental.expressions.impls
 
SliceExpression(Expression, int) - Constructor for class dev.morphia.aggregation.experimental.expressions.impls.SliceExpression
 
snakeCase() - Static method in class dev.morphia.mapping.NamingStrategy
Defines a naming strategy that returns snake case of the value passed
sort(int) - Method in class dev.morphia.query.PushOptions
Sets the sort value for the update
sort(Sort) - Method in interface dev.morphia.aggregation.experimental.Aggregation
Sorts all input documents and returns them to the pipeline in sorted order.
sort(Sort) - Method in class dev.morphia.aggregation.experimental.AggregationImpl
 
sort(Meta) - Method in class dev.morphia.query.FindOptions
Sets to the sort to use
sort(Sort...) - Method in interface dev.morphia.aggregation.AggregationPipeline
Deprecated.
Reorders the document stream by a specified sort key.
sort(Sort...) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
Deprecated.
 
sort(Sort...) - Method in class dev.morphia.query.FindOptions
Sets to the sort to use
sort(String, int) - Method in class dev.morphia.query.PushOptions
Sets the sort value for the update
sort(Bson) - Method in class dev.morphia.FindAndModifyOptions
 
sort(Bson) - Method in class dev.morphia.query.FindAndDeleteOptions
 
sort(Document) - Method in class dev.morphia.query.FindAndDeleteOptions
 
sort(Document) - Method in class dev.morphia.query.FindOptions
Sets to the sort to use
Sort - Class in dev.morphia.aggregation.experimental.stages
Sorts all input documents and returns them to the pipeline in sorted order.
Sort - Class in dev.morphia.query
Used for sorting query results or defining a sort stage in an aggregation pipeline
Sort() - Constructor for class dev.morphia.aggregation.experimental.stages.Sort
 
Sort(String, int) - Constructor for class dev.morphia.query.Sort
Creates a sort on a field with a direction.
Sort.Direction - Enum in dev.morphia.aggregation.experimental.stages
The sort types
Sort.SortType - Class in dev.morphia.aggregation.experimental.stages
 
sortByCount(Expression) - Method in interface dev.morphia.aggregation.experimental.Aggregation
Groups incoming documents based on the value of a specified expression, then computes the count of documents in each distinct group.
sortByCount(Expression) - Method in class dev.morphia.aggregation.experimental.AggregationImpl
 
sortByCount(String) - Method in interface dev.morphia.aggregation.AggregationPipeline
Deprecated.
Groups incoming documents based on the value of a specified expression, then computes the count of documents in each distinct group.
sortByCount(String) - Method in class dev.morphia.aggregation.AggregationPipelineImpl
Deprecated.
 
SortByCount - Class in dev.morphia.aggregation.experimental.stages
Groups incoming documents based on the value of a specified expression, then computes the count of documents in each distinct group.
SortByCount(Expression) - Constructor for class dev.morphia.aggregation.experimental.stages.SortByCount
 
SortByCountCodec - Class in dev.morphia.aggregation.experimental.codecs.stages
 
SortByCountCodec(Mapper) - Constructor for class dev.morphia.aggregation.experimental.codecs.stages.SortByCountCodec
 
SortCodec - Class in dev.morphia.aggregation.experimental.codecs.stages
 
SortCodec(Mapper) - Constructor for class dev.morphia.aggregation.experimental.codecs.stages.SortCodec
 
SortType(String, Sort.Direction) - Constructor for class dev.morphia.aggregation.experimental.stages.Sort.SortType
 
sparse() - Method in annotation type dev.morphia.annotations.IndexOptions
 
special() - Method in class dev.morphia.query.experimental.filters.RegexFilter
Allows the dot character (i.e.
spherical(Boolean) - Method in class dev.morphia.aggregation.experimental.stages.GeoNear
Optional.
split(Expression, Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.StringExpressions
Splits a string into substrings based on a delimiter.
spliterator() - Method in interface dev.morphia.query.Query
 
sqrt(Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.MathExpressions
Calculates the square root.
Stage - Class in dev.morphia.aggregation.experimental.stages
Base type for stages.
Stage(String) - Constructor for class dev.morphia.aggregation.experimental.stages.Stage
 
StageCodec<T extends Stage> - Class in dev.morphia.aggregation.experimental.codecs.stages
 
StageCodec(Mapper) - Constructor for class dev.morphia.aggregation.experimental.codecs.stages.StageCodec
 
start(int) - Method in class dev.morphia.aggregation.experimental.expressions.impls.IndexExpression
Sets the start boundary for searching
start(Integer) - Method in class dev.morphia.aggregation.experimental.expressions.impls.ArrayIndexExpression
The starting index
startSession() - Method in interface dev.morphia.Datastore
Starts a new session on the server.
startSession() - Method in class dev.morphia.DatastoreImpl
 
startSession(ClientSessionOptions) - Method in interface dev.morphia.Datastore
Starts a new session on the server.
startSession(ClientSessionOptions) - Method in class dev.morphia.DatastoreImpl
 
startsWith(String) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
startsWith(String) - Method in class dev.morphia.query.FieldEndImpl
 
startsWithIgnoreCase(String) - Method in interface dev.morphia.query.FieldEnd
Deprecated, for removal: This API element is subject to removal in a future version.
startsWithIgnoreCase(String) - Method in class dev.morphia.query.FieldEndImpl
 
startTransaction() - Method in class dev.morphia.experimental.BaseMorphiaSession
 
startTransaction(TransactionOptions) - Method in class dev.morphia.experimental.BaseMorphiaSession
 
startWith(Expression) - Method in class dev.morphia.aggregation.experimental.stages.GraphLookup
Expression that specifies the value of the connectFromField with which to start the recursive search.
stdDevPop(Expression, Expression...) - Static method in class dev.morphia.aggregation.experimental.expressions.AccumulatorExpressions
Returns the population standard deviation of the input values.
stdDevSamp(Expression, Expression...) - Static method in class dev.morphia.aggregation.experimental.expressions.AccumulatorExpressions
Returns the sample standard deviation of the input values.
step(Integer) - Method in class dev.morphia.aggregation.experimental.expressions.impls.RangeExpression
 
storeEmpties(boolean) - Method in class dev.morphia.mapping.MapperOptions.Builder
 
storeNulls(boolean) - Method in class dev.morphia.mapping.MapperOptions.Builder
 
strcasecmp(Expression, Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.StringExpressions
Performs case-insensitive string comparison and returns: 0 if two strings are equivalent, 1 if the first string is greater than the second, and -1 if the first string is less than the second.
strength() - Method in annotation type dev.morphia.annotations.Collation
 
STRING - dev.morphia.aggregation.experimental.expressions.impls.ConvertType
 
STRING - dev.morphia.query.Type
 
StringExpressions - Class in dev.morphia.aggregation.experimental.expressions
Defines helper methods for the string expressions
strLenBytes(Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.StringExpressions
Returns the number of UTF-8 encoded bytes in a string.
strLenCP(Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.StringExpressions
Returns the number of UTF-8 code points in a string.
substr(Expression, int, int) - Static method in class dev.morphia.aggregation.experimental.expressions.StringExpressions
substrBytes(Expression, int, int) - Static method in class dev.morphia.aggregation.experimental.expressions.StringExpressions
Returns the substring of a string.
substrCP(Expression, int, int) - Static method in class dev.morphia.aggregation.experimental.expressions.StringExpressions
Returns the substring of a string.
subtract(Expression, Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.MathExpressions
Returns the result of subtracting the second value from the first.
subtract(Object, Object) - Static method in class dev.morphia.aggregation.Projection
Creates a subtraction projection
sum(Expression, Expression...) - Static method in class dev.morphia.aggregation.experimental.expressions.AccumulatorExpressions
Calculates and returns the sum of numeric values.
sum(Object) - Method in class dev.morphia.query.BucketAutoOptions.OutputOperation
Calculates and returns the sum of all the numeric values that result from applying a specified expression to each document in a group of documents that share the same group by key.
sum(Object) - Method in class dev.morphia.query.BucketOptions.OutputOperation
Calculates and returns the sum of all the numeric values that result from applying a specified expression to each document in a group of documents that share the same group by key.
sum(String) - Static method in class dev.morphia.aggregation.Group
Calculates and returns the sum of all the numeric values that result from applying a specified expression to each document in a group of documents that share the same group by key.
suppress() - Method in class dev.morphia.aggregation.Projection
Marks this field to be suppressed from the output of this stage
suppressId() - Method in class dev.morphia.aggregation.experimental.stages.Projection
Suppresses the _id field in the resulting document.
switchExpression() - Static method in class dev.morphia.aggregation.experimental.expressions.ConditionalExpressions
Evaluates a series of case expressions.
SwitchExpression - Class in dev.morphia.aggregation.experimental.expressions.impls
Evaluates a series of case expressions.
SwitchExpression() - Constructor for class dev.morphia.aggregation.experimental.expressions.impls.SwitchExpression
 
SYMBOL - dev.morphia.query.Type
 
SystemVariables - Class in dev.morphia.aggregation.experimental.expressions
Defines helper fields for referencing system variables

T

tan(Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.TrigonometryExpressions
Returns the tangent of a value that is measured in radians.
target(Expression) - Method in class dev.morphia.aggregation.experimental.expressions.impls.IfNull
 
text(String) - Static method in class dev.morphia.query.experimental.filters.Filters
Performs text search.
Text - Annotation Type in dev.morphia.annotations
Marks this field for inclusion in text indexing.
textScore - dev.morphia.query.Meta.MetaDataKeyword
 
textScore() - Static method in class dev.morphia.query.Meta
factory method for textScore metaDataKeyword
textScore(String) - Static method in class dev.morphia.query.Meta
 
TextSearchFilter - Class in dev.morphia.query.experimental.filters
Defines a text search filter
TextSearchFilter(String) - Constructor for class dev.morphia.query.experimental.filters.TextSearchFilter
 
TIMESTAMP - dev.morphia.query.Type
 
timezone(Expression) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateFromParts
Can be any expression that evaluates to a string whose value is either: an Olson Timezone Identifier, such as "Europe/London" or "America/New_York", or a UTC offset in the form: +/-[hh]:[mm], e.g.
timezone(Expression) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateToParts
The optional timezone to use to format the date.
timezone(Expression) - Method in class dev.morphia.aggregation.experimental.expressions.impls.IsoDates
The optional timezone to use to format the date.
timezone(String) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateFromParts
Can be any string whose value is either: an Olson Timezone Identifier, such as "Europe/London" or "America/New_York", or a UTC offset in the form: +/-[hh]:[mm], e.g.
timeZone(Expression) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateFromString
 
timeZone(Expression) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateToString
 
timeZone(String) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateFromString
 
timeZone(String) - Method in class dev.morphia.aggregation.experimental.expressions.impls.DateToString
 
to(double[]) - Static method in class dev.morphia.aggregation.experimental.stages.GeoNear
Creates a new geoNear stage
to(Point) - Static method in class dev.morphia.aggregation.experimental.stages.GeoNear
Creates a new geoNear stage
to(Class<O>) - Static method in class dev.morphia.aggregation.experimental.stages.Out
Creates a $out stage with target type/collection
to(String) - Static method in class dev.morphia.aggregation.experimental.stages.Out
Creates a $out stage with target collection
toBool(Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.TypeExpressions
Converts value to a boolean.
toBsonDocument(Class<TDocument>, CodecRegistry) - Method in class dev.morphia.UpdateDocument
 
toDate(Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.DateExpressions
Converts a value to a date.
toDate(Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.TypeExpressions
Converts value to a Date.
toDecimal(Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.TypeExpressions
Converts value to a Decimal128.
toDocument() - Method in class dev.morphia.aggregation.Accumulator
 
toDocument() - Method in class dev.morphia.query.BucketAutoOptions
Converts a BucketAutoOptions to a Document for use by the Java driver.
toDocument() - Method in class dev.morphia.query.BucketOptions
Converts a BucketOptions to a Document for use by the Java driver.
toDocument() - Method in interface dev.morphia.query.Criteria
Deprecated.
 
toDocument() - Method in class dev.morphia.query.CriteriaContainerImpl
Deprecated.
 
toDocument() - Method in class dev.morphia.query.LegacyQuery
Converts the query to a Document and updates for any discriminator values as my be necessary
toDocument() - Method in class dev.morphia.query.MorphiaQuery
Converts the query to a Document and updates for any discriminator values as my be necessary
toDocument() - Method in interface dev.morphia.query.Query
 
toDocument() - Method in class dev.morphia.query.UpdateBase
 
toDocument() - Method in class dev.morphia.query.WhereCriteria
Deprecated.
 
toDocument(Object) - Method in class dev.morphia.mapping.Mapper
Converts an entity (POJO) to a Document.
toDouble(Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.TypeExpressions
Converts value to a double.
toInt(Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.TypeExpressions
Converts value to an integer.
toLong(Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.TypeExpressions
Converts value to a long.
toLower(Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.StringExpressions
Converts a string to lowercase.
toMongoObjects(MappedField, List<?>) - Method in class dev.morphia.query.UpdateOpsImpl
Deprecated.
 
toObjectId(Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.TypeExpressions
Converts value to an ObjectId.
toString() - Method in class dev.morphia.aggregation.AggregationPipelineImpl
Deprecated.
 
toString() - Method in class dev.morphia.aggregation.experimental.expressions.impls.Expression
 
toString() - Method in class dev.morphia.aggregation.Projection
 
toString() - Method in class dev.morphia.geo.GeometryCollection
Deprecated.
 
toString() - Method in class dev.morphia.geo.LineString
Deprecated.
 
toString() - Method in class dev.morphia.geo.MultiLineString
Deprecated.
 
toString() - Method in class dev.morphia.geo.MultiPoint
Deprecated.
 
toString() - Method in class dev.morphia.geo.MultiPolygon
Deprecated.
 
toString() - Method in class dev.morphia.geo.NamedCoordinateReferenceSystem
Deprecated.
 
toString() - Method in class dev.morphia.geo.Point
Deprecated.
 
toString() - Method in class dev.morphia.geo.Polygon
Deprecated.
 
toString() - Method in class dev.morphia.Key
Deprecated.
 
toString() - Method in class dev.morphia.mapping.codec.DocumentWriter
 
toString() - Method in class dev.morphia.mapping.codec.pojo.EntityModel
 
toString() - Method in class dev.morphia.mapping.codec.pojo.FieldModel
 
toString() - Method in class dev.morphia.mapping.codec.pojo.FieldModelBuilder
 
toString() - Method in class dev.morphia.mapping.MappedClass
 
toString() - Method in class dev.morphia.mapping.MappedField
 
toString() - Method in class dev.morphia.mapping.validation.classrules.FieldEnumString
 
toString() - Method in class dev.morphia.query.CriteriaContainerImpl
Deprecated.
 
toString() - Method in enum dev.morphia.query.CriteriaJoin
 
toString() - Method in class dev.morphia.query.experimental.filters.Filter
 
toString() - Method in class dev.morphia.query.FindOptions
 
toString() - Method in class dev.morphia.query.LegacyQuery
 
toString() - Method in class dev.morphia.query.MorphiaQuery
 
toString() - Method in class dev.morphia.query.OperationTarget
 
toString() - Method in class dev.morphia.query.UpdateBase
 
toString(Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.StringExpressions
Converts value to a string.
toString(Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.TypeExpressions
Converts value to a string.
toUpper(Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.StringExpressions
Converts a string to uppercase.
Transient - Annotation Type in dev.morphia.annotations
 
TrigonometryExpressions - Class in dev.morphia.aggregation.experimental.expressions
Defines helper methods for the trigonometry expressions
trim(Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.StringExpressions
Removes whitespace or the specified characters from the beginning and end of a string.
TrimExpression - Class in dev.morphia.aggregation.experimental.expressions.impls
 
TrimExpression(String, Expression) - Constructor for class dev.morphia.aggregation.experimental.expressions.impls.TrimExpression
 
trunc(Expression, Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.MathExpressions
Truncates a number to a whole integer or to a specified decimal place.
type() - Method in annotation type dev.morphia.annotations.Field
 
type(Expression) - Static method in class dev.morphia.aggregation.experimental.expressions.TypeExpressions
Return