Record Class OpenLineageDataSetResolver.MatchedElement

java.lang.Object
java.lang.Record
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageDataSetResolver.MatchedElement
Record Components:
guid - unique identifier of the element
qualifiedName - qualified name of the element
typeName - open metadata type of the element
createTime - when the element was created
schemaAttribute - the element is a schema attribute (for example a RelationalTable) rather than an asset
createdFromOpenLineage - the element was created from OpenLineage events (it follows the {typeName}::{namespace}::{name} naming)
parentAssetGUID - for a schema attribute, the asset it belongs to (for example the DeployedDatabaseSchema or RelationalDatabase of a RelationalTable)
parentAssetQualifiedName - qualified name of the parent asset
coversParent - for an abstraction, it is a view over the dataset's parent (for example a tabular data set collection over the schema that holds the table) rather than over the dataset itself
Enclosing class:
OpenLineageDataSetResolver

public static record OpenLineageDataSetResolver.MatchedElement(String guid, String qualifiedName, String typeName, Date createTime, boolean schemaAttribute, boolean createdFromOpenLineage, String parentAssetGUID, String parentAssetQualifiedName, boolean coversParent) extends Record
An element that describes an OpenLineage dataset.
  • Constructor Details

    • MatchedElement

      public MatchedElement(String guid, String qualifiedName, String typeName, Date createTime, boolean schemaAttribute, boolean createdFromOpenLineage, String parentAssetGUID, String parentAssetQualifiedName, boolean coversParent)
      Creates an instance of a MatchedElement record class.
      Parameters:
      guid - the value for the guid record component
      qualifiedName - the value for the qualifiedName record component
      typeName - the value for the typeName record component
      createTime - the value for the createTime record component
      schemaAttribute - the value for the schemaAttribute record component
      createdFromOpenLineage - the value for the createdFromOpenLineage record component
      parentAssetGUID - the value for the parentAssetGUID record component
      parentAssetQualifiedName - the value for the parentAssetQualifiedName record component
      coversParent - the value for the coversParent 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.
    • guid

      public String guid()
      Returns the value of the guid record component.
      Returns:
      the value of the guid record component
    • qualifiedName

      public String qualifiedName()
      Returns the value of the qualifiedName record component.
      Returns:
      the value of the qualifiedName record component
    • typeName

      public String typeName()
      Returns the value of the typeName record component.
      Returns:
      the value of the typeName record component
    • createTime

      public Date createTime()
      Returns the value of the createTime record component.
      Returns:
      the value of the createTime record component
    • schemaAttribute

      public boolean schemaAttribute()
      Returns the value of the schemaAttribute record component.
      Returns:
      the value of the schemaAttribute record component
    • createdFromOpenLineage

      public boolean createdFromOpenLineage()
      Returns the value of the createdFromOpenLineage record component.
      Returns:
      the value of the createdFromOpenLineage record component
    • parentAssetGUID

      public String parentAssetGUID()
      Returns the value of the parentAssetGUID record component.
      Returns:
      the value of the parentAssetGUID record component
    • parentAssetQualifiedName

      public String parentAssetQualifiedName()
      Returns the value of the parentAssetQualifiedName record component.
      Returns:
      the value of the parentAssetQualifiedName record component
    • coversParent

      public boolean coversParent()
      Returns the value of the coversParent record component.
      Returns:
      the value of the coversParent record component