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 datasetassertion- type of assertioncolumn- column the assertion is aboutsuccess- whether it passedseverity- severityname- 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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theassertionrecord component.column()Returns the value of thecolumnrecord component.Returns the value of thedatasetNamerecord component.Returns the value of thedatasetNamespacerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.severity()Returns the value of theseverityrecord component.booleansuccess()Returns the value of thesuccessrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AssertionRow
public AssertionRow(String datasetNamespace, String datasetName, String assertion, String column, boolean success, String severity, String name) Creates an instance of aAssertionRowrecord class.- Parameters:
datasetNamespace- the value for thedatasetNamespacerecord componentdatasetName- the value for thedatasetNamerecord componentassertion- the value for theassertionrecord componentcolumn- the value for thecolumnrecord componentsuccess- the value for thesuccessrecord componentseverity- the value for theseverityrecord componentname- the value for thenamerecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
datasetNamespace
Returns the value of thedatasetNamespacerecord component.- Returns:
- the value of the
datasetNamespacerecord component
-
datasetName
Returns the value of thedatasetNamerecord component.- Returns:
- the value of the
datasetNamerecord component
-
assertion
Returns the value of theassertionrecord component.- Returns:
- the value of the
assertionrecord component
-
column
Returns the value of thecolumnrecord component.- Returns:
- the value of the
columnrecord component
-
success
public boolean success()Returns the value of thesuccessrecord component.- Returns:
- the value of the
successrecord component
-
severity
Returns the value of theseverityrecord component.- Returns:
- the value of the
severityrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-