Package org.apache.spark.sql.util
Class ExecutionListenerManager
Object
org.apache.spark.sql.util.ExecutionListenerManager
- All Implemented Interfaces:
org.apache.spark.internal.Logging
Manager for
QueryExecutionListener
. See org.apache.spark.sql.SQLContext.listenerManager
.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.spark.internal.Logging
org.apache.spark.internal.Logging.SparkShellLoggingFilter
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Removes all the registeredQueryExecutionListener
.void
register
(QueryExecutionListener listener) Registers the specifiedQueryExecutionListener
.void
unregister
(QueryExecutionListener listener) Unregisters the specifiedQueryExecutionListener
.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, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning, org$apache$spark$internal$Logging$$log_, org$apache$spark$internal$Logging$$log__$eq
-
Method Details
-
clear
public void clear()Removes all the registeredQueryExecutionListener
. -
register
Registers the specifiedQueryExecutionListener
.- Parameters:
listener
- (undocumented)
-
unregister
Unregisters the specifiedQueryExecutionListener
.- Parameters:
listener
- (undocumented)
-