Class Match


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

      • Match

        protected Match​(Filter... filters)
    • Method Detail

      • 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
      • on

        @Deprecated(forRemoval=true)
        public static Match on​(Filter... filters)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Creates the new stage using the filters for matching
        Parameters:
        filters - the filters to apply
        Returns:
        this
      • getFilters

        public Filter[] getFilters()
        Returns:
        the filters
        Developer note.
        This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.