Package dev.morphia.aggregation.experimental.stages

  • Class Summary 
    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.
    Group.GroupId
    Defines a group ID
    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<M>
    Writes the results of the aggregation pipeline to a specified collection.
    Out<O>
    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.
    Unset
    Removes/excludes fields from documents.
    Unwind
    Deconstructs an array field from the input documents to output a document for each element.
  • Enum Summary 
    Enum Description
    Sort.Direction
    The sort types