Class 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 NullStreaam eats all the Tuples it see's it can be used as a simple tool for performance analysis of underlying streams.
    Since:
    6.4.0
    See Also:
    Serialized Form