Package com.illumon.iris.db.v2.by
Class AggregationFormulaStateFactory
java.lang.Object
com.illumon.iris.db.v2.by.AggregationIndexStateFactory
com.illumon.iris.db.v2.by.AggregationFormulaStateFactory
- All Implemented Interfaces:
BasicDeflatable<AggregationIndexStateFactory>
,AggregationStateFactory
public class AggregationFormulaStateFactory extends AggregationIndexStateFactory
-
Constructor Summary
Constructors Constructor Description AggregationFormulaStateFactory(String formula, String columnParamName)
-
Method Summary
Modifier and Type Method Description String
getColumnParamName()
String
getFormula()
AggregationMemoKey
getMemoKey()
Produces a MemoKey for this aggregation state factory.Methods inherited from class com.illumon.iris.db.v2.by.AggregationIndexStateFactory
deflate, getIndexColumnName
-
Constructor Details
-
Method Details
-
getFormula
-
getColumnParamName
-
getMemoKey
Description copied from interface:AggregationStateFactory
Produces a MemoKey for this aggregation state factory.If two AggregationStateFactories have equal memoKeys, then
Table.by(com.illumon.iris.db.v2.by.AggregationStateFactory, com.illumon.iris.db.v2.select.SelectColumn...)
operations that have the same group by columns may be memoized. In that case instead of recomputing the result; the original result will be used.If null is returned, the operation will not be memoized.
- Specified by:
getMemoKey
in interfaceAggregationStateFactory
- Overrides:
getMemoKey
in classAggregationIndexStateFactory
- Returns:
- an AggregationMemoKey, null if this operation can not be memoized.
-