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 Details

  • Constructor Details

    • AggregationControl

      public AggregationControl()
  • Method Details

    • initialHashTableSize

      public int initialHashTableSize(@NotNull Table inputTable)
    • getTargetLoadFactor

      public double getTargetLoadFactor()
    • getMaximumLoadFactor

      public double getMaximumLoadFactor()
    • considerGrouping

      public boolean considerGrouping(@NotNull Table inputTable, @NotNull ColumnSource<?>[] sources)
    • shouldProbeShift

      public boolean shouldProbeShift(long shiftSize, int numStates)