Package io.deephaven.api.updateby.spec
Class EmMinMaxSpec
java.lang.Object
io.deephaven.api.updateby.spec.UpdateBySpecBase
io.deephaven.api.updateby.spec.EmMinMaxSpec
- 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
-
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
abstract boolean
isMax()
static EmMinMaxSpec
of
(boolean isMax, WindowScale windowScale) static EmMinMaxSpec
of
(OperationControl control, boolean isMax, WindowScale windowScale) static EmMinMaxSpec
ofTicks
(boolean isMax, double tickWindow) static EmMinMaxSpec
ofTicks
(OperationControl control, boolean isMax, double tickWindow) static EmMinMaxSpec
static EmMinMaxSpec
static EmMinMaxSpec
ofTime
(OperationControl control, boolean isMax, String timestampCol, long timeScaleNanos) static EmMinMaxSpec
ofTime
(OperationControl control, boolean isMax, String timestampCol, Duration emaDuration) final <T> T
walk
(UpdateBySpec.Visitor<T> visitor) abstract WindowScale
-
Constructor Details
-
EmMinMaxSpec
public EmMinMaxSpec()
-
-
Method Details
-
of
-
of
-
ofTime
public static EmMinMaxSpec ofTime(OperationControl control, boolean isMax, String timestampCol, long timeScaleNanos) -
ofTime
-
ofTime
public static EmMinMaxSpec ofTime(OperationControl control, boolean isMax, String timestampCol, Duration emaDuration) -
ofTime
-
ofTicks
-
ofTicks
-
isMax
@Parameter public abstract boolean isMax() -
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
-