com.twitter.summingbird

OptionMappedProducer

case class OptionMappedProducer[P <: Platform[P], T, U](producer: Producer[P, T], fn: (T) ⇒ Option[U], manifest: Manifest[U]) extends Producer[P, U] with Product with Serializable

Represents filters and maps which may be optimized differently Note that "option-mapping" is closed under composition and hence useful to call out

Linear Supertypes
Serializable, Serializable, Product, Equals, Producer[P, U], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. OptionMappedProducer
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Producer
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OptionMappedProducer(producer: Producer[P, T], fn: (T) ⇒ Option[U], manifest: Manifest[U])

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. def either[U](other: Producer[P, U])(implicit tmf: Manifest[U], umf: Manifest[U]): Producer[P, Either[U, U]]

    Definition Classes
    Producer
  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def filter(fn: (U) ⇒ Boolean)(implicit mf: Manifest[U]): Producer[P, U]

    Definition Classes
    Producer
  11. def finalize(): Unit

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

    Definition Classes
    Producer
  13. val fn: (T) ⇒ Option[U]

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

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

    Definition Classes
    Any
  16. val manifest: Manifest[U]

  17. def map[U](fn: (U) ⇒ U)(implicit mf: Manifest[U]): Producer[P, U]

    Definition Classes
    Producer
  18. def merge(r: Producer[P, U]): Producer[P, U]

    Definition Classes
    Producer
  19. def name(id: String): Producer[P, U]

    Definition Classes
    Producer
  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 optionMap[U](fn: (U) ⇒ Option[U])(implicit arg0: Manifest[U]): Producer[P, U]

    Definition Classes
    Producer
  24. val producer: Producer[P, T]

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

    Definition Classes
    AnyRef
  26. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. def write(sink: P.Sink[U]): Producer[P, U]

    Definition Classes
    Producer

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Producer[P, U]

Inherited from AnyRef

Inherited from Any

Ungrouped