io.gearpump.streaming.dsl

Stream

class Stream[T] extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Stream
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Stream(graph: Graph[Op, OpEdge], thisNode: Op, edge: Option[OpEdge] = scala.None)

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. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  10. def filter(fun: (T) ⇒ Boolean, description: String = null): Stream[T]

    reserve records when fun(T) == true

    reserve records when fun(T) == true

    fun

    the filter

    returns

    a new stream after filter

  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def flatMap[R](fun: (T) ⇒ TraversableOnce[R], description: String = null): Stream[R]

    convert a value[T] to a list of value[R]

    convert a value[T] to a list of value[R]

    fun

    function

    description

    the description message for this operation

    returns

    a new stream with type [R]

  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. def groupBy[Group](fun: (T) ⇒ Group, parallelism: Int = 1, description: String = null): Stream[T]

    Group by fun(T)

    Group by fun(T)

    For example, we have T type, People(name: String, gender: String, age: Int) groupBy[People](_.gender) will group the people by gender.

    You can append other combinators after groupBy

    For example,

    Stream[People].groupBy(_.gender).flatmap(..).filter.(..).reduce(..)

    fun

    group by function

    parallelism

    parallelism level

    description

    the description

    returns

    the grouped stream

  15. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. def log(): Unit

    Log to task log file

  18. def map[R](fun: (T) ⇒ R, description: String = null): Stream[R]

    convert value[T] to value[R]

    convert value[T] to value[R]

    fun

    function

    returns

    a new stream with type [R]

  19. def merge(other: Stream[T], description: String = null): Stream[T]

    Merge data from two stream into one

    Merge data from two stream into one

    other

    the other stream

    returns

    the merged stream

  20. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  23. def process[R](processor: Class[_ <: Task], parallism: Int, conf: UserConfig = UserConfig.empty, description: String = null): Stream[R]

    connect with a low level Processor(TaskDescription)

    connect with a low level Processor(TaskDescription)

    processor

    a user defined processor

    returns

    new stream after processing with type [R]

  24. def reduce(fun: (T, T) ⇒ T, description: String = null): Stream[T]

    Reduce opeartion

    Reduce opeartion

    fun

    reduction function

    description

    description message for this operator

    returns

    a new stream after reduction

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

    Definition Classes
    AnyRef
  26. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped