Class

com.twitter.tormenta.spout

FlatMappedSchemeSpout

Related Doc: package spout

Permalink

class FlatMappedSchemeSpout[-T, +U] extends BaseRichSpout with SchemeSpout[U]

Spout that performs a flatMap operation on its contained SchemeSpout. Used to implement map, filter and flatMap on SchemeSpout.

Self Type
FlatMappedSchemeSpout[T, U]
Linear Supertypes
SchemeSpout[U], BaseSpout[U], Spout[U], BaseRichSpout, IRichSpout, ISpout, BaseComponent, IComponent, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FlatMappedSchemeSpout
  2. SchemeSpout
  3. BaseSpout
  4. Spout
  5. BaseRichSpout
  6. IRichSpout
  7. ISpout
  8. BaseComponent
  9. IComponent
  10. Serializable
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FlatMappedSchemeSpout(spout: SchemeSpout[T])(fn: (T) ⇒ TraversableOnce[U])

    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. def ack(arg0: Any): Unit

    Permalink
    Definition Classes
    BaseRichSpout → ISpout
  5. def activate(): Unit

    Permalink
    Definition Classes
    BaseRichSpout → ISpout
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def callOnOpen: (TopologyContext) ⇒ Unit

    Permalink
    Definition Classes
    FlatMappedSchemeSpoutBaseSpout
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def close(): Unit

    Permalink
    Definition Classes
    BaseRichSpout → ISpout
  10. var collector: SpoutOutputCollector

    Permalink
    Definition Classes
    BaseSpout
  11. def deactivate(): Unit

    Permalink
    Definition Classes
    BaseRichSpout → ISpout
  12. def declareOutputFields(declarer: OutputFieldsDeclarer): Unit

    Permalink
    Definition Classes
    BaseSpout → IComponent
  13. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def fail(arg0: Any): Unit

    Permalink
    Definition Classes
    BaseRichSpout → ISpout
  16. def fieldName: String

    Permalink
    Definition Classes
    BaseSpout
  17. def filter(fn: (U) ⇒ Boolean): Spout[U]

    Permalink
    Definition Classes
    Spout
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def flatMap[U](fn: (U) ⇒ TraversableOnce[U]): BaseSpout[U]

    Permalink
    Definition Classes
    SchemeSpoutBaseSpoutSpout
  20. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  21. def getComponentConfiguration(): Map[String, AnyRef]

    Permalink
    Definition Classes
    BaseComponent → IComponent
  22. def getSpout[R](transform: (Scheme[U]) ⇒ Scheme[R], f: ⇒ (TopologyContext) ⇒ Unit): IRichSpout

    Permalink

    This is the only required override.

    This is the only required override.

    Definition Classes
    FlatMappedSchemeSpoutSchemeSpout
  23. def getSpout: IRichSpout

    Permalink
    Definition Classes
    FlatMappedSchemeSpoutSchemeSpoutBaseSpoutSpout
  24. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  26. def map[U](fn: (U) ⇒ U): Spout[U]

    Permalink
    Definition Classes
    Spout
  27. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  28. def nextTuple(): Unit

    Permalink
    Definition Classes
    BaseSpout → ISpout
  29. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  31. def onEmpty: Unit

    Permalink

    Override this to change the default spout behavior if poll returns an empty list.

    Override this to change the default spout behavior if poll returns an empty list.

    Definition Classes
    BaseSpout
  32. def open(conf: Map[_, _], context: TopologyContext, coll: SpoutOutputCollector): Unit

    Permalink
    Definition Classes
    BaseSpout → ISpout
  33. def openHook(f: ⇒ (TopologyContext) ⇒ Unit): FlatMappedSchemeSpout[T, U]

    Permalink

    Passes metrics to register with storm and a function to run on the storm runtime context when the spout is opened.

    Passes metrics to register with storm and a function to run on the storm runtime context when the spout is opened.

    Definition Classes
    FlatMappedSchemeSpoutSchemeSpoutBaseSpoutSpout
  34. def poll: List[Nothing]

    Permalink

    Override to supply new tuples.

    Override to supply new tuples.

    Definition Classes
    SchemeSpoutBaseSpout
  35. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from SchemeSpout[U]

Inherited from BaseSpout[U]

Inherited from Spout[U]

Inherited from BaseRichSpout

Inherited from IRichSpout

Inherited from ISpout

Inherited from BaseComponent

Inherited from IComponent

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped