Class Limit


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

      • Limit

        protected Limit​(long limit)
    • Method Detail

      • of

        public static Limit of​(long limit)
        Creates the new stage.
        Parameters:
        limit - the limit to apply
        Returns:
        this
      • getLimit

        public long getLimit()
        Returns:
        the limit
        Developer note.
        This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.