Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods
void
void
abstract void
void
abstract void
Get the compression info for this column group.
Get the compression scheme for this column group to enable compression of other data.
double[]
abstract int
int
final void
Left multiply with this column group.
Recompress this column group into a new column group of the given type.
Methods inherited from class org.apache.sysds.runtime.compress.colgroup.ADictBasedColGroup
copyAndSet , copyAndSet , decompressToDenseBlock , decompressToDenseBlockTransposed , decompressToSparseBlock , decompressToSparseBlockTransposed , getDictionary , getExactSizeOnDisk , getSparsity , reduceCols , rightMultByMatrix , write
Methods inherited from class org.apache.sysds.runtime.compress.colgroup.AColGroup
addVector , append , appendN , binaryRowOpLeft , binaryRowOpRight , colSum , combine , combineWithSameIndex , combineWithSameIndex , containsValue , decompressToDenseBlock , decompressToSparseBlock , get , getColIndices , getCompType , getCost , getEncoding , getIdx , getNumCols , recompress , removeEmptyCols , removeEmptyRows , rightDecompressingMult , rightMultByMatrix , scalarOperation , selectionMultiply , shiftColIndices , sliceColumn , sliceColumns , sliceRows , sort , sortColumnIndexes , splitReshape , splitReshapePushDown , unaryOperation
Method Details
getNumRows
public int getNumRows ()
leftMultByMatrixNoPreAgg
public final void leftMultByMatrixNoPreAgg (MatrixBlock matrix,
MatrixBlock result,
int rl,
int ru,
int cl,
int cu)
Left multiply with this column group.
Specified by:
leftMultByMatrixNoPreAgg in class AColGroup
Parameters:
matrix - The matrix to multiply with on the left
result - The result to output the values into, always dense for the purpose of the column groups
parallelizing
rl - The row to begin the multiplication from on the lhs matrix
ru - The row to end the multiplication at on the lhs matrix
cl - The column to begin the multiplication from on the lhs matrix
cu - The column to end the multiplication at on the lhs matrix
decompressToSparseBlock
public void decompressToSparseBlock (SparseBlock sb,
int rl,
int ru,
int offR,
int offC,
AIterator it)
decompressToDenseBlock
public void decompressToDenseBlock (DenseBlock db,
int rl,
int ru,
int offR,
int offC,
AIterator it)
decompressToDenseBlockDenseDictionary
public void decompressToDenseBlockDenseDictionary (DenseBlock db,
int rl,
int ru,
int offR,
int offC,
AIterator it)
decompressToSparseBlockDenseDictionaryWithProvidedIterator
public abstract void decompressToSparseBlockDenseDictionaryWithProvidedIterator (SparseBlock db,
int rl,
int ru,
int offR,
int offC,
double[] values,
AIterator it)
decompressToDenseBlockDenseDictionaryWithProvidedIterator
public abstract void decompressToDenseBlockDenseDictionaryWithProvidedIterator (DenseBlock db,
int rl,
int ru,
int offR,
int offC,
double[] values,
AIterator it)
getNumberOffsets
public abstract int getNumberOffsets ()
getCompressionInfo
Get the compression info for this column group.
Specified by:
getCompressionInfo in class AColGroup
Parameters:
nRow - The number of rows in this column group.
Returns:
The compression info for this group.
getCompressionScheme
Get the compression scheme for this column group to enable compression of other data.
Specified by:
getCompressionScheme in class AColGroup
Returns:
The compression scheme of this column group
morph
Recompress this column group into a new column group of the given type.
Overrides:
morph in class AColGroup
Parameters:
ct - The compressionType that the column group should morph into
nRow - The number of rows in this columngroup.
Returns:
A new column group