Package io.openlineage.client
Class OpenLineage.DatasetEventBuilder
java.lang.Object
io.openlineage.client.OpenLineage.DatasetEventBuilder
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.DatasetEvent>
- Enclosing class:
- OpenLineage
public final class OpenLineage.DatasetEventBuilder
extends Object
implements OpenLineage.Builder<OpenLineage.DatasetEvent>
builder class for DatasetEvent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()build an instance of DatasetEvent from the fields set in the builderdataset(OpenLineage.StaticDataset dataset) eventTime(ZonedDateTime eventTime)
-
Constructor Details
-
DatasetEventBuilder
public DatasetEventBuilder()
-
-
Method Details
-
eventTime
- Parameters:
eventTime- the time the event occurred at- Returns:
- this
-
dataset
- Parameters:
dataset- the dataset- Returns:
- this
-
build
build an instance of DatasetEvent from the fields set in the builder- Specified by:
buildin interfaceOpenLineage.Builder<OpenLineage.DatasetEvent>- Returns:
- the constructed type
-