Class ASDCZero
-
- All Implemented Interfaces:
Serializable
,AOffsetsGroup
,IContainADictionary
,IContainDefaultTuple
- Direct Known Subclasses:
ColGroupSDCSingleZeros
,ColGroupSDCZeros
public abstract class ASDCZero extends APreAgg implements AOffsetsGroup, IContainDefaultTuple
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.sysds.runtime.compress.colgroup.AColGroup
AColGroup.CompressionType
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
decompressToDenseBlock(DenseBlock db, int rl, int ru, int offR, int offC, AIterator it)
void
decompressToDenseBlockDenseDictionary(DenseBlock db, int rl, int ru, int offR, int offC, AIterator it)
abstract void
decompressToDenseBlockDenseDictionaryWithProvidedIterator(DenseBlock db, int rl, int ru, int offR, int offC, double[] values, AIterator it)
CompressedSizeInfoColGroup
getCompressionInfo(int nRow)
Get the compression info for this column group.ICLAScheme
getCompressionScheme()
Get the compression scheme for this column group to enable compression of other data.double[]
getDefaultTuple()
AIterator
getIterator(int row)
abstract int
getNumberOffsets()
int
getNumRows()
AOffset
getOffsets()
void
leftMultByMatrixNoPreAgg(MatrixBlock matrix, MatrixBlock result, int rl, int ru, int cl, int cu)
Left multiply with this column group.-
Methods inherited from class org.apache.sysds.runtime.compress.colgroup.APreAgg
getPreAggregateSize, leftMultByAColGroup, mmWithDictionary, preAggregate, preAggregateDense, preAggregateSparse, preAggregateThatIndexStructure, tsmmAColGroup
-
Methods inherited from class org.apache.sysds.runtime.compress.colgroup.AColGroupValue
centralMoment, clear, computeColSums, estimateInMemorySize, getCounts, getNumberNonZeros, getNumValues, replace, rexpandCols, toString
-
Methods inherited from class org.apache.sysds.runtime.compress.colgroup.ADictBasedColGroup
copyAndSet, copyAndSet, decompressToDenseBlock, decompressToSparseBlock, getDictionary, getExactSizeOnDisk, rightMultByMatrix, write
-
Methods inherited from class org.apache.sysds.runtime.compress.colgroup.AColGroupCompressed
getMax, getMin, getSum, isEmpty, preAggRows, sameIndexStructure, tsmm, unaryAggregateOperations, unaryAggregateOperations
-
Methods inherited from class org.apache.sysds.runtime.compress.colgroup.AColGroup
addVector, append, appendN, binaryRowOpLeft, binaryRowOpRight, colSum, combine, containsValue, decompressToDenseBlock, decompressToSparseBlock, get, getColIndices, getCompType, getCost, getEncoding, getIdx, getNumCols, morph, recompress, rightMultByMatrix, scalarOperation, shiftColIndices, sliceColumn, sliceColumns, sliceRows, sortColumnIndexes, unaryOperation
-
-
-
-
Method Detail
-
getNumRows
public int getNumRows()
-
leftMultByMatrixNoPreAgg
public final void leftMultByMatrixNoPreAgg(MatrixBlock matrix, MatrixBlock result, int rl, int ru, int cl, int cu)
Description copied from class:AColGroup
Left multiply with this column group.- Specified by:
leftMultByMatrixNoPreAgg
in classAColGroup
- Parameters:
matrix
- The matrix to multiply with on the leftresult
- The result to output the values into, always dense for the purpose of the column groups parallelizingrl
- The row to begin the multiplication from on the lhs matrixru
- The row to end the multiplication at on the lhs matrixcl
- The column to begin the multiplication from on the lhs matrixcu
- The column to end the multiplication at on the lhs matrix
-
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)
-
decompressToDenseBlockDenseDictionaryWithProvidedIterator
public abstract void decompressToDenseBlockDenseDictionaryWithProvidedIterator(DenseBlock db, int rl, int ru, int offR, int offC, double[] values, AIterator it)
-
getIterator
public AIterator getIterator(int row)
-
getOffsets
public AOffset getOffsets()
- Specified by:
getOffsets
in interfaceAOffsetsGroup
-
getNumberOffsets
public abstract int getNumberOffsets()
-
getDefaultTuple
public double[] getDefaultTuple()
- Specified by:
getDefaultTuple
in interfaceIContainDefaultTuple
-
getCompressionInfo
public final CompressedSizeInfoColGroup getCompressionInfo(int nRow)
Description copied from class:AColGroup
Get the compression info for this column group.- Specified by:
getCompressionInfo
in classAColGroup
- Parameters:
nRow
- The number of rows in this column group.- Returns:
- The compression info for this group.
-
getCompressionScheme
public ICLAScheme getCompressionScheme()
Description copied from class:AColGroup
Get the compression scheme for this column group to enable compression of other data.- Specified by:
getCompressionScheme
in classAColGroup
- Returns:
- The compression scheme of this column group
-
-