Class OpenLineage.FabricSparkRunFacet

java.lang.Object
io.openlineage.client.OpenLineage.FabricSparkRunFacet
All Implemented Interfaces:
OpenLineage.RunFacet
Enclosing class:
OpenLineage

public static final class OpenLineage.FabricSparkRunFacet extends Object implements OpenLineage.RunFacet
model class for FabricSparkRunFacet
  • Method Details

    • get_producer

      public URI get_producer()
      Specified by:
      get_producer in interface OpenLineage.RunFacet
      Returns:
      URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha
    • get_schemaURL

      public URI get_schemaURL()
      Specified by:
      get_schemaURL in interface OpenLineage.RunFacet
      Returns:
      The JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this facet
    • getWorkspaceId

      public String getWorkspaceId()
      Returns:
      ID of the Microsoft Fabric workspace that holds the item the Spark session runs for, in lowercase.
    • getItemId

      public String getItemId()
      Returns:
      ID of the Fabric item the Spark session runs for, in lowercase: the notebook or Spark Job Definition that started it, or the lakehouse a Livy API session or batch runs against. A notebook run from another notebook reports the outer notebook, because both run in the same session.
    • getItemType

      public String getItemType()
      Returns:
      Type of that item, as Fabric names it in the session's settings, for example SynapseNotebook, SparkJobDefinition or Lakehouse.
    • getLivyId

      public String getLivyId()
      Returns:
      ID of the Livy session that runs the Spark application, in lowercase. Fabric's Livy session list and run history key runs on it. A retried Spark Job Definition gets a new Livy session for each attempt.
    • getJobInstanceId

      public String getJobInstanceId()
      Returns:
      ID of the Fabric job instance the session belongs to, in lowercase. All attempts of one Spark Job Definition run share it.
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Specified by:
      getAdditionalProperties in interface OpenLineage.RunFacet
      Returns:
      additional properties
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object