public class PlanningCoCodingGroup extends Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | PlanningCoCodingGroup.ColIndexes | 
| Constructor and Description | 
|---|
| PlanningCoCodingGroup(int col,
                     PlanningCoCoder.GroupableColInfo info)Constructor for a one-column group; i.e. | 
| PlanningCoCodingGroup(PlanningCoCodingGroup grp1,
                     PlanningCoCodingGroup grp2,
                     CompressedSizeEstimator estim,
                     int numRows)Constructor for merging two disjoint groups of columns | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object that) | 
| double | getCardinalityRatio() | 
| double | getChangeInSize() | 
| int[] | getColIndices() | 
| long | getEstSize()Obtain estimated compressed size of the grouped columns. | 
| PlanningCoCodingGroup | getLeftGroup() | 
| static int[] | getMergedIndexes(int[] indexes1,
                int[] indexes2) | 
| PlanningCoCodingGroup | getRightGroup() | 
| int | hashCode() | 
| String | toString() | 
public PlanningCoCodingGroup(int col,
                             PlanningCoCoder.GroupableColInfo info)
col - columninfo - groupable column infopublic PlanningCoCodingGroup(PlanningCoCodingGroup grp1, PlanningCoCodingGroup grp2, CompressedSizeEstimator estim, int numRows)
grp1 - first column group to mergegrp2 - second column group to mergeestim - bitmap size estimatornumRows - number of rowspublic int[] getColIndices()
public long getEstSize()
public double getChangeInSize()
public double getCardinalityRatio()
public PlanningCoCodingGroup getLeftGroup()
public PlanningCoCodingGroup getRightGroup()
public static int[] getMergedIndexes(int[] indexes1,
                                     int[] indexes2)
Copyright © 2020 The Apache Software Foundation. All rights reserved.