Class MemOutputStream

  • All Implemented Interfaces:
    Closeable, DataOutput, Flushable, AutoCloseable

    public class MemOutputStream
    extends org.apache.solr.common.util.FastOutputStream
    NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      List<byte[]> buffers  
      • Fields inherited from class org.apache.solr.common.util.FastOutputStream

        buf, out, pos, written
    • Constructor Summary

      Constructors 
      Constructor Description
      MemOutputStream​(byte[] tempBuffer)  
    • Field Detail

      • buffers

        public List<byte[]> buffers
    • Constructor Detail

      • MemOutputStream

        public MemOutputStream​(byte[] tempBuffer)
    • Method Detail

      • flush

        public void flush​(byte[] arr,
                          int offset,
                          int len)
                   throws IOException
        Overrides:
        flush in class org.apache.solr.common.util.FastOutputStream
        Throws:
        IOException
      • writeAll

        public void writeAll​(org.apache.solr.common.util.FastOutputStream fos)
                      throws IOException
        Throws:
        IOException