Class AbstractStore.StoreAreaWriter

    • Constructor Detail

      • StoreAreaWriter

        public StoreAreaWriter​(long pointer,
                               long fixed_size)
                        throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • getOutputStream

        public java.io.OutputStream getOutputStream()
        Description copied from interface: AreaWriter
        Returns an OutputStream that can be used to write to this area. This stream is backed by this area writer, so if 10 bytes area written to the output stream then the writer position is also incremented by 10 bytes.
        Specified by:
        getOutputStream in interface AreaWriter
      • finish

        public void finish()
                    throws java.io.IOException
        Description copied from interface: AreaWriter
        Finishes the area writer object. This must be called when the area is completely initialized. After this method is called the object is invalidated and the area can be accessed in the store.
        Specified by:
        finish in interface AreaWriter
        Throws:
        java.io.IOException