Class ParallelStream

  • All Implemented Interfaces:
    Closeable, Serializable, AutoCloseable, Expressible, org.apache.solr.common.MapSerializable, org.apache.solr.common.MapWriter, org.apache.solr.common.NavigableObject, org.noggit.JSONWriter.Writable

    public class ParallelStream
    extends CloudSolrStream
    implements Expressible
    The ParallelStream decorates a TupleStream implementation and pushes it to N workers for parallel execution. Workers are chosen from a SolrCloud collection. Tuples that are streamed back from the workers are ordered by a Comparator.
    Since:
    5.1.0
    See Also:
    Serialized Form