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
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
applicableTo
(Class<?> inputType) Determine if this spec can be applied to the specified typeabstract String
formula()
static RollingFormulaSpec
of
(WindowScale revWindowScale, WindowScale fwdWindowScale, String formula, String paramToken) static RollingFormulaSpec
of
(WindowScale revWindowScale, String formula, String paramToken) static RollingFormulaSpec
static RollingFormulaSpec
static RollingFormulaSpec
static RollingFormulaSpec
static RollingFormulaSpec
static RollingFormulaSpec
ofTime
(String timestampCol, Duration revDuration, Duration fwdDuration, String formula, String paramToken) abstract String
final <T> T
walk
(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: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
-