Class EmptyEncoding
- java.lang.Object
-
- org.apache.sysds.runtime.compress.estim.encoding.EmptyEncoding
-
-
Constructor Summary
Constructors Constructor Description EmptyEncoding()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IEncodecombine(IEncode e)Combine two encodings, note it should be guaranteed by the caller that the number of unique multiplied does not overflow Integer.EstimationFactorsextractFacts(int nRows, double tupleSparsity, double matrixSparsity, CompressionSettings cs)Extract the compression facts for this column group.intgetUnique()Get the number of unique values in this encodingbooleanisDense()Signify if the counts are including zero or without zero.StringtoString()
-
-
-
Method Detail
-
combine
public IEncode combine(IEncode e)
Description copied from interface:IEncodeCombine two encodings, note it should be guaranteed by the caller that the number of unique multiplied does not overflow Integer.
-
getUnique
public int getUnique()
Description copied from interface:IEncodeGet the number of unique values in this encoding
-
extractFacts
public EstimationFactors extractFacts(int nRows, double tupleSparsity, double matrixSparsity, CompressionSettings cs)
Description copied from interface:IEncodeExtract the compression facts for this column group.- Specified by:
extractFactsin interfaceIEncode- Parameters:
nRows- The total number of rowstupleSparsity- The Sparsity of the unique tuplesmatrixSparsity- The matrix sparsitycs- The compression settings- Returns:
- A EstimationFactors object
-
-