Packages

class TriggeredGraphExecution extends GraphExecution

Executes all of the flows in the given graph in topological order. Each flow processes all available data before downstream flows are triggered.

Source
TriggeredGraphExecution.scala
Linear Supertypes
GraphExecution, Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TriggeredGraphExecution
  2. GraphExecution
  3. Logging
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TriggeredGraphExecution(graphForExecution: DataflowGraph, env: PipelineUpdateContext, onCompletion: (RunTerminationReason) => Unit = _ => (), clock: Clock = new SystemClock())

    graphForExecution

    the graph to execute.

    env

    the context in which the graph is executed.

    onCompletion

    a callback to execute after all streams are done. The boolean argument is true if the execution was successful.

    clock

    a clock used to determine the time of execution.

Type Members

  1. implicit class LogStringContext extends AnyRef
    Definition Classes
    Logging

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def awaitCompletion(): Unit

    Blocks the current thread while any flows are queued or running.

    Blocks the current thread while any flows are queued or running. Returns when all flows that could be run have completed. When this returns, all flows are either SUCCESSFUL, TERMINATED_WITH_ERROR, SKIPPED, CANCELED, or EXCLUDED.

    Definition Classes
    TriggeredGraphExecutionGraphExecution
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. val flowExecutions: TrieMap[TableIdentifier, FlowExecution]

    FlowExecutions currently being executed and tracked by the graph execution.

    FlowExecutions currently being executed and tracked by the graph execution.

    Definition Classes
    GraphExecution
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  11. def getRunTerminationReason: RunTerminationReason

    Returns the reason why this flow execution has terminated.

    Returns the reason why this flow execution has terminated. If the function is called before the flow has not terminated yet, the behavior is undefined, and may return UnexpectedRunFailure.

    Definition Classes
    TriggeredGraphExecutionGraphExecution
  12. val graphForExecution: DataflowGraph
    Definition Classes
    GraphExecution
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  14. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  15. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  18. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  19. def logBasedOnLevel(level: Level)(f: => MessageWithContext): Unit
    Attributes
    protected
    Definition Classes
    Logging
  20. def logDebug(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  21. def logDebug(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  22. def logDebug(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  23. def logDebug(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  24. def logError(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  25. def logError(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  26. def logError(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  27. def logError(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  28. def logInfo(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  29. def logInfo(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  30. def logInfo(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  31. def logInfo(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  32. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  33. def logTrace(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  34. def logTrace(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  35. def logTrace(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  36. def logTrace(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  37. def logWarning(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  38. def logWarning(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  39. def logWarning(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  40. def logWarning(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  41. def maxRetryAttemptsForFlow(flowName: TableIdentifier): Int
    Definition Classes
    GraphExecution
  42. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  43. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  44. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  45. def planAndStartFlow(flow: ResolvedFlow): Option[FlowExecution]

    Plans the logical ResolvedFlow into a FlowExecution and then starts executing it.

    Plans the logical ResolvedFlow into a FlowExecution and then starts executing it. Implementation note: Thread safe

    returns

    None if the flow planner decided that there is no actual update required here. Otherwise returns the corresponding physical flow.

    Definition Classes
    GraphExecution
  46. def start(): Unit

    Starts the execution of flows in graphForExecution.

    Starts the execution of flows in graphForExecution. Does not block.

    Definition Classes
    TriggeredGraphExecutionGraphExecution
  47. def stop(): Unit

    Stops this execution by stopping all streams and terminating any other resources.

    Stops this execution by stopping all streams and terminating any other resources.

    This method may be called multiple times due to race conditions and must be idempotent.

    Definition Classes
    TriggeredGraphExecutionGraphExecution
  48. def stopFlow(pf: FlowExecution): Unit

    Stops execution of a FlowExecution.

    Stops execution of a FlowExecution.

    Definition Classes
    GraphExecution
  49. def stopThread(thread: Thread): Unit

    Stop a thread timeout.

    Stop a thread timeout.

    Definition Classes
    GraphExecution
  50. def streamTrigger(flow: Flow): Trigger

    The Trigger configuration for a streaming flow.

    The Trigger configuration for a streaming flow.

    Definition Classes
    TriggeredGraphExecutionGraphExecution
  51. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  52. def toString(): String
    Definition Classes
    AnyRef → Any
  53. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  54. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  55. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  56. def withLogContext(context: Map[String, String])(body: => Unit): Unit
    Attributes
    protected
    Definition Classes
    Logging

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from GraphExecution

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped