Class PipelineRunEventBuffer

Object
org.apache.spark.sql.pipelines.logging.PipelineRunEventBuffer
All Implemented Interfaces:
org.apache.spark.internal.Logging

public class PipelineRunEventBuffer extends Object implements org.apache.spark.internal.Logging
An in-memory buffer which contains the internal events that are emitted during a run of a pipeline.

param: eventCallback A callback function to be called when an event is added to the buffer.

  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.spark.internal.Logging

    org.apache.spark.internal.Logging.LogStringContext, org.apache.spark.internal.Logging.SparkShellLoggingFilter
  • Constructor Summary

    Constructors
    Constructor
    Description
    PipelineRunEventBuffer(scala.Function1<PipelineEvent,scala.runtime.BoxedUnit> eventCallback)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     
    scala.collection.immutable.Seq<PipelineEvent>
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.spark.internal.Logging

    initializeForcefully, initializeLogIfNecessary, initializeLogIfNecessary, initializeLogIfNecessary$default$2, isTraceEnabled, log, logBasedOnLevel, logDebug, logDebug, logDebug, logDebug, logError, logError, logError, logError, logInfo, logInfo, logInfo, logInfo, logName, LogStringContext, logTrace, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, logWarning, org$apache$spark$internal$Logging$$log_, org$apache$spark$internal$Logging$$log__$eq, withLogContext
  • Constructor Details

    • PipelineRunEventBuffer

      public PipelineRunEventBuffer(scala.Function1<PipelineEvent,scala.runtime.BoxedUnit> eventCallback)
  • Method Details

    • addEvent

      public void addEvent(PipelineEvent event)
    • clear

      public void clear()
    • getEvents

      public scala.collection.immutable.Seq<PipelineEvent> getEvents()