Package io.openlineage.client
Class OpenLineage.LineageTransformationBuilder
java.lang.Object
io.openlineage.client.OpenLineage.LineageTransformationBuilder
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.LineageTransformation>
- Enclosing class:
- OpenLineage
public static final class OpenLineage.LineageTransformationBuilder
extends Object
implements OpenLineage.Builder<OpenLineage.LineageTransformation>
builder class for LineageTransformation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()build an instance of LineageTransformation from the fields set in the builderdescription(String description)
-
Constructor Details
-
LineageTransformationBuilder
public LineageTransformationBuilder()
-
-
Method Details
-
type
- Parameters:
type- The transformation type, such as DIRECT or INDIRECT.- Returns:
- this
-
subtype
- Parameters:
subtype- The transformation subtype, such as IDENTITY, AGGREGATION, FILTER, JOIN, GROUP_BY, WINDOW, SORT, or CONDITIONAL.- Returns:
- this
-
description
- Parameters:
description- A string representation of the transformation.- Returns:
- this
-
masking
- Parameters:
masking- Whether the transformation masks the source data.- Returns:
- this
-
build
build an instance of LineageTransformation from the fields set in the builder- Specified by:
buildin interfaceOpenLineage.Builder<OpenLineage.LineageTransformation>- Returns:
- the constructed type
-