com.ignition.stream

StreamSubModule

case class StreamSubModule(body: (Seq[ConnectionTarget[DataStream, SparkStreamingRuntime]], Seq[ConnectionSource[DataStream, SparkStreamingRuntime]])) extends SubModule[DataStream, SparkStreamingRuntime] with StreamSubFlow with Product with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. StreamSubModule
  2. Product
  3. Equals
  4. StreamSubFlow
  5. StreamStep
  6. SubModule
  7. SubFlow
  8. Module
  9. MultiOutputStep
  10. MultiInputStep
  11. Step
  12. JsonExport
  13. XmlExport
  14. AbstractStep
  15. Serializable
  16. Serializable
  17. AnyRef
  18. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StreamSubModule(body: (Seq[ConnectionTarget[DataStream, SparkStreamingRuntime]], Seq[ConnectionSource[DataStream, SparkStreamingRuntime]]))

Type Members

  1. case class InPort(index: Int) extends ConnectionTarget[T, R] with Product with Serializable

    Definition Classes
    MultiInputStep
  2. case class OutPort(index: Int) extends ConnectionSource[T, R] with Product with Serializable

    Definition Classes
    MultiOutputStep

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def -->(targets: ConnectionTarget[DataStream, SparkStreamingRuntime]*): Unit

    Definition Classes
    MultiOutputStep
  5. def -->(tgt: MultiInputStep[DataStream, SparkStreamingRuntime]): tgt.type

    Definition Classes
    MultiOutputStep
  6. def -->(tgt: ConnectionTarget[DataStream, SparkStreamingRuntime]): tgt.type

    Definition Classes
    MultiOutputStep
  7. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  8. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  9. def addStepListener(listener: StepListener[DataStream, SparkStreamingRuntime]): Unit

    Registers a new listener.

    Registers a new listener.

    Definition Classes
    Step
  10. def addStreamDataListener(listener: StreamStepDataListener): Unit

    Registers a data listener.

    Registers a data listener.

    Definition Classes
    StreamStep
  11. val allInputsRequired: Boolean

    Specifies if the step should throw an error if one of the inputs is not connected.

    Specifies if the step should throw an error if one of the inputs is not connected.

    Definition Classes
    SubModuleStep
  12. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  13. val body: (Seq[ConnectionTarget[DataStream, SparkStreamingRuntime]], Seq[ConnectionSource[DataStream, SparkStreamingRuntime]])

  14. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. def compute(index: Int)(implicit runtime: SparkStreamingRuntime): DataStream

    Triggers listener notification on stream events.

    Triggers listener notification on stream events.

    index

    the output value index.

    Attributes
    protected
    Definition Classes
    StreamStepStep
  16. def compute(args: IndexedSeq[DataStream], index: Int)(implicit runtime: SparkStreamingRuntime): DataStream

    Attributes
    protected
    Definition Classes
    SubModuleModule
  17. lazy val connections: Set[Connection[DataStream, SparkStreamingRuntime]]

    Collects all connections given a set of steps.

    Collects all connections given a set of steps.

    Definition Classes
    SubFlow
  18. def ctx(implicit runtime: SparkStreamingRuntime): SQLContext

    Returns the implicit SQLContext.

    Returns the implicit SQLContext.

    Attributes
    protected
    Definition Classes
    StreamStep
  19. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. final def evaluate(implicit runtime: SparkStreamingRuntime): IndexedSeq[DataStream]

    Evaluates all step's outputs and returns a list of results.

    Evaluates all step's outputs and returns a list of results.

    Definition Classes
    Step
    Annotations
    @throws( classOf[ExecutionException] )
  21. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  23. val in: LazyArray[InPort]

    Definition Classes
    MultiInputStep
  24. lazy val inPoints: Seq[ConnectionTarget[DataStream, SparkStreamingRuntime]]

    Definition Classes
    SubModuleSubFlow
  25. def inputCount: Int

    The maximum number of input ports.

    The maximum number of input ports.

    Definition Classes
    SubModuleStep
  26. def inputs(implicit runtime: SparkStreamingRuntime): IndexedSeq[DataStream]

    Definition Classes
    MultiInputStep
  27. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  28. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  31. val out: LazyArray[OutPort]

    Definition Classes
    MultiOutputStep
  32. lazy val outPoints: Seq[ConnectionSource[DataStream, SparkStreamingRuntime]]

    Definition Classes
    SubModuleSubFlow
  33. def outbounds(index: Int): OutPort

    Definition Classes
    MultiOutputStep
  34. final def output(implicit runtime: SparkStreamingRuntime): DataStream

    Shortcut for output(0).

    Shortcut for output(0). Computes a step output at index 0.

    Definition Classes
    Step
    Annotations
    @throws( classOf[ExecutionException] )
    Exceptions thrown
    ExecutionException

    in case of an error, or if the step is not connected.

  35. final def output(index: Int)(implicit runtime: SparkStreamingRuntime): DataStream

    Computes a step output value at the specified index.

    Computes a step output value at the specified index.

    index

    the output value index.

    Definition Classes
    Step
    Annotations
    @throws( classOf[ExecutionException] )
    Exceptions thrown
    ExecutionException

    in case of an error, or if the step is not connected.

  36. def outputCount: Int

    The number of output ports.

    The number of output ports.

    Definition Classes
    SubModuleStep
  37. def outputToJson(implicit idGen: (Step[DataStream, SparkStreamingRuntime]) ⇒ String): JValue

    Outputs subflow into JSON.

    Outputs subflow into JSON.

    Definition Classes
    SubFlow
  38. def outputToXml(implicit idGen: (Step[DataStream, SparkStreamingRuntime]) ⇒ String): Elem

    Outputs the subflow into XML.

    Outputs the subflow into XML.

    Attributes
    protected
    Definition Classes
    SubFlow
  39. def register(implicit rt: SparkStreamingRuntime): Unit

    Registers the step with the runtime.

    Registers the step with the runtime. Subsequent restarts will keep binding the step to newly created contexts.

    Definition Classes
    StreamStep
  40. def removeStepListener(listener: StepListener[DataStream, SparkStreamingRuntime]): Unit

    Unregisters a listener.

    Unregisters a listener.

    Definition Classes
    Step
  41. def removeStreamDataListener(listener: StreamStepDataListener): Unit

    Unregisters a data listener.

    Unregisters a data listener.

    Definition Classes
    StreamStep
  42. def resetCache(predecessors: Boolean, descendants: Boolean): Unit

    Reset the cache of the subflow and its constituents.

    Reset the cache of the subflow and its constituents.

    Definition Classes
    SubFlowStep
  43. def sc(implicit runtime: SparkStreamingRuntime): SparkContext

    Returns the implicit SparkContext.

    Returns the implicit SparkContext.

    Attributes
    protected
    Definition Classes
    StreamStep
  44. def ssc(implicit runtime: SparkStreamingRuntime): StreamingContext

    Returns the implicit StreamingContext.

    Returns the implicit StreamingContext.

    Attributes
    protected
    Definition Classes
    StreamStep
  45. lazy val steps: Set[Step[DataStream, SparkStreamingRuntime]]

    Collects all steps starting with the targets and going back through the predecessors.

    Collects all steps starting with the targets and going back through the predecessors.

    Definition Classes
    SubFlow
  46. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  47. val tag: String

    Definition Classes
    StreamSubFlow
  48. def to(targets: ConnectionTarget[DataStream, SparkStreamingRuntime]*): Unit

    Definition Classes
    MultiOutputStep
  49. def to(tgt: MultiInputStep[DataStream, SparkStreamingRuntime]): tgt.type

    Definition Classes
    MultiOutputStep
  50. def to(tgt: ConnectionTarget[DataStream, SparkStreamingRuntime]): tgt.type

    Definition Classes
    MultiOutputStep
  51. def toJson: JValue

    The default implementation uses default id generator.

    The default implementation uses default id generator.

    Definition Classes
    SubFlowJsonExport
  52. def toXml: Elem

    The default implementation uses default id generator.

    The default implementation uses default id generator.

    Definition Classes
    SubFlowXmlExport
  53. def unregister(implicit rt: SparkStreamingRuntime): Unit

    Unregisters the step with the runtime.

    Unregisters the step with the runtime. After the restart, the step will no longer be bound to the active context.

    Definition Classes
    StreamStep
  54. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. final def wrap[U](body: ⇒ U): U

    Wraps exceptions into ExecutionException instances.

    Wraps exceptions into ExecutionException instances.

    Attributes
    protected
    Definition Classes
    AbstractStep

Inherited from Product

Inherited from Equals

Inherited from StreamSubFlow

Inherited from StreamStep

Inherited from JsonExport

Inherited from XmlExport

Inherited from AbstractStep

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped