package scripting
- Alphabetic
- Public
- Protected
Type Members
- class CompoundBodyExec extends NonLeafStatementExec
Executable node for CompoundBody.
- sealed trait CompoundStatementExec extends Logging
Trait for all SQL scripting execution nodes used during interpretation phase.
- class ExceptionHandlerExec extends NonLeafStatementExec
Executable node for ExceptionHandler.
- class ForStatementExec extends NonLeafStatementExec
Executable node for ForStatement.
- class IfElseStatementExec extends NonLeafStatementExec
Executable node for IfElseStatement.
- class IterateStatementExec extends LeafStatementExec
Executable node for ITERATE statement.
- trait LeafStatementExec extends CompoundStatementExec
Leaf node in the execution tree.
- class LeaveStatementExec extends LeafStatementExec
Executable node for LeaveStatement.
- class LoopStatementExec extends NonLeafStatementExec
Executable node for LoopStatement.
- class NoOpStatementExec extends LeafStatementExec
NO-OP leaf node, which does nothing when returned to the iterator.
NO-OP leaf node, which does nothing when returned to the iterator. It is emitted by empty BEGIN END blocks.
- trait NonLeafStatementExec extends CompoundStatementExec
Non-leaf node in the execution tree.
Non-leaf node in the execution tree. It is an iterator over executable child nodes.
- class RepeatStatementExec extends NonLeafStatementExec
Executable node for RepeatStatement.
- class SearchedCaseStatementExec extends NonLeafStatementExec
Executable node for SearchedCaseStatement.
- class SimpleCaseStatementExec extends NonLeafStatementExec
Executable node for SimpleCaseStatement.
- class SingleStatementExec extends LeafStatementExec with WithOrigin
Executable node for SingleStatement.
- class SqlScriptingExecution extends AnyRef
SQL scripting executor - executes script and returns result statements.
SQL scripting executor - executes script and returns result statements. This supports returning multiple result statements from a single script. The caller of the SqlScriptingExecution API must wrap the interpretation and execution of statements with the withLocalVariableManager method, and adhere to the contract of executing the returned statement before continuing iteration. Executing the statement needs to be done inside withErrorHandling block.
- class SqlScriptingExecutionContext extends AnyRef
SQL scripting execution context - keeps track of the current execution state.
- class SqlScriptingExecutionFrame extends Iterator[CompoundStatementExec]
SQL scripting executor - executes script and returns result statements.
SQL scripting executor - executes script and returns result statements. This supports returning multiple result statements from a single script.
- class SqlScriptingExecutionScope extends AnyRef
SQL scripting execution scope - keeps track of the current execution scope.
- case class SqlScriptingInterpreter(session: classic.SparkSession) extends Product with Serializable
SQL scripting interpreter - builds SQL script execution plan.
SQL scripting interpreter - builds SQL script execution plan.
- session
Spark session that SQL script is executed within.
- class SqlScriptingLocalVariableManager extends VariableManager with DataTypeErrorsBase
- class TriggerToExceptionHandlerMap extends AnyRef
Class to hold mapping of condition names/sqlStates to exception handlers defined in a compound body.
- class WhileStatementExec extends NonLeafStatementExec
Executable node for WhileStatement.
Value Members
- object SqlScriptingExecution
- object SqlScriptingFrameType extends Enumeration
- object TriggerToExceptionHandlerMap