Class OpenLineageSchemaDataSetFacet
- java.lang.Object
-
- org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageFacet
-
- org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageDataSetFacet
-
- org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageSchemaDataSetFacet
-
public class OpenLineageSchemaDataSetFacet extends OpenLineageDataSetFacet
This class represents the content of an open lineage schema for a data set facet as defined in JSON spec https://openlineage.io/spec/facets/1-0-0/SchemaDatasetFacet.json#/$defs/SchemaDatasetFacet. It is used internally in Egeria to pass this information to the Lineage Integrator OMIS's integration connectors.
-
-
Constructor Summary
Constructors Constructor Description OpenLineageSchemaDataSetFacet()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.List<OpenLineageSchemaDataSetFacetField>getFields()Return the list of data files described by this schema.inthashCode()Return hash code basa``ed on properties.voidsetFields(List<OpenLineageSchemaDataSetFacetField> fields)Set up the list of data files described by this schema.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageFacet
get_producer, get_schemaURL, getAdditionalProperties, set_producer, set_schemaURL, setAdditionalProperties
-
-
-
-
Method Detail
-
getFields
public List<OpenLineageSchemaDataSetFacetField> getFields()
Return the list of data files described by this schema.- Returns:
- list
-
setFields
public void setFields(List<OpenLineageSchemaDataSetFacetField> fields)
Set up the list of data files described by this schema.- Parameters:
fields- list
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classOpenLineageDataSetFacet- Returns:
- print out of variables in a JSON-style
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classOpenLineageFacet- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return hash code basa``ed on properties.- Overrides:
hashCodein classOpenLineageFacet- Returns:
- int
-
-