Record Class PostgresOpenLineageEventDigest.AssertionRow

java.lang.Object
java.lang.Record
org.odpi.openmetadata.adapters.connectors.integration.openlineage.postgres.PostgresOpenLineageEventDigest.AssertionRow
Record Components:
datasetNamespace - namespace of the dataset (empty if the event had none)
datasetName - name of the dataset
assertion - type of assertion
column - column the assertion is about
success - whether it passed
severity - severity
name - name of the assertion
Enclosing class:
PostgresOpenLineageEventDigest

public static record PostgresOpenLineageEventDigest.AssertionRow(String datasetNamespace, String datasetName, String assertion, String column, boolean success, String severity, String name) extends Record
A data quality assertion reported on an input dataset.
  • Constructor Details

    • AssertionRow

      public AssertionRow(String datasetNamespace, String datasetName, String assertion, String column, boolean success, String severity, String name)
      Creates an instance of a AssertionRow record class.
      Parameters:
      datasetNamespace - the value for the datasetNamespace record component
      datasetName - the value for the datasetName record component
      assertion - the value for the assertion record component
      column - the value for the column record component
      success - the value for the success record component
      severity - the value for the severity record component
      name - the value for the name 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      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.
    • datasetNamespace

      public String datasetNamespace()
      Returns the value of the datasetNamespace record component.
      Returns:
      the value of the datasetNamespace record component
    • datasetName

      public String datasetName()
      Returns the value of the datasetName record component.
      Returns:
      the value of the datasetName record component
    • assertion

      public String assertion()
      Returns the value of the assertion record component.
      Returns:
      the value of the assertion record component
    • column

      public String column()
      Returns the value of the column record component.
      Returns:
      the value of the column record component
    • success

      public boolean success()
      Returns the value of the success record component.
      Returns:
      the value of the success record component
    • severity

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

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