com.twitter.tormenta.spout

FlatMappedSchemeSpout

Related Doc: package spout

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.

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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

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

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

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

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

    Definition Classes
    BaseSpout
  8. def clone(): AnyRef

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

    Definition Classes
    BaseRichSpout → ISpout
  10. var collector: SpoutOutputCollector

    Definition Classes
    BaseSpout
  11. def deactivate(): Unit

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

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

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

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

    Definition Classes
    BaseRichSpout → ISpout
  16. def fieldName: String

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

    Definition Classes
    Spout
  18. def finalize(): Unit

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

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

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

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

    This is the only required override.

    This is the only required override.

    Definition Classes
    FlatMappedSchemeSpoutSchemeSpout
  23. def getSpout: IRichSpout

    Definition Classes
    FlatMappedSchemeSpoutSchemeSpoutBaseSpoutSpout
  24. def hashCode(): Int

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

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

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

    Definition Classes
    AnyRef
  28. def nextTuple(): Unit

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

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

    Definition Classes
    AnyRef
  31. def onEmpty: Unit

    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

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

    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
    FlatMappedSchemeSpoutBaseSpoutSpout
  34. def poll: List[Nothing]

    Override to supply new tuples.

    Override to supply new tuples.

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

    Definition Classes
    AnyRef
  36. def toString(): String

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

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

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

    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