Class OpenLineage.JobTypeJobFacetEmissionPattern

java.lang.Object
io.openlineage.client.OpenLineage.JobTypeJobFacetEmissionPattern
Enclosing class:
OpenLineage

public static final class OpenLineage.JobTypeJobFacetEmissionPattern extends Object
model class for JobTypeJobFacetEmissionPattern
  • Method Details

    • getEventTrigger

      public String getEventTrigger()
      Returns:
      Defines when events are emitted. EVENT_BASED: events emitted on lifecycle transitions (START/COMPLETE/FAIL/ABORT). PERIODIC: events emitted at regular time intervals.
    • getEventContentMode

      public String getEventContentMode()
      Returns:
      Define if individual events are self-sufficient and can be processed individually, or need to be combined by consumer. ACCUMULATIVE: Events may contain only partial information and the complete information can be collected by combining information from all the events emitted by a specific job run. COMPLETE_SNAPSHOT: events contain complete state for a specific time window (events can be processed independently).
    • getWindowDuration

      public Long getWindowDuration()
      Returns:
      Time window duration for periodic event emissions in seconds. Only applicable when eventTrigger is PERIODIC. Required when eventTrigger is PERIODIC and eventContentMode is COMPLETE_SNAPSHOT.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object