Package io.openlineage.client
Class OpenLineage.LineageDatasetEntryBuilder
java.lang.Object
io.openlineage.client.OpenLineage.LineageDatasetEntryBuilder
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.LineageDatasetEntry>
- Enclosing class:
- OpenLineage
public static final class OpenLineage.LineageDatasetEntryBuilder
extends Object
implements OpenLineage.Builder<OpenLineage.LineageDatasetEntry>
builder class for LineageDatasetEntry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()build an instance of LineageDatasetEntry from the fields set in the builderinputs(List<OpenLineage.LineageInput> inputs)
-
Constructor Details
-
LineageDatasetEntryBuilder
public LineageDatasetEntryBuilder()
-
-
Method Details
-
namespace
- Parameters:
namespace- The namespace of the target dataset.- Returns:
- this
-
name
- Parameters:
name- The name of the target dataset.- Returns:
- this
-
type
- Parameters:
type- The target entity type. Must be DATASET.- Returns:
- this
-
inputs
- Parameters:
inputs- Entity-level inputs feeding this target dataset. An empty array explicitly means that the target has no tracked upstream source.- Returns:
- this
-
fields
- Parameters:
fields- Field-level lineage. Maps target field names to their source inputs.- Returns:
- this
-
build
build an instance of LineageDatasetEntry from the fields set in the builder- Specified by:
buildin interfaceOpenLineage.Builder<OpenLineage.LineageDatasetEntry>- Returns:
- the constructed type
-