io.getclump

Clump

Related Docs: object Clump | package getclump

sealed trait Clump[+T] extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Clump
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def downstream: Future[List[Clump[_]]]

    Attributes
    protected[io.getclump]
  2. abstract def result: Future[Option[T]]

    Attributes
    protected[io.getclump]
  3. abstract def upstream: List[Clump[_]]

    Attributes
    protected[io.getclump]

Concrete 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 apply(): Future[T]

    A utility method for automatically unwrapping the underlying value

    A utility method for automatically unwrapping the underlying value

    Exceptions thrown

    NoSuchElementException if the underlying value is not defined

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  9. def fallback[B >: T](default: ⇒ Option[B]): Clump[B]

    On any exception, fallback to a default value

  10. def fallbackTo[B >: T](default: ⇒ Clump[B]): Clump[B]

    On any exception, fallback to a default clump

  11. def filter[B >: T](f: (B) ⇒ Boolean): Clump[B]

    Apply a filter to this clump so that the result will only be defined if the predicate function returns true

  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def flatMap[U](f: (T) ⇒ Clump[U]): Clump[U]

    Create a new clump by applying a function that returns a clump to the result of this clump

  14. def get: Future[Option[T]]

    Trigger execution of a clump.

    Trigger execution of a clump. The result will not be defined if any of the clump sources returned less elements than requested.

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

    Definition Classes
    AnyRef → Any
  16. def getOrElse[B >: T](default: ⇒ B): Future[B]

    Get the result of the clump or provide a fallback value in the case where the result is not defined

  17. def handle[B >: T](f: PartialFunction[Throwable, Option[B]]): Clump[B]

    Define a fallback value to use in the case of specified exceptions

  18. def hashCode(): Int

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

    Definition Classes
    Any
  20. def join[U](other: Clump[U]): Clump[(T, U)]

    Join this clump to another clump so that the result is a clump holding a pair of values

  21. def list[B >: T](implicit cbf: CanBuildFrom[Nothing, Nothing, B]): Future[B]

    If the underlying value is a list, then this will return Nil instead of None when the result is not defined

  22. def map[U](f: (T) ⇒ U): Clump[U]

    Create a new clump by applying a function to the result of this clump

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

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

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

    Definition Classes
    AnyRef
  26. def optional: Clump[Option[T]]

    Mark a clump as optional so that its underlying value is an option to avoid lossy joins

  27. def orElse[B >: T](default: ⇒ Clump[B]): Clump[B]

    If this clump does not return a value then use the value from a default clump instead

  28. def orElse[B >: T](default: ⇒ B)(implicit arg0: ClassTag[B]): Clump[B]

    If this clump does not return a value then use the default instead

  29. def recover[B >: T](f: PartialFunction[Throwable, Option[B]]): Clump[B]

    Alias for handle

  30. def recoverWith[B >: T](f: PartialFunction[Throwable, Clump[B]]): Clump[B]

    Alias for rescue

  31. def rescue[B >: T](f: PartialFunction[Throwable, Clump[B]]): Clump[B]

    Define a fallback clump to use in the case of specified exceptions

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

    Definition Classes
    AnyRef
  33. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. def withFilter[B >: T](f: (B) ⇒ Boolean): Clump[B]

    Alias for filter used by for-comprehensions

Inherited from AnyRef

Inherited from Any

Ungrouped