public class CompressedSizeInfoColGroup extends Object
| Constructor and Description | 
|---|
CompressedSizeInfoColGroup(int[] columns,
                          EstimationFactors facts,
                          double sparsity)  | 
CompressedSizeInfoColGroup(int[] columns,
                          EstimationFactors facts,
                          Set<AColGroup.CompressionType> validCompressionTypes,
                          ABitmap ubm,
                          int sampleSize)  | 
CompressedSizeInfoColGroup(int[] columns,
                          int numVals,
                          int numRows)
Join columns without analyzing the content. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static CompressedSizeInfoColGroup | 
addConstGroup(int[] columns,
             CompressedSizeInfoColGroup oneSide,
             Set<AColGroup.CompressionType> validCompressionTypes)
This method adds a column group without having to analyze. 
 | 
void | 
clearMap()  | 
boolean | 
containsZeros()  | 
Map<AColGroup.CompressionType,Long> | 
getAllCompressionSizes()  | 
AColGroup.CompressionType | 
getBestCompressionType()  | 
AColGroup.CompressionType | 
getBestCompressionType(CompressionSettings cs)  | 
double | 
getCardinalityRatio()  | 
int[] | 
getColumns()  | 
long | 
getCompressionSize(AColGroup.CompressionType ct)  | 
AMapToData | 
getMap()  | 
long | 
getMinSize()  | 
double | 
getMostCommonFraction()  | 
int | 
getNumOffs()
Number of offsets, or number of non zero values. 
 | 
int | 
getNumRows()  | 
int | 
getNumVals()
Note cardinality is the same as number of distinct values. 
 | 
double | 
getTupleSparsity()  | 
boolean | 
isEmpty()  | 
String | 
toString()  | 
public CompressedSizeInfoColGroup(int[] columns,
                                  int numVals,
                                  int numRows)
columns - The columns combinednumVals - The number of distinct value tuples containednumRows - The number of rows.public CompressedSizeInfoColGroup(int[] columns,
                                  EstimationFactors facts,
                                  double sparsity)
public CompressedSizeInfoColGroup(int[] columns,
                                  EstimationFactors facts,
                                  Set<AColGroup.CompressionType> validCompressionTypes,
                                  ABitmap ubm,
                                  int sampleSize)
public static CompressedSizeInfoColGroup addConstGroup(int[] columns, CompressedSizeInfoColGroup oneSide, Set<AColGroup.CompressionType> validCompressionTypes)
columns - The columns of the colgroups togetheroneSide - One of the sides, this may contain something, but the other side (not part of the
                              argument) should not.validCompressionTypes - The List of valid compression techniques to usepublic long getCompressionSize(AColGroup.CompressionType ct)
public AColGroup.CompressionType getBestCompressionType(CompressionSettings cs)
public AColGroup.CompressionType getBestCompressionType()
public Map<AColGroup.CompressionType,Long> getAllCompressionSizes()
public long getMinSize()
public int getNumVals()
public int getNumOffs()
public int[] getColumns()
public int getNumRows()
public double getCardinalityRatio()
public double getMostCommonFraction()
public double getTupleSparsity()
public AMapToData getMap()
public boolean containsZeros()
public boolean isEmpty()
public void clearMap()
Copyright © 2021 The Apache Software Foundation. All rights reserved.