All Classes and Interfaces

Class
Description
 
Defines helper methods for accumulator expressions
Adds new fields to documents.
 
Indicates a failure in a pipeline execution
Defines options to be applied to an aggregation pipeline.
Annotation which helps migrate schemas by loading one of several possible properties in the document into fields or methods.
Defines helper methods for the array expressions
Searches an array for an occurrence of a specified value and returns the array index of the first occurrence.
Defines array slicing options for query projections.
Categorizes incoming documents into a specific number of groups, called buckets, based on a specified expression.
Defines helper methods for the boolean expressions
Categorizes incoming documents into groups, called buckets, based on a specified expression and bucket boundaries.
Common type for $derivative and $integral
Properties for capped collections; used in Entity
Returns a Change Stream cursor on a collection, a database, or an entire cluster.
Defines the collation options for an index
Returns statistics regarding a collection or view.
 
Defines helper methods for the comparison expressions
Defines helper methods for the conditional expressions
Converts a value to a specified type.
Defines target types for doing type conversions.
Passes a document to the next stage that contains a count of the number of documents input to the stage.
The options for a count operation.
Defines the $currentDate operator
The type options when setting the current date
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.
Defines helper methods for the data size expressions
Datastore interface to get/delete/save objects
Changes a Date object by a specified number of time units.
Returns the difference between two dates.
Defines helper methods for the date expressions
Constructs and returns a Date object given the date’s constituent properties.
Converts a date/time string to a date object.
This enum is used to determine how JSR 310 dates and times are stored in the database.
Returns a document that contains the constituent parts of a given BSON Date value as individual properties.
Returns the date as a formatted string.
Truncates a date.
A default implementation of QueryFactory.
The options to apply when removing documents from the MongoCollection
Creates new documents in a sequence of documents where certain values in a field are missing.
Defines a range.
Defines a function to calculate a discriminator value.
Defines a document expression
Returns literal documents from input values.
Marks a class as a Morphia entity indicating it should be mapped.
Defines a listener on an entity and default placeholders for the various types.
Specifies other classes to participate in the @Entity's lifecycle
Base class for all the expression types.
Defines helper methods for various expressions.
Marks a class as a "stand in" for an external class whose source can not be properly annotated.
Processes multiple aggregation pipelines within a single stage on the same set of input documents.
Define a field to be used in an index;
Populates null and missing field values within documents.
Possible methods for defining fill strategies.
Base class for query filters
 
Defines helper methods to generate filter operations for queries.
Defines options to use for find and delete operations
The options to apply to a find operation (also commonly referred to as a query).
Outputs documents in order of nearest to farthest from a specified point.
Defines a $geoWithin filter.
Returns the value of a specified field from a document.
Performs a recursive search on a collection, with options for restricting the search by recursion depth and query filter.
Groups input documents by the specified _id expression and for each distinct grouping, outputs a document.
Defines a group ID
Defines a specific handler for a type above and beyond the codecs
Denotes the ID field on an entity.
Denotes the ID field on an entity.
This annotation allows the lazy-load proxy to return the ID of a referenced entity without reading the reference from the database.
Evaluates an expression and returns the value of the expression if the expression evaluates to a non-null value.
Defines an index
Defines the "direction" of an index.
Specified on fields that should be Indexed.
Defines indexes for this entity type (on the collection)
Defines the $indexOfBytes expression
Defines the options to be used when declaring an index.
Returns statistics regarding the use of each index for the collection.
Defines the type of the index to create for a field.
Options related to insertion of documents into MongoDB.
Options related to insertion of documents into MongoDB.
Reusable type for ISO Date related expressions.
Binds variables for use in the specified expression, and returns the result of the expression.
Limits the number of documents passed to the next stage in the pipeline.
When placed on an entity field, the field will not be written to mongodb.
Defines a logical expression.
Performs a left outer join to an unsharded collection in the same database to filter in documents from the “joined” collection for processing.
Applies a subexpression to each element of an array and returns the array of resulting values in order.
An exception indicating an error mapping a type
Limits the number of documents passed to the next stage in the pipeline.
Defines helper methods for the math expressions
Writes the results of the aggregation pipeline to a specified collection.
Defines the values to be merged.
Defines $meta expression object
 
