Package io.deephaven.api.updateby.spec
Class EmsSpec
java.lang.Object
io.deephaven.api.updateby.spec.UpdateBySpecBase
io.deephaven.api.updateby.spec.EmsSpec
- All Implemented Interfaces:
UpdateBySpec
A
UpdateBySpec
for performing an Exponential Moving Sum across the specified columns-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.api.updateby.spec.UpdateBySpec
UpdateBySpec.Visitor<T>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
applicableTo
(Class<?> inputType) Determine if this spec can be applied to the specified typeabstract Optional<OperationControl>
control()
final OperationControl
static EmsSpec
of
(OperationControl control, WindowScale windowScale) static EmsSpec
of
(WindowScale windowScale) static EmsSpec
ofTicks
(double tickWindow) static EmsSpec
ofTicks
(OperationControl control, double tickWindow) static EmsSpec
ofTime
(OperationControl control, String timestampCol, long timeScaleNanos) static EmsSpec
ofTime
(OperationControl control, String timestampCol, Duration emaDuration) static EmsSpec
static EmsSpec
final <T> T
walk
(UpdateBySpec.Visitor<T> visitor) abstract WindowScale
-
Constructor Details
-
EmsSpec
public EmsSpec()
-
-
Method Details
-
of
-
of
-
ofTime
-
ofTime
-
ofTime
-
ofTime
-
ofTicks
-
ofTicks
-
control
-
windowScale
-
controlOrDefault
-
applicableTo
Description copied from interface:UpdateBySpec
Determine 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
-