Package

io.gearpump.streaming.dsl

op

Permalink

package op

Visibility
  1. Public
  2. All

Type Members

  1. case class DataSinkOp[T](dataSink: DataSink, parallelism: Int, conf: UserConfig, description: String) extends ParameterizedOp[T] with Product with Serializable

    Permalink
  2. case class DataSourceOp[T](dataSource: DataSource, parallelism: Int, conf: UserConfig, description: String) extends ParameterizedOp[T] with Product with Serializable

    Permalink
  3. case class FlatMapOp[T, R](fun: (T) ⇒ TraversableOnce[R], description: String, conf: UserConfig = UserConfig.empty) extends SlaveOp[T] with Product with Serializable

    Permalink
  4. case class GroupByOp[T, R](fun: (T) ⇒ R, parallelism: Int, description: String, conf: UserConfig = UserConfig.empty) extends ParameterizedOp[T] with Product with Serializable

    Permalink
  5. trait MasterOp extends Op

    Permalink
  6. case class MergeOp(description: String, conf: UserConfig = UserConfig.empty) extends MasterOp with Product with Serializable

    Permalink
  7. sealed trait Op extends AnyRef

    Permalink

    Operators for the DSL

  8. case class OpChain(ops: List[Op]) extends Op with Product with Serializable

    Permalink

    Contains operators which can be chained to single one.

    Contains operators which can be chained to single one.

    For example, flatmap().map().reduce() can be chained to single operator as no data shuffling is required.

    ops

    list of operations

  9. trait OpEdge extends AnyRef

    Permalink
  10. trait ParameterizedOp[T] extends MasterOp

    Permalink
  11. case class ProcessorOp[T <: Task](processor: Class[T], parallelism: Int, conf: UserConfig, description: String) extends ParameterizedOp[T] with Product with Serializable

    Permalink
  12. case class ReduceOp[T](fun: (T, T) ⇒ T, description: String, conf: UserConfig = UserConfig.empty) extends SlaveOp[T] with Product with Serializable

    Permalink
  13. trait SlaveOp[T] extends Op

    Permalink

    When translated to running DAG, SlaveOP can be attach to MasterOP or other SlaveOP "Attach" means running in same Actor.

Value Members

  1. object Direct extends OpEdge with Product with Serializable

    Permalink

    The upstream OP and downstream OP doesn't require network data shuffle.

    The upstream OP and downstream OP doesn't require network data shuffle.

    For example, map, flatmap operation doesn't require network shuffle, we can use Direct to represent the relation with upstream operators.

  2. object Shuffle extends OpEdge with Product with Serializable

    Permalink

    The upstream OP and downstream OP DOES require network data shuffle.

    The upstream OP and downstream OP DOES require network data shuffle.

    For example, map, flatmap operation doesn't require network shuffle, we can use Direct to represent the relation with upstream operators.

Ungrouped