Class PipelineRunEventBuffer
Object
org.apache.spark.sql.pipelines.logging.PipelineRunEventBuffer
- All Implemented Interfaces:
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
ConstructorsConstructorDescriptionPipelineRunEventBuffer
(scala.Function1<PipelineEvent, scala.runtime.BoxedUnit> eventCallback) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addEvent
(PipelineEvent event) void
clear()
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
-
-
Method Details
-
addEvent
-
clear
public void clear() -
getEvents
-