Class TimestampResultNode
java.lang.Object
com.inductiveautomation.ignition.gateway.sqltags.history.query.columns.AbstractResultNode
com.inductiveautomation.ignition.gateway.sqltags.history.query.columns.TimestampResultNode
- All Implemented Interfaces:
ResultNode
-
Field Summary
Fields inherited from class com.inductiveautomation.ignition.gateway.sqltags.history.query.columns.AbstractResultNode
type
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the quality that corresponds to the last call to getValuegetValue
(long timestamp, int level) boolean
hasMore()
Indicates whether the node has more data for the last time used with getValue.long
Returns the MAX time that this column has values for.boolean
The timestamp is always "interpolated".Methods inherited from class com.inductiveautomation.ignition.gateway.sqltags.history.query.columns.AbstractResultNode
getDataType, getErrorCode, getName, getNext, getPrevious, isErrored, markCompleted, setDataType, setErrored, setNext, setNextAvailableTime, setPrevious, sortNode, swapNodes
-
Constructor Details
-
TimestampResultNode
public TimestampResultNode()
-
-
Method Details
-
maxAvailableTime
public long maxAvailableTime()Description copied from interface:ResultNode
Returns the MAX time that this column has values for. NOTE: the max time can be well in the future (compared to the last value time). In fact, columns that don't interpolate data could return long.maxvalue. This time simply means "if you call getValue with a time less than this time, I can give you a value".- Specified by:
maxAvailableTime
in interfaceResultNode
- Overrides:
maxAvailableTime
in classAbstractResultNode
-
wasValueInterpolated
public boolean wasValueInterpolated()The timestamp is always "interpolated". This is partially because it's made up on demand, but also to avoid interfering with the setting to not write purely interpolated rows. -
getValue
-
getQuality
Description copied from interface:ResultNode
Gets the quality that corresponds to the last call to getValue -
hasMore
public boolean hasMore()Description copied from interface:ResultNode
Indicates whether the node has more data for the last time used with getValue.
-