Interface CompressedSizeEstimatorFactory
-
public interface CompressedSizeEstimatorFactory
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.commons.logging.Log
LOG
-
Method Summary
Static Methods Modifier and Type Method Description static CompressedSizeEstimator
createEstimator(MatrixBlock data, CompressionSettings cs, int k)
Create an estimator for the input data with the given settings and parallelization degree.static CompressedSizeEstimator
createEstimator(MatrixBlock data, CompressionSettings cs, int sampleSize, int k)
Create an estimator for the input data with the given settings and parallelization degree.
-
-
-
Method Detail
-
createEstimator
static CompressedSizeEstimator createEstimator(MatrixBlock data, CompressionSettings cs, int k)
Create an estimator for the input data with the given settings and parallelization degree.- Parameters:
data
- The matrix to extract compression information from.cs
- The settings for the compressionk
- The parallelization degree- Returns:
- A new CompressionSizeEstimator used to extract information of column groups
-
createEstimator
static CompressedSizeEstimator createEstimator(MatrixBlock data, CompressionSettings cs, int sampleSize, int k)
Create an estimator for the input data with the given settings and parallelization degree.- Parameters:
data
- The matrix to extract compression information from.cs
- The settings for the compressionsampleSize
- The number of rows to extract from the input data to extract information from.k
- The parallelization degree- Returns:
- A new CompressionSizeEstimator used to extract information of column groups
-
-