Record Class PostgresOpenLineageEventDigest.DatasetRow

java.lang.Object
java.lang.Record
org.odpi.openmetadata.adapters.connectors.integration.openlineage.postgres.PostgresOpenLineageEventDigest.DatasetRow
Record Components:
direction - I or O
namespace - dataset namespace (empty if the event had none)
name - dataset name
rowCount - rows read or written
size - bytes read or written
fileCount - files written
lifecycleStateChange - lifecycle state change of an output
subsetType - type of the output condition of an output subset
datasetVersion - version of an output
Enclosing class:
PostgresOpenLineageEventDigest

public static record PostgresOpenLineageEventDigest.DatasetRow(String direction, String namespace, String name, Long rowCount, Long size, Long fileCount, String lifecycleStateChange, String subsetType, String datasetVersion) extends Record
A dataset read (I) or written (O) by the run.
  • Constructor Details

    • DatasetRow

      public DatasetRow(String direction, String namespace, String name, Long rowCount, Long size, Long fileCount, String lifecycleStateChange, String subsetType, String datasetVersion)
      Creates an instance of a DatasetRow record class.
      Parameters:
      direction - the value for the direction record component
      namespace - the value for the namespace record component
      name - the value for the name record component
      rowCount - the value for the rowCount record component
      size - the value for the size record component
      fileCount - the value for the fileCount record component
      lifecycleStateChange - the value for the lifecycleStateChange record component
      subsetType - the value for the subsetType record component
      datasetVersion - the value for the datasetVersion record component
  • Method Details

    • 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.
    • direction

      public String direction()
      Returns the value of the direction record component.
      Returns:
      the value of the direction record component
    • namespace

      public String namespace()
      Returns the value of the namespace record component.
      Returns:
      the value of the namespace record component
    • name

      public String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • rowCount

      public Long rowCount()
      Returns the value of the rowCount record component.
      Returns:
      the value of the rowCount record component
    • size

      public Long size()
      Returns the value of the size record component.
      Returns:
      the value of the size record component
    • fileCount

      public Long fileCount()
      Returns the value of the fileCount record component.
      Returns:
      the value of the fileCount record component
    • lifecycleStateChange

      public String lifecycleStateChange()
      Returns the value of the lifecycleStateChange record component.
      Returns:
      the value of the lifecycleStateChange record component
    • subsetType

      public String subsetType()
      Returns the value of the subsetType record component.
      Returns:
      the value of the subsetType record component
    • datasetVersion

      public String datasetVersion()
      Returns the value of the datasetVersion record component.
      Returns:
      the value of the datasetVersion record component