Packages

c

org.apache.spark.sql.scripting

WhileStatementExec

class WhileStatementExec extends NonLeafStatementExec

Executable node for WhileStatement.

Source
SqlScriptingExecutionNode.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WhileStatementExec
  2. NonLeafStatementExec
  3. CompoundStatementExec
  4. Logging
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new WhileStatementExec(condition: SingleStatementExec, body: CompoundBodyExec, label: Option[String], session: SparkSession)

    condition

    Executable node for the condition.

    body

    Executable node for the body.

    label

    Label set to WhileStatement by user or None otherwise.

    session

    Spark session that SQL script is executed within.

Type Members

  1. implicit class LogStringContext extends AnyRef
    Definition Classes
    Logging

Value Members

  1. def getTreeIterator: Iterator[CompoundStatementExec]

    Construct the iterator to traverse the tree rooted at this node in an in-order traversal.

    Construct the iterator to traverse the tree rooted at this node in an in-order traversal.

    returns

    Tree iterator.

    Definition Classes
    WhileStatementExecNonLeafStatementExec
  2. val isInternal: Boolean

    Whether the statement originates from the SQL script or is created during the interpretation.

    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.

    Definition Classes
    CompoundStatementExec
  3. def reset(): Unit

    Reset execution of the current node.

    Reset execution of the current node.

    Definition Classes
    WhileStatementExecCompoundStatementExec