Class ByEma
java.lang.Object
com.illumon.numerics.movingaverages.ByEma
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ByEmaSimple
public abstract class ByEma extends Object implements Serializable
A DB aware EMA which can compute "by" emas without grouping and then ungrouping.
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classByEma.BadDataBehaviorstatic classByEma.Key -
Constructor Summary
Constructors Modifier Constructor Description protectedByEma(ByEma.BadDataBehavior nullBehavior, ByEma.BadDataBehavior nanBehavior) -
Method Summary
Modifier and Type Method Description protected abstract AbstractMacreateEma(ByEma.Key key)doubleupdate(double value)doubleupdate(double value, Object... by)doubleupdate(long timestampNanos, double value, Object... by)doubleupdate(DBDateTime timestamp, double value)doubleupdate(DBDateTime timestamp, double value, Object... by)