Class

ksb.csle.component.controller

SparkSessionOrStreamController

Related Doc: package controller

Permalink

final class SparkSessionOrStreamController[T, R, P, SI, SO] extends BaseGenericController[T, P, R, SI, SO]

:: ApplicationDeveloperApi ::

Controller that simply pipelines DataFrame from reader to writer via a series of operators. This controller can be run both on streaming engine and batch-style engine, and work as batch and streaming processing controller.

T

Data type class to be passes through data pipeline from reader to operators

R

Data type for the final data format

P

Message type class

SI

Session type class for reader object

SO

Session type class for writer object

Linear Supertypes
BaseGenericController[T, P, R, SI, SO], BaseController[T, BaseResult], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SparkSessionOrStreamController
  2. BaseGenericController
  3. BaseController
  4. BaseDoer
  5. Logging
  6. Serializable
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SparkSessionOrStreamController(runner: BaseRunner[SI, _, _], i: BaseReader[T, _, SI], o: BaseWriter[R, _, SO], p: P, ops: List[BaseGenericOperator[_, R]])

    Permalink

    runner

    Runner object that runs spark session

    i

    Reader object that reads data from data source

    o

    Writer object that writes pipelined data from operators

    p

    Message object that has one of messages object containing attributes related to controlling process pipelining

    ops

    a list of BaseGenericOperator objects that processes data one by one.

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. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. val i: BaseReader[T, _, SI]

    Permalink

    Reader object that reads data from data source

    Reader object that reads data from data source

    Definition Classes
    SparkSessionOrStreamController → BaseGenericController
  12. def init(): Any

    Permalink
    Definition Classes
    BaseController
    Annotations
    @DeveloperApi()
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  15. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  18. val o: BaseWriter[R, _, SO]

    Permalink

    Writer object that writes pipelined data from operators

    Writer object that writes pipelined data from operators

    Definition Classes
    SparkSessionOrStreamController → BaseGenericController
  19. val ops: List[BaseGenericOperator[_, R]]

    Permalink

    a list of BaseGenericOperator objects that processes data one by one.

    a list of BaseGenericOperator objects that processes data one by one.

    Definition Classes
    SparkSessionOrStreamController → BaseGenericController
  20. val p: P

    Permalink

    Message object that has one of messages object containing attributes related to controlling process pipelining

    Message object that has one of messages object containing attributes related to controlling process pipelining

    Definition Classes
    SparkSessionOrStreamController → BaseGenericController
  21. final def pipeOperators(runner: BaseRunner[_, _, _], ops: List[BaseGenericOperator[_, R]], r: R): R

    Permalink
    Attributes
    protected
    Definition Classes
    BaseGenericController
    Annotations
    @tailrec()
  22. def process(): BaseResult

    Permalink

    Pipelines data from reader to writer via a series of operators.

    Pipelines data from reader to writer via a series of operators.

    Definition Classes
    SparkSessionOrStreamController → BaseGenericController
  23. def progress(): BaseResult

    Permalink
    Definition Classes
    BaseGenericController → BaseController
  24. val runner: BaseRunner[SI, _, _]

    Permalink

    Runner object that runs spark session

    Runner object that runs spark session

    Definition Classes
    SparkSessionOrStreamController → BaseGenericController
  25. def stop(): Any

    Permalink
    Definition Classes
    SparkSessionOrStreamController → BaseGenericController → BaseController
  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 BaseGenericController[T, P, R, SI, SO]

Inherited from BaseController[T, BaseResult]

Inherited from BaseDoer

Inherited from Logging

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped