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.LogStringContext, org.apache.spark.internal.Logging.SparkShellLoggingFilter -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Removes all the registeredQueryExecutionListener.voidregister(QueryExecutionListener listener) Registers the specifiedQueryExecutionListener.voidunregister(QueryExecutionListener listener) Unregisters the specifiedQueryExecutionListener.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.spark.internal.Logging
initializeForcefully, initializeLogIfNecessary, initializeLogIfNecessary, initializeLogIfNecessary$default$2, isTraceEnabled, log, 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
-
Method Details
-
clear
public void clear()Removes all the registeredQueryExecutionListener. -
register
Registers the specifiedQueryExecutionListener.- Parameters:
listener- (undocumented)
-
unregister
Unregisters the specifiedQueryExecutionListener.- Parameters:
listener- (undocumented)
-