Class CompressedSizeInfoColGroup
- java.lang.Object
- 
- org.apache.sysds.runtime.compress.estim.CompressedSizeInfoColGroup
 
- 
 public class CompressedSizeInfoColGroup extends Object Information collected about a specific ColGroup's compression size.
- 
- 
Constructor SummaryConstructors Constructor Description CompressedSizeInfoColGroup(int[] columns, int nRows)Create empty.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearMap()booleancontainsZeros()Map<AColGroup.CompressionType,Long>getAllCompressionSizes()AColGroup.CompressionTypegetBestCompressionType()AColGroup.CompressionTypegetBestCompressionType(CompressionSettings cs)doublegetCardinalityRatio()int[]getColumns()longgetCompressionSize(AColGroup.CompressionType ct)intgetLargestOffInstances()IEncodegetMap()longgetMinSize()doublegetMostCommonFraction()intgetNumOffs()Number of offsets, or number of non zero values.intgetNumRows()intgetNumVals()Note cardinality is the same as number of distinct values.doublegetTupleSparsity()booleanisConst()booleanisEmpty()StringtoString()
 
- 
- 
- 
Method Detail- 
getCompressionSizepublic long getCompressionSize(AColGroup.CompressionType ct) 
 - 
getBestCompressionTypepublic AColGroup.CompressionType getBestCompressionType(CompressionSettings cs) 
 - 
getBestCompressionTypepublic AColGroup.CompressionType getBestCompressionType() 
 - 
getAllCompressionSizespublic Map<AColGroup.CompressionType,Long> getAllCompressionSizes() 
 - 
getMinSizepublic long getMinSize() 
 - 
getNumValspublic int getNumVals() Note cardinality is the same as number of distinct values.- Returns:
- cardinality or number of distinct values.
 
 - 
getNumOffspublic int getNumOffs() Number of offsets, or number of non zero values.- Returns:
- Number of non zeros or number of values.
 
 - 
getColumnspublic int[] getColumns() 
 - 
getNumRowspublic int getNumRows() 
 - 
getCardinalityRatiopublic double getCardinalityRatio() 
 - 
getMostCommonFractionpublic double getMostCommonFraction() 
 - 
getLargestOffInstancespublic int getLargestOffInstances() 
 - 
getTupleSparsitypublic double getTupleSparsity() 
 - 
getMappublic IEncode getMap() 
 - 
containsZerospublic boolean containsZeros() 
 - 
isEmptypublic boolean isEmpty() 
 - 
isConstpublic boolean isConst() 
 - 
clearMappublic void clearMap() 
 
- 
 
-