Package io.openlineage.client
Class OpenLineage.FabricSparkRunFacetBuilder
java.lang.Object
io.openlineage.client.OpenLineage.FabricSparkRunFacetBuilder
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.FabricSparkRunFacet>
- Enclosing class:
- OpenLineage
public final class OpenLineage.FabricSparkRunFacetBuilder
extends Object
implements OpenLineage.Builder<OpenLineage.FabricSparkRunFacet>
builder class for FabricSparkRunFacet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()build an instance of FabricSparkRunFacet from the fields set in the builderjobInstanceId(String jobInstanceId) add additional propertiesworkspaceId(String workspaceId)
-
Constructor Details
-
FabricSparkRunFacetBuilder
public FabricSparkRunFacetBuilder()
-
-
Method Details
-
workspaceId
- Parameters:
workspaceId- ID of the Microsoft Fabric workspace that holds the item the Spark session runs for, in lowercase.- Returns:
- this
-
itemId
- Parameters:
itemId- 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.- Returns:
- this
-
itemType
- Parameters:
itemType- Type of that item, as Fabric names it in the session's settings, for example SynapseNotebook, SparkJobDefinition or Lakehouse.- Returns:
- this
-
livyId
- Parameters:
livyId- 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.- Returns:
- this
-
jobInstanceId
- Parameters:
jobInstanceId- ID of the Fabric job instance the session belongs to, in lowercase. All attempts of one Spark Job Definition run share it.- Returns:
- this
-
put
add additional properties- Parameters:
key- the additional property namevalue- the additional property value- Returns:
- this
-
build
build an instance of FabricSparkRunFacet from the fields set in the builder- Specified by:
buildin interfaceOpenLineage.Builder<OpenLineage.FabricSparkRunFacet>- Returns:
- the constructed type
-