Package io.deephaven.api.updateby.spec
Class EmaSpec
java.lang.Object
io.deephaven.api.updateby.spec.UpdateBySpecBase
io.deephaven.api.updateby.spec.EmaSpec
- All Implemented Interfaces:
UpdateBySpec
A
UpdateBySpec for performing an Exponential Moving Average across the specified columns-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.api.updateby.spec.UpdateBySpec
UpdateBySpec.Visitor<T> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanapplicableTo(Class<?> inputType) Determine if this spec can be applied to the specified typeabstract Optional<OperationControl>control()final OperationControlstatic EmaSpecof(OperationControl control, WindowScale windowScale) static EmaSpecof(WindowScale windowScale) static EmaSpecofTicks(double tickWindow) static EmaSpecofTicks(OperationControl control, double tickWindow) static EmaSpecofTime(OperationControl control, String timestampCol, long timeScaleNanos) static EmaSpecofTime(OperationControl control, String timestampCol, Duration emaDuration) static EmaSpecstatic EmaSpecfinal <T> Twalk(UpdateBySpec.Visitor<T> visitor) abstract WindowScale
-
Constructor Details
-
EmaSpec
public EmaSpec()
-
-
Method Details
-
of
-
of
-
ofTime
-
ofTime
-
ofTime
-
ofTime
-
ofTicks
-
ofTicks
-
control
-
windowScale
-
controlOrDefault
-
applicableTo
Description copied from interface:UpdateBySpecDetermine if this spec can be applied to the specified type- Parameters:
inputType- the specified input type- Returns:
- true if this spec can be applied to the specified input type
-
walk
-