Package io.openlineage.client
Class OpenLineage.LineageJobInputBuilder
java.lang.Object
io.openlineage.client.OpenLineage.LineageJobInputBuilder
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.LineageJobInput>
- Enclosing class:
- OpenLineage
public static final class OpenLineage.LineageJobInputBuilder
extends Object
implements OpenLineage.Builder<OpenLineage.LineageJobInput>
builder class for LineageJobInput
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()build an instance of LineageJobInput from the fields set in the buildertransformations(List<OpenLineage.LineageTransformation> transformations)
-
Constructor Details
-
LineageJobInputBuilder
public LineageJobInputBuilder()
-
-
Method Details
-
namespace
- Parameters:
namespace- The namespace of the source job. Omit together with name to refer to the event's own job.- Returns:
- this
-
name
- Parameters:
name- The name of the source job. Omit together with namespace to refer to the event's own job.- Returns:
- this
-
type
- Parameters:
type- The source entity type. Must be JOB.- Returns:
- this
-
runId
- Parameters:
runId- The source job run when the relationship is tied to a specific execution.- Returns:
- this
-
transformations
public OpenLineage.LineageJobInputBuilder transformations(List<OpenLineage.LineageTransformation> transformations) - Parameters:
transformations- Transformations applied by the source job to produce the data.- Returns:
- this
-
build
build an instance of LineageJobInput from the fields set in the builder- Specified by:
buildin interfaceOpenLineage.Builder<OpenLineage.LineageJobInput>- Returns:
- the constructed type
-