Save This Page
Home » lucene-3.0.1-src » org.apache » lucene » store » [javadoc | source]
org.apache.lucene.store
public class: RAMOutputStream [javadoc | source]
java.lang.Object
   org.apache.lucene.store.IndexOutput
      org.apache.lucene.store.RAMOutputStream

All Implemented Interfaces:
    Closeable

A memory-resident IndexOutput implementation.
Field Summary
static final  int BUFFER_SIZE     
Constructor:
 public RAMOutputStream() 
 RAMOutputStream(RAMFile f) 
Method from org.apache.lucene.store.RAMOutputStream Summary:
close,   flush,   getFilePointer,   length,   reset,   seek,   sizeInBytes,   writeByte,   writeBytes,   writeTo
Methods from org.apache.lucene.store.IndexOutput:
close,   copyBytes,   flush,   getFilePointer,   length,   seek,   setLength,   writeByte,   writeBytes,   writeBytes,   writeChars,   writeChars,   writeInt,   writeLong,   writeString,   writeStringStringMap,   writeVInt,   writeVLong
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.store.RAMOutputStream Detail:
 public  void close() throws IOException 
 public  void flush() throws IOException 
 public long getFilePointer() 
 public long length() 
 public  void reset() 
    Resets this to an empty buffer.
 public  void seek(long pos) throws IOException 
 public long sizeInBytes() 
    Returns byte usage of all buffers.
 public  void writeByte(byte b) throws IOException 
 public  void writeBytes(byte[] b,
    int offset,
    int len) throws IOException 
 public  void writeTo(IndexOutput out) throws IOException 
    Copy the current contents of this buffer to the named output.