Class OpenLineageStorageDataSetFacet


public class OpenLineageStorageDataSetFacet extends OpenLineageDataSetFacet
This class represents the storage dataset facet. It identifies the storage layer and file format of the dataset. It follows the OpenLineage facet spec https://openlineage.io/spec/facets/1-0-1/StorageDatasetFacet.json#/$defs/StorageDatasetFacet.
  • Constructor Details

    • OpenLineageStorageDataSetFacet

      public OpenLineageStorageDataSetFacet()
      Default constructor
  • Method Details

    • getStorageLayer

      public String getStorageLayer()
      Return the storage layer provider, for example iceberg or delta.
      Returns:
      string
    • setStorageLayer

      public void setStorageLayer(String storageLayer)
      Set up the storage layer provider, for example iceberg or delta.
      Parameters:
      storageLayer - string
    • getFileFormat

      public String getFileFormat()
      Return the file format, for example parquet, orc, avro, json, csv, text or xml.
      Returns:
      string
    • setFileFormat

      public void setFileFormat(String fileFormat)
      Set up the file format, for example parquet, orc, avro, json, csv, text or xml.
      Parameters:
      fileFormat - string
    • toString

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

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