com.ignition.stream

MvelMapListStateUpdate

case class MvelMapListStateUpdate(schema: StructType, expr: String, keyFields: Iterable[String]) extends MvelStateUpdate[MapListState] with Product with Serializable

Models state as a java Iterable[Map[String, Any]]. Each map should contain only simple values, not collections.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MvelMapListStateUpdate
  2. Product
  3. Equals
  4. MvelStateUpdate
  5. StateUpdate
  6. PairFunctions
  7. StreamTransformer
  8. StreamStep
  9. Transformer
  10. SingleInputStep
  11. ConnectionTarget
  12. SingleOutputStep
  13. ConnectionSource
  14. Step
  15. JsonExport
  16. XmlExport
  17. AbstractStep
  18. Serializable
  19. Serializable
  20. AnyRef
  21. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MvelMapListStateUpdate(schema: StructType, expr: String, keyFields: Iterable[String])

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
    ConnectionSource
  5. def -->(tgt: MultiInputStep[DataStream, SparkStreamingRuntime]): tgt.type

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

    Definition Classes
    ConnectionSource
  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. def 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
    Step
  12. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  13. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def code(str: String): MvelMapListStateUpdate

  15. def compute(arg: DataStream)(implicit runtime: SparkStreamingRuntime): DataStream

    Attributes
    protected
    Definition Classes
    StateUpdateTransformer
  16. 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
  17. def ctx(implicit runtime: SparkStreamingRuntime): SQLContext

    Returns the implicit SQLContext.

    Returns the implicit SQLContext.

    Attributes
    protected
    Definition Classes
    StreamStep
  18. def ensureSerializable(state: MapListState): MapListState

  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. val expr: String

  22. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. def from(src: ConnectionSource[DataStream, SparkStreamingRuntime]): MvelMapListStateUpdate.this.type

    Definition Classes
    ConnectionTarget
  24. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  25. val index: Int

  26. def input(implicit runtime: SparkStreamingRuntime): DataStream

    Definition Classes
    SingleInputStep
  27. val inputCount: Int

    The maximum number of input ports.

    The maximum number of input ports.

    Definition Classes
    SingleInputStepStep
  28. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  29. val keyFields: Iterable[String]

  30. def keys(k: String*): MvelMapListStateUpdate

  31. def mapFunc(state: MapListState): Iterable[Row]

    Converts the state into a sequence of rows.

    Converts the state into a sequence of rows.

    Definition Classes
    MvelMapListStateUpdateStateUpdate
  32. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  35. def outbounds(index: Int): SingleOutputStep[DataStream, SparkStreamingRuntime]

    Definition Classes
    SingleOutputStep
  36. 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.

  37. 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.

  38. val outputCount: Int

    The number of output ports.

    The number of output ports.

    Definition Classes
    SingleOutputStepStep
  39. def partitionByKey[T](rdd: RDD[Row], groupIndices: Seq[Int], func: (Row) ⇒ T)(implicit arg0: ClassTag[T], runtime: SparkStreamingRuntime): RDD[(Row, T)]

    Converts the data frame into an RDD[(key, value)] where key is defined by the group field indices, and value is computed for each row by the supplied function.

    Converts the data frame into an RDD[(key, value)] where key is defined by the group field indices, and value is computed for each row by the supplied function.

    Definition Classes
    PairFunctions
  40. 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
  41. def removeStepListener(listener: StepListener[DataStream, SparkStreamingRuntime]): Unit

    Unregisters a listener.

    Unregisters a listener.

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

    Unregisters a data listener.

    Unregisters a data listener.

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

    Clears the cache of this step and optionally that of its predecessors and descendants.

    Clears the cache of this step and optionally that of its predecessors and descendants.

    Definition Classes
    Step
  44. def sc(implicit runtime: SparkStreamingRuntime): SparkContext

    Returns the implicit SparkContext.

    Returns the implicit SparkContext.

    Attributes
    protected
    Definition Classes
    StreamStep
  45. val schema: StructType

  46. def ssc(implicit runtime: SparkStreamingRuntime): StreamingContext

    Returns the implicit StreamingContext.

    Returns the implicit StreamingContext.

    Attributes
    protected
    Definition Classes
    StreamStep
  47. val stateClass: Class[MapListState]

  48. def stateFunc(input: Seq[Row], oldState: Option[MapListState]): Option[MapListState]

    The function to pass to updateStateByKey.

    The function to pass to updateStateByKey.

    Definition Classes
    MvelStateUpdateStateUpdate
  49. val step: Transformer[DataStream, SparkStreamingRuntime]

  50. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

    Definition Classes
    ConnectionSource
  54. def toJson: JValue

    Definition Classes
    MvelStateUpdateJsonExport
  55. def toPair(stream: DataStream, dataFields: Iterable[String], groupFields: Iterable[String])(implicit runtime: SparkStreamingRuntime): DStream[(Row, Row)]

    Converts a data frame into a pair DStream[(key, data)], where key is the row key as defined by the set of grouping fields, and data is defied by the set of data fields from the original row.

    Converts a data frame into a pair DStream[(key, data)], where key is the row key as defined by the set of grouping fields, and data is defied by the set of data fields from the original row.

    Definition Classes
    PairFunctions
  56. def toXml: Elem

    Definition Classes
    MvelStateUpdateXmlExport
  57. 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
  58. def value(implicit runtime: SparkStreamingRuntime): DataStream

    Definition Classes
    SingleOutputStepConnectionSource
  59. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  62. 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 MvelStateUpdate[MapListState]

Inherited from StateUpdate[MapListState]

Inherited from PairFunctions

Inherited from StreamTransformer

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