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 elementqualifiedName- qualified name of the elementtypeName- open metadata type of the elementcreateTime- when the element was createdschemaAttribute- the element is a schema attribute (for example a RelationalTable) rather than an assetcreatedFromOpenLineage- 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 assetcoversParent- 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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of thecoversParentrecord component.booleanReturns the value of thecreatedFromOpenLineagerecord component.Returns the value of thecreateTimerecord component.final booleanIndicates whether some other object is "equal to" this one.guid()Returns the value of theguidrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theparentAssetGUIDrecord component.Returns the value of theparentAssetQualifiedNamerecord component.Returns the value of thequalifiedNamerecord component.booleanReturns the value of theschemaAttributerecord component.final StringtoString()Returns a string representation of this record class.typeName()Returns the value of thetypeNamerecord component.
-
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 aMatchedElementrecord class.- Parameters:
guid- the value for theguidrecord componentqualifiedName- the value for thequalifiedNamerecord componenttypeName- the value for thetypeNamerecord componentcreateTime- the value for thecreateTimerecord componentschemaAttribute- the value for theschemaAttributerecord componentcreatedFromOpenLineage- the value for thecreatedFromOpenLineagerecord componentparentAssetGUID- the value for theparentAssetGUIDrecord componentparentAssetQualifiedName- the value for theparentAssetQualifiedNamerecord componentcoversParent- the value for thecoversParentrecord 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 '=='. -
guid
Returns the value of theguidrecord component.- Returns:
- the value of the
guidrecord component
-
qualifiedName
Returns the value of thequalifiedNamerecord component.- Returns:
- the value of the
qualifiedNamerecord component
-
typeName
Returns the value of thetypeNamerecord component.- Returns:
- the value of the
typeNamerecord component
-
createTime
Returns the value of thecreateTimerecord component.- Returns:
- the value of the
createTimerecord component
-
schemaAttribute
public boolean schemaAttribute()Returns the value of theschemaAttributerecord component.- Returns:
- the value of the
schemaAttributerecord component
-
createdFromOpenLineage
public boolean createdFromOpenLineage()Returns the value of thecreatedFromOpenLineagerecord component.- Returns:
- the value of the
createdFromOpenLineagerecord component
-
parentAssetGUID
Returns the value of theparentAssetGUIDrecord component.- Returns:
- the value of the
parentAssetGUIDrecord component
-
parentAssetQualifiedName
Returns the value of theparentAssetQualifiedNamerecord component.- Returns:
- the value of the
parentAssetQualifiedNamerecord component
-
coversParent
public boolean coversParent()Returns the value of thecoversParentrecord component.- Returns:
- the value of the
coversParentrecord component
-