Defines miscellaneous operators for aggregations.
Thrown when an ID value is expected but not found.
Defines the options for a "find and modify" operation.
Entry point for working with Morphia
Please note that there is every expectation that this format/naming is stable.
 
Defines the various operations the driver performs on behalf of a Datastore
 
Wraps a ClientSession reference for convenient use of MongoDB's multidocument transaction support.
Defines the functional interface for executing statements within a transaction.
Defines a name for a constructor parameter.
Defines a naming strategy for use, e.g., in naming collections and fields
Defines a filter for $near and $nearSphere queries
Indicates a type is not mappable by Morphia
Defines helper methods for the object expressions
The ObjectFactory is used by morphia to create instances of classes which can be customized to fit a particular applications needs.
Takes the documents returned by the aggregation pipeline and writes them to a specified collection.
Returns plan cache information for a collection.
Defines the $pop update operator.
Denotes the possible values for a configuration option.
Called after the data has been loaded into the java object.
Called after the data has been persisted from the java object.
Called before the data has been loaded into the object.
Called before the data has been persisted to the datastore (before mapping is done).
Passes along the documents with the requested fields to the next stage in the pipeline.
Defines a query projection
Optional annotation for specifying persistence behavior
This type defines support for a given an annotation as usable to denoting an annotation on an entity and provides a conversion function to map it to a standard Morphia Property annotation.
Deprecated, for removal: This API element is subject to removal in a future version.
3.0 will evaluate both field and getter/setters for annotation so this setting becomes vestigial
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.
Defines the $push update operator
The options to apply to a $push update operator.
 
Error during query.
A factory for queries.
Outputs an array containing a sequence of integers according to user-defined inputs.
Restricts the contents of the documents based on information stored in the documents themselves.
 
Applies a regular expression (regex) to a string.
Defines a regular expression filter
Options related to insertion of documents into MongoDB.
Replaces the input document with the specified document.
Replaces the input document with the specified document.
Randomly selects the specified number of documents from its input.
Adds new fields to documents.
Defines helper methods for the set expressions
Performs operations on a specified span of documents in a collection, known as a window, and returns the results based on the chosen window operator.
Specifies the field(s) to append to the documents in the output returned by the $setWindowFields stage.
Specifies the window boundaries and parameters.
Defines a shard key of a particular type
Defines the properties used in the shard key.
Defines the kind of sharding to perform.
Specifies options to be applied when sharding.
Randomly selects the specified number of documents from its input.
Returns a subset of an array.
Sorts all input documents and returns them to the pipeline in sorted order.
Used for sorting query results or defining a sort stage in an aggregation pipeline
The sort types
Groups incoming documents based on the value of a specified expression, then computes the count of documents in each distinct group.
Base type for stages.
Defines helper methods for the string expressions
Evaluates a series of case expressions.
Defines helper fields for referencing system variables
Marks this field for inclusion in text indexing.
Defines a text search filter
Defines units of time for use in expressions
 
Defines helper methods for the trigonometry expressions
Removes whitespace or the specified characters from a string.
Defines BSON types for use in querying against field types.
Defines helper methods for the type expressions
Performs a union of two collections; i.e.
Removes/excludes fields from documents.
Deconstructs an array field from the input documents to output a document for each element.
Error during update.
Defines an update operator
Defines helper methods for specifying operations for updates or findAndModify
The options to apply when updating documents in the MongoCollection
Defines the document validation logic for a collection.
Error during validation.
Defines helper methods for the variable expressions
supposed to be used on a Long or long field for optimistic locking.
This exception is thrown when a version field does not match the expected state in the database.
Provides window specific operations.
Merge two arrays together.