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

public class TimestampResultNode extends AbstractResultNode
  • 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 interface ResultNode
      Overrides:
      maxAvailableTime in class AbstractResultNode
    • 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

      public Object getValue(long timestamp, int level)
    • getQuality

      public QualityCode 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.