Class/Object

io.gearpump.streaming.dsl

Stream

Related Docs: object Stream | package dsl

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

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 filter(fun: (T) ⇒ Boolean, description: String = null): Stream[T]

    Permalink

    reserve records when fun(T) == true

    reserve records when fun(T) == true

    fun

    the filter

    returns

    a new stream after filter

  9. def finalize(): Unit

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

    Permalink

    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]

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

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

    Permalink

    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

  13. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  15. def log(): Unit

    Permalink

    Log to task log file

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

    Permalink

    convert value[T] to value[R]

    convert value[T] to value[R]

    fun

    function

    returns

    a new stream with type [R]

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

    Permalink

    Merge data from two stream into one

    Merge data from two stream into one

    other

    the other stream

    returns

    the merged stream

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

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

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

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

    Permalink

    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]

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

    Permalink

    Reduce opeartion

    Reduce opeartion

    fun

    reduction function

    description

    description message for this operator

    returns

    a new stream after reduction

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

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped