Package org.apache.spark.sql.scripting
Interface CompoundStatementExec
- All Superinterfaces:
org.apache.spark.internal.Logging
- All Known Subinterfaces:
LeafStatementExec
,NonLeafStatementExec
- All Known Implementing Classes:
CaseStatementExec
,CompoundBodyExec
,CompoundNestedStatementIteratorExec
,IfElseStatementExec
,IterateStatementExec
,LeaveStatementExec
,RepeatStatementExec
,SingleStatementExec
,WhileStatementExec
public interface CompoundStatementExec
extends org.apache.spark.internal.Logging
Trait for all SQL scripting execution nodes used during interpretation phase.
-
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 TypeMethodDescriptionboolean
Whether the statement originates from the SQL script or is created during the interpretation.void
reset()
Reset execution of the current node.Methods 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
-
isInternal
boolean isInternal()Whether the statement originates from the SQL script or is created during the interpretation. Example: DropVariable statements are automatically created at the end of each compound.- Returns:
- (undocumented)
-
reset
void reset()Reset execution of the current node.
-