Class

org.apache.spark.sql.execution.streaming

IncrementalExecution

Related Doc: package streaming

Permalink

class IncrementalExecution extends QueryExecution with internal.Logging

A variant of QueryExecution that allows the execution of the given LogicalPlan plan incrementally. Possibly preserving state in between each execution.

Linear Supertypes
internal.Logging, QueryExecution, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IncrementalExecution
  2. Logging
  3. QueryExecution
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IncrementalExecution(sparkSession: SparkSession, logicalPlan: LogicalPlan, outputMode: OutputMode, checkpointLocation: String, currentBatchId: Long, currentEventTimeWatermark: Long)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. lazy val analyzed: LogicalPlan

    Permalink
    Definition Classes
    QueryExecution
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def assertAnalyzed(): Unit

    Permalink
    Definition Classes
    QueryExecution
  7. def assertSupported(): Unit

    Permalink

    No need assert supported, as this check has already been done

    No need assert supported, as this check has already been done

    Definition Classes
    IncrementalExecutionQueryExecution
  8. val checkpointLocation: String

    Permalink
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. val currentBatchId: Long

    Permalink
  11. val currentEventTimeWatermark: Long

    Permalink
  12. object debug

    Permalink

    A special namespace for commands that can be used to debug query execution.

    A special namespace for commands that can be used to debug query execution.

    Definition Classes
    QueryExecution
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. lazy val executedPlan: SparkPlan

    Permalink
    Definition Classes
    QueryExecution
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. def hiveResultString(): Seq[String]

    Permalink

    Returns the result as a hive compatible sequence of strings.

    Returns the result as a hive compatible sequence of strings. For native commands, the execution is simply passed back to Hive.

    Definition Classes
    QueryExecution
  20. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean = false): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  21. def initializeLogIfNecessary(isInterpreter: Boolean): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. def isTraceEnabled(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  24. def log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  25. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  26. def logDebug(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  27. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  28. def logError(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  29. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  30. def logInfo(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  31. def logName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  32. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  33. def logTrace(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  34. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  35. def logWarning(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  36. val logical: LogicalPlan

    Permalink
    Definition Classes
    QueryExecution
  37. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  38. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  39. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  40. lazy val optimizedPlan: LogicalPlan

    Permalink

    See [SPARK-18339] Walk the optimized logical plan and replace CurrentBatchTimestamp with the desired literal

    See [SPARK-18339] Walk the optimized logical plan and replace CurrentBatchTimestamp with the desired literal

    Definition Classes
    IncrementalExecutionQueryExecution
  41. val outputMode: OutputMode

    Permalink
  42. def planner: SparkPlanner

    Permalink
    Definition Classes
    IncrementalExecutionQueryExecution
  43. def preparations: Seq[Rule[SparkPlan]]

    Permalink

    A sequence of rules that will be applied in order to the physical plan before execution.

    A sequence of rules that will be applied in order to the physical plan before execution.

    Definition Classes
    IncrementalExecutionQueryExecution
  44. def prepareForExecution(plan: SparkPlan): SparkPlan

    Permalink

    Prepares a planned SparkPlan for execution by inserting shuffle operations and internal row format conversions as needed.

    Prepares a planned SparkPlan for execution by inserting shuffle operations and internal row format conversions as needed.

    Attributes
    protected
    Definition Classes
    QueryExecution
  45. def simpleString: String

    Permalink
    Definition Classes
    QueryExecution
  46. lazy val sparkPlan: SparkPlan

    Permalink
    Definition Classes
    QueryExecution
  47. val sparkSession: SparkSession

    Permalink
    Definition Classes
    QueryExecution
  48. val state: Rule[SparkPlan]

    Permalink

    Locates save/restore pairs surrounding aggregation.

  49. val stateStrategy: Seq[Strategy]

    Permalink
  50. def stringOrError[A](f: ⇒ A): String

    Permalink
    Attributes
    protected
    Definition Classes
    QueryExecution
  51. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  52. lazy val toRdd: RDD[InternalRow]

    Permalink

    Internal version of the RDD.

    Internal version of the RDD. Avoids copies and has no schema

    Definition Classes
    QueryExecution
  53. def toString(): String

    Permalink
    Definition Classes
    QueryExecution → AnyRef → Any
  54. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  56. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. lazy val withCachedData: LogicalPlan

    Permalink
    Definition Classes
    QueryExecution

Inherited from internal.Logging

Inherited from QueryExecution

Inherited from AnyRef

Inherited from Any

Ungrouped