Uses of Package
dev.morphia.aggregation.experimental.stages
-
Classes in dev.morphia.aggregation.experimental.stages used by dev.morphia.aggregation.experimental Class Description AddFields Adds new fields to documents.AutoBucket Categorizes incoming documents into a specific number of groups, called buckets, based on a specified expression.Bucket Categorizes incoming documents into groups, called buckets, based on a specified expression and bucket boundaries.CollectionStats Returns statistics regarding a collection or view.CurrentOp 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.Facet Processes multiple aggregation pipelines within a single stage on the same set of input documents.GeoNear Outputs documents in order of nearest to farthest from a specified point.GraphLookup Performs a recursive search on a collection, with options for restricting the search by recursion depth and query filter.Group Groups input documents by the specified _id expression and for each distinct grouping, outputs a document.Lookup Performs a left outer join to an unsharded collection in the same database to filter in documents from the “joined” collection for processing.Merge Writes the results of the aggregation pipeline to a specified collection.Out Takes the documents returned by the aggregation pipeline and writes them to a specified collection.Projection Passes along the documents with the requested fields to the next stage in the pipeline.Redact Restricts the contents of the documents based on information stored in the documents themselves.ReplaceRoot Replaces the input document with the specified document.ReplaceWith Replaces the input document with the specified document.Sort Sorts all input documents and returns them to the pipeline in sorted order.Stage Base type for stages.Unset Removes/excludes fields from documents.Unwind Deconstructs an array field from the input documents to output a document for each element. -
Classes in dev.morphia.aggregation.experimental.stages used by dev.morphia.aggregation.experimental.codecs.stages Class Description AddFields Adds new fields to documents.AutoBucket Categorizes incoming documents into a specific number of groups, called buckets, based on a specified expression.Bucket Categorizes incoming documents into groups, called buckets, based on a specified expression and bucket boundaries.CollectionStats Returns statistics regarding a collection or view.Count CurrentOp 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.Facet Processes multiple aggregation pipelines within a single stage on the same set of input documents.GeoNear Outputs documents in order of nearest to farthest from a specified point.GraphLookup Performs a recursive search on a collection, with options for restricting the search by recursion depth and query filter.Group Groups input documents by the specified _id expression and for each distinct grouping, outputs a document.IndexStats Returns statistics regarding the use of each index for the collection.Limit Limits the number of documents passed to the next stage in the pipeline.Lookup Performs a left outer join to an unsharded collection in the same database to filter in documents from the “joined” collection for processing.Match Limits the number of documents passed to the next stage in the pipeline.Merge Writes the results of the aggregation pipeline to a specified collection.Out Takes the documents returned by the aggregation pipeline and writes them to a specified collection.PlanCacheStats Returns plan cache information for a collection.Projection Passes along the documents with the requested fields to the next stage in the pipeline.Redact Restricts the contents of the documents based on information stored in the documents themselves.ReplaceRoot Replaces the input document with the specified document.ReplaceWith Replaces the input document with the specified document.Sample Randomly selects the specified number of documents from its input.Skip Randomly selects the specified number of documents from its input.Sort Sorts all input documents and returns them to the pipeline in sorted order.SortByCount Groups incoming documents based on the value of a specified expression, then computes the count of documents in each distinct group.Stage Base type for stages.UnionWith Performs a union of two collections; i.e.Unset Removes/excludes fields from documents.Unwind Deconstructs an array field from the input documents to output a document for each element. -
Classes in dev.morphia.aggregation.experimental.stages used by dev.morphia.aggregation.experimental.stages Class Description AddFields Adds new fields to documents.AutoBucket Categorizes incoming documents into a specific number of groups, called buckets, based on a specified expression.Bucket Categorizes incoming documents into groups, called buckets, based on a specified expression and bucket boundaries.CollectionStats Returns statistics regarding a collection or view.CurrentOp 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.Facet Processes multiple aggregation pipelines within a single stage on the same set of input documents.GeoNear Outputs documents in order of nearest to farthest from a specified point.GraphLookup Performs a recursive search on a collection, with options for restricting the search by recursion depth and query filter.Group Groups input documents by the specified _id expression and for each distinct grouping, outputs a document.Group.GroupId Defines a group IDIndexStats Returns statistics regarding the use of each index for the collection.Limit Limits the number of documents passed to the next stage in the pipeline.Lookup Performs a left outer join to an unsharded collection in the same database to filter in documents from the “joined” collection for processing.Match Limits the number of documents passed to the next stage in the pipeline.Merge Writes the results of the aggregation pipeline to a specified collection.Out Takes the documents returned by the aggregation pipeline and writes them to a specified collection.PlanCacheStats Returns plan cache information for a collection.Projection Passes along the documents with the requested fields to the next stage in the pipeline.Redact Restricts the contents of the documents based on information stored in the documents themselves.ReplaceRoot Replaces the input document with the specified document.ReplaceWith Replaces the input document with the specified document.Sample Randomly selects the specified number of documents from its input.Skip Randomly selects the specified number of documents from its input.Sort Sorts all input documents and returns them to the pipeline in sorted order.Sort.Direction The sort typesSort.SortType SortByCount Groups incoming documents based on the value of a specified expression, then computes the count of documents in each distinct group.Stage Base type for stages.Unset Removes/excludes fields from documents.Unwind Deconstructs an array field from the input documents to output a document for each element.