Interface WritableRowContainer<R extends Row>

All Known Implementing Classes:
TableLoggerImpl2.BaseSetter

public interface WritableRowContainer<R extends Row>
A container for a Row that supports the concept of release, as well as access to the row itself.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    Indicate that the underlying row has been written and should be reclaimed.
    void
    Write the underlying row to the storage.
  • Method Details

    • getRow

      R getRow()
      Returns:
      The row of this container
    • writeRow

      void writeRow() throws IOException
      Write the underlying row to the storage.
      Throws:
      IOException - If a problem occurs during the write.
    • release

      void release()
      Indicate that the underlying row has been written and should be reclaimed. This may be a no-op for many storage types, however it enables additional layers of buffering where it may be beneficial.