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 AggregationControl
static final AggregationControl
static final AggregationControl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
considerGrouping
(Table inputTable, ColumnSource<?>[] sources) double
double
int
initialHashTableSize
(Table inputTable) boolean
shouldProbeShift
(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)
-