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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
The end time of the window, also sometimes referred to as the "block id".long
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
-
Constructor Details
-
AbstractDataWindow
public AbstractDataWindow(long start, long end)
-
-
Method Details
-
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
-