Record Class Row.Attributed

java.lang.Object
java.lang.Record
com.inductiveautomation.historian.gateway.api.query.pipeline.Row.Attributed
Record Components:
delegate - the underlying row, never itself an Attributed
engineId - the histprov id of the emitting engine; never null
All Implemented Interfaces:
Row
Enclosing interface:
Row

public static record Row.Attributed(Row delegate, String engineId) extends Record implements Row
Wraps a row to stamp a non-null engineId on it for multi-engine attribution; every other accessor delegates to the wrapped row. Only the multi-engine path, through EngineAttributingSink, produces it.
  • Constructor Details

    • Attributed

      public Attributed(Row delegate, String engineId)
      Creates an instance of a Attributed record class.
      Parameters:
      delegate - the value for the delegate record component
      engineId - the value for the engineId record component
  • Method Details

    • timestamp

      public long timestamp()
      Description copied from interface: Row
      Returns the row's timestamp in epoch milliseconds. For Row.Calculation it is the start of the window the aggregate finalized over.
      Specified by:
      timestamp in interface Row
    • qualities

      public QualityCode[] qualities()
      Description copied from interface: Row
      Returns the per-cell qualities; never null or empty.
      Specified by:
      qualities in interface Row
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • delegate

      public Row delegate()
      Returns the value of the delegate record component.
      Returns:
      the value of the delegate record component
    • engineId

      public String engineId()
      Returns the value of the engineId record component.
      Specified by:
      engineId in interface Row
      Returns:
      the value of the engineId record component