Packages

c

org.apache.spark.sql.scripting

SingleStatementExec

class SingleStatementExec extends LeafStatementExec with WithOrigin

Executable node for SingleStatement.

Source
SqlScriptingExecutionNode.scala
Linear Supertypes
WithOrigin, LeafStatementExec, CompoundStatementExec, Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SingleStatementExec
  2. WithOrigin
  3. LeafStatementExec
  4. CompoundStatementExec
  5. Logging
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SingleStatementExec(parsedPlan: LogicalPlan, origin: Origin, isInternal: Boolean)

    parsedPlan

    Logical plan of the parsed statement.

    origin

    Origin descriptor for the statement.

    isInternal

    Whether the statement originates from the SQL script or it is created during the interpretation. Example: DropVariable statements are automatically created at the end of each compound.

Type Members

  1. implicit class LogStringContext extends AnyRef
    Definition Classes
    Logging

Value Members

  1. def getText: String

    Get the SQL query text corresponding to this statement.

    Get the SQL query text corresponding to this statement.

    returns

    SQL query text.

  2. var isExecuted: Boolean

    Whether this statement has been executed during the interpretation phase.

    Whether this statement has been executed during the interpretation phase. Example: Statements in conditions of If/Else, While, etc.

  3. 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
    SingleStatementExecCompoundStatementExec
  4. val origin: Origin
    Definition Classes
    SingleStatementExec → WithOrigin
  5. var parsedPlan: LogicalPlan
  6. def reset(): Unit

    Reset execution of the current node.

    Reset execution of the current node.

    Definition Classes
    SingleStatementExecCompoundStatementExec