Package io.openlineage.client
Class OpenLineage.InputFieldBuilder
java.lang.Object
io.openlineage.client.OpenLineage.InputFieldBuilder
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.InputField>
- Enclosing class:
- OpenLineage
public static final class OpenLineage.InputFieldBuilder
extends Object
implements OpenLineage.Builder<OpenLineage.InputField>
builder class for InputField
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
build an instance of InputField from the fields set in the builderadd additional propertiestransformations
(List<OpenLineage.InputFieldTransformations> transformations)
-
Constructor Details
-
InputFieldBuilder
public InputFieldBuilder()
-
-
Method Details
-
namespace
- Parameters:
namespace
- The input dataset namespace- Returns:
- this
-
name
- Parameters:
name
- The input dataset name- Returns:
- this
-
field
- Parameters:
field
- The input field- Returns:
- this
-
transformations
public OpenLineage.InputFieldBuilder transformations(List<OpenLineage.InputFieldTransformations> transformations) - Parameters:
transformations
- the transformations- Returns:
- this
-
put
add additional properties- Parameters:
key
- the additional property namevalue
- the additional property value- Returns:
- this
-
build
build an instance of InputField from the fields set in the builder- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.InputField>
- Returns:
- the constructed type
-