Class KeyOnlyAggregationFactory

java.lang.Object
com.illumon.iris.db.v2.by.KeyOnlyAggregationFactory
All Implemented Interfaces:
AggregationContextFactory

public class KeyOnlyAggregationFactory extends Object implements AggregationContextFactory
Simplest factory that has no operators or results, used to implement selectDistinct.
  • Constructor Details

    • KeyOnlyAggregationFactory

      public KeyOnlyAggregationFactory()
  • Method Details

    • makeAggregationContext

      public com.illumon.iris.db.v2.by.AggregationContext makeAggregationContext(@NotNull Table table, @NotNull String... groupByColumns)
      Description copied from interface: AggregationContextFactory
      Make an AggregationContext for this aggregation.
      Specified by:
      makeAggregationContext in interface AggregationContextFactory
      Parameters:
      table - The source Table to aggregate
      groupByColumns - The key column names
      Returns:
      A new or safely reusable AggregationContext