Class UniqueStream

java.lang.Object
org.apache.solr.client.solrj.io.stream.TupleStream
org.apache.solr.client.solrj.io.stream.UniqueStream
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 UniqueStream extends TupleStream implements Expressible
The UniqueStream emits a unique stream of Tuples based on a Comparator.

Note: The sort order of the underlying stream must match the Comparator.

Since:
5.1.0
See Also: