Package io.openlineage.client.transports
Interface EventTransformer
public interface EventTransformer
EventTransformer is an interface that defines the transformation of an event. An implementation
of this interface is required to instantiate transform interface.
Class implementing it needs to provide no-arg constructor
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
initialize
(Map<String, String> properties) Initialize the transformer with properties.default OpenLineage.DatasetEvent
Transforms the DatasetEvent into a new DatasetEvent.default OpenLineage.JobEvent
transform
(OpenLineage.JobEvent event) Transforms the JobEvent into a new JobEvent.default OpenLineage.RunEvent
transform
(OpenLineage.RunEvent event) Transforms the RunEvent into a new RunEvent.
-
Method Details
-
initialize
Initialize the transformer with properties.- Parameters:
properties
-
-
transform
Transforms the RunEvent into a new RunEvent.- Parameters:
event
-- Returns:
-
transform
Transforms the DatasetEvent into a new DatasetEvent.- Parameters:
event
-- Returns:
-
transform
Transforms the JobEvent into a new JobEvent.- Parameters:
event
-- Returns:
-