Class HistoryWriter.ListHead

java.lang.Object
com.inductiveautomation.historian.gateway.query.writing.HistoryWriter.ListHead
All Implemented Interfaces:
ResultNode
Enclosing class:
HistoryWriter

protected class HistoryWriter.ListHead extends Object implements ResultNode
  • Constructor Details

    • ListHead

      protected ListHead()
  • 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
    • setNext

      public void setNext(ResultNode node)
      Specified by:
      setNext in interface ResultNode
    • getNext

      public ResultNode getNext()
      Specified by:
      getNext in interface ResultNode
    • getPrevious

      public ResultNode getPrevious()
      Specified by:
      getPrevious in interface ResultNode
    • setPrevious

      public void setPrevious(ResultNode node)
      Specified by:
      setPrevious in interface ResultNode
    • getName

      public String getName()
      Specified by:
      getName in interface ResultNode
    • getValue

      public Object getValue(long blockId, int level)
      Specified by:
      getValue in interface ResultNode
    • getDataType

      public DataTypeClass getDataType()
      Specified by:
      getDataType in interface ResultNode
    • wasValueInterpolated

      public boolean wasValueInterpolated()
      Description copied from interface: ResultNode
      Returns whether the last value provided by getValue was purely interpolated- not based on any actual data.
      Specified by:
      wasValueInterpolated in interface ResultNode
    • getQuality

      public QualityCode getQuality()
      Description copied from interface: ResultNode
      Gets the quality that corresponds to the last call to getValue
      Specified by:
      getQuality in interface ResultNode
    • hasMore

      public boolean hasMore()
      Description copied from interface: ResultNode
      Indicates whether the node has more data for the last time used with getValue.
      Specified by:
      hasMore in interface ResultNode
    • markCompleted

      public void markCompleted(long time)
      Description copied from interface: ResultNode
      Tells the node that the data up to and including the specified time is no longer needed. The node should potentially update its maxAvailableTime and sort itself in the list.
      Specified by:
      markCompleted in interface ResultNode
    • printList

      public void printList()