Class OpenLineageStaticDataSet

java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageStaticDataSet

public class OpenLineageStaticDataSet extends Object
This class represents a dataset described independently of any run, as carried by an OpenLineage dataset event. It follows https://openlineage.io/spec/2-0-2/OpenLineage.json#/$defs/StaticDataset.
  • Constructor Details

    • OpenLineageStaticDataSet

      public OpenLineageStaticDataSet()
      Default constructor
  • Method Details

    • getNamespace

      public String getNamespace()
      Return the namespace containing the dataset.
      Returns:
      value
    • setNamespace

      public void setNamespace(String namespace)
      Set up the namespace containing the dataset.
      Parameters:
      namespace - value
    • getName

      public String getName()
      Return the unique name for the dataset within that namespace.
      Returns:
      value
    • setName

      public void setName(String name)
      Set up the unique name for the dataset within that namespace.
      Parameters:
      name - value
    • getFacets

      public OpenLineageDataSetFacets getFacets()
      Return the facets describing the dataset.
      Returns:
      value
    • setFacets

      public void setFacets(OpenLineageDataSetFacets facets)
      Set up the facets describing the dataset.
      Parameters:
      facets - value
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return any properties that are not modelled by the bean. They are serialized as top-level properties alongside the modelled properties.
      Returns:
      map of property name to value
    • setAdditionalProperties

      public void setAdditionalProperties(Map<String,Object> additionalProperties)
      Set up any properties that are not modelled by the bean.
      Parameters:
      additionalProperties - map of property name to value
    • setAdditionalProperty

      public void setAdditionalProperty(String propertyName, Object propertyValue)
      Add a property that is not modelled by the bean. Jackson calls this for each unrecognized property found in the JSON.
      Parameters:
      propertyName - name of the property
      propertyValue - value of the property
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class Object
      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:
      equals in class Object
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class Object
      Returns:
      int