Class

org.apache.spark.sql.execution.streaming

IncrementalExecution

Related Doc: package streaming

Permalink

class IncrementalExecution extends QueryExecution with Logging

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

Linear Supertypes
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): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  21. final def isDebugEnabled: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  22. final def isInfoEnabled: Boolean

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

    Permalink
    Definition Classes
    Any
  24. final def isTraceEnabled: Boolean

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  41. 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
  42. val outputMode: OutputMode

    Permalink
  43. def planner: SparkPlanner

    Permalink
    Definition Classes
    IncrementalExecutionQueryExecution
  44. 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
  45. 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
  46. def simpleString: String

    Permalink
    Definition Classes
    QueryExecution
  47. lazy val sparkPlan: SparkPlan

    Permalink
    Definition Classes
    QueryExecution
  48. val sparkSession: SparkSession

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

    Permalink

    Locates save/restore pairs surrounding aggregation.

  50. val stateStrategy: Seq[Strategy]

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

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

    Permalink
    Definition Classes
    AnyRef
  53. 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
  54. def toString(): String

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

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

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

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

    Permalink
    Definition Classes
    QueryExecution

Inherited from Logging

Inherited from QueryExecution

Inherited from AnyRef

Inherited from Any

Ungrouped