Package com.illumon.iris.db.v2.by
Class AggregationControl
java.lang.Object
com.illumon.iris.db.v2.by.AggregationControl
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
FieldsModifier and TypeFieldDescriptionstatic final AggregationControlstatic final AggregationControlstatic final AggregationControl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanconsiderGrouping(Table inputTable, ColumnSource<?>[] sources) doubledoubleintinitialHashTableSize(Table inputTable) booleanshouldProbeShift(long shiftSize, int numStates)
-
Field Details
-
DEFAULT
-
DEFAULT_FOR_OPERATOR
-
DEFAULT_FOR_ROLLUP_WITH_CONSTITUENTS
-
-
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)
-