Class NullStream

java.lang.Object
org.apache.solr.client.solrj.io.stream.TupleStream
org.apache.solr.client.solrj.io.stream.NullStream
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 NullStream extends TupleStream implements Expressible
The NullStream Iterates over a TupleStream and eats the tuples. It returns the tuple count in the EOF tuple. Because the NullStream eats all the Tuples it sees, it can be used as a simple tool for performance analysis of underlying streams.
Since:
6.4.0
See Also: