Class BinaryTableTile
- java.lang.Object
-
- nom.tam.image.compression.bintable.BinaryTableTile
-
- All Implemented Interfaces:
java.lang.Runnable
- Direct Known Subclasses:
BinaryTableTileCompressor
,BinaryTableTileDecompressor
public abstract class BinaryTableTile extends java.lang.Object implements java.lang.Runnable
-
-
Field Summary
Fields Modifier and Type Field Description protected int
column
protected java.lang.String
compressionAlgorithm
protected ColumnTable<?>
data
protected int
length
protected int
rowEnd
last row (exclusive)protected int
rowStart
start row.protected int
tileIndex
protected PrimitiveType<java.nio.Buffer>
type
-
Constructor Summary
Constructors Constructor Description BinaryTableTile(ColumnTable<?> data, BinaryTableTileDescription description)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(java.util.concurrent.ExecutorService threadPool)
void
fillHeader(Header header)
protected ICompressorControl
getCompressorControl()
int
getTileIndex()
protected int
getUncompressedSizeInBytes()
void
waitForResult()
-
-
-
Field Detail
-
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 java.lang.String compressionAlgorithm
-
type
protected final PrimitiveType<java.nio.Buffer> type
-
length
protected final int length
-
tileIndex
protected final int tileIndex
-
-
Constructor Detail
-
BinaryTableTile
public BinaryTableTile(ColumnTable<?> data, BinaryTableTileDescription description)
-
-
Method Detail
-
execute
public void execute(java.util.concurrent.ExecutorService threadPool)
-
fillHeader
public void fillHeader(Header header) throws HeaderCardException
- Throws:
HeaderCardException
-
getTileIndex
public int getTileIndex()
-
waitForResult
public void waitForResult()
-
getCompressorControl
protected ICompressorControl getCompressorControl()
-
getUncompressedSizeInBytes
protected int getUncompressedSizeInBytes()
-
-