Package io.deephaven.api.updateby.spec
Class RollingAvgSpec
java.lang.Object
io.deephaven.api.updateby.spec.UpdateBySpecBase
io.deephaven.api.updateby.spec.RollingOpSpec
io.deephaven.api.updateby.spec.RollingAvgSpec
- All Implemented Interfaces:
UpdateBySpec
A
UpdateBySpec
for performing a windowed rolling 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 typestatic RollingAvgSpec
of
(WindowScale revWindowScale) static RollingAvgSpec
of
(WindowScale revWindowScale, WindowScale fwdWindowScale) static RollingAvgSpec
ofTicks
(long revTicks) static RollingAvgSpec
ofTicks
(long revTicks, long fwdTicks) static RollingAvgSpec
static RollingAvgSpec
static RollingAvgSpec
static RollingAvgSpec
final <T> T
walk
(UpdateBySpec.Visitor<T> visitor) Methods inherited from class io.deephaven.api.updateby.spec.RollingOpSpec
fwdWindowScale, revWindowScale
-
Constructor Details
-
RollingAvgSpec
public RollingAvgSpec()
-
-
Method Details
-
ofTicks
-
ofTicks
-
ofTime
-
ofTime
public static RollingAvgSpec ofTime(String timestampCol, Duration revDuration, Duration fwdDuration) -
ofTime
-
ofTime
-
of
-
of
-
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
-