Package com.illumon.iris.db.v2.by
Class SortedFirstOrLastByFactoryImpl
java.lang.Object
com.illumon.iris.db.v2.by.ReaggregatableStatefactory
com.illumon.iris.db.v2.by.IterativeIndexStateFactory
com.illumon.iris.db.v2.by.SortedFirstOrLastByFactoryImpl
- All Implemented Interfaces:
AggregationStateFactory
,Serializable
- Direct Known Subclasses:
SortedFirstBy
,SortedLastBy
public class SortedFirstOrLastByFactoryImpl
extends IterativeIndexStateFactory
implements Serializable
- See Also:
-
Field Summary
Fields inherited from class com.illumon.iris.db.v2.by.IterativeIndexStateFactory
redirectionIndex
-
Method Summary
Modifier and TypeMethodDescriptionProduces a MemoKey for this aggregation state factory.String[]
boolean
-
Method Details
-
getSortColumnNames
-
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
- Returns:
- an AggregationMemoKey, null if this operation can not be memoized.
-
isSortedFirst
public boolean isSortedFirst()
-