Class BinaryTableTile

java.lang.Object
nom.tam.image.compression.bintable.BinaryTableTile
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
BinaryTableTileCompressor, BinaryTableTileDecompressor

public abstract class BinaryTableTile extends Object implements Runnable
(for internal use) A table 'tile' representing a set of consecutive table rows that are compressed together as a block.
  • Field Details

    • data

      protected final ColumnTable<?> data
    • rowStart

      protected final int rowStart
      start row.
    • rowEnd

      protected final int rowEnd
      last row (exclusive)
    • column

      protected final int column
    • compressionAlgorithm

      protected String compressionAlgorithm
    • type

      protected final ElementType<Buffer> type
    • length

      protected final int length
    • tileIndex

      protected final int tileIndex
  • Constructor Details

  • Method Details

    • execute

      public void execute(ExecutorService threadPool)
    • fillHeader

      public void fillHeader(Header header) throws HeaderCardException
      Deprecated.
      ( for internal use) No longer used.
      Throws:
      HeaderCardException
    • getTileIndex

      public int getTileIndex()
      Returns the zero-based tile index.
      Returns:
      the zero-based tile index (a.k.a. Java index).
    • waitForResult

      public void waitForResult()
    • getCompressorControl

      protected ICompressorControl getCompressorControl()
    • getCompressorControl

      protected ICompressorControl getCompressorControl(Class<?> dataType)
    • getGZipCompressorControl

      protected ICompressorControl getGZipCompressorControl()
    • getUncompressedSizeInBytes

      protected int getUncompressedSizeInBytes()