Package org.apache.solr.update
Class MemOutputStream
java.lang.Object
java.io.OutputStream
org.apache.solr.common.util.FastOutputStream
org.apache.solr.update.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
FieldsFields inherited from class org.apache.solr.common.util.FastOutputStream
buf, out, pos, written -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.solr.common.util.FastOutputStream
close, flush, flushBuffer, reserve, setWritten, size, wrap, write, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF, writeUtf8CharSeq, writtenMethods inherited from class java.io.OutputStream
nullOutputStream
-
Field Details
-
buffers
-
-
Constructor Details
-
MemOutputStream
public MemOutputStream(byte[] tempBuffer)
-
-
Method Details
-
flush
- Overrides:
flushin classorg.apache.solr.common.util.FastOutputStream- Throws:
IOException
-
writeAll
- Throws:
IOException
-