Package com.illumon.iris.db.v2.by
Class KeyOnlyAggregationFactory
java.lang.Object
com.illumon.iris.db.v2.by.KeyOnlyAggregationFactory
- All Implemented Interfaces:
AggregationContextFactory
Simplest factory that has no operators or results, used to implement selectDistinct.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.illumon.iris.db.v2.by.AggregationContextmakeAggregationContext(Table table, String... groupByColumns) Make anAggregationContextfor this aggregation.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:AggregationContextFactoryMake anAggregationContextfor this aggregation.- Specified by:
makeAggregationContextin interfaceAggregationContextFactory- Parameters:
table- The sourceTableto aggregategroupByColumns- The key column names- Returns:
- A new or safely reusable
AggregationContext
-