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 intcolumnprotected java.lang.StringcompressionAlgorithmprotected ColumnTable<?>dataprivate java.util.concurrent.Future<?>futureprotected intlengthprotected introwEndlast row (exclusive)protected introwStartstart row.protected inttileIndexprotected 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 voidexecute(java.util.concurrent.ExecutorService threadPool)voidfillHeader(Header header)protected ICompressorControlgetCompressorControl()intgetTileIndex()protected intgetUncompressedSizeInBytes()voidwaitForResult()
-
-
-
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
-
future
private java.util.concurrent.Future<?> future
-
-
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()
-
-