Class Match

java.lang.Object
dev.morphia.aggregation.stages.Stage
dev.morphia.aggregation.stages.Match

public class Match extends Stage
Limits the number of documents passed to the next stage in the pipeline.
  • Method Details

    • match

      public static Match match(Filter... filters)
      Creates the new stage using the filters for matching
      Parameters:
      filters - the filters to apply
      Returns:
      this
      Since:
      2.2
      MongoDB documentation
      Aggregration Pipeline Stage: $match