Class

com.coxautodata.waimak.dataflow

InterceptorAction

Related Doc: package dataflow

Permalink

class InterceptorAction[C] extends DataFlowAction[C]

This action can be added to the flow over an existing action, it will be scheduled instead of it and can override or intercept the behaviour of an action. This is useful when additional behaviours need to be added. Examples: register as spark temp views for sql, logging filtering, persisting to disk, dredging, etc.

Created by Alexei Perelighin on 23/02/2018.

C

the type of the context of the flow in which this action runs

Linear Supertypes
DataFlowAction[C], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InterceptorAction
  2. DataFlowAction
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new InterceptorAction(intercepted: DataFlowAction[C])

    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. def actionName: String

    Permalink

    For representing the action

    For representing the action

    Definition Classes
    DataFlowAction
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def description: String

    Permalink
    Definition Classes
    DataFlowAction
  8. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def flowState(inputs: DataFlowEntities): DataFlowActionState

    Permalink

    Calls the intercepted.flowState.

    Calls the intercepted.flowState.

    inputs

    - action will study the state of the inputs in order to generate self assessment

    returns

    - an instance of the DataFlowActionState

    Definition Classes
    InterceptorActionDataFlowAction
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. val guid: String

    Permalink

    Generates its own guid, different from intercepted

    Generates its own guid, different from intercepted

    Definition Classes
    InterceptorActionDataFlowAction
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. val inputLabels: List[String]

    Permalink

    Same values as the intercepted action.

    Same values as the intercepted action.

    Definition Classes
    InterceptorActionDataFlowAction
  16. def instead(inputs: DataFlowEntities, flowContext: C): Try[ActionResult]

    Permalink

    This method calls the intercepted.performAction and if overridden can suppress the default behaviour of the flow and execute something else.

    This method calls the intercepted.performAction and if overridden can suppress the default behaviour of the flow and execute something else. It is useful for exploration and debugging work flows, when a user wants to temporarily change the behaviour without touching the main code.

    By default it calls intercepted.performAction.

  17. val intercepted: DataFlowAction[C]

    Permalink
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. def logLabel: String

    Permalink
    Definition Classes
    DataFlowAction
  20. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  23. val outputLabels: List[String]

    Permalink

    Same values as the intercepted action.

    Same values as the intercepted action.

    Definition Classes
    InterceptorActionDataFlowAction
  24. final def performAction(inputs: DataFlowEntities, flowContext: C): Try[ActionResult]

    Permalink

    Perform the action

    Perform the action

    inputs

    the DataFlowEntities corresponding to the inputLabels

    flowContext

    context of the flow in which this action runs

    returns

    the action outputs (these must be declared in the same order as their labels in outputLabels)

    Definition Classes
    InterceptorActionDataFlowAction
  25. def requiresAllInputs: Boolean

    Permalink

    returns

    same value as the intercepted action.

    Definition Classes
    InterceptorActionDataFlowAction
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from DataFlowAction[C]

Inherited from AnyRef

Inherited from Any

Ungrouped