• 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.
        size - the sample size
        the new stage
      • getSize

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