Package io.deephaven.api.updateby.spec
Class WindowScale
java.lang.Object
io.deephaven.api.updateby.spec.WindowScale
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal Duration
final double
Return the appropriate tick/time units as a doublefinal long
getTicks()
final long
Return the appropriate tick/time units as a longfinal boolean
static WindowScale
ofTicks
(double tickWindow) static WindowScale
static WindowScale
abstract double
Store the tick units as a double and convert to long as needed.abstract String
abstract long
Store the time units as a long (in nanoseconds).
-
Constructor Details
-
WindowScale
public WindowScale()
-
-
Method Details
-
ofTime
-
ofTime
-
ofTicks
-
timestampCol
-
tickUnits
@Parameter public abstract double tickUnits()Store the tick units as a double and convert to long as needed. -
timeUnits
@Parameter public abstract long timeUnits()Store the time units as a long (in nanoseconds). -
isTimeBased
public final boolean isTimeBased() -
getTimeScaleUnits
public final long getTimeScaleUnits()Return the appropriate tick/time units as a long -
getFractionalTimeScaleUnits
public final double getFractionalTimeScaleUnits()Return the appropriate tick/time units as a double -
getDuration
-
getTicks
public final long getTicks()
-