Package com.illumon.iris.db.v2.by
Class AggregationControl
java.lang.Object
com.illumon.iris.db.v2.by.AggregationControl
@VisibleForTesting public class AggregationControl extends Object
Stateless "control" class for giving external code (e.g. unit tests) knobs to turn w.r.t. to how aggregations
should be processed.
-
Field Summary
Fields Modifier and Type Field Description static AggregationControlDEFAULTstatic AggregationControlDEFAULT_FOR_OPERATOR -
Constructor Summary
Constructors Constructor Description AggregationControl() -
Method Summary
Modifier and Type Method Description booleanconsiderGrouping(Table inputTable, ColumnSource<?>[] sources)doublegetMaximumLoadFactor()doublegetTargetLoadFactor()intinitialHashTableSize(Table inputTable)booleanshouldProbeShift(long shiftSize, int numStates)
-
Field Details
-
Constructor Details
-
AggregationControl
public AggregationControl()
-
-
Method Details
-
initialHashTableSize
-
getTargetLoadFactor
public double getTargetLoadFactor() -
getMaximumLoadFactor
public double getMaximumLoadFactor() -
considerGrouping
-
shouldProbeShift
public boolean shouldProbeShift(long shiftSize, int numStates)
-