Package io.deephaven.api.updateby.spec
Class RollingFormulaSpec
java.lang.Object
io.deephaven.api.updateby.spec.UpdateBySpecBase
io.deephaven.api.updateby.spec.RollingOpSpec
io.deephaven.api.updateby.spec.RollingFormulaSpec
- All Implemented Interfaces:
UpdateBySpec
An
UpdateBySpec for performing a windowed rolling formula operation.-
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 Stringformula()static RollingFormulaSpecof(WindowScale revWindowScale, WindowScale fwdWindowScale, String formula, String paramToken) static RollingFormulaSpecof(WindowScale revWindowScale, String formula, String paramToken) static RollingFormulaSpecstatic RollingFormulaSpecstatic RollingFormulaSpecstatic RollingFormulaSpecstatic RollingFormulaSpecstatic RollingFormulaSpecofTime(String timestampCol, Duration revDuration, Duration fwdDuration, String formula, String paramToken) abstract Stringfinal <T> Twalk(UpdateBySpec.Visitor<T> visitor) Methods inherited from class io.deephaven.api.updateby.spec.RollingOpSpec
fwdWindowScale, revWindowScale
-
Constructor Details
-
RollingFormulaSpec
public RollingFormulaSpec()
-
-
Method Details
-
formula
-
paramToken
-
ofTicks
-
ofTicks
public static RollingFormulaSpec ofTicks(long revTicks, long fwdTicks, String formula, String paramToken) -
ofTime
public static RollingFormulaSpec ofTime(String timestampCol, Duration revDuration, String formula, String paramToken) -
ofTime
-
ofTime
public static RollingFormulaSpec ofTime(String timestampCol, long revDuration, String formula, String paramToken) -
ofTime
public static RollingFormulaSpec ofTime(String timestampCol, long revDuration, long fwdDuration, String formula, String paramToken) -
of
-
of
public static RollingFormulaSpec of(WindowScale revWindowScale, WindowScale fwdWindowScale, String formula, String paramToken) -
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
-