Class AbstractDataWindow
- java.lang.Object
-
- com.inductiveautomation.ignition.gateway.sqltags.history.query.processing.aggregates.legacy.AbstractDataWindow
-
- All Implemented Interfaces:
DataWindow
- Direct Known Subclasses:
LastValueWindow
,MinMaxAggWindow
,NumericalAvgAggWindow
,SumAggWindow
,TimeWeightAvgWindow
public abstract class AbstractDataWindow extends java.lang.Object implements DataWindow
-
-
Constructor Summary
Constructors Constructor Description AbstractDataWindow(long start, long end)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getEndTime()
The end time of the window, also sometimes referred to as the "block id".long
getStartTime()
The start time of the window.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.inductiveautomation.ignition.gateway.sqltags.history.query.processing.DataWindow
addValue, finalize, getEntryValue, getExitValue, getValue, hasMore, initialize
-
-
-
-
Method Detail
-
getStartTime
public long getStartTime()
Description copied from interface:DataWindow
The start time of the window. The end time is used as the primary id, but the start time can be useful for calculations.- Specified by:
getStartTime
in interfaceDataWindow
-
getEndTime
public long getEndTime()
Description copied from interface:DataWindow
The end time of the window, also sometimes referred to as the "block id". This will be the same for all windows of the same row, when using fixed return sizes.- Specified by:
getEndTime
in interfaceDataWindow
-
-