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 java.lang.Object implements OpenLineage.Builder<OpenLineage.DatasetEvent>
-
-
Constructor Summary
Constructors Constructor Description DatasetEventBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenLineage.DatasetEvent
build()
OpenLineage.DatasetEventBuilder
dataset(OpenLineage.StaticDataset dataset)
OpenLineage.DatasetEventBuilder
eventTime(java.time.ZonedDateTime eventTime)
-
-
-
Method Detail
-
eventTime
public OpenLineage.DatasetEventBuilder eventTime(java.time.ZonedDateTime eventTime)
- Parameters:
eventTime
- the time the event occurred at- Returns:
- this
-
dataset
public OpenLineage.DatasetEventBuilder dataset(OpenLineage.StaticDataset dataset)
- Parameters:
dataset
- the dataset- Returns:
- this
-
build
public OpenLineage.DatasetEvent build()
- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.DatasetEvent>
- Returns:
- the constructed type
-
-