• public class Sample
    extends Stage
    Randomly selects the specified number of documents from its input.
    • Constructor Detail

      • Sample

        protected Sample​(long size)
    • Method Detail

      • of

        public static Sample of​(long size)
        Creates a new stage with the given sample size.
        Parameters:
        size - the sample size
        Returns:
        the new stage
      • getSize

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