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.
- Alphabetic
- By Inheritance
- IncrementalExecution
- Logging
- QueryExecution
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new IncrementalExecution(sparkSession: SparkSession, logicalPlan: LogicalPlan, outputMode: OutputMode, checkpointLocation: String, queryId: UUID, runId: UUID, currentBatchId: Long, offsetSeqMetadata: OffsetSeqMetadata)
Value Members
-
object
debug
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
lazy val
analyzed: LogicalPlan
- Definition Classes
- QueryExecution
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
assertAnalyzed(): Unit
- Definition Classes
- QueryExecution
-
def
assertSupported(): Unit
No need assert supported, as this check has already been done
No need assert supported, as this check has already been done
- Definition Classes
- IncrementalExecution → QueryExecution
- val checkpointLocation: String
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val currentBatchId: Long
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
executePhase[T](phase: String)(block: ⇒ T): T
- Attributes
- protected
- Definition Classes
- QueryExecution
-
lazy val
executedPlan: SparkPlan
- Definition Classes
- QueryExecution
-
def
explainString(mode: ExplainMode): String
- Definition Classes
- QueryExecution
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
- Attributes
- protected
- Definition Classes
- Logging
-
def
initializeLogIfNecessary(isInterpreter: Boolean): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isTraceEnabled(): Boolean
- Attributes
- protected
- Definition Classes
- Logging
-
def
log: Logger
- Attributes
- protected
- Definition Classes
- Logging
-
def
logDebug(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logDebug(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logError(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logError(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logInfo(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logInfo(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logName: String
- Attributes
- protected
- Definition Classes
- Logging
-
def
logTrace(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logTrace(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logWarning(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logWarning(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
val
logical: LogicalPlan
- Definition Classes
- QueryExecution
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
observedMetrics: Map[String, Row]
Get the metrics observed during the execution of the query plan.
Get the metrics observed during the execution of the query plan.
- Definition Classes
- QueryExecution
- val offsetSeqMetadata: OffsetSeqMetadata
-
lazy val
optimizedPlan: LogicalPlan
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
- IncrementalExecution → QueryExecution
- val outputMode: OutputMode
-
val
planner: SparkPlanner
- Definition Classes
- IncrementalExecution → QueryExecution
-
def
preparations: Seq[Rule[SparkPlan]]
- Definition Classes
- IncrementalExecution → QueryExecution
- val queryId: UUID
- val runId: UUID
-
def
shouldRunAnotherBatch(newMetadata: OffsetSeqMetadata): Boolean
Should the MicroBatchExecution run another batch based on this execution and the current updated metadata.
-
def
simpleString(formatted: Boolean): String
- Definition Classes
- QueryExecution
-
def
simpleString: String
- Definition Classes
- QueryExecution
-
lazy val
sparkPlan: SparkPlan
- Definition Classes
- QueryExecution
-
val
sparkSession: SparkSession
- Definition Classes
- QueryExecution
-
val
state: Rule[SparkPlan]
Locates save/restore pairs surrounding aggregation.
-
def
stringWithStats: String
- Definition Classes
- QueryExecution
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
lazy val
toRdd: RDD[InternalRow]
Internal version of the RDD.
Internal version of the RDD. Avoids copies and has no schema. Note for callers: Spark may apply various optimization including reusing object: this means the row is valid only for the iteration it is retrieved. You should avoid storing row and accessing after iteration. (Calling
collect()
is one of known bad usage.) If you want to store these rows into collection, please apply some converter or copy row which produces new object per iteration. Given QueryExecution is not a public class, end users are discouraged to use this: please useDataset.rdd
instead where conversion will be applied.- Definition Classes
- QueryExecution
-
def
toString(): String
- Definition Classes
- QueryExecution → AnyRef → Any
-
val
tracker: QueryPlanningTracker
- Definition Classes
- QueryExecution
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
lazy val
withCachedData: LogicalPlan
- Definition Classes
- QueryExecution