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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanapplicableTo(Class<?> inputType) Determine if this spec can be applied to the specified typestatic RollingAvgSpecof(WindowScale revWindowScale) static RollingAvgSpecof(WindowScale revWindowScale, WindowScale fwdWindowScale) static RollingAvgSpecofTicks(long revTicks) static RollingAvgSpecofTicks(long revTicks, long fwdTicks) static RollingAvgSpecstatic RollingAvgSpecstatic RollingAvgSpecstatic RollingAvgSpecfinal <T> Twalk(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: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
-