Class MergeStream

java.lang.Object
org.apache.solr.client.solrj.io.stream.TupleStream
org.apache.solr.client.solrj.io.stream.MergeStream
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 MergeStream extends TupleStream implements Expressible
Merges two or more streams together ordering the Tuples based on a Comparator. All streams must be sorted by the fields being compared - this will be validated on construction.
Since:
5.1.0
See Also: