Package com.illumon.iris.db.v2.by
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 Summary
Constructors Constructor Description KeyOnlyAggregationFactory()
-
Method Summary
Modifier and Type Method Description com.illumon.iris.db.v2.by.AggregationContext
makeAggregationContext(Table table, String... groupByColumns)
Make anAggregationContext
for this aggregation.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.illumon.iris.db.v2.by.AggregationContextFactory
allowKeyOnlySubstitution
-
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 anAggregationContext
for this aggregation.- Specified by:
makeAggregationContext
in interfaceAggregationContextFactory
- Parameters:
table
- The sourceTable
to aggregategroupByColumns
- The key column names- Returns:
- A new or safely reusable
AggregationContext
-