org.apache.gearpump.streaming.dsl

Stream

Related Docs: object Stream | package dsl

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] = None)(implicit arg0: ClassTag[T])

Value Members

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

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

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

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

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

    reserve records when fun(T) == true

    reserve records when fun(T) == true

    fun
    returns

  9. def finalize(): Unit

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

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

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

    R

    return type

    fun

    function

    description

    the descripton message for this opeartion

    returns

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

    Definition Classes
    AnyRef → Any
  12. def groupBy[Group](fun: (T) ⇒ Group, parallism: 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(..)

    Group
    fun
    parallism
    returns

  13. def hashCode(): Int

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

    Definition Classes
    Any
  15. def log(): Unit

    Log to task log file

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

    convert value[T] to value[R]

    convert value[T] to value[R]

    R

    return type

    fun

    function

    returns

  17. 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
    returns

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

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

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

    Definition Classes
    AnyRef
  21. def process[R](processor: Class[_ <: Task], parallism: Int, description: String = null)(implicit arg0: ClassTag[R]): Stream[R]

    connect with a low level Processor(TaskDescription)

    connect with a low level Processor(TaskDescription)

    R
    processor
    parallism
    returns

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

    Reduce opeartion

    Reduce opeartion

    fun
    description

    description message for this operator

    returns

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

    Definition Classes
    AnyRef
  24. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